@jellyfin/sdk 0.11.0 → 0.13.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 +142 -0
- package/README.md +8 -53
- package/lib/api.d.ts +11 -2
- package/lib/api.js +23 -13
- 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/utils/api/session-api.js +16 -1
- package/lib/utils/api/user-api.js +26 -1
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +18 -16
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -457,7 +457,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
457
457
|
* @throws {RequiredError}
|
|
458
458
|
* @memberof MediaInfoApi
|
|
459
459
|
*/
|
|
460
|
-
closeLiveStream(requestParameters: MediaInfoApiCloseLiveStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
460
|
+
closeLiveStream(requestParameters: MediaInfoApiCloseLiveStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
461
461
|
/**
|
|
462
462
|
*
|
|
463
463
|
* @summary Tests the network with a request with the size of the bitrate.
|
|
@@ -466,7 +466,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
466
466
|
* @throws {RequiredError}
|
|
467
467
|
* @memberof MediaInfoApi
|
|
468
468
|
*/
|
|
469
|
-
getBitrateTestBytes(requestParameters?: MediaInfoApiGetBitrateTestBytesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
469
|
+
getBitrateTestBytes(requestParameters?: MediaInfoApiGetBitrateTestBytesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
470
470
|
/**
|
|
471
471
|
*
|
|
472
472
|
* @summary Gets live playback media info for an item.
|
|
@@ -475,7 +475,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
475
475
|
* @throws {RequiredError}
|
|
476
476
|
* @memberof MediaInfoApi
|
|
477
477
|
*/
|
|
478
|
-
getPlaybackInfo(requestParameters: MediaInfoApiGetPlaybackInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaybackInfoResponse, any>>;
|
|
478
|
+
getPlaybackInfo(requestParameters: MediaInfoApiGetPlaybackInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaybackInfoResponse, any, {}>>;
|
|
479
479
|
/**
|
|
480
480
|
* For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
|
|
481
481
|
* @summary Gets live playback media info for an item.
|
|
@@ -484,7 +484,7 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
484
484
|
* @throws {RequiredError}
|
|
485
485
|
* @memberof MediaInfoApi
|
|
486
486
|
*/
|
|
487
|
-
getPostedPlaybackInfo(requestParameters: MediaInfoApiGetPostedPlaybackInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaybackInfoResponse, any>>;
|
|
487
|
+
getPostedPlaybackInfo(requestParameters: MediaInfoApiGetPostedPlaybackInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaybackInfoResponse, any, {}>>;
|
|
488
488
|
/**
|
|
489
489
|
*
|
|
490
490
|
* @summary Opens a media source.
|
|
@@ -493,5 +493,5 @@ export declare class MediaInfoApi extends BaseAPI {
|
|
|
493
493
|
* @throws {RequiredError}
|
|
494
494
|
* @memberof MediaInfoApi
|
|
495
495
|
*/
|
|
496
|
-
openLiveStream(requestParameters?: MediaInfoApiOpenLiveStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LiveStreamResponse, any>>;
|
|
496
|
+
openLiveStream(requestParameters?: MediaInfoApiOpenLiveStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LiveStreamResponse, any, {}>>;
|
|
497
497
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import {
|
|
2
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
3
3
|
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
@@ -91,5 +91,5 @@ export declare class MediaSegmentsApi extends BaseAPI {
|
|
|
91
91
|
* @throws {RequiredError}
|
|
92
92
|
* @memberof MediaSegmentsApi
|
|
93
93
|
*/
|
|
94
|
-
getItemSegments(requestParameters: MediaSegmentsApiGetItemSegmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MediaSegmentDtoQueryResult, any>>;
|
|
94
|
+
getItemSegments(requestParameters: MediaSegmentsApiGetItemSegmentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MediaSegmentDtoQueryResult, any, {}>>;
|
|
95
95
|
}
|
|
@@ -115,5 +115,5 @@ export declare class MoviesApi extends BaseAPI {
|
|
|
115
115
|
* @throws {RequiredError}
|
|
116
116
|
* @memberof MoviesApi
|
|
117
117
|
*/
|
|
118
|
-
getMovieRecommendations(requestParameters?: MoviesApiGetMovieRecommendationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecommendationDto[], any>>;
|
|
118
|
+
getMovieRecommendations(requestParameters?: MoviesApiGetMovieRecommendationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RecommendationDto[], any, {}>>;
|
|
119
119
|
}
|
|
@@ -272,7 +272,7 @@ export declare class MusicGenresApi extends BaseAPI {
|
|
|
272
272
|
* @throws {RequiredError}
|
|
273
273
|
* @memberof MusicGenresApi
|
|
274
274
|
*/
|
|
275
|
-
getMusicGenre(requestParameters: MusicGenresApiGetMusicGenreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
275
|
+
getMusicGenre(requestParameters: MusicGenresApiGetMusicGenreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any, {}>>;
|
|
276
276
|
/**
|
|
277
277
|
*
|
|
278
278
|
* @summary Gets all music genres from a given item, folder, or the entire library.
|
|
@@ -282,5 +282,5 @@ export declare class MusicGenresApi extends BaseAPI {
|
|
|
282
282
|
* @throws {RequiredError}
|
|
283
283
|
* @memberof MusicGenresApi
|
|
284
284
|
*/
|
|
285
|
-
getMusicGenres(requestParameters?: MusicGenresApiGetMusicGenresRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
285
|
+
getMusicGenres(requestParameters?: MusicGenresApiGetMusicGenresRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
286
286
|
}
|
|
@@ -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 */
|
|
@@ -276,7 +276,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
276
276
|
* @throws {RequiredError}
|
|
277
277
|
* @memberof NotificationsApi
|
|
278
278
|
*/
|
|
279
|
-
createAdminNotification(requestParameters: NotificationsApiCreateAdminNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
279
|
+
createAdminNotification(requestParameters: NotificationsApiCreateAdminNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
280
280
|
/**
|
|
281
281
|
*
|
|
282
282
|
* @summary Gets notification services.
|
|
@@ -284,7 +284,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
284
284
|
* @throws {RequiredError}
|
|
285
285
|
* @memberof NotificationsApi
|
|
286
286
|
*/
|
|
287
|
-
getNotificationServices(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any>>;
|
|
287
|
+
getNotificationServices(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NameIdPair[], any, {}>>;
|
|
288
288
|
/**
|
|
289
289
|
*
|
|
290
290
|
* @summary Gets notification types.
|
|
@@ -292,7 +292,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
292
292
|
* @throws {RequiredError}
|
|
293
293
|
* @memberof NotificationsApi
|
|
294
294
|
*/
|
|
295
|
-
getNotificationTypes(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationTypeInfo[], any>>;
|
|
295
|
+
getNotificationTypes(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationTypeInfo[], any, {}>>;
|
|
296
296
|
/**
|
|
297
297
|
*
|
|
298
298
|
* @summary Gets a user\'s notifications.
|
|
@@ -301,7 +301,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
301
301
|
* @throws {RequiredError}
|
|
302
302
|
* @memberof NotificationsApi
|
|
303
303
|
*/
|
|
304
|
-
getNotifications(requestParameters: NotificationsApiGetNotificationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationResultDto, any>>;
|
|
304
|
+
getNotifications(requestParameters: NotificationsApiGetNotificationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationResultDto, any, {}>>;
|
|
305
305
|
/**
|
|
306
306
|
*
|
|
307
307
|
* @summary Gets a user\'s notification summary.
|
|
@@ -310,7 +310,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
310
310
|
* @throws {RequiredError}
|
|
311
311
|
* @memberof NotificationsApi
|
|
312
312
|
*/
|
|
313
|
-
getNotificationsSummary(requestParameters: NotificationsApiGetNotificationsSummaryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationsSummaryDto, any>>;
|
|
313
|
+
getNotificationsSummary(requestParameters: NotificationsApiGetNotificationsSummaryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NotificationsSummaryDto, any, {}>>;
|
|
314
314
|
/**
|
|
315
315
|
*
|
|
316
316
|
* @summary Sets notifications as read.
|
|
@@ -319,7 +319,7 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
319
319
|
* @throws {RequiredError}
|
|
320
320
|
* @memberof NotificationsApi
|
|
321
321
|
*/
|
|
322
|
-
setRead(requestParameters: NotificationsApiSetReadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
322
|
+
setRead(requestParameters: NotificationsApiSetReadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
323
323
|
/**
|
|
324
324
|
*
|
|
325
325
|
* @summary Sets notifications as unread.
|
|
@@ -328,5 +328,5 @@ export declare class NotificationsApi extends BaseAPI {
|
|
|
328
328
|
* @throws {RequiredError}
|
|
329
329
|
* @memberof NotificationsApi
|
|
330
330
|
*/
|
|
331
|
-
setUnread(requestParameters: NotificationsApiSetUnreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
331
|
+
setUnread(requestParameters: NotificationsApiSetUnreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
332
332
|
}
|
|
@@ -268,7 +268,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
268
268
|
* @throws {RequiredError}
|
|
269
269
|
* @memberof PackageApi
|
|
270
270
|
*/
|
|
271
|
-
cancelPackageInstallation(requestParameters: PackageApiCancelPackageInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
271
|
+
cancelPackageInstallation(requestParameters: PackageApiCancelPackageInstallationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
272
272
|
/**
|
|
273
273
|
*
|
|
274
274
|
* @summary Gets a package by name or assembly GUID.
|
|
@@ -277,7 +277,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
277
277
|
* @throws {RequiredError}
|
|
278
278
|
* @memberof PackageApi
|
|
279
279
|
*/
|
|
280
|
-
getPackageInfo(requestParameters: PackageApiGetPackageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackageInfo, any>>;
|
|
280
|
+
getPackageInfo(requestParameters: PackageApiGetPackageInfoRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackageInfo, any, {}>>;
|
|
281
281
|
/**
|
|
282
282
|
*
|
|
283
283
|
* @summary Gets available packages.
|
|
@@ -285,7 +285,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
285
285
|
* @throws {RequiredError}
|
|
286
286
|
* @memberof PackageApi
|
|
287
287
|
*/
|
|
288
|
-
getPackages(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackageInfo[], any>>;
|
|
288
|
+
getPackages(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PackageInfo[], any, {}>>;
|
|
289
289
|
/**
|
|
290
290
|
*
|
|
291
291
|
* @summary Gets all package repositories.
|
|
@@ -293,7 +293,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
293
293
|
* @throws {RequiredError}
|
|
294
294
|
* @memberof PackageApi
|
|
295
295
|
*/
|
|
296
|
-
getRepositories(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RepositoryInfo[], any>>;
|
|
296
|
+
getRepositories(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RepositoryInfo[], any, {}>>;
|
|
297
297
|
/**
|
|
298
298
|
*
|
|
299
299
|
* @summary Installs a package.
|
|
@@ -302,7 +302,7 @@ export declare class PackageApi extends BaseAPI {
|
|
|
302
302
|
* @throws {RequiredError}
|
|
303
303
|
* @memberof PackageApi
|
|
304
304
|
*/
|
|
305
|
-
installPackage(requestParameters: PackageApiInstallPackageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
305
|
+
installPackage(requestParameters: PackageApiInstallPackageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
306
306
|
/**
|
|
307
307
|
*
|
|
308
308
|
* @summary Sets the enabled and existing package repositories.
|
|
@@ -311,5 +311,5 @@ export declare class PackageApi extends BaseAPI {
|
|
|
311
311
|
* @throws {RequiredError}
|
|
312
312
|
* @memberof PackageApi
|
|
313
313
|
*/
|
|
314
|
-
setRepositories(requestParameters: PackageApiSetRepositoriesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
314
|
+
setRepositories(requestParameters: PackageApiSetRepositoriesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
315
315
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
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 */
|
|
@@ -227,7 +227,7 @@ export declare class PersonsApi extends BaseAPI {
|
|
|
227
227
|
* @throws {RequiredError}
|
|
228
228
|
* @memberof PersonsApi
|
|
229
229
|
*/
|
|
230
|
-
getPerson(requestParameters: PersonsApiGetPersonRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
230
|
+
getPerson(requestParameters: PersonsApiGetPersonRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any, {}>>;
|
|
231
231
|
/**
|
|
232
232
|
*
|
|
233
233
|
* @summary Gets all persons.
|
|
@@ -236,5 +236,5 @@ export declare class PersonsApi extends BaseAPI {
|
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
* @memberof PersonsApi
|
|
238
238
|
*/
|
|
239
|
-
getPersons(requestParameters?: PersonsApiGetPersonsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
239
|
+
getPersons(requestParameters?: PersonsApiGetPersonsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
240
240
|
}
|
|
@@ -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 */
|
|
@@ -637,7 +637,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
637
637
|
* @throws {RequiredError}
|
|
638
638
|
* @memberof PlaylistsApi
|
|
639
639
|
*/
|
|
640
|
-
addItemToPlaylist(requestParameters: PlaylistsApiAddItemToPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
640
|
+
addItemToPlaylist(requestParameters: PlaylistsApiAddItemToPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
641
641
|
/**
|
|
642
642
|
* For backwards compatibility parameters can be sent via Query or Body, with Query having higher precedence. Query parameters are obsolete.
|
|
643
643
|
* @summary Creates a new playlist.
|
|
@@ -646,7 +646,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
646
646
|
* @throws {RequiredError}
|
|
647
647
|
* @memberof PlaylistsApi
|
|
648
648
|
*/
|
|
649
|
-
createPlaylist(requestParameters?: PlaylistsApiCreatePlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistCreationResult, any>>;
|
|
649
|
+
createPlaylist(requestParameters?: PlaylistsApiCreatePlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistCreationResult, any, {}>>;
|
|
650
650
|
/**
|
|
651
651
|
*
|
|
652
652
|
* @summary Get a playlist.
|
|
@@ -655,7 +655,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
655
655
|
* @throws {RequiredError}
|
|
656
656
|
* @memberof PlaylistsApi
|
|
657
657
|
*/
|
|
658
|
-
getPlaylist(requestParameters: PlaylistsApiGetPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistDto, any>>;
|
|
658
|
+
getPlaylist(requestParameters: PlaylistsApiGetPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistDto, any, {}>>;
|
|
659
659
|
/**
|
|
660
660
|
*
|
|
661
661
|
* @summary Gets the original items of a playlist.
|
|
@@ -664,7 +664,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
664
664
|
* @throws {RequiredError}
|
|
665
665
|
* @memberof PlaylistsApi
|
|
666
666
|
*/
|
|
667
|
-
getPlaylistItems(requestParameters: PlaylistsApiGetPlaylistItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
667
|
+
getPlaylistItems(requestParameters: PlaylistsApiGetPlaylistItemsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
668
668
|
/**
|
|
669
669
|
*
|
|
670
670
|
* @summary Get a playlist user.
|
|
@@ -673,7 +673,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
673
673
|
* @throws {RequiredError}
|
|
674
674
|
* @memberof PlaylistsApi
|
|
675
675
|
*/
|
|
676
|
-
getPlaylistUser(requestParameters: PlaylistsApiGetPlaylistUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistUserPermissions, any>>;
|
|
676
|
+
getPlaylistUser(requestParameters: PlaylistsApiGetPlaylistUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistUserPermissions, any, {}>>;
|
|
677
677
|
/**
|
|
678
678
|
*
|
|
679
679
|
* @summary Get a playlist\'s users.
|
|
@@ -682,7 +682,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
682
682
|
* @throws {RequiredError}
|
|
683
683
|
* @memberof PlaylistsApi
|
|
684
684
|
*/
|
|
685
|
-
getPlaylistUsers(requestParameters: PlaylistsApiGetPlaylistUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistUserPermissions[], any>>;
|
|
685
|
+
getPlaylistUsers(requestParameters: PlaylistsApiGetPlaylistUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlaylistUserPermissions[], any, {}>>;
|
|
686
686
|
/**
|
|
687
687
|
*
|
|
688
688
|
* @summary Moves a playlist item.
|
|
@@ -691,7 +691,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
691
691
|
* @throws {RequiredError}
|
|
692
692
|
* @memberof PlaylistsApi
|
|
693
693
|
*/
|
|
694
|
-
moveItem(requestParameters: PlaylistsApiMoveItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
694
|
+
moveItem(requestParameters: PlaylistsApiMoveItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
695
695
|
/**
|
|
696
696
|
*
|
|
697
697
|
* @summary Removes items from a playlist.
|
|
@@ -700,7 +700,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
700
700
|
* @throws {RequiredError}
|
|
701
701
|
* @memberof PlaylistsApi
|
|
702
702
|
*/
|
|
703
|
-
removeItemFromPlaylist(requestParameters: PlaylistsApiRemoveItemFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
703
|
+
removeItemFromPlaylist(requestParameters: PlaylistsApiRemoveItemFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
704
704
|
/**
|
|
705
705
|
*
|
|
706
706
|
* @summary Remove a user from a playlist\'s users.
|
|
@@ -709,7 +709,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
709
709
|
* @throws {RequiredError}
|
|
710
710
|
* @memberof PlaylistsApi
|
|
711
711
|
*/
|
|
712
|
-
removeUserFromPlaylist(requestParameters: PlaylistsApiRemoveUserFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
712
|
+
removeUserFromPlaylist(requestParameters: PlaylistsApiRemoveUserFromPlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
713
713
|
/**
|
|
714
714
|
*
|
|
715
715
|
* @summary Updates a playlist.
|
|
@@ -718,7 +718,7 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
718
718
|
* @throws {RequiredError}
|
|
719
719
|
* @memberof PlaylistsApi
|
|
720
720
|
*/
|
|
721
|
-
updatePlaylist(requestParameters: PlaylistsApiUpdatePlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
721
|
+
updatePlaylist(requestParameters: PlaylistsApiUpdatePlaylistRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
722
722
|
/**
|
|
723
723
|
*
|
|
724
724
|
* @summary Modify a user of a playlist\'s users.
|
|
@@ -727,5 +727,5 @@ export declare class PlaylistsApi extends BaseAPI {
|
|
|
727
727
|
* @throws {RequiredError}
|
|
728
728
|
* @memberof PlaylistsApi
|
|
729
729
|
*/
|
|
730
|
-
updatePlaylistUser(requestParameters: PlaylistsApiUpdatePlaylistUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
730
|
+
updatePlaylistUser(requestParameters: PlaylistsApiUpdatePlaylistUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
731
731
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams,
|
|
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 */
|
|
@@ -57,6 +57,7 @@ export declare const PlaystateApiAxiosParamCreator: (configuration?: Configurati
|
|
|
57
57
|
* @param {boolean} [isPaused] Indicates if the player is paused.
|
|
58
58
|
* @param {boolean} [isMuted] Indicates if the player is muted.
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
|
+
* @deprecated
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
63
|
onPlaybackProgress: (itemId: string, mediaSourceId?: string, positionTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, volumeLevel?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, repeatMode?: RepeatMode, isPaused?: boolean, isMuted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -72,6 +73,7 @@ export declare const PlaystateApiAxiosParamCreator: (configuration?: Configurati
|
|
|
72
73
|
* @param {string} [playSessionId] The play session id.
|
|
73
74
|
* @param {boolean} [canSeek] Indicates if the client can seek.
|
|
74
75
|
* @param {*} [options] Override http request option.
|
|
76
|
+
* @deprecated
|
|
75
77
|
* @throws {RequiredError}
|
|
76
78
|
*/
|
|
77
79
|
onPlaybackStart: (itemId: string, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, canSeek?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -85,6 +87,7 @@ export declare const PlaystateApiAxiosParamCreator: (configuration?: Configurati
|
|
|
85
87
|
* @param {string} [liveStreamId] The live stream id.
|
|
86
88
|
* @param {string} [playSessionId] The play session id.
|
|
87
89
|
* @param {*} [options] Override http request option.
|
|
90
|
+
* @deprecated
|
|
88
91
|
* @throws {RequiredError}
|
|
89
92
|
*/
|
|
90
93
|
onPlaybackStopped: (itemId: string, mediaSourceId?: string, nextMediaType?: string, positionTicks?: number, liveStreamId?: string, playSessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -161,6 +164,7 @@ export declare const PlaystateApiFp: (configuration?: Configuration) => {
|
|
|
161
164
|
* @param {boolean} [isPaused] Indicates if the player is paused.
|
|
162
165
|
* @param {boolean} [isMuted] Indicates if the player is muted.
|
|
163
166
|
* @param {*} [options] Override http request option.
|
|
167
|
+
* @deprecated
|
|
164
168
|
* @throws {RequiredError}
|
|
165
169
|
*/
|
|
166
170
|
onPlaybackProgress(itemId: string, mediaSourceId?: string, positionTicks?: number, audioStreamIndex?: number, subtitleStreamIndex?: number, volumeLevel?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, repeatMode?: RepeatMode, isPaused?: boolean, isMuted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
@@ -176,6 +180,7 @@ export declare const PlaystateApiFp: (configuration?: Configuration) => {
|
|
|
176
180
|
* @param {string} [playSessionId] The play session id.
|
|
177
181
|
* @param {boolean} [canSeek] Indicates if the client can seek.
|
|
178
182
|
* @param {*} [options] Override http request option.
|
|
183
|
+
* @deprecated
|
|
179
184
|
* @throws {RequiredError}
|
|
180
185
|
*/
|
|
181
186
|
onPlaybackStart(itemId: string, mediaSourceId?: string, audioStreamIndex?: number, subtitleStreamIndex?: number, playMethod?: PlayMethod, liveStreamId?: string, playSessionId?: string, canSeek?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
@@ -189,6 +194,7 @@ export declare const PlaystateApiFp: (configuration?: Configuration) => {
|
|
|
189
194
|
* @param {string} [liveStreamId] The live stream id.
|
|
190
195
|
* @param {string} [playSessionId] The play session id.
|
|
191
196
|
* @param {*} [options] Override http request option.
|
|
197
|
+
* @deprecated
|
|
192
198
|
* @throws {RequiredError}
|
|
193
199
|
*/
|
|
194
200
|
onPlaybackStopped(itemId: string, mediaSourceId?: string, nextMediaType?: string, positionTicks?: number, liveStreamId?: string, playSessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
@@ -251,6 +257,7 @@ export declare const PlaystateApiFactory: (configuration?: Configuration, basePa
|
|
|
251
257
|
* @summary Reports a session\'s playback progress.
|
|
252
258
|
* @param {PlaystateApiOnPlaybackProgressRequest} requestParameters Request parameters.
|
|
253
259
|
* @param {*} [options] Override http request option.
|
|
260
|
+
* @deprecated
|
|
254
261
|
* @throws {RequiredError}
|
|
255
262
|
*/
|
|
256
263
|
onPlaybackProgress(requestParameters: PlaystateApiOnPlaybackProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
@@ -259,6 +266,7 @@ export declare const PlaystateApiFactory: (configuration?: Configuration, basePa
|
|
|
259
266
|
* @summary Reports that a session has begun playing an item.
|
|
260
267
|
* @param {PlaystateApiOnPlaybackStartRequest} requestParameters Request parameters.
|
|
261
268
|
* @param {*} [options] Override http request option.
|
|
269
|
+
* @deprecated
|
|
262
270
|
* @throws {RequiredError}
|
|
263
271
|
*/
|
|
264
272
|
onPlaybackStart(requestParameters: PlaystateApiOnPlaybackStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
@@ -267,6 +275,7 @@ export declare const PlaystateApiFactory: (configuration?: Configuration, basePa
|
|
|
267
275
|
* @summary Reports that a session has stopped playing an item.
|
|
268
276
|
* @param {PlaystateApiOnPlaybackStoppedRequest} requestParameters Request parameters.
|
|
269
277
|
* @param {*} [options] Override http request option.
|
|
278
|
+
* @deprecated
|
|
270
279
|
* @throws {RequiredError}
|
|
271
280
|
*/
|
|
272
281
|
onPlaybackStopped(requestParameters: PlaystateApiOnPlaybackStoppedRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
@@ -591,7 +600,7 @@ export declare class PlaystateApi extends BaseAPI {
|
|
|
591
600
|
* @throws {RequiredError}
|
|
592
601
|
* @memberof PlaystateApi
|
|
593
602
|
*/
|
|
594
|
-
markPlayedItem(requestParameters: PlaystateApiMarkPlayedItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any>>;
|
|
603
|
+
markPlayedItem(requestParameters: PlaystateApiMarkPlayedItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
|
|
595
604
|
/**
|
|
596
605
|
*
|
|
597
606
|
* @summary Marks an item as unplayed for user.
|
|
@@ -600,34 +609,37 @@ export declare class PlaystateApi extends BaseAPI {
|
|
|
600
609
|
* @throws {RequiredError}
|
|
601
610
|
* @memberof PlaystateApi
|
|
602
611
|
*/
|
|
603
|
-
markUnplayedItem(requestParameters: PlaystateApiMarkUnplayedItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any>>;
|
|
612
|
+
markUnplayedItem(requestParameters: PlaystateApiMarkUnplayedItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
|
|
604
613
|
/**
|
|
605
614
|
*
|
|
606
615
|
* @summary Reports a session\'s playback progress.
|
|
607
616
|
* @param {PlaystateApiOnPlaybackProgressRequest} requestParameters Request parameters.
|
|
608
617
|
* @param {*} [options] Override http request option.
|
|
618
|
+
* @deprecated
|
|
609
619
|
* @throws {RequiredError}
|
|
610
620
|
* @memberof PlaystateApi
|
|
611
621
|
*/
|
|
612
|
-
onPlaybackProgress(requestParameters: PlaystateApiOnPlaybackProgressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
622
|
+
onPlaybackProgress(requestParameters: PlaystateApiOnPlaybackProgressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
613
623
|
/**
|
|
614
624
|
*
|
|
615
625
|
* @summary Reports that a session has begun playing an item.
|
|
616
626
|
* @param {PlaystateApiOnPlaybackStartRequest} requestParameters Request parameters.
|
|
617
627
|
* @param {*} [options] Override http request option.
|
|
628
|
+
* @deprecated
|
|
618
629
|
* @throws {RequiredError}
|
|
619
630
|
* @memberof PlaystateApi
|
|
620
631
|
*/
|
|
621
|
-
onPlaybackStart(requestParameters: PlaystateApiOnPlaybackStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
632
|
+
onPlaybackStart(requestParameters: PlaystateApiOnPlaybackStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
622
633
|
/**
|
|
623
634
|
*
|
|
624
635
|
* @summary Reports that a session has stopped playing an item.
|
|
625
636
|
* @param {PlaystateApiOnPlaybackStoppedRequest} requestParameters Request parameters.
|
|
626
637
|
* @param {*} [options] Override http request option.
|
|
638
|
+
* @deprecated
|
|
627
639
|
* @throws {RequiredError}
|
|
628
640
|
* @memberof PlaystateApi
|
|
629
641
|
*/
|
|
630
|
-
onPlaybackStopped(requestParameters: PlaystateApiOnPlaybackStoppedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
642
|
+
onPlaybackStopped(requestParameters: PlaystateApiOnPlaybackStoppedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
631
643
|
/**
|
|
632
644
|
*
|
|
633
645
|
* @summary Pings a playback session.
|
|
@@ -636,7 +648,7 @@ export declare class PlaystateApi extends BaseAPI {
|
|
|
636
648
|
* @throws {RequiredError}
|
|
637
649
|
* @memberof PlaystateApi
|
|
638
650
|
*/
|
|
639
|
-
pingPlaybackSession(requestParameters: PlaystateApiPingPlaybackSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
651
|
+
pingPlaybackSession(requestParameters: PlaystateApiPingPlaybackSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
640
652
|
/**
|
|
641
653
|
*
|
|
642
654
|
* @summary Reports playback progress within a session.
|
|
@@ -645,7 +657,7 @@ export declare class PlaystateApi extends BaseAPI {
|
|
|
645
657
|
* @throws {RequiredError}
|
|
646
658
|
* @memberof PlaystateApi
|
|
647
659
|
*/
|
|
648
|
-
reportPlaybackProgress(requestParameters?: PlaystateApiReportPlaybackProgressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
660
|
+
reportPlaybackProgress(requestParameters?: PlaystateApiReportPlaybackProgressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
649
661
|
/**
|
|
650
662
|
*
|
|
651
663
|
* @summary Reports playback has started within a session.
|
|
@@ -654,7 +666,7 @@ export declare class PlaystateApi extends BaseAPI {
|
|
|
654
666
|
* @throws {RequiredError}
|
|
655
667
|
* @memberof PlaystateApi
|
|
656
668
|
*/
|
|
657
|
-
reportPlaybackStart(requestParameters?: PlaystateApiReportPlaybackStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
669
|
+
reportPlaybackStart(requestParameters?: PlaystateApiReportPlaybackStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
658
670
|
/**
|
|
659
671
|
*
|
|
660
672
|
* @summary Reports playback has stopped within a session.
|
|
@@ -663,5 +675,5 @@ export declare class PlaystateApi extends BaseAPI {
|
|
|
663
675
|
* @throws {RequiredError}
|
|
664
676
|
* @memberof PlaystateApi
|
|
665
677
|
*/
|
|
666
|
-
reportPlaybackStopped(requestParameters?: PlaystateApiReportPlaybackStoppedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
678
|
+
reportPlaybackStopped(requestParameters?: PlaystateApiReportPlaybackStoppedRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
667
679
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import {
|
|
2
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
3
3
|
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
@@ -112,6 +112,7 @@ const PlaystateApiAxiosParamCreator = function (configuration) {
|
|
|
112
112
|
* @param {boolean} [isPaused] Indicates if the player is paused.
|
|
113
113
|
* @param {boolean} [isMuted] Indicates if the player is muted.
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
|
+
* @deprecated
|
|
115
116
|
* @throws {RequiredError}
|
|
116
117
|
*/
|
|
117
118
|
onPlaybackProgress: async (itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, options = {}) => {
|
|
@@ -183,6 +184,7 @@ const PlaystateApiAxiosParamCreator = function (configuration) {
|
|
|
183
184
|
* @param {string} [playSessionId] The play session id.
|
|
184
185
|
* @param {boolean} [canSeek] Indicates if the client can seek.
|
|
185
186
|
* @param {*} [options] Override http request option.
|
|
187
|
+
* @deprecated
|
|
186
188
|
* @throws {RequiredError}
|
|
187
189
|
*/
|
|
188
190
|
onPlaybackStart: async (itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, options = {}) => {
|
|
@@ -240,6 +242,7 @@ const PlaystateApiAxiosParamCreator = function (configuration) {
|
|
|
240
242
|
* @param {string} [liveStreamId] The live stream id.
|
|
241
243
|
* @param {string} [playSessionId] The play session id.
|
|
242
244
|
* @param {*} [options] Override http request option.
|
|
245
|
+
* @deprecated
|
|
243
246
|
* @throws {RequiredError}
|
|
244
247
|
*/
|
|
245
248
|
onPlaybackStopped: async (itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, options = {}) => {
|
|
@@ -460,6 +463,7 @@ const PlaystateApiFp = function (configuration) {
|
|
|
460
463
|
* @param {boolean} [isPaused] Indicates if the player is paused.
|
|
461
464
|
* @param {boolean} [isMuted] Indicates if the player is muted.
|
|
462
465
|
* @param {*} [options] Override http request option.
|
|
466
|
+
* @deprecated
|
|
463
467
|
* @throws {RequiredError}
|
|
464
468
|
*/
|
|
465
469
|
async onPlaybackProgress(itemId, mediaSourceId, positionTicks, audioStreamIndex, subtitleStreamIndex, volumeLevel, playMethod, liveStreamId, playSessionId, repeatMode, isPaused, isMuted, options) {
|
|
@@ -481,6 +485,7 @@ const PlaystateApiFp = function (configuration) {
|
|
|
481
485
|
* @param {string} [playSessionId] The play session id.
|
|
482
486
|
* @param {boolean} [canSeek] Indicates if the client can seek.
|
|
483
487
|
* @param {*} [options] Override http request option.
|
|
488
|
+
* @deprecated
|
|
484
489
|
* @throws {RequiredError}
|
|
485
490
|
*/
|
|
486
491
|
async onPlaybackStart(itemId, mediaSourceId, audioStreamIndex, subtitleStreamIndex, playMethod, liveStreamId, playSessionId, canSeek, options) {
|
|
@@ -500,6 +505,7 @@ const PlaystateApiFp = function (configuration) {
|
|
|
500
505
|
* @param {string} [liveStreamId] The live stream id.
|
|
501
506
|
* @param {string} [playSessionId] The play session id.
|
|
502
507
|
* @param {*} [options] Override http request option.
|
|
508
|
+
* @deprecated
|
|
503
509
|
* @throws {RequiredError}
|
|
504
510
|
*/
|
|
505
511
|
async onPlaybackStopped(itemId, mediaSourceId, nextMediaType, positionTicks, liveStreamId, playSessionId, options) {
|
|
@@ -599,6 +605,7 @@ const PlaystateApiFactory = function (configuration, basePath, axios) {
|
|
|
599
605
|
* @summary Reports a session\'s playback progress.
|
|
600
606
|
* @param {PlaystateApiOnPlaybackProgressRequest} requestParameters Request parameters.
|
|
601
607
|
* @param {*} [options] Override http request option.
|
|
608
|
+
* @deprecated
|
|
602
609
|
* @throws {RequiredError}
|
|
603
610
|
*/
|
|
604
611
|
onPlaybackProgress(requestParameters, options) {
|
|
@@ -609,6 +616,7 @@ const PlaystateApiFactory = function (configuration, basePath, axios) {
|
|
|
609
616
|
* @summary Reports that a session has begun playing an item.
|
|
610
617
|
* @param {PlaystateApiOnPlaybackStartRequest} requestParameters Request parameters.
|
|
611
618
|
* @param {*} [options] Override http request option.
|
|
619
|
+
* @deprecated
|
|
612
620
|
* @throws {RequiredError}
|
|
613
621
|
*/
|
|
614
622
|
onPlaybackStart(requestParameters, options) {
|
|
@@ -619,6 +627,7 @@ const PlaystateApiFactory = function (configuration, basePath, axios) {
|
|
|
619
627
|
* @summary Reports that a session has stopped playing an item.
|
|
620
628
|
* @param {PlaystateApiOnPlaybackStoppedRequest} requestParameters Request parameters.
|
|
621
629
|
* @param {*} [options] Override http request option.
|
|
630
|
+
* @deprecated
|
|
622
631
|
* @throws {RequiredError}
|
|
623
632
|
*/
|
|
624
633
|
onPlaybackStopped(requestParameters, options) {
|
|
@@ -700,6 +709,7 @@ class PlaystateApi extends BaseAPI {
|
|
|
700
709
|
* @summary Reports a session\'s playback progress.
|
|
701
710
|
* @param {PlaystateApiOnPlaybackProgressRequest} requestParameters Request parameters.
|
|
702
711
|
* @param {*} [options] Override http request option.
|
|
712
|
+
* @deprecated
|
|
703
713
|
* @throws {RequiredError}
|
|
704
714
|
* @memberof PlaystateApi
|
|
705
715
|
*/
|
|
@@ -711,6 +721,7 @@ class PlaystateApi extends BaseAPI {
|
|
|
711
721
|
* @summary Reports that a session has begun playing an item.
|
|
712
722
|
* @param {PlaystateApiOnPlaybackStartRequest} requestParameters Request parameters.
|
|
713
723
|
* @param {*} [options] Override http request option.
|
|
724
|
+
* @deprecated
|
|
714
725
|
* @throws {RequiredError}
|
|
715
726
|
* @memberof PlaystateApi
|
|
716
727
|
*/
|
|
@@ -722,6 +733,7 @@ class PlaystateApi extends BaseAPI {
|
|
|
722
733
|
* @summary Reports that a session has stopped playing an item.
|
|
723
734
|
* @param {PlaystateApiOnPlaybackStoppedRequest} requestParameters Request parameters.
|
|
724
735
|
* @param {*} [options] Override http request option.
|
|
736
|
+
* @deprecated
|
|
725
737
|
* @throws {RequiredError}
|
|
726
738
|
* @memberof PlaystateApi
|
|
727
739
|
*/
|