@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
|
@@ -49,6 +49,14 @@ export declare const SyncPlayApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
51
|
syncPlayCreateGroup: (newGroupRequestDto: NewGroupRequestDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary Gets a SyncPlay group by id.
|
|
55
|
+
* @param {string} id The id of the group.
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
syncPlayGetGroup: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
60
|
/**
|
|
53
61
|
*
|
|
54
62
|
* @summary Gets all SyncPlay groups.
|
|
@@ -217,7 +225,15 @@ export declare const SyncPlayApiFp: (configuration?: Configuration) => {
|
|
|
217
225
|
* @param {*} [options] Override http request option.
|
|
218
226
|
* @throws {RequiredError}
|
|
219
227
|
*/
|
|
220
|
-
syncPlayCreateGroup(newGroupRequestDto: NewGroupRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
228
|
+
syncPlayCreateGroup(newGroupRequestDto: NewGroupRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupInfoDto>>;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @summary Gets a SyncPlay group by id.
|
|
232
|
+
* @param {string} id The id of the group.
|
|
233
|
+
* @param {*} [options] Override http request option.
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
*/
|
|
236
|
+
syncPlayGetGroup(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GroupInfoDto>>;
|
|
221
237
|
/**
|
|
222
238
|
*
|
|
223
239
|
* @summary Gets all SyncPlay groups.
|
|
@@ -386,7 +402,15 @@ export declare const SyncPlayApiFactory: (configuration?: Configuration, basePat
|
|
|
386
402
|
* @param {*} [options] Override http request option.
|
|
387
403
|
* @throws {RequiredError}
|
|
388
404
|
*/
|
|
389
|
-
syncPlayCreateGroup(requestParameters: SyncPlayApiSyncPlayCreateGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
405
|
+
syncPlayCreateGroup(requestParameters: SyncPlayApiSyncPlayCreateGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<GroupInfoDto>;
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @summary Gets a SyncPlay group by id.
|
|
409
|
+
* @param {SyncPlayApiSyncPlayGetGroupRequest} requestParameters Request parameters.
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
syncPlayGetGroup(requestParameters: SyncPlayApiSyncPlayGetGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<GroupInfoDto>;
|
|
390
414
|
/**
|
|
391
415
|
*
|
|
392
416
|
* @summary Gets all SyncPlay groups.
|
|
@@ -561,6 +585,19 @@ export interface SyncPlayApiSyncPlayCreateGroupRequest {
|
|
|
561
585
|
*/
|
|
562
586
|
readonly newGroupRequestDto: NewGroupRequestDto;
|
|
563
587
|
}
|
|
588
|
+
/**
|
|
589
|
+
* Request parameters for syncPlayGetGroup operation in SyncPlayApi.
|
|
590
|
+
* @export
|
|
591
|
+
* @interface SyncPlayApiSyncPlayGetGroupRequest
|
|
592
|
+
*/
|
|
593
|
+
export interface SyncPlayApiSyncPlayGetGroupRequest {
|
|
594
|
+
/**
|
|
595
|
+
* The id of the group.
|
|
596
|
+
* @type {string}
|
|
597
|
+
* @memberof SyncPlayApiSyncPlayGetGroup
|
|
598
|
+
*/
|
|
599
|
+
readonly id: string;
|
|
600
|
+
}
|
|
564
601
|
/**
|
|
565
602
|
* Request parameters for syncPlayJoinGroup operation in SyncPlayApi.
|
|
566
603
|
* @export
|
|
@@ -758,7 +795,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
758
795
|
* @throws {RequiredError}
|
|
759
796
|
* @memberof SyncPlayApi
|
|
760
797
|
*/
|
|
761
|
-
syncPlayBuffering(requestParameters: SyncPlayApiSyncPlayBufferingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
798
|
+
syncPlayBuffering(requestParameters: SyncPlayApiSyncPlayBufferingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
762
799
|
/**
|
|
763
800
|
*
|
|
764
801
|
* @summary Create a new SyncPlay group.
|
|
@@ -767,7 +804,16 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
767
804
|
* @throws {RequiredError}
|
|
768
805
|
* @memberof SyncPlayApi
|
|
769
806
|
*/
|
|
770
|
-
syncPlayCreateGroup(requestParameters: SyncPlayApiSyncPlayCreateGroupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
807
|
+
syncPlayCreateGroup(requestParameters: SyncPlayApiSyncPlayCreateGroupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupInfoDto, any, {}>>;
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary Gets a SyncPlay group by id.
|
|
811
|
+
* @param {SyncPlayApiSyncPlayGetGroupRequest} requestParameters Request parameters.
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
* @memberof SyncPlayApi
|
|
815
|
+
*/
|
|
816
|
+
syncPlayGetGroup(requestParameters: SyncPlayApiSyncPlayGetGroupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupInfoDto, any, {}>>;
|
|
771
817
|
/**
|
|
772
818
|
*
|
|
773
819
|
* @summary Gets all SyncPlay groups.
|
|
@@ -775,7 +821,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
775
821
|
* @throws {RequiredError}
|
|
776
822
|
* @memberof SyncPlayApi
|
|
777
823
|
*/
|
|
778
|
-
syncPlayGetGroups(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupInfoDto[], any>>;
|
|
824
|
+
syncPlayGetGroups(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GroupInfoDto[], any, {}>>;
|
|
779
825
|
/**
|
|
780
826
|
*
|
|
781
827
|
* @summary Join an existing SyncPlay group.
|
|
@@ -784,7 +830,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
784
830
|
* @throws {RequiredError}
|
|
785
831
|
* @memberof SyncPlayApi
|
|
786
832
|
*/
|
|
787
|
-
syncPlayJoinGroup(requestParameters: SyncPlayApiSyncPlayJoinGroupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
833
|
+
syncPlayJoinGroup(requestParameters: SyncPlayApiSyncPlayJoinGroupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
788
834
|
/**
|
|
789
835
|
*
|
|
790
836
|
* @summary Leave the joined SyncPlay group.
|
|
@@ -792,7 +838,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
792
838
|
* @throws {RequiredError}
|
|
793
839
|
* @memberof SyncPlayApi
|
|
794
840
|
*/
|
|
795
|
-
syncPlayLeaveGroup(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
841
|
+
syncPlayLeaveGroup(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
796
842
|
/**
|
|
797
843
|
*
|
|
798
844
|
* @summary Request to move an item in the playlist in SyncPlay group.
|
|
@@ -801,7 +847,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
801
847
|
* @throws {RequiredError}
|
|
802
848
|
* @memberof SyncPlayApi
|
|
803
849
|
*/
|
|
804
|
-
syncPlayMovePlaylistItem(requestParameters: SyncPlayApiSyncPlayMovePlaylistItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
850
|
+
syncPlayMovePlaylistItem(requestParameters: SyncPlayApiSyncPlayMovePlaylistItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
805
851
|
/**
|
|
806
852
|
*
|
|
807
853
|
* @summary Request next item in SyncPlay group.
|
|
@@ -810,7 +856,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
810
856
|
* @throws {RequiredError}
|
|
811
857
|
* @memberof SyncPlayApi
|
|
812
858
|
*/
|
|
813
|
-
syncPlayNextItem(requestParameters: SyncPlayApiSyncPlayNextItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
859
|
+
syncPlayNextItem(requestParameters: SyncPlayApiSyncPlayNextItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
814
860
|
/**
|
|
815
861
|
*
|
|
816
862
|
* @summary Request pause in SyncPlay group.
|
|
@@ -818,7 +864,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
818
864
|
* @throws {RequiredError}
|
|
819
865
|
* @memberof SyncPlayApi
|
|
820
866
|
*/
|
|
821
|
-
syncPlayPause(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
867
|
+
syncPlayPause(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
822
868
|
/**
|
|
823
869
|
*
|
|
824
870
|
* @summary Update session ping.
|
|
@@ -827,7 +873,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
827
873
|
* @throws {RequiredError}
|
|
828
874
|
* @memberof SyncPlayApi
|
|
829
875
|
*/
|
|
830
|
-
syncPlayPing(requestParameters: SyncPlayApiSyncPlayPingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
876
|
+
syncPlayPing(requestParameters: SyncPlayApiSyncPlayPingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
831
877
|
/**
|
|
832
878
|
*
|
|
833
879
|
* @summary Request previous item in SyncPlay group.
|
|
@@ -836,7 +882,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
836
882
|
* @throws {RequiredError}
|
|
837
883
|
* @memberof SyncPlayApi
|
|
838
884
|
*/
|
|
839
|
-
syncPlayPreviousItem(requestParameters: SyncPlayApiSyncPlayPreviousItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
885
|
+
syncPlayPreviousItem(requestParameters: SyncPlayApiSyncPlayPreviousItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
840
886
|
/**
|
|
841
887
|
*
|
|
842
888
|
* @summary Request to queue items to the playlist of a SyncPlay group.
|
|
@@ -845,7 +891,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
845
891
|
* @throws {RequiredError}
|
|
846
892
|
* @memberof SyncPlayApi
|
|
847
893
|
*/
|
|
848
|
-
syncPlayQueue(requestParameters: SyncPlayApiSyncPlayQueueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
894
|
+
syncPlayQueue(requestParameters: SyncPlayApiSyncPlayQueueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
849
895
|
/**
|
|
850
896
|
*
|
|
851
897
|
* @summary Notify SyncPlay group that member is ready for playback.
|
|
@@ -854,7 +900,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
854
900
|
* @throws {RequiredError}
|
|
855
901
|
* @memberof SyncPlayApi
|
|
856
902
|
*/
|
|
857
|
-
syncPlayReady(requestParameters: SyncPlayApiSyncPlayReadyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
903
|
+
syncPlayReady(requestParameters: SyncPlayApiSyncPlayReadyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
858
904
|
/**
|
|
859
905
|
*
|
|
860
906
|
* @summary Request to remove items from the playlist in SyncPlay group.
|
|
@@ -863,7 +909,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
863
909
|
* @throws {RequiredError}
|
|
864
910
|
* @memberof SyncPlayApi
|
|
865
911
|
*/
|
|
866
|
-
syncPlayRemoveFromPlaylist(requestParameters: SyncPlayApiSyncPlayRemoveFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
912
|
+
syncPlayRemoveFromPlaylist(requestParameters: SyncPlayApiSyncPlayRemoveFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
867
913
|
/**
|
|
868
914
|
*
|
|
869
915
|
* @summary Request seek in SyncPlay group.
|
|
@@ -872,7 +918,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
872
918
|
* @throws {RequiredError}
|
|
873
919
|
* @memberof SyncPlayApi
|
|
874
920
|
*/
|
|
875
|
-
syncPlaySeek(requestParameters: SyncPlayApiSyncPlaySeekRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
921
|
+
syncPlaySeek(requestParameters: SyncPlayApiSyncPlaySeekRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
876
922
|
/**
|
|
877
923
|
*
|
|
878
924
|
* @summary Request SyncPlay group to ignore member during group-wait.
|
|
@@ -881,7 +927,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
881
927
|
* @throws {RequiredError}
|
|
882
928
|
* @memberof SyncPlayApi
|
|
883
929
|
*/
|
|
884
|
-
syncPlaySetIgnoreWait(requestParameters: SyncPlayApiSyncPlaySetIgnoreWaitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
930
|
+
syncPlaySetIgnoreWait(requestParameters: SyncPlayApiSyncPlaySetIgnoreWaitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
885
931
|
/**
|
|
886
932
|
*
|
|
887
933
|
* @summary Request to set new playlist in SyncPlay group.
|
|
@@ -890,7 +936,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
890
936
|
* @throws {RequiredError}
|
|
891
937
|
* @memberof SyncPlayApi
|
|
892
938
|
*/
|
|
893
|
-
syncPlaySetNewQueue(requestParameters: SyncPlayApiSyncPlaySetNewQueueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
939
|
+
syncPlaySetNewQueue(requestParameters: SyncPlayApiSyncPlaySetNewQueueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
894
940
|
/**
|
|
895
941
|
*
|
|
896
942
|
* @summary Request to change playlist item in SyncPlay group.
|
|
@@ -899,7 +945,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
899
945
|
* @throws {RequiredError}
|
|
900
946
|
* @memberof SyncPlayApi
|
|
901
947
|
*/
|
|
902
|
-
syncPlaySetPlaylistItem(requestParameters: SyncPlayApiSyncPlaySetPlaylistItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
948
|
+
syncPlaySetPlaylistItem(requestParameters: SyncPlayApiSyncPlaySetPlaylistItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
903
949
|
/**
|
|
904
950
|
*
|
|
905
951
|
* @summary Request to set repeat mode in SyncPlay group.
|
|
@@ -908,7 +954,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
908
954
|
* @throws {RequiredError}
|
|
909
955
|
* @memberof SyncPlayApi
|
|
910
956
|
*/
|
|
911
|
-
syncPlaySetRepeatMode(requestParameters: SyncPlayApiSyncPlaySetRepeatModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
957
|
+
syncPlaySetRepeatMode(requestParameters: SyncPlayApiSyncPlaySetRepeatModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
912
958
|
/**
|
|
913
959
|
*
|
|
914
960
|
* @summary Request to set shuffle mode in SyncPlay group.
|
|
@@ -917,7 +963,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
917
963
|
* @throws {RequiredError}
|
|
918
964
|
* @memberof SyncPlayApi
|
|
919
965
|
*/
|
|
920
|
-
syncPlaySetShuffleMode(requestParameters: SyncPlayApiSyncPlaySetShuffleModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
966
|
+
syncPlaySetShuffleMode(requestParameters: SyncPlayApiSyncPlaySetShuffleModeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
921
967
|
/**
|
|
922
968
|
*
|
|
923
969
|
* @summary Request stop in SyncPlay group.
|
|
@@ -925,7 +971,7 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
925
971
|
* @throws {RequiredError}
|
|
926
972
|
* @memberof SyncPlayApi
|
|
927
973
|
*/
|
|
928
|
-
syncPlayStop(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
974
|
+
syncPlayStop(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
929
975
|
/**
|
|
930
976
|
*
|
|
931
977
|
* @summary Request unpause in SyncPlay group.
|
|
@@ -933,5 +979,5 @@ export declare class SyncPlayApi extends BaseAPI {
|
|
|
933
979
|
* @throws {RequiredError}
|
|
934
980
|
* @memberof SyncPlayApi
|
|
935
981
|
*/
|
|
936
|
-
syncPlayUnpause(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
982
|
+
syncPlayUnpause(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
937
983
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import {
|
|
2
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, serializeDataIfNeeded, createRequestFunction } from '../common.js';
|
|
3
3
|
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
@@ -84,6 +84,37 @@ const SyncPlayApiAxiosParamCreator = function (configuration) {
|
|
|
84
84
|
options: localVarRequestOptions,
|
|
85
85
|
};
|
|
86
86
|
},
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary Gets a SyncPlay group by id.
|
|
90
|
+
* @param {string} id The id of the group.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
syncPlayGetGroup: async (id, options = {}) => {
|
|
95
|
+
// verify required parameter 'id' is not null or undefined
|
|
96
|
+
assertParamExists('syncPlayGetGroup', 'id', id);
|
|
97
|
+
const localVarPath = `/SyncPlay/{id}`
|
|
98
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
99
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
|
+
let baseOptions;
|
|
102
|
+
if (configuration) {
|
|
103
|
+
baseOptions = configuration.baseOptions;
|
|
104
|
+
}
|
|
105
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
106
|
+
const localVarHeaderParameter = {};
|
|
107
|
+
const localVarQueryParameter = {};
|
|
108
|
+
// authentication CustomAuthentication required
|
|
109
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
110
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
111
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
113
|
+
return {
|
|
114
|
+
url: toPathString(localVarUrlObj),
|
|
115
|
+
options: localVarRequestOptions,
|
|
116
|
+
};
|
|
117
|
+
},
|
|
87
118
|
/**
|
|
88
119
|
*
|
|
89
120
|
* @summary Gets all SyncPlay groups.
|
|
@@ -704,6 +735,20 @@ const SyncPlayApiFp = function (configuration) {
|
|
|
704
735
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayCreateGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
705
736
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
706
737
|
},
|
|
738
|
+
/**
|
|
739
|
+
*
|
|
740
|
+
* @summary Gets a SyncPlay group by id.
|
|
741
|
+
* @param {string} id The id of the group.
|
|
742
|
+
* @param {*} [options] Override http request option.
|
|
743
|
+
* @throws {RequiredError}
|
|
744
|
+
*/
|
|
745
|
+
async syncPlayGetGroup(id, options) {
|
|
746
|
+
var _a, _b, _c;
|
|
747
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncPlayGetGroup(id, options);
|
|
748
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
749
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SyncPlayApi.syncPlayGetGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
750
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
751
|
+
},
|
|
707
752
|
/**
|
|
708
753
|
*
|
|
709
754
|
* @summary Gets all SyncPlay groups.
|
|
@@ -994,6 +1039,16 @@ const SyncPlayApiFactory = function (configuration, basePath, axios) {
|
|
|
994
1039
|
syncPlayCreateGroup(requestParameters, options) {
|
|
995
1040
|
return localVarFp.syncPlayCreateGroup(requestParameters.newGroupRequestDto, options).then((request) => request(axios, basePath));
|
|
996
1041
|
},
|
|
1042
|
+
/**
|
|
1043
|
+
*
|
|
1044
|
+
* @summary Gets a SyncPlay group by id.
|
|
1045
|
+
* @param {SyncPlayApiSyncPlayGetGroupRequest} requestParameters Request parameters.
|
|
1046
|
+
* @param {*} [options] Override http request option.
|
|
1047
|
+
* @throws {RequiredError}
|
|
1048
|
+
*/
|
|
1049
|
+
syncPlayGetGroup(requestParameters, options) {
|
|
1050
|
+
return localVarFp.syncPlayGetGroup(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1051
|
+
},
|
|
997
1052
|
/**
|
|
998
1053
|
*
|
|
999
1054
|
* @summary Gets all SyncPlay groups.
|
|
@@ -1210,6 +1265,17 @@ class SyncPlayApi extends BaseAPI {
|
|
|
1210
1265
|
syncPlayCreateGroup(requestParameters, options) {
|
|
1211
1266
|
return SyncPlayApiFp(this.configuration).syncPlayCreateGroup(requestParameters.newGroupRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
1212
1267
|
}
|
|
1268
|
+
/**
|
|
1269
|
+
*
|
|
1270
|
+
* @summary Gets a SyncPlay group by id.
|
|
1271
|
+
* @param {SyncPlayApiSyncPlayGetGroupRequest} requestParameters Request parameters.
|
|
1272
|
+
* @param {*} [options] Override http request option.
|
|
1273
|
+
* @throws {RequiredError}
|
|
1274
|
+
* @memberof SyncPlayApi
|
|
1275
|
+
*/
|
|
1276
|
+
syncPlayGetGroup(requestParameters, options) {
|
|
1277
|
+
return SyncPlayApiFp(this.configuration).syncPlayGetGroup(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1278
|
+
}
|
|
1213
1279
|
/**
|
|
1214
1280
|
*
|
|
1215
1281
|
* @summary Gets all SyncPlay groups.
|
|
@@ -15,7 +15,7 @@ import type { EndPointInfo } from '../models';
|
|
|
15
15
|
import type { LogFile } from '../models';
|
|
16
16
|
import type { PublicSystemInfo } from '../models';
|
|
17
17
|
import type { SystemInfo } from '../models';
|
|
18
|
-
import type {
|
|
18
|
+
import type { SystemStorageDto } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* SystemApi - axios parameter creator
|
|
21
21
|
* @export
|
|
@@ -66,12 +66,11 @@ export declare const SystemApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
66
66
|
getSystemInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
|
-
* @summary Gets
|
|
69
|
+
* @summary Gets information about the server.
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
|
-
* @deprecated
|
|
72
71
|
* @throws {RequiredError}
|
|
73
72
|
*/
|
|
74
|
-
|
|
73
|
+
getSystemStorage: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
75
74
|
/**
|
|
76
75
|
*
|
|
77
76
|
* @summary Pings the system.
|
|
@@ -144,12 +143,11 @@ export declare const SystemApiFp: (configuration?: Configuration) => {
|
|
|
144
143
|
getSystemInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SystemInfo>>;
|
|
145
144
|
/**
|
|
146
145
|
*
|
|
147
|
-
* @summary Gets
|
|
146
|
+
* @summary Gets information about the server.
|
|
148
147
|
* @param {*} [options] Override http request option.
|
|
149
|
-
* @deprecated
|
|
150
148
|
* @throws {RequiredError}
|
|
151
149
|
*/
|
|
152
|
-
|
|
150
|
+
getSystemStorage(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SystemStorageDto>>;
|
|
153
151
|
/**
|
|
154
152
|
*
|
|
155
153
|
* @summary Pings the system.
|
|
@@ -222,12 +220,11 @@ export declare const SystemApiFactory: (configuration?: Configuration, basePath?
|
|
|
222
220
|
getSystemInfo(options?: RawAxiosRequestConfig): AxiosPromise<SystemInfo>;
|
|
223
221
|
/**
|
|
224
222
|
*
|
|
225
|
-
* @summary Gets
|
|
223
|
+
* @summary Gets information about the server.
|
|
226
224
|
* @param {*} [options] Override http request option.
|
|
227
|
-
* @deprecated
|
|
228
225
|
* @throws {RequiredError}
|
|
229
226
|
*/
|
|
230
|
-
|
|
227
|
+
getSystemStorage(options?: RawAxiosRequestConfig): AxiosPromise<SystemStorageDto>;
|
|
231
228
|
/**
|
|
232
229
|
*
|
|
233
230
|
* @summary Pings the system.
|
|
@@ -277,7 +274,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
277
274
|
* @throws {RequiredError}
|
|
278
275
|
* @memberof SystemApi
|
|
279
276
|
*/
|
|
280
|
-
getEndpointInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EndPointInfo, any>>;
|
|
277
|
+
getEndpointInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EndPointInfo, any, {}>>;
|
|
281
278
|
/**
|
|
282
279
|
*
|
|
283
280
|
* @summary Gets a log file.
|
|
@@ -286,7 +283,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
286
283
|
* @throws {RequiredError}
|
|
287
284
|
* @memberof SystemApi
|
|
288
285
|
*/
|
|
289
|
-
getLogFile(requestParameters: SystemApiGetLogFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
286
|
+
getLogFile(requestParameters: SystemApiGetLogFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
290
287
|
/**
|
|
291
288
|
*
|
|
292
289
|
* @summary Pings the system.
|
|
@@ -294,7 +291,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
294
291
|
* @throws {RequiredError}
|
|
295
292
|
* @memberof SystemApi
|
|
296
293
|
*/
|
|
297
|
-
getPingSystem(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
294
|
+
getPingSystem(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
298
295
|
/**
|
|
299
296
|
*
|
|
300
297
|
* @summary Gets public information about the server.
|
|
@@ -302,7 +299,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
302
299
|
* @throws {RequiredError}
|
|
303
300
|
* @memberof SystemApi
|
|
304
301
|
*/
|
|
305
|
-
getPublicSystemInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicSystemInfo, any>>;
|
|
302
|
+
getPublicSystemInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PublicSystemInfo, any, {}>>;
|
|
306
303
|
/**
|
|
307
304
|
*
|
|
308
305
|
* @summary Gets a list of available server log files.
|
|
@@ -310,7 +307,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
310
307
|
* @throws {RequiredError}
|
|
311
308
|
* @memberof SystemApi
|
|
312
309
|
*/
|
|
313
|
-
getServerLogs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LogFile[], any>>;
|
|
310
|
+
getServerLogs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LogFile[], any, {}>>;
|
|
314
311
|
/**
|
|
315
312
|
*
|
|
316
313
|
* @summary Gets information about the server.
|
|
@@ -318,16 +315,15 @@ export declare class SystemApi extends BaseAPI {
|
|
|
318
315
|
* @throws {RequiredError}
|
|
319
316
|
* @memberof SystemApi
|
|
320
317
|
*/
|
|
321
|
-
getSystemInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SystemInfo, any>>;
|
|
318
|
+
getSystemInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SystemInfo, any, {}>>;
|
|
322
319
|
/**
|
|
323
320
|
*
|
|
324
|
-
* @summary Gets
|
|
321
|
+
* @summary Gets information about the server.
|
|
325
322
|
* @param {*} [options] Override http request option.
|
|
326
|
-
* @deprecated
|
|
327
323
|
* @throws {RequiredError}
|
|
328
324
|
* @memberof SystemApi
|
|
329
325
|
*/
|
|
330
|
-
|
|
326
|
+
getSystemStorage(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SystemStorageDto, any, {}>>;
|
|
331
327
|
/**
|
|
332
328
|
*
|
|
333
329
|
* @summary Pings the system.
|
|
@@ -335,7 +331,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
335
331
|
* @throws {RequiredError}
|
|
336
332
|
* @memberof SystemApi
|
|
337
333
|
*/
|
|
338
|
-
postPingSystem(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
334
|
+
postPingSystem(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
339
335
|
/**
|
|
340
336
|
*
|
|
341
337
|
* @summary Restarts the application.
|
|
@@ -343,7 +339,7 @@ export declare class SystemApi extends BaseAPI {
|
|
|
343
339
|
* @throws {RequiredError}
|
|
344
340
|
* @memberof SystemApi
|
|
345
341
|
*/
|
|
346
|
-
restartApplication(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
342
|
+
restartApplication(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
347
343
|
/**
|
|
348
344
|
*
|
|
349
345
|
* @summary Shuts down the application.
|
|
@@ -351,5 +347,5 @@ export declare class SystemApi extends BaseAPI {
|
|
|
351
347
|
* @throws {RequiredError}
|
|
352
348
|
* @memberof SystemApi
|
|
353
349
|
*/
|
|
354
|
-
shutdownApplication(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
350
|
+
shutdownApplication(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
355
351
|
}
|
|
@@ -186,13 +186,12 @@ const SystemApiAxiosParamCreator = function (configuration) {
|
|
|
186
186
|
},
|
|
187
187
|
/**
|
|
188
188
|
*
|
|
189
|
-
* @summary Gets
|
|
189
|
+
* @summary Gets information about the server.
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
|
-
* @deprecated
|
|
192
191
|
* @throws {RequiredError}
|
|
193
192
|
*/
|
|
194
|
-
|
|
195
|
-
const localVarPath = `/System/
|
|
193
|
+
getSystemStorage: async (options = {}) => {
|
|
194
|
+
const localVarPath = `/System/Info/Storage`;
|
|
196
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
197
196
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
198
197
|
let baseOptions;
|
|
@@ -381,16 +380,15 @@ const SystemApiFp = function (configuration) {
|
|
|
381
380
|
},
|
|
382
381
|
/**
|
|
383
382
|
*
|
|
384
|
-
* @summary Gets
|
|
383
|
+
* @summary Gets information about the server.
|
|
385
384
|
* @param {*} [options] Override http request option.
|
|
386
|
-
* @deprecated
|
|
387
385
|
* @throws {RequiredError}
|
|
388
386
|
*/
|
|
389
|
-
async
|
|
387
|
+
async getSystemStorage(options) {
|
|
390
388
|
var _a, _b, _c;
|
|
391
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
389
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSystemStorage(options);
|
|
392
390
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
393
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.
|
|
391
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SystemApi.getSystemStorage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
394
392
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
395
393
|
},
|
|
396
394
|
/**
|
|
@@ -498,13 +496,12 @@ const SystemApiFactory = function (configuration, basePath, axios) {
|
|
|
498
496
|
},
|
|
499
497
|
/**
|
|
500
498
|
*
|
|
501
|
-
* @summary Gets
|
|
499
|
+
* @summary Gets information about the server.
|
|
502
500
|
* @param {*} [options] Override http request option.
|
|
503
|
-
* @deprecated
|
|
504
501
|
* @throws {RequiredError}
|
|
505
502
|
*/
|
|
506
|
-
|
|
507
|
-
return localVarFp.
|
|
503
|
+
getSystemStorage(options) {
|
|
504
|
+
return localVarFp.getSystemStorage(options).then((request) => request(axios, basePath));
|
|
508
505
|
},
|
|
509
506
|
/**
|
|
510
507
|
*
|
|
@@ -605,14 +602,13 @@ class SystemApi extends BaseAPI {
|
|
|
605
602
|
}
|
|
606
603
|
/**
|
|
607
604
|
*
|
|
608
|
-
* @summary Gets
|
|
605
|
+
* @summary Gets information about the server.
|
|
609
606
|
* @param {*} [options] Override http request option.
|
|
610
|
-
* @deprecated
|
|
611
607
|
* @throws {RequiredError}
|
|
612
608
|
* @memberof SystemApi
|
|
613
609
|
*/
|
|
614
|
-
|
|
615
|
-
return SystemApiFp(this.configuration).
|
|
610
|
+
getSystemStorage(options) {
|
|
611
|
+
return SystemApiFp(this.configuration).getSystemStorage(options).then((request) => request(this.axios, this.basePath));
|
|
616
612
|
}
|
|
617
613
|
/**
|
|
618
614
|
*
|
|
@@ -65,5 +65,5 @@ export declare class TimeSyncApi extends BaseAPI {
|
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
* @memberof TimeSyncApi
|
|
67
67
|
*/
|
|
68
|
-
getUtcTime(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UtcTimeResponse, any>>;
|
|
68
|
+
getUtcTime(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UtcTimeResponse, any, {}>>;
|
|
69
69
|
}
|
|
@@ -65,5 +65,5 @@ export declare class TmdbApi extends BaseAPI {
|
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
* @memberof TmdbApi
|
|
67
67
|
*/
|
|
68
|
-
tmdbClientConfiguration(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigImageTypes, any>>;
|
|
68
|
+
tmdbClientConfiguration(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigImageTypes, any, {}>>;
|
|
69
69
|
}
|
|
@@ -756,5 +756,5 @@ export declare class TrailersApi extends BaseAPI {
|
|
|
756
756
|
* @throws {RequiredError}
|
|
757
757
|
* @memberof TrailersApi
|
|
758
758
|
*/
|
|
759
|
-
getTrailers(requestParameters?: TrailersApiGetTrailersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
759
|
+
getTrailers(requestParameters?: TrailersApiGetTrailersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
760
760
|
}
|
|
@@ -158,7 +158,7 @@ export declare class TrickplayApi extends BaseAPI {
|
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
* @memberof TrickplayApi
|
|
160
160
|
*/
|
|
161
|
-
getTrickplayHlsPlaylist(requestParameters: TrickplayApiGetTrickplayHlsPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
161
|
+
getTrickplayHlsPlaylist(requestParameters: TrickplayApiGetTrickplayHlsPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
162
162
|
/**
|
|
163
163
|
*
|
|
164
164
|
* @summary Gets a trickplay tile image.
|
|
@@ -167,5 +167,5 @@ export declare class TrickplayApi extends BaseAPI {
|
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
* @memberof TrickplayApi
|
|
169
169
|
*/
|
|
170
|
-
getTrickplayTileImage(requestParameters: TrickplayApiGetTrickplayTileImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
170
|
+
getTrickplayTileImage(requestParameters: TrickplayApiGetTrickplayTileImageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
171
171
|
}
|
|
@@ -556,7 +556,7 @@ export declare class TvShowsApi extends BaseAPI {
|
|
|
556
556
|
* @throws {RequiredError}
|
|
557
557
|
* @memberof TvShowsApi
|
|
558
558
|
*/
|
|
559
|
-
getEpisodes(requestParameters: TvShowsApiGetEpisodesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
559
|
+
getEpisodes(requestParameters: TvShowsApiGetEpisodesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
560
560
|
/**
|
|
561
561
|
*
|
|
562
562
|
* @summary Gets a list of next up episodes.
|
|
@@ -565,7 +565,7 @@ export declare class TvShowsApi extends BaseAPI {
|
|
|
565
565
|
* @throws {RequiredError}
|
|
566
566
|
* @memberof TvShowsApi
|
|
567
567
|
*/
|
|
568
|
-
getNextUp(requestParameters?: TvShowsApiGetNextUpRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
568
|
+
getNextUp(requestParameters?: TvShowsApiGetNextUpRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
569
569
|
/**
|
|
570
570
|
*
|
|
571
571
|
* @summary Gets seasons for a tv series.
|
|
@@ -574,7 +574,7 @@ export declare class TvShowsApi extends BaseAPI {
|
|
|
574
574
|
* @throws {RequiredError}
|
|
575
575
|
* @memberof TvShowsApi
|
|
576
576
|
*/
|
|
577
|
-
getSeasons(requestParameters: TvShowsApiGetSeasonsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
577
|
+
getSeasons(requestParameters: TvShowsApiGetSeasonsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
578
578
|
/**
|
|
579
579
|
*
|
|
580
580
|
* @summary Gets a list of upcoming episodes.
|
|
@@ -583,5 +583,5 @@ export declare class TvShowsApi extends BaseAPI {
|
|
|
583
583
|
* @throws {RequiredError}
|
|
584
584
|
* @memberof TvShowsApi
|
|
585
585
|
*/
|
|
586
|
-
getUpcomingEpisodes(requestParameters?: TvShowsApiGetUpcomingEpisodesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
586
|
+
getUpcomingEpisodes(requestParameters?: TvShowsApiGetUpcomingEpisodesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
587
587
|
}
|
|
@@ -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 */
|