@jellyfin/sdk 0.7.0 → 0.8.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/README.md +22 -9
- package/lib/api.d.ts +4 -4
- package/lib/api.js +38 -68
- package/lib/discovery/discovery-service.d.ts +3 -1
- package/lib/discovery/discovery-service.js +27 -68
- package/lib/discovery/index.js +3 -18
- package/lib/discovery/recommended-server-discovery.d.ts +3 -1
- package/lib/discovery/recommended-server-discovery.js +56 -102
- package/lib/generated-client/api/activity-log-api.d.ts +4 -4
- package/lib/generated-client/api/activity-log-api.js +58 -165
- package/lib/generated-client/api/api-key-api.d.ts +10 -10
- package/lib/generated-client/api/api-key-api.js +112 -254
- package/lib/generated-client/api/artists-api.d.ts +10 -10
- package/lib/generated-client/api/artists-api.js +302 -446
- package/lib/generated-client/api/audio-api.d.ts +13 -13
- package/lib/generated-client/api/audio-api.js +714 -850
- package/lib/generated-client/api/branding-api.d.ts +10 -10
- package/lib/generated-client/api/branding-api.js +98 -222
- package/lib/generated-client/api/channels-api.d.ts +16 -16
- package/lib/generated-client/api/channels-api.js +230 -410
- package/lib/generated-client/api/client-log-api.d.ts +4 -4
- package/lib/generated-client/api/client-log-api.js +46 -153
- package/lib/generated-client/api/collection-api.d.ts +10 -10
- package/lib/generated-client/api/collection-api.js +132 -275
- package/lib/generated-client/api/configuration-api.d.ts +19 -19
- package/lib/generated-client/api/configuration-api.js +212 -408
- package/lib/generated-client/api/dashboard-api.d.ts +7 -7
- package/lib/generated-client/api/dashboard-api.js +78 -198
- package/lib/generated-client/api/devices-api.d.ts +16 -16
- package/lib/generated-client/api/devices-api.js +194 -373
- package/lib/generated-client/api/display-preferences-api.d.ts +7 -7
- package/lib/generated-client/api/display-preferences-api.js +104 -228
- package/lib/generated-client/api/dlna-api.d.ts +19 -19
- package/lib/generated-client/api/dlna-api.js +207 -404
- package/lib/generated-client/api/dlna-server-api.d.ts +49 -49
- package/lib/generated-client/api/dlna-server-api.js +545 -921
- package/lib/generated-client/api/dynamic-hls-api.d.ts +28 -28
- package/lib/generated-client/api/dynamic-hls-api.js +1686 -1936
- package/lib/generated-client/api/environment-api.d.ts +19 -19
- package/lib/generated-client/api/environment-api.js +214 -410
- package/lib/generated-client/api/filter-api.d.ts +7 -7
- package/lib/generated-client/api/filter-api.js +116 -242
- package/lib/generated-client/api/genres-api.d.ts +7 -7
- package/lib/generated-client/api/genres-api.js +134 -259
- package/lib/generated-client/api/hls-segment-api.d.ts +16 -16
- package/lib/generated-client/api/hls-segment-api.js +198 -358
- package/lib/generated-client/api/image-api.d.ts +124 -124
- package/lib/generated-client/api/image-api.js +2914 -3568
- package/lib/generated-client/api/image-by-name-api.d.ts +19 -19
- package/lib/generated-client/api/image-by-name-api.js +206 -384
- package/lib/generated-client/api/instant-mix-api.d.ts +25 -25
- package/lib/generated-client/api/instant-mix-api.js +450 -682
- package/lib/generated-client/api/item-lookup-api.d.ts +34 -34
- package/lib/generated-client/api/item-lookup-api.js +393 -679
- package/lib/generated-client/api/item-refresh-api.d.ts +4 -4
- package/lib/generated-client/api/item-refresh-api.js +59 -165
- package/lib/generated-client/api/item-update-api.d.ts +10 -10
- package/lib/generated-client/api/item-update-api.js +120 -262
- package/lib/generated-client/api/items-api.d.ts +10 -10
- package/lib/generated-client/api/items-api.js +675 -818
- package/lib/generated-client/api/library-api.d.ts +76 -76
- package/lib/generated-client/api/library-api.js +939 -1485
- package/lib/generated-client/api/library-structure-api.d.ts +25 -25
- package/lib/generated-client/api/library-structure-api.js +305 -542
- package/lib/generated-client/api/live-tv-api.d.ts +124 -124
- package/lib/generated-client/api/live-tv-api.js +1674 -2509
- package/lib/generated-client/api/localization-api.d.ts +13 -13
- package/lib/generated-client/api/localization-api.js +134 -294
- package/lib/generated-client/api/media-info-api.d.ts +16 -16
- package/lib/generated-client/api/media-info-api.js +262 -442
- package/lib/generated-client/api/movies-api.d.ts +4 -4
- package/lib/generated-client/api/movies-api.js +59 -166
- package/lib/generated-client/api/music-genres-api.d.ts +7 -7
- package/lib/generated-client/api/music-genres-api.js +134 -259
- package/lib/generated-client/api/notifications-api.d.ts +22 -22
- package/lib/generated-client/api/notifications-api.js +240 -454
- package/lib/generated-client/api/package-api.d.ts +19 -19
- package/lib/generated-client/api/package-api.js +219 -415
- package/lib/generated-client/api/persons-api.d.ts +7 -7
- package/lib/generated-client/api/persons-api.js +119 -244
- package/lib/generated-client/api/playlists-api.d.ts +16 -16
- package/lib/generated-client/api/playlists-api.js +231 -410
- package/lib/generated-client/api/playstate-api.d.ts +28 -28
- package/lib/generated-client/api/playstate-api.js +399 -652
- package/lib/generated-client/api/plugins-api.d.ts +28 -28
- package/lib/generated-client/api/plugins-api.js +320 -570
- package/lib/generated-client/api/quick-connect-api.d.ts +13 -13
- package/lib/generated-client/api/quick-connect-api.js +138 -280
- package/lib/generated-client/api/remote-image-api.d.ts +10 -10
- package/lib/generated-client/api/remote-image-api.js +136 -278
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +16 -16
- package/lib/generated-client/api/scheduled-tasks-api.js +186 -365
- package/lib/generated-client/api/search-api.d.ts +4 -4
- package/lib/generated-client/api/search-api.js +100 -206
- package/lib/generated-client/api/session-api.d.ts +49 -49
- package/lib/generated-client/api/session-api.js +632 -1010
- package/lib/generated-client/api/startup-api.d.ts +22 -22
- package/lib/generated-client/api/startup-api.js +234 -449
- package/lib/generated-client/api/studios-api.d.ts +7 -7
- package/lib/generated-client/api/studios-api.js +131 -256
- package/lib/generated-client/api/subtitle-api.d.ts +31 -31
- package/lib/generated-client/api/subtitle-api.js +433 -689
- package/lib/generated-client/api/suggestions-api.d.ts +4 -4
- package/lib/generated-client/api/suggestions-api.js +62 -168
- package/lib/generated-client/api/sync-play-api.d.ts +64 -64
- package/lib/generated-client/api/sync-play-api.js +708 -1174
- package/lib/generated-client/api/system-api.d.ts +31 -31
- package/lib/generated-client/api/system-api.js +313 -563
- package/lib/generated-client/api/time-sync-api.d.ts +4 -4
- package/lib/generated-client/api/time-sync-api.js +42 -142
- package/lib/generated-client/api/tmdb-api.d.ts +4 -4
- package/lib/generated-client/api/tmdb-api.js +44 -150
- package/lib/generated-client/api/trailers-api.d.ts +4 -4
- package/lib/generated-client/api/trailers-api.js +304 -411
- package/lib/generated-client/api/tv-shows-api.d.ts +13 -13
- package/lib/generated-client/api/tv-shows-api.js +280 -442
- package/lib/generated-client/api/universal-audio-api.d.ts +7 -7
- package/lib/generated-client/api/universal-audio-api.js +182 -306
- package/lib/generated-client/api/user-api.d.ts +49 -49
- package/lib/generated-client/api/user-api.js +560 -901
- package/lib/generated-client/api/user-library-api.d.ts +31 -31
- package/lib/generated-client/api/user-library-api.js +401 -669
- package/lib/generated-client/api/user-views-api.d.ts +7 -7
- package/lib/generated-client/api/user-views-api.js +89 -213
- package/lib/generated-client/api/video-attachments-api.d.ts +4 -4
- package/lib/generated-client/api/video-attachments-api.js +51 -151
- package/lib/generated-client/api/videos-api.d.ts +22 -22
- package/lib/generated-client/api/videos-api.js +842 -1032
- package/lib/generated-client/api/years-api.d.ts +7 -7
- package/lib/generated-client/api/years-api.js +125 -250
- package/lib/generated-client/base.d.ts +2 -2
- package/lib/generated-client/base.js +14 -64
- package/lib/generated-client/common.d.ts +2 -2
- package/lib/generated-client/common.js +28 -184
- package/lib/generated-client/configuration.js +8 -12
- package/lib/generated-client/index.js +136 -31
- package/lib/generated-client/models/access-schedule.d.ts +5 -5
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry.d.ts +10 -10
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/admin-notification-dto.d.ts +4 -4
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/album-info.d.ts +14 -14
- package/lib/generated-client/models/all-theme-media-result.d.ts +3 -3
- package/lib/generated-client/models/architecture.d.ts +9 -8
- package/lib/generated-client/models/architecture.js +10 -12
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/artist-info.d.ts +12 -12
- package/lib/generated-client/models/authenticate-user-by-name.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-info.d.ts +12 -12
- package/lib/generated-client/models/authentication-result.d.ts +4 -4
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.d.ts +13 -13
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +151 -151
- package/lib/generated-client/models/base-item-kind.d.ts +40 -39
- package/lib/generated-client/models/base-item-kind.js +41 -43
- package/lib/generated-client/models/base-item-person-image-blur-hashes.d.ts +13 -13
- package/lib/generated-client/models/base-item-person.d.ts +6 -6
- package/lib/generated-client/models/base-item.d.ts +11 -11
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/book-info.d.ts +12 -12
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/box-set-info.d.ts +11 -11
- package/lib/generated-client/models/branding-options.d.ts +3 -3
- package/lib/generated-client/models/buffer-request-dto.d.ts +4 -4
- package/lib/generated-client/models/channel-features.d.ts +12 -12
- package/lib/generated-client/models/channel-item-sort-field.d.ts +10 -9
- package/lib/generated-client/models/channel-item-sort-field.js +11 -13
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +4 -4
- package/lib/generated-client/models/channel-media-content-type.d.ts +11 -10
- package/lib/generated-client/models/channel-media-content-type.js +12 -14
- package/lib/generated-client/models/channel-media-type.d.ts +6 -5
- package/lib/generated-client/models/channel-media-type.js +7 -9
- package/lib/generated-client/models/channel-type.d.ts +5 -4
- package/lib/generated-client/models/channel-type.js +6 -8
- package/lib/generated-client/models/chapter-info.d.ts +5 -5
- package/lib/generated-client/models/client-capabilities-dto.d.ts +10 -10
- package/lib/generated-client/models/client-capabilities.d.ts +10 -10
- package/lib/generated-client/models/client-log-document-response-dto.d.ts +1 -1
- package/lib/generated-client/models/codec-profile.d.ts +5 -5
- package/lib/generated-client/models/codec-type.d.ts +6 -5
- package/lib/generated-client/models/codec-type.js +7 -9
- package/lib/generated-client/models/collection-creation-result.d.ts +1 -1
- package/lib/generated-client/models/collection-type-options.d.ts +11 -10
- package/lib/generated-client/models/collection-type-options.js +12 -14
- package/lib/generated-client/models/config-image-types.d.ts +7 -7
- package/lib/generated-client/models/configuration-page-info.d.ts +6 -6
- package/lib/generated-client/models/container-profile.d.ts +3 -3
- package/lib/generated-client/models/control-response.d.ts +3 -3
- package/lib/generated-client/models/country-info.d.ts +4 -4
- package/lib/generated-client/models/create-playlist-dto.d.ts +4 -4
- package/lib/generated-client/models/create-user-by-name.d.ts +2 -2
- package/lib/generated-client/models/culture-dto.d.ts +5 -5
- package/lib/generated-client/models/day-of-week.d.ts +10 -9
- package/lib/generated-client/models/day-of-week.js +11 -13
- package/lib/generated-client/models/day-pattern.d.ts +6 -5
- package/lib/generated-client/models/day-pattern.js +7 -9
- package/lib/generated-client/models/default-directory-browser-info-dto.d.ts +1 -1
- package/lib/generated-client/models/device-identification.d.ts +9 -9
- package/lib/generated-client/models/device-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/device-info.d.ts +10 -10
- package/lib/generated-client/models/device-options-dto.d.ts +3 -3
- package/lib/generated-client/models/device-options.d.ts +3 -3
- package/lib/generated-client/models/device-profile-info.d.ts +3 -3
- package/lib/generated-client/models/device-profile-type.d.ts +5 -4
- package/lib/generated-client/models/device-profile-type.js +6 -8
- package/lib/generated-client/models/device-profile.d.ts +39 -39
- package/lib/generated-client/models/direct-play-profile.d.ts +4 -4
- package/lib/generated-client/models/display-preferences-dto.d.ts +14 -14
- package/lib/generated-client/models/dlna-options.d.ts +11 -11
- package/lib/generated-client/models/dlna-profile-type.d.ts +7 -6
- package/lib/generated-client/models/dlna-profile-type.js +8 -10
- package/lib/generated-client/models/dynamic-day-of-week.d.ts +13 -12
- package/lib/generated-client/models/dynamic-day-of-week.js +14 -16
- package/lib/generated-client/models/embedded-subtitle-options.d.ts +7 -6
- package/lib/generated-client/models/embedded-subtitle-options.js +8 -10
- package/lib/generated-client/models/encoding-context.d.ts +5 -4
- package/lib/generated-client/models/encoding-context.js +6 -8
- package/lib/generated-client/models/encoding-options.d.ts +38 -38
- package/lib/generated-client/models/end-point-info.d.ts +2 -2
- package/lib/generated-client/models/external-id-info.d.ts +4 -4
- package/lib/generated-client/models/external-id-media-type.d.ts +15 -14
- package/lib/generated-client/models/external-id-media-type.js +16 -18
- package/lib/generated-client/models/external-url.d.ts +2 -2
- package/lib/generated-client/models/ffmpeg-location.d.ts +7 -6
- package/lib/generated-client/models/ffmpeg-location.js +8 -10
- package/lib/generated-client/models/file-system-entry-info.d.ts +3 -3
- package/lib/generated-client/models/file-system-entry-type.d.ts +7 -6
- package/lib/generated-client/models/file-system-entry-type.js +8 -10
- package/lib/generated-client/models/font-file.d.ts +4 -4
- package/lib/generated-client/models/forgot-password-action.d.ts +6 -5
- package/lib/generated-client/models/forgot-password-action.js +7 -9
- package/lib/generated-client/models/forgot-password-dto.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-pin-dto.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +3 -3
- package/lib/generated-client/models/general-command-type.d.ts +45 -44
- package/lib/generated-client/models/general-command-type.js +46 -48
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +27 -27
- package/lib/generated-client/models/group-info-dto.d.ts +5 -5
- package/lib/generated-client/models/group-queue-mode.d.ts +5 -4
- package/lib/generated-client/models/group-queue-mode.js +6 -8
- package/lib/generated-client/models/group-repeat-mode.d.ts +6 -5
- package/lib/generated-client/models/group-repeat-mode.js +7 -9
- package/lib/generated-client/models/group-shuffle-mode.d.ts +5 -4
- package/lib/generated-client/models/group-shuffle-mode.js +6 -8
- package/lib/generated-client/models/group-state-type.d.ts +7 -6
- package/lib/generated-client/models/group-state-type.js +8 -10
- package/lib/generated-client/models/group-update-type.d.ts +14 -13
- package/lib/generated-client/models/group-update-type.js +15 -17
- package/lib/generated-client/models/guide-info.d.ts +2 -2
- package/lib/generated-client/models/hardware-encoding-type.d.ts +9 -8
- package/lib/generated-client/models/hardware-encoding-type.js +10 -12
- package/lib/generated-client/models/header-match-type.d.ts +6 -5
- package/lib/generated-client/models/header-match-type.js +7 -9
- package/lib/generated-client/models/http-header-info.d.ts +3 -3
- package/lib/generated-client/models/ignore-wait-request-dto.d.ts +1 -1
- package/lib/generated-client/models/image-by-name-info.d.ts +5 -5
- package/lib/generated-client/models/image-format.d.ts +8 -7
- package/lib/generated-client/models/image-format.js +9 -11
- package/lib/generated-client/models/image-info.d.ts +8 -8
- package/lib/generated-client/models/image-option.d.ts +3 -3
- package/lib/generated-client/models/image-orientation.d.ts +11 -10
- package/lib/generated-client/models/image-orientation.js +12 -14
- package/lib/generated-client/models/image-provider-info.d.ts +2 -2
- package/lib/generated-client/models/image-saving-convention.d.ts +5 -4
- package/lib/generated-client/models/image-saving-convention.js +6 -8
- package/lib/generated-client/models/image-type.d.ts +16 -15
- package/lib/generated-client/models/image-type.js +17 -19
- package/lib/generated-client/models/index.d.ts +1 -0
- package/lib/generated-client/models/index.js +74 -300
- package/lib/generated-client/models/installation-info.d.ts +7 -7
- package/lib/generated-client/models/iplugin.d.ts +7 -7
- package/lib/generated-client/models/iso-type.d.ts +5 -4
- package/lib/generated-client/models/iso-type.js +6 -8
- package/lib/generated-client/models/item-counts.d.ts +12 -12
- package/lib/generated-client/models/item-fields.d.ts +64 -63
- package/lib/generated-client/models/item-fields.js +65 -67
- package/lib/generated-client/models/item-filter.d.ts +12 -11
- package/lib/generated-client/models/item-filter.js +13 -15
- package/lib/generated-client/models/join-group-request-dto.d.ts +1 -1
- package/lib/generated-client/models/keep-until.d.ts +7 -6
- package/lib/generated-client/models/keep-until.js +8 -10
- package/lib/generated-client/models/library-option-info-dto.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +4 -4
- package/lib/generated-client/models/library-options.d.ts +27 -27
- package/lib/generated-client/models/library-type-options-dto.d.ts +5 -5
- package/lib/generated-client/models/library-update-info.d.ts +7 -7
- package/lib/generated-client/models/listings-provider-info.d.ts +18 -18
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +3 -3
- package/lib/generated-client/models/live-tv-options.d.ts +13 -13
- package/lib/generated-client/models/live-tv-service-info.d.ts +8 -8
- package/lib/generated-client/models/live-tv-service-status.d.ts +5 -4
- package/lib/generated-client/models/live-tv-service-status.js +6 -8
- package/lib/generated-client/models/localization-option.d.ts +2 -2
- package/lib/generated-client/models/location-type.d.ts +7 -6
- package/lib/generated-client/models/location-type.js +8 -10
- package/lib/generated-client/models/log-file.d.ts +4 -4
- package/lib/generated-client/models/log-level.d.ts +10 -9
- package/lib/generated-client/models/log-level.js +11 -13
- package/lib/generated-client/models/media-attachment.d.ts +7 -7
- package/lib/generated-client/models/media-encoder-path-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +3 -3
- package/lib/generated-client/models/media-path-info.d.ts +2 -2
- package/lib/generated-client/models/media-protocol.d.ts +10 -9
- package/lib/generated-client/models/media-protocol.js +11 -13
- package/lib/generated-client/models/media-source-info.d.ts +42 -42
- package/lib/generated-client/models/media-source-type.d.ts +6 -5
- package/lib/generated-client/models/media-source-type.js +7 -9
- package/lib/generated-client/models/media-stream-type.d.ts +8 -6
- package/lib/generated-client/models/media-stream-type.js +9 -10
- package/lib/generated-client/models/media-stream.d.ts +58 -58
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/media-update-info-path-dto.d.ts +2 -2
- package/lib/generated-client/models/media-url.d.ts +2 -2
- package/lib/generated-client/models/message-command.d.ts +3 -3
- package/lib/generated-client/models/metadata-configuration.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/metadata-field.d.ts +12 -11
- package/lib/generated-client/models/metadata-field.js +13 -15
- package/lib/generated-client/models/metadata-options.d.ts +7 -7
- package/lib/generated-client/models/metadata-refresh-mode.d.ts +7 -6
- package/lib/generated-client/models/metadata-refresh-mode.js +8 -10
- package/lib/generated-client/models/move-playlist-item-request-dto.d.ts +2 -2
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/movie-info.d.ts +11 -11
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/music-video-info.d.ts +12 -12
- package/lib/generated-client/models/name-guid-pair.d.ts +2 -2
- package/lib/generated-client/models/name-id-pair.d.ts +2 -2
- package/lib/generated-client/models/name-value-pair.d.ts +2 -2
- package/lib/generated-client/models/network-configuration.d.ts +34 -34
- package/lib/generated-client/models/new-group-request-dto.d.ts +1 -1
- package/lib/generated-client/models/next-item-request-dto.d.ts +1 -1
- package/lib/generated-client/models/notification-dto.d.ts +8 -8
- package/lib/generated-client/models/notification-level.d.ts +6 -5
- package/lib/generated-client/models/notification-level.js +7 -9
- package/lib/generated-client/models/notification-option.d.ts +6 -6
- package/lib/generated-client/models/notification-options.d.ts +1 -1
- package/lib/generated-client/models/notification-result-dto.d.ts +2 -2
- package/lib/generated-client/models/notification-type-info.d.ts +5 -5
- package/lib/generated-client/models/notifications-summary-dto.d.ts +2 -2
- package/lib/generated-client/models/object-group-update.d.ts +3 -3
- package/lib/generated-client/models/open-live-stream-dto.d.ts +13 -13
- package/lib/generated-client/models/package-info.d.ts +8 -8
- package/lib/generated-client/models/parental-rating.d.ts +2 -2
- package/lib/generated-client/models/path-substitution.d.ts +2 -2
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/person-lookup-info.d.ts +11 -11
- package/lib/generated-client/models/pin-redeem-result.d.ts +2 -2
- package/lib/generated-client/models/ping-request-dto.d.ts +1 -1
- package/lib/generated-client/models/play-access.d.ts +5 -4
- package/lib/generated-client/models/play-access.js +6 -8
- package/lib/generated-client/models/play-command.d.ts +8 -7
- package/lib/generated-client/models/play-command.js +9 -11
- package/lib/generated-client/models/play-method.d.ts +6 -5
- package/lib/generated-client/models/play-method.js +7 -9
- package/lib/generated-client/models/play-request-dto.d.ts +3 -3
- package/lib/generated-client/models/play-request.d.ts +8 -8
- package/lib/generated-client/models/playback-error-code.d.ts +6 -5
- package/lib/generated-client/models/playback-error-code.js +7 -9
- package/lib/generated-client/models/playback-info-dto.d.ts +15 -15
- package/lib/generated-client/models/playback-info-response.d.ts +3 -3
- package/lib/generated-client/models/playback-progress-info.d.ts +20 -20
- package/lib/generated-client/models/playback-start-info.d.ts +20 -20
- package/lib/generated-client/models/playback-stop-info.d.ts +11 -11
- package/lib/generated-client/models/player-state-info.d.ts +11 -11
- package/lib/generated-client/models/playlist-creation-result.d.ts +1 -1
- package/lib/generated-client/models/playstate-command.d.ts +12 -11
- package/lib/generated-client/models/playstate-command.js +13 -15
- package/lib/generated-client/models/playstate-request.d.ts +3 -3
- package/lib/generated-client/models/plugin-info.d.ts +8 -8
- package/lib/generated-client/models/plugin-status.d.ts +10 -9
- package/lib/generated-client/models/plugin-status.js +11 -13
- package/lib/generated-client/models/previous-item-request-dto.d.ts +1 -1
- package/lib/generated-client/models/problem-details.d.ts +5 -5
- package/lib/generated-client/models/profile-condition-type.d.ts +8 -7
- package/lib/generated-client/models/profile-condition-type.js +9 -11
- package/lib/generated-client/models/profile-condition-value.d.ts +27 -26
- package/lib/generated-client/models/profile-condition-value.js +28 -30
- package/lib/generated-client/models/profile-condition.d.ts +4 -4
- package/lib/generated-client/models/program-audio.d.ts +9 -8
- package/lib/generated-client/models/program-audio.js +10 -12
- package/lib/generated-client/models/public-system-info.d.ts +7 -7
- package/lib/generated-client/models/query-filters-legacy.d.ts +4 -4
- package/lib/generated-client/models/query-filters.d.ts +2 -2
- package/lib/generated-client/models/queue-item.d.ts +2 -2
- package/lib/generated-client/models/queue-request-dto.d.ts +2 -2
- package/lib/generated-client/models/quick-connect-dto.d.ts +1 -1
- package/lib/generated-client/models/quick-connect-result.d.ts +8 -8
- package/lib/generated-client/models/rating-type.d.ts +5 -4
- package/lib/generated-client/models/rating-type.js +6 -8
- package/lib/generated-client/models/ready-request-dto.d.ts +4 -4
- package/lib/generated-client/models/recommendation-dto.d.ts +4 -4
- package/lib/generated-client/models/recommendation-type.d.ts +9 -8
- package/lib/generated-client/models/recommendation-type.js +10 -12
- package/lib/generated-client/models/recording-status.d.ts +10 -9
- package/lib/generated-client/models/recording-status.js +11 -13
- package/lib/generated-client/models/remote-image-info.d.ts +10 -10
- package/lib/generated-client/models/remote-image-result.d.ts +3 -3
- package/lib/generated-client/models/remote-search-result.d.ts +12 -12
- package/lib/generated-client/models/remote-subtitle-info.d.ts +11 -11
- package/lib/generated-client/models/remove-from-playlist-request-dto.d.ts +3 -3
- package/lib/generated-client/models/repeat-mode.d.ts +6 -5
- package/lib/generated-client/models/repeat-mode.js +7 -9
- package/lib/generated-client/models/repository-info.d.ts +3 -3
- package/lib/generated-client/models/response-profile.d.ts +7 -7
- package/lib/generated-client/models/scroll-direction.d.ts +5 -4
- package/lib/generated-client/models/scroll-direction.js +6 -8
- package/lib/generated-client/models/search-hint-result.d.ts +2 -2
- package/lib/generated-client/models/search-hint.d.ts +29 -29
- package/lib/generated-client/models/seek-request-dto.d.ts +1 -1
- package/lib/generated-client/models/send-command-type.d.ts +7 -6
- package/lib/generated-client/models/send-command-type.js +8 -10
- package/lib/generated-client/models/send-command.d.ts +6 -6
- package/lib/generated-client/models/send-to-user-type.d.ts +6 -5
- package/lib/generated-client/models/send-to-user-type.js +7 -9
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/series-info.d.ts +11 -11
- package/lib/generated-client/models/series-status.d.ts +5 -4
- package/lib/generated-client/models/series-status.js +6 -8
- package/lib/generated-client/models/series-timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/series-timer-info-dto.d.ts +35 -35
- package/lib/generated-client/models/server-configuration.d.ts +48 -48
- package/lib/generated-client/models/server-discovery-info.d.ts +4 -4
- package/lib/generated-client/models/session-info.d.ts +29 -29
- package/lib/generated-client/models/session-message-type.d.ts +37 -36
- package/lib/generated-client/models/session-message-type.js +38 -40
- package/lib/generated-client/models/session-user-info.d.ts +2 -2
- package/lib/generated-client/models/set-channel-mapping-dto.d.ts +3 -3
- package/lib/generated-client/models/set-playlist-item-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-repeat-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/set-shuffle-mode-request-dto.d.ts +1 -1
- package/lib/generated-client/models/song-info.d.ts +14 -14
- package/lib/generated-client/models/sort-order.d.ts +5 -4
- package/lib/generated-client/models/sort-order.js +6 -8
- package/lib/generated-client/models/special-view-option-dto.d.ts +2 -2
- package/lib/generated-client/models/startup-configuration-dto.d.ts +3 -3
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +2 -2
- package/lib/generated-client/models/startup-user-dto.d.ts +2 -2
- package/lib/generated-client/models/subtitle-delivery-method.d.ts +8 -7
- package/lib/generated-client/models/subtitle-delivery-method.js +9 -11
- package/lib/generated-client/models/subtitle-options.d.ts +9 -9
- package/lib/generated-client/models/subtitle-playback-mode.d.ts +8 -7
- package/lib/generated-client/models/subtitle-playback-mode.js +9 -11
- package/lib/generated-client/models/subtitle-profile.d.ts +5 -5
- package/lib/generated-client/models/sync-play-user-access-type.d.ts +6 -5
- package/lib/generated-client/models/sync-play-user-access-type.js +7 -9
- package/lib/generated-client/models/system-info.d.ts +26 -26
- package/lib/generated-client/models/task-completion-status.d.ts +7 -6
- package/lib/generated-client/models/task-completion-status.js +8 -10
- package/lib/generated-client/models/task-info.d.ts +10 -10
- package/lib/generated-client/models/task-result.d.ts +8 -8
- package/lib/generated-client/models/task-state.d.ts +6 -5
- package/lib/generated-client/models/task-state.js +7 -9
- package/lib/generated-client/models/task-trigger-info.d.ts +5 -5
- package/lib/generated-client/models/theme-media-result.d.ts +4 -4
- package/lib/generated-client/models/timer-event-info.d.ts +2 -2
- package/lib/generated-client/models/timer-info-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/timer-info-dto.d.ts +28 -28
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +4 -4
- package/lib/generated-client/models/trailer-info.d.ts +11 -11
- package/lib/generated-client/models/transcode-reason.d.ts +43 -0
- package/lib/generated-client/models/transcode-reason.js +46 -0
- package/lib/generated-client/models/transcode-seek-info.d.ts +5 -4
- package/lib/generated-client/models/transcode-seek-info.js +6 -8
- package/lib/generated-client/models/transcoding-info.d.ts +15 -45
- package/lib/generated-client/models/transcoding-profile.d.ts +16 -16
- package/lib/generated-client/models/transport-stream-timestamp.d.ts +6 -5
- package/lib/generated-client/models/transport-stream-timestamp.js +7 -9
- package/lib/generated-client/models/tuner-channel-mapping.d.ts +4 -4
- package/lib/generated-client/models/tuner-host-info.d.ts +11 -11
- package/lib/generated-client/models/type-options.d.ts +6 -6
- package/lib/generated-client/models/unrated-item.d.ts +12 -11
- package/lib/generated-client/models/unrated-item.js +13 -15
- package/lib/generated-client/models/update-library-options-dto.d.ts +2 -2
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +2 -2
- package/lib/generated-client/models/update-user-easy-password.d.ts +3 -3
- package/lib/generated-client/models/update-user-password.d.ts +4 -4
- package/lib/generated-client/models/upload-subtitle-dto.d.ts +4 -4
- package/lib/generated-client/models/user-configuration.d.ts +15 -15
- package/lib/generated-client/models/user-dto.d.ts +14 -14
- package/lib/generated-client/models/user-item-data-dto.d.ts +11 -11
- package/lib/generated-client/models/user-policy.d.ts +39 -39
- package/lib/generated-client/models/utc-time-response.d.ts +2 -2
- package/lib/generated-client/models/validate-path-dto.d.ts +3 -3
- package/lib/generated-client/models/version-info.d.ts +9 -9
- package/lib/generated-client/models/video-type.d.ts +7 -6
- package/lib/generated-client/models/video-type.js +8 -10
- package/lib/generated-client/models/video3-dformat.d.ts +8 -7
- package/lib/generated-client/models/video3-dformat.js +9 -11
- package/lib/generated-client/models/virtual-folder-info.d.ts +8 -8
- package/lib/generated-client/models/wake-on-lan-info.d.ts +2 -2
- package/lib/generated-client/models/xbmc-metadata-options.d.ts +5 -5
- package/lib/generated-client/models/xml-attribute.d.ts +2 -2
- package/lib/index.js +9 -39
- package/lib/jellyfin.d.ts +5 -7
- package/lib/jellyfin.js +12 -18
- package/lib/models/api/image-request-parameters.d.ts +1 -1
- package/lib/models/api/index.js +1 -23
- package/lib/models/api/item-sort-by.js +3 -4
- package/lib/models/index.js +2 -25
- package/lib/models/recommended-server-info.d.ts +2 -2
- package/lib/models/recommended-server-info.js +3 -4
- package/lib/models/recommended-server-issue.js +31 -77
- package/lib/utils/address-candidates.js +30 -30
- package/lib/utils/api/activity-log-api.d.ts +1 -1
- package/lib/utils/api/activity-log-api.js +5 -6
- package/lib/utils/api/api-key-api.d.ts +1 -1
- package/lib/utils/api/api-key-api.js +5 -6
- package/lib/utils/api/artists-api.d.ts +1 -1
- package/lib/utils/api/artists-api.js +5 -6
- package/lib/utils/api/audio-api.d.ts +1 -1
- package/lib/utils/api/audio-api.js +5 -6
- package/lib/utils/api/branding-api.d.ts +1 -1
- package/lib/utils/api/branding-api.js +5 -6
- package/lib/utils/api/channels-api.d.ts +1 -1
- package/lib/utils/api/channels-api.js +5 -6
- package/lib/utils/api/client-log-api.d.ts +1 -1
- package/lib/utils/api/client-log-api.js +5 -6
- package/lib/utils/api/collection-api.d.ts +1 -1
- package/lib/utils/api/collection-api.js +5 -6
- package/lib/utils/api/configuration-api.d.ts +1 -1
- package/lib/utils/api/configuration-api.js +5 -6
- package/lib/utils/api/dashboard-api.d.ts +1 -1
- package/lib/utils/api/dashboard-api.js +5 -6
- package/lib/utils/api/devices-api.d.ts +1 -1
- package/lib/utils/api/devices-api.js +5 -6
- package/lib/utils/api/display-preferences-api.d.ts +1 -1
- package/lib/utils/api/display-preferences-api.js +5 -6
- package/lib/utils/api/dlna-api.d.ts +1 -1
- package/lib/utils/api/dlna-api.js +5 -6
- package/lib/utils/api/dlna-server-api.d.ts +1 -1
- package/lib/utils/api/dlna-server-api.js +5 -6
- package/lib/utils/api/dynamic-hls-api.d.ts +1 -1
- package/lib/utils/api/dynamic-hls-api.js +5 -6
- package/lib/utils/api/environment-api.d.ts +1 -1
- package/lib/utils/api/environment-api.js +5 -6
- package/lib/utils/api/filter-api.d.ts +1 -1
- package/lib/utils/api/filter-api.js +5 -6
- package/lib/utils/api/genres-api.d.ts +1 -1
- package/lib/utils/api/genres-api.js +5 -6
- package/lib/utils/api/hls-segment-api.d.ts +1 -1
- package/lib/utils/api/hls-segment-api.js +5 -6
- package/lib/utils/api/image-api.d.ts +1 -1
- package/lib/utils/api/image-api.js +5 -6
- package/lib/utils/api/image-by-name-api.d.ts +1 -1
- package/lib/utils/api/image-by-name-api.js +5 -6
- package/lib/utils/api/index.d.ts +66 -0
- package/lib/utils/api/index.js +61 -0
- package/lib/utils/api/instant-mix-api.d.ts +1 -1
- package/lib/utils/api/instant-mix-api.js +5 -6
- package/lib/utils/api/item-lookup-api.d.ts +1 -1
- package/lib/utils/api/item-lookup-api.js +5 -6
- package/lib/utils/api/item-refresh-api.d.ts +1 -1
- package/lib/utils/api/item-refresh-api.js +5 -6
- package/lib/utils/api/item-update-api.d.ts +1 -1
- package/lib/utils/api/item-update-api.js +5 -6
- package/lib/utils/api/items-api.d.ts +1 -1
- package/lib/utils/api/items-api.js +5 -6
- package/lib/utils/api/library-api.d.ts +1 -1
- package/lib/utils/api/library-api.js +5 -6
- package/lib/utils/api/library-structure-api.d.ts +1 -1
- package/lib/utils/api/library-structure-api.js +5 -6
- package/lib/utils/api/live-tv-api.d.ts +1 -1
- package/lib/utils/api/live-tv-api.js +5 -6
- package/lib/utils/api/localization-api.d.ts +1 -1
- package/lib/utils/api/localization-api.js +5 -6
- package/lib/utils/api/media-info-api.d.ts +1 -1
- package/lib/utils/api/media-info-api.js +5 -6
- package/lib/utils/api/movies-api.d.ts +1 -1
- package/lib/utils/api/movies-api.js +5 -6
- package/lib/utils/api/music-genres-api.d.ts +1 -1
- package/lib/utils/api/music-genres-api.js +5 -6
- package/lib/utils/api/notifications-api.d.ts +1 -1
- package/lib/utils/api/notifications-api.js +5 -6
- package/lib/utils/api/package-api.d.ts +1 -1
- package/lib/utils/api/package-api.js +5 -6
- package/lib/utils/api/persons-api.d.ts +1 -1
- package/lib/utils/api/persons-api.js +5 -6
- package/lib/utils/api/playlists-api.d.ts +1 -1
- package/lib/utils/api/playlists-api.js +5 -6
- package/lib/utils/api/playstate-api.d.ts +1 -1
- package/lib/utils/api/playstate-api.js +5 -6
- package/lib/utils/api/plugins-api.d.ts +1 -1
- package/lib/utils/api/plugins-api.js +5 -6
- package/lib/utils/api/quick-connect-api.d.ts +1 -1
- package/lib/utils/api/quick-connect-api.js +5 -6
- package/lib/utils/api/remote-image-api.d.ts +1 -1
- package/lib/utils/api/remote-image-api.js +5 -6
- package/lib/utils/api/scheduled-tasks-api.d.ts +1 -1
- package/lib/utils/api/scheduled-tasks-api.js +5 -6
- package/lib/utils/api/search-api.d.ts +1 -1
- package/lib/utils/api/search-api.js +5 -6
- package/lib/utils/api/session-api.d.ts +1 -1
- package/lib/utils/api/session-api.js +5 -6
- package/lib/utils/api/startup-api.d.ts +1 -1
- package/lib/utils/api/startup-api.js +5 -6
- package/lib/utils/api/studios-api.d.ts +1 -1
- package/lib/utils/api/studios-api.js +5 -6
- package/lib/utils/api/subtitle-api.d.ts +1 -1
- package/lib/utils/api/subtitle-api.js +5 -6
- package/lib/utils/api/suggestions-api.d.ts +1 -1
- package/lib/utils/api/suggestions-api.js +5 -6
- package/lib/utils/api/sync-play-api.d.ts +1 -1
- package/lib/utils/api/sync-play-api.js +5 -6
- package/lib/utils/api/system-api.d.ts +1 -1
- package/lib/utils/api/system-api.js +5 -6
- package/lib/utils/api/time-sync-api.d.ts +1 -1
- package/lib/utils/api/time-sync-api.js +5 -6
- package/lib/utils/api/tmdb-api.d.ts +1 -1
- package/lib/utils/api/tmdb-api.js +5 -6
- package/lib/utils/api/trailers-api.d.ts +1 -1
- package/lib/utils/api/trailers-api.js +5 -6
- package/lib/utils/api/tv-shows-api.d.ts +1 -1
- package/lib/utils/api/tv-shows-api.js +5 -6
- package/lib/utils/api/universal-audio-api.d.ts +1 -1
- package/lib/utils/api/universal-audio-api.js +5 -6
- package/lib/utils/api/user-api.d.ts +1 -1
- package/lib/utils/api/user-api.js +5 -6
- package/lib/utils/api/user-library-api.d.ts +1 -1
- package/lib/utils/api/user-library-api.js +5 -6
- package/lib/utils/api/user-views-api.d.ts +1 -1
- package/lib/utils/api/user-views-api.js +5 -6
- package/lib/utils/api/video-attachments-api.d.ts +1 -1
- package/lib/utils/api/video-attachments-api.js +5 -6
- package/lib/utils/api/videos-api.d.ts +1 -1
- package/lib/utils/api/videos-api.js +5 -6
- package/lib/utils/api/years-api.d.ts +1 -1
- package/lib/utils/api/years-api.js +5 -6
- package/lib/utils/authentication.d.ts +1 -1
- package/lib/utils/authentication.js +8 -11
- package/lib/utils/browser-profiles.d.ts +1 -1
- package/lib/utils/browser-profiles.js +11 -12
- package/lib/utils/index.js +6 -20
- package/lib/utils/url/constants.d.ts +13 -0
- package/lib/utils/url/constants.js +15 -0
- package/lib/utils/{url.d.ts → url/index.d.ts} +2 -8
- package/lib/utils/url/index.js +41 -0
- package/lib/utils/{normalize-url.js → url/normalize-url.js} +16 -16
- package/lib/{models/api/image-request-parameters.js → versions.d.ts} +4 -2
- package/lib/{models/client-info.js → versions.js} +6 -2
- package/package.json +21 -17
- package/.gitattributes +0 -5
- package/lib/generated-client/api.js +0 -89
- package/lib/generated-client/models/access-schedule.js +0 -14
- package/lib/generated-client/models/activity-log-entry-query-result.js +0 -14
- package/lib/generated-client/models/activity-log-entry.js +0 -14
- package/lib/generated-client/models/add-virtual-folder-dto.js +0 -14
- package/lib/generated-client/models/admin-notification-dto.js +0 -14
- package/lib/generated-client/models/album-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/album-info.js +0 -14
- package/lib/generated-client/models/all-theme-media-result.js +0 -14
- package/lib/generated-client/models/artist-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/artist-info.js +0 -14
- package/lib/generated-client/models/authenticate-user-by-name.js +0 -14
- package/lib/generated-client/models/authentication-info-query-result.js +0 -14
- package/lib/generated-client/models/authentication-info.js +0 -14
- package/lib/generated-client/models/authentication-result.js +0 -14
- package/lib/generated-client/models/base-item-dto-image-blur-hashes.js +0 -14
- package/lib/generated-client/models/base-item-dto-query-result.js +0 -14
- package/lib/generated-client/models/base-item-dto.js +0 -14
- package/lib/generated-client/models/base-item-person-image-blur-hashes.js +0 -14
- package/lib/generated-client/models/base-item-person.js +0 -14
- package/lib/generated-client/models/base-item.js +0 -14
- package/lib/generated-client/models/book-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/book-info.js +0 -14
- package/lib/generated-client/models/box-set-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/box-set-info.js +0 -14
- package/lib/generated-client/models/branding-options.js +0 -14
- package/lib/generated-client/models/buffer-request-dto.js +0 -14
- package/lib/generated-client/models/channel-features.js +0 -14
- package/lib/generated-client/models/channel-mapping-options-dto.js +0 -14
- package/lib/generated-client/models/chapter-info.js +0 -14
- package/lib/generated-client/models/client-capabilities-dto.js +0 -14
- package/lib/generated-client/models/client-capabilities.js +0 -14
- package/lib/generated-client/models/client-log-document-response-dto.js +0 -14
- package/lib/generated-client/models/codec-profile.js +0 -14
- package/lib/generated-client/models/collection-creation-result.js +0 -14
- package/lib/generated-client/models/config-image-types.js +0 -14
- package/lib/generated-client/models/configuration-page-info.js +0 -14
- package/lib/generated-client/models/container-profile.js +0 -14
- package/lib/generated-client/models/control-response.js +0 -14
- package/lib/generated-client/models/country-info.js +0 -14
- package/lib/generated-client/models/create-playlist-dto.js +0 -14
- package/lib/generated-client/models/create-user-by-name.js +0 -14
- package/lib/generated-client/models/culture-dto.js +0 -14
- package/lib/generated-client/models/default-directory-browser-info-dto.js +0 -14
- package/lib/generated-client/models/device-identification.js +0 -14
- package/lib/generated-client/models/device-info-query-result.js +0 -14
- package/lib/generated-client/models/device-info.js +0 -14
- package/lib/generated-client/models/device-options-dto.js +0 -14
- package/lib/generated-client/models/device-options.js +0 -14
- package/lib/generated-client/models/device-profile-info.js +0 -14
- package/lib/generated-client/models/device-profile.js +0 -14
- package/lib/generated-client/models/direct-play-profile.js +0 -14
- package/lib/generated-client/models/display-preferences-dto.js +0 -14
- package/lib/generated-client/models/dlna-options.js +0 -14
- package/lib/generated-client/models/encoding-options.js +0 -14
- package/lib/generated-client/models/end-point-info.js +0 -14
- package/lib/generated-client/models/external-id-info.js +0 -14
- package/lib/generated-client/models/external-url.js +0 -14
- package/lib/generated-client/models/file-system-entry-info.js +0 -14
- package/lib/generated-client/models/font-file.js +0 -14
- package/lib/generated-client/models/forgot-password-dto.js +0 -14
- package/lib/generated-client/models/forgot-password-pin-dto.js +0 -14
- package/lib/generated-client/models/forgot-password-result.js +0 -14
- package/lib/generated-client/models/general-command.js +0 -14
- package/lib/generated-client/models/get-programs-dto.js +0 -14
- package/lib/generated-client/models/group-info-dto.js +0 -14
- package/lib/generated-client/models/guide-info.js +0 -14
- package/lib/generated-client/models/http-header-info.js +0 -14
- package/lib/generated-client/models/ignore-wait-request-dto.js +0 -14
- package/lib/generated-client/models/image-by-name-info.js +0 -14
- package/lib/generated-client/models/image-info.js +0 -14
- package/lib/generated-client/models/image-option.js +0 -14
- package/lib/generated-client/models/image-provider-info.js +0 -14
- package/lib/generated-client/models/installation-info.js +0 -14
- package/lib/generated-client/models/iplugin.js +0 -14
- package/lib/generated-client/models/item-counts.js +0 -14
- package/lib/generated-client/models/join-group-request-dto.js +0 -14
- package/lib/generated-client/models/library-option-info-dto.js +0 -14
- package/lib/generated-client/models/library-options-result-dto.js +0 -14
- package/lib/generated-client/models/library-options.js +0 -14
- package/lib/generated-client/models/library-type-options-dto.js +0 -14
- package/lib/generated-client/models/library-update-info.js +0 -14
- package/lib/generated-client/models/listings-provider-info.js +0 -14
- package/lib/generated-client/models/live-stream-response.js +0 -14
- package/lib/generated-client/models/live-tv-info.js +0 -14
- package/lib/generated-client/models/live-tv-options.js +0 -14
- package/lib/generated-client/models/live-tv-service-info.js +0 -14
- package/lib/generated-client/models/localization-option.js +0 -14
- package/lib/generated-client/models/log-file.js +0 -14
- package/lib/generated-client/models/media-attachment.js +0 -14
- package/lib/generated-client/models/media-encoder-path-dto.js +0 -14
- package/lib/generated-client/models/media-path-dto.js +0 -14
- package/lib/generated-client/models/media-path-info.js +0 -14
- package/lib/generated-client/models/media-source-info.js +0 -14
- package/lib/generated-client/models/media-stream.js +0 -14
- package/lib/generated-client/models/media-update-info-dto.js +0 -14
- package/lib/generated-client/models/media-update-info-path-dto.js +0 -14
- package/lib/generated-client/models/media-url.js +0 -14
- package/lib/generated-client/models/message-command.js +0 -14
- package/lib/generated-client/models/metadata-configuration.js +0 -14
- package/lib/generated-client/models/metadata-editor-info.js +0 -14
- package/lib/generated-client/models/metadata-options.js +0 -14
- package/lib/generated-client/models/move-playlist-item-request-dto.js +0 -14
- package/lib/generated-client/models/movie-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/movie-info.js +0 -14
- package/lib/generated-client/models/music-video-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/music-video-info.js +0 -14
- package/lib/generated-client/models/name-guid-pair.js +0 -14
- package/lib/generated-client/models/name-id-pair.js +0 -14
- package/lib/generated-client/models/name-value-pair.js +0 -14
- package/lib/generated-client/models/network-configuration.js +0 -14
- package/lib/generated-client/models/new-group-request-dto.js +0 -14
- package/lib/generated-client/models/next-item-request-dto.js +0 -14
- package/lib/generated-client/models/notification-dto.js +0 -14
- package/lib/generated-client/models/notification-option.js +0 -14
- package/lib/generated-client/models/notification-options.js +0 -14
- package/lib/generated-client/models/notification-result-dto.js +0 -14
- package/lib/generated-client/models/notification-type-info.js +0 -14
- package/lib/generated-client/models/notifications-summary-dto.js +0 -14
- package/lib/generated-client/models/object-group-update.js +0 -14
- package/lib/generated-client/models/open-live-stream-dto.js +0 -14
- package/lib/generated-client/models/package-info.js +0 -14
- package/lib/generated-client/models/parental-rating.js +0 -14
- package/lib/generated-client/models/path-substitution.js +0 -14
- package/lib/generated-client/models/person-lookup-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/person-lookup-info.js +0 -14
- package/lib/generated-client/models/pin-redeem-result.js +0 -14
- package/lib/generated-client/models/ping-request-dto.js +0 -14
- package/lib/generated-client/models/play-request-dto.js +0 -14
- package/lib/generated-client/models/play-request.js +0 -14
- package/lib/generated-client/models/playback-info-dto.js +0 -14
- package/lib/generated-client/models/playback-info-response.js +0 -14
- package/lib/generated-client/models/playback-progress-info.js +0 -14
- package/lib/generated-client/models/playback-start-info.js +0 -14
- package/lib/generated-client/models/playback-stop-info.js +0 -14
- package/lib/generated-client/models/player-state-info.js +0 -14
- package/lib/generated-client/models/playlist-creation-result.js +0 -14
- package/lib/generated-client/models/playstate-request.js +0 -14
- package/lib/generated-client/models/plugin-info.js +0 -14
- package/lib/generated-client/models/previous-item-request-dto.js +0 -14
- package/lib/generated-client/models/problem-details.js +0 -14
- package/lib/generated-client/models/profile-condition.js +0 -14
- package/lib/generated-client/models/public-system-info.js +0 -14
- package/lib/generated-client/models/query-filters-legacy.js +0 -14
- package/lib/generated-client/models/query-filters.js +0 -14
- package/lib/generated-client/models/queue-item.js +0 -14
- package/lib/generated-client/models/queue-request-dto.js +0 -14
- package/lib/generated-client/models/quick-connect-dto.js +0 -14
- package/lib/generated-client/models/quick-connect-result.js +0 -14
- package/lib/generated-client/models/ready-request-dto.js +0 -14
- package/lib/generated-client/models/recommendation-dto.js +0 -14
- package/lib/generated-client/models/remote-image-info.js +0 -14
- package/lib/generated-client/models/remote-image-result.js +0 -14
- package/lib/generated-client/models/remote-search-result.js +0 -14
- package/lib/generated-client/models/remote-subtitle-info.js +0 -14
- package/lib/generated-client/models/remove-from-playlist-request-dto.js +0 -14
- package/lib/generated-client/models/repository-info.js +0 -14
- package/lib/generated-client/models/response-profile.js +0 -14
- package/lib/generated-client/models/search-hint-result.js +0 -14
- package/lib/generated-client/models/search-hint.js +0 -14
- package/lib/generated-client/models/seek-request-dto.js +0 -14
- package/lib/generated-client/models/send-command.js +0 -14
- package/lib/generated-client/models/series-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/series-info.js +0 -14
- package/lib/generated-client/models/series-timer-info-dto-query-result.js +0 -14
- package/lib/generated-client/models/series-timer-info-dto.js +0 -14
- package/lib/generated-client/models/server-configuration.js +0 -14
- package/lib/generated-client/models/server-discovery-info.js +0 -14
- package/lib/generated-client/models/session-info.js +0 -14
- package/lib/generated-client/models/session-user-info.js +0 -14
- package/lib/generated-client/models/set-channel-mapping-dto.js +0 -14
- package/lib/generated-client/models/set-playlist-item-request-dto.js +0 -14
- package/lib/generated-client/models/set-repeat-mode-request-dto.js +0 -14
- package/lib/generated-client/models/set-shuffle-mode-request-dto.js +0 -14
- package/lib/generated-client/models/song-info.js +0 -14
- package/lib/generated-client/models/special-view-option-dto.js +0 -14
- package/lib/generated-client/models/startup-configuration-dto.js +0 -14
- package/lib/generated-client/models/startup-remote-access-dto.js +0 -14
- package/lib/generated-client/models/startup-user-dto.js +0 -14
- package/lib/generated-client/models/subtitle-options.js +0 -14
- package/lib/generated-client/models/subtitle-profile.js +0 -14
- package/lib/generated-client/models/system-info.js +0 -14
- package/lib/generated-client/models/task-info.js +0 -14
- package/lib/generated-client/models/task-result.js +0 -14
- package/lib/generated-client/models/task-trigger-info.js +0 -14
- package/lib/generated-client/models/theme-media-result.js +0 -14
- package/lib/generated-client/models/timer-event-info.js +0 -14
- package/lib/generated-client/models/timer-info-dto-query-result.js +0 -14
- package/lib/generated-client/models/timer-info-dto.js +0 -14
- package/lib/generated-client/models/trailer-info-remote-search-query.js +0 -14
- package/lib/generated-client/models/trailer-info.js +0 -14
- package/lib/generated-client/models/transcoding-info.js +0 -47
- package/lib/generated-client/models/transcoding-profile.js +0 -14
- package/lib/generated-client/models/tuner-channel-mapping.js +0 -14
- package/lib/generated-client/models/tuner-host-info.js +0 -14
- package/lib/generated-client/models/type-options.js +0 -14
- package/lib/generated-client/models/update-library-options-dto.js +0 -14
- package/lib/generated-client/models/update-media-path-request-dto.js +0 -14
- package/lib/generated-client/models/update-user-easy-password.js +0 -14
- package/lib/generated-client/models/update-user-password.js +0 -14
- package/lib/generated-client/models/upload-subtitle-dto.js +0 -14
- package/lib/generated-client/models/user-configuration.js +0 -14
- package/lib/generated-client/models/user-dto.js +0 -14
- package/lib/generated-client/models/user-item-data-dto.js +0 -14
- package/lib/generated-client/models/user-policy.js +0 -14
- package/lib/generated-client/models/utc-time-response.js +0 -14
- package/lib/generated-client/models/validate-path-dto.js +0 -14
- package/lib/generated-client/models/version-info.js +0 -14
- package/lib/generated-client/models/virtual-folder-info.js +0 -14
- package/lib/generated-client/models/wake-on-lan-info.js +0 -14
- package/lib/generated-client/models/xbmc-metadata-options.js +0 -14
- package/lib/generated-client/models/xml-attribute.js +0 -14
- package/lib/models/device-info.js +0 -7
- package/lib/utils/url.js +0 -54
- package/openapi-templates/licenseInfo.mustache +0 -10
- package/tsconfig.json +0 -25
- /package/lib/utils/{normalize-url.d.ts → url/normalize-url.d.ts} +0 -0
|
@@ -1,95 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
|
+
import globalAxios from 'axios';
|
|
3
|
+
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
|
|
4
|
+
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
5
|
+
|
|
2
6
|
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6
|
-
* Do not edit the class manually.
|
|
7
|
-
*
|
|
8
|
-
* Jellyfin API
|
|
9
|
-
*
|
|
10
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
11
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
12
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
13
|
-
*/
|
|
14
|
-
var __extends = (this && this.__extends) || (function () {
|
|
15
|
-
var extendStatics = function (d, b) {
|
|
16
|
-
extendStatics = Object.setPrototypeOf ||
|
|
17
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
-
return extendStatics(d, b);
|
|
20
|
-
};
|
|
21
|
-
return function (d, b) {
|
|
22
|
-
if (typeof b !== "function" && b !== null)
|
|
23
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
-
extendStatics(d, b);
|
|
25
|
-
function __() { this.constructor = d; }
|
|
26
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
-
};
|
|
28
|
-
})();
|
|
29
|
-
var __assign = (this && this.__assign) || function () {
|
|
30
|
-
__assign = Object.assign || function(t) {
|
|
31
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
32
|
-
s = arguments[i];
|
|
33
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
34
|
-
t[p] = s[p];
|
|
35
|
-
}
|
|
36
|
-
return t;
|
|
37
|
-
};
|
|
38
|
-
return __assign.apply(this, arguments);
|
|
39
|
-
};
|
|
40
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
41
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
42
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
43
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
44
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
45
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
46
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
50
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
51
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
52
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
53
|
-
function step(op) {
|
|
54
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
55
|
-
while (_) try {
|
|
56
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
57
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
58
|
-
switch (op[0]) {
|
|
59
|
-
case 0: case 1: t = op; break;
|
|
60
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
61
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
62
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
63
|
-
default:
|
|
64
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
65
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
66
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
67
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
68
|
-
if (t[2]) _.ops.pop();
|
|
69
|
-
_.trys.pop(); continue;
|
|
70
|
-
}
|
|
71
|
-
op = body.call(thisArg, _);
|
|
72
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
73
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
77
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
78
|
-
};
|
|
79
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
80
|
-
exports.DlnaServerApi = exports.DlnaServerApiFactory = exports.DlnaServerApiFp = exports.DlnaServerApiAxiosParamCreator = void 0;
|
|
81
|
-
var axios_1 = __importDefault(require("axios"));
|
|
82
|
-
// Some imports not used depending on template conditions
|
|
83
|
-
// @ts-ignore
|
|
84
|
-
var common_1 = require("../common");
|
|
85
|
-
// @ts-ignore
|
|
86
|
-
var base_1 = require("../base");
|
|
87
7
|
/**
|
|
88
8
|
* DlnaServerApi - axios parameter creator
|
|
89
9
|
* @export
|
|
90
10
|
*/
|
|
91
|
-
|
|
92
|
-
var _this = this;
|
|
11
|
+
const DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
93
12
|
return {
|
|
94
13
|
/**
|
|
95
14
|
*
|
|
@@ -98,40 +17,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
98
17
|
* @param {*} [options] Override http request option.
|
|
99
18
|
* @throws {RequiredError}
|
|
100
19
|
*/
|
|
101
|
-
getConnectionManager:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
127
|
-
return [2 /*return*/, {
|
|
128
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
129
|
-
options: localVarRequestOptions,
|
|
130
|
-
}];
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
},
|
|
20
|
+
getConnectionManager: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
22
|
+
assertParamExists('getConnectionManager', 'serverId', serverId);
|
|
23
|
+
const localVarPath = `/Dlna/{serverId}/ConnectionManager`
|
|
24
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
25
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27
|
+
let baseOptions;
|
|
28
|
+
if (configuration) {
|
|
29
|
+
baseOptions = configuration.baseOptions;
|
|
30
|
+
}
|
|
31
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
32
|
+
const localVarHeaderParameter = {};
|
|
33
|
+
const localVarQueryParameter = {};
|
|
34
|
+
// authentication CustomAuthentication required
|
|
35
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
36
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39
|
+
return {
|
|
40
|
+
url: toPathString(localVarUrlObj),
|
|
41
|
+
options: localVarRequestOptions,
|
|
42
|
+
};
|
|
43
|
+
}),
|
|
135
44
|
/**
|
|
136
45
|
*
|
|
137
46
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -139,40 +48,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
139
48
|
* @param {*} [options] Override http request option.
|
|
140
49
|
* @throws {RequiredError}
|
|
141
50
|
*/
|
|
142
|
-
getConnectionManager2:
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
168
|
-
return [2 /*return*/, {
|
|
169
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
170
|
-
options: localVarRequestOptions,
|
|
171
|
-
}];
|
|
172
|
-
}
|
|
173
|
-
});
|
|
174
|
-
});
|
|
175
|
-
},
|
|
51
|
+
getConnectionManager2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
53
|
+
assertParamExists('getConnectionManager2', 'serverId', serverId);
|
|
54
|
+
const localVarPath = `/Dlna/{serverId}/ConnectionManager/ConnectionManager`
|
|
55
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
56
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58
|
+
let baseOptions;
|
|
59
|
+
if (configuration) {
|
|
60
|
+
baseOptions = configuration.baseOptions;
|
|
61
|
+
}
|
|
62
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
63
|
+
const localVarHeaderParameter = {};
|
|
64
|
+
const localVarQueryParameter = {};
|
|
65
|
+
// authentication CustomAuthentication required
|
|
66
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
67
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
70
|
+
return {
|
|
71
|
+
url: toPathString(localVarUrlObj),
|
|
72
|
+
options: localVarRequestOptions,
|
|
73
|
+
};
|
|
74
|
+
}),
|
|
176
75
|
/**
|
|
177
76
|
*
|
|
178
77
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -180,40 +79,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
180
79
|
* @param {*} [options] Override http request option.
|
|
181
80
|
* @throws {RequiredError}
|
|
182
81
|
*/
|
|
183
|
-
getConnectionManager3:
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
208
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
209
|
-
return [2 /*return*/, {
|
|
210
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
211
|
-
options: localVarRequestOptions,
|
|
212
|
-
}];
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
});
|
|
216
|
-
},
|
|
82
|
+
getConnectionManager3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
83
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
84
|
+
assertParamExists('getConnectionManager3', 'serverId', serverId);
|
|
85
|
+
const localVarPath = `/Dlna/{serverId}/ConnectionManager/ConnectionManager.xml`
|
|
86
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
87
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
88
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
89
|
+
let baseOptions;
|
|
90
|
+
if (configuration) {
|
|
91
|
+
baseOptions = configuration.baseOptions;
|
|
92
|
+
}
|
|
93
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
94
|
+
const localVarHeaderParameter = {};
|
|
95
|
+
const localVarQueryParameter = {};
|
|
96
|
+
// authentication CustomAuthentication required
|
|
97
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
98
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
101
|
+
return {
|
|
102
|
+
url: toPathString(localVarUrlObj),
|
|
103
|
+
options: localVarRequestOptions,
|
|
104
|
+
};
|
|
105
|
+
}),
|
|
217
106
|
/**
|
|
218
107
|
*
|
|
219
108
|
* @summary Gets Dlna content directory xml.
|
|
@@ -221,40 +110,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
221
110
|
* @param {*} [options] Override http request option.
|
|
222
111
|
* @throws {RequiredError}
|
|
223
112
|
*/
|
|
224
|
-
getContentDirectory:
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
250
|
-
return [2 /*return*/, {
|
|
251
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
252
|
-
options: localVarRequestOptions,
|
|
253
|
-
}];
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
});
|
|
257
|
-
},
|
|
113
|
+
getContentDirectory: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
115
|
+
assertParamExists('getContentDirectory', 'serverId', serverId);
|
|
116
|
+
const localVarPath = `/Dlna/{serverId}/ContentDirectory`
|
|
117
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
118
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
119
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120
|
+
let baseOptions;
|
|
121
|
+
if (configuration) {
|
|
122
|
+
baseOptions = configuration.baseOptions;
|
|
123
|
+
}
|
|
124
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
125
|
+
const localVarHeaderParameter = {};
|
|
126
|
+
const localVarQueryParameter = {};
|
|
127
|
+
// authentication CustomAuthentication required
|
|
128
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
131
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
132
|
+
return {
|
|
133
|
+
url: toPathString(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
258
137
|
/**
|
|
259
138
|
*
|
|
260
139
|
* @summary Gets Dlna content directory xml.
|
|
@@ -262,40 +141,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
262
141
|
* @param {*} [options] Override http request option.
|
|
263
142
|
* @throws {RequiredError}
|
|
264
143
|
*/
|
|
265
|
-
getContentDirectory2:
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
290
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
291
|
-
return [2 /*return*/, {
|
|
292
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
293
|
-
options: localVarRequestOptions,
|
|
294
|
-
}];
|
|
295
|
-
}
|
|
296
|
-
});
|
|
297
|
-
});
|
|
298
|
-
},
|
|
144
|
+
getContentDirectory2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
146
|
+
assertParamExists('getContentDirectory2', 'serverId', serverId);
|
|
147
|
+
const localVarPath = `/Dlna/{serverId}/ContentDirectory/ContentDirectory`
|
|
148
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
151
|
+
let baseOptions;
|
|
152
|
+
if (configuration) {
|
|
153
|
+
baseOptions = configuration.baseOptions;
|
|
154
|
+
}
|
|
155
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
156
|
+
const localVarHeaderParameter = {};
|
|
157
|
+
const localVarQueryParameter = {};
|
|
158
|
+
// authentication CustomAuthentication required
|
|
159
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
163
|
+
return {
|
|
164
|
+
url: toPathString(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions,
|
|
166
|
+
};
|
|
167
|
+
}),
|
|
299
168
|
/**
|
|
300
169
|
*
|
|
301
170
|
* @summary Gets Dlna content directory xml.
|
|
@@ -303,40 +172,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
303
172
|
* @param {*} [options] Override http request option.
|
|
304
173
|
* @throws {RequiredError}
|
|
305
174
|
*/
|
|
306
|
-
getContentDirectory3:
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
331
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
332
|
-
return [2 /*return*/, {
|
|
333
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
334
|
-
options: localVarRequestOptions,
|
|
335
|
-
}];
|
|
336
|
-
}
|
|
337
|
-
});
|
|
338
|
-
});
|
|
339
|
-
},
|
|
175
|
+
getContentDirectory3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
176
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
177
|
+
assertParamExists('getContentDirectory3', 'serverId', serverId);
|
|
178
|
+
const localVarPath = `/Dlna/{serverId}/ContentDirectory/ContentDirectory.xml`
|
|
179
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
180
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
182
|
+
let baseOptions;
|
|
183
|
+
if (configuration) {
|
|
184
|
+
baseOptions = configuration.baseOptions;
|
|
185
|
+
}
|
|
186
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
187
|
+
const localVarHeaderParameter = {};
|
|
188
|
+
const localVarQueryParameter = {};
|
|
189
|
+
// authentication CustomAuthentication required
|
|
190
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
194
|
+
return {
|
|
195
|
+
url: toPathString(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
};
|
|
198
|
+
}),
|
|
340
199
|
/**
|
|
341
200
|
*
|
|
342
201
|
* @summary Get Description Xml.
|
|
@@ -344,40 +203,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
344
203
|
* @param {*} [options] Override http request option.
|
|
345
204
|
* @throws {RequiredError}
|
|
346
205
|
*/
|
|
347
|
-
getDescriptionXml:
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
373
|
-
return [2 /*return*/, {
|
|
374
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
375
|
-
options: localVarRequestOptions,
|
|
376
|
-
}];
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
});
|
|
380
|
-
},
|
|
206
|
+
getDescriptionXml: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
207
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
208
|
+
assertParamExists('getDescriptionXml', 'serverId', serverId);
|
|
209
|
+
const localVarPath = `/Dlna/{serverId}/description`
|
|
210
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
211
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
213
|
+
let baseOptions;
|
|
214
|
+
if (configuration) {
|
|
215
|
+
baseOptions = configuration.baseOptions;
|
|
216
|
+
}
|
|
217
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
218
|
+
const localVarHeaderParameter = {};
|
|
219
|
+
const localVarQueryParameter = {};
|
|
220
|
+
// authentication CustomAuthentication required
|
|
221
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
222
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
223
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
225
|
+
return {
|
|
226
|
+
url: toPathString(localVarUrlObj),
|
|
227
|
+
options: localVarRequestOptions,
|
|
228
|
+
};
|
|
229
|
+
}),
|
|
381
230
|
/**
|
|
382
231
|
*
|
|
383
232
|
* @summary Get Description Xml.
|
|
@@ -385,40 +234,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
385
234
|
* @param {*} [options] Override http request option.
|
|
386
235
|
* @throws {RequiredError}
|
|
387
236
|
*/
|
|
388
|
-
getDescriptionXml2:
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
413
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
414
|
-
return [2 /*return*/, {
|
|
415
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
416
|
-
options: localVarRequestOptions,
|
|
417
|
-
}];
|
|
418
|
-
}
|
|
419
|
-
});
|
|
420
|
-
});
|
|
421
|
-
},
|
|
237
|
+
getDescriptionXml2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
238
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
239
|
+
assertParamExists('getDescriptionXml2', 'serverId', serverId);
|
|
240
|
+
const localVarPath = `/Dlna/{serverId}/description.xml`
|
|
241
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
242
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
243
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
244
|
+
let baseOptions;
|
|
245
|
+
if (configuration) {
|
|
246
|
+
baseOptions = configuration.baseOptions;
|
|
247
|
+
}
|
|
248
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
249
|
+
const localVarHeaderParameter = {};
|
|
250
|
+
const localVarQueryParameter = {};
|
|
251
|
+
// authentication CustomAuthentication required
|
|
252
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
254
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
255
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
256
|
+
return {
|
|
257
|
+
url: toPathString(localVarUrlObj),
|
|
258
|
+
options: localVarRequestOptions,
|
|
259
|
+
};
|
|
260
|
+
}),
|
|
422
261
|
/**
|
|
423
262
|
*
|
|
424
263
|
* @summary Gets a server icon.
|
|
@@ -426,40 +265,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
426
265
|
* @param {*} [options] Override http request option.
|
|
427
266
|
* @throws {RequiredError}
|
|
428
267
|
*/
|
|
429
|
-
getIcon:
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
454
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
455
|
-
return [2 /*return*/, {
|
|
456
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
457
|
-
options: localVarRequestOptions,
|
|
458
|
-
}];
|
|
459
|
-
}
|
|
460
|
-
});
|
|
461
|
-
});
|
|
462
|
-
},
|
|
268
|
+
getIcon: (fileName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
// verify required parameter 'fileName' is not null or undefined
|
|
270
|
+
assertParamExists('getIcon', 'fileName', fileName);
|
|
271
|
+
const localVarPath = `/Dlna/icons/{fileName}`
|
|
272
|
+
.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName)));
|
|
273
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
274
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
275
|
+
let baseOptions;
|
|
276
|
+
if (configuration) {
|
|
277
|
+
baseOptions = configuration.baseOptions;
|
|
278
|
+
}
|
|
279
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
280
|
+
const localVarHeaderParameter = {};
|
|
281
|
+
const localVarQueryParameter = {};
|
|
282
|
+
// authentication CustomAuthentication required
|
|
283
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
284
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
285
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
286
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
287
|
+
return {
|
|
288
|
+
url: toPathString(localVarUrlObj),
|
|
289
|
+
options: localVarRequestOptions,
|
|
290
|
+
};
|
|
291
|
+
}),
|
|
463
292
|
/**
|
|
464
293
|
*
|
|
465
294
|
* @summary Gets a server icon.
|
|
@@ -468,43 +297,33 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
468
297
|
* @param {*} [options] Override http request option.
|
|
469
298
|
* @throws {RequiredError}
|
|
470
299
|
*/
|
|
471
|
-
getIconId:
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
499
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
500
|
-
return [2 /*return*/, {
|
|
501
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
502
|
-
options: localVarRequestOptions,
|
|
503
|
-
}];
|
|
504
|
-
}
|
|
505
|
-
});
|
|
506
|
-
});
|
|
507
|
-
},
|
|
300
|
+
getIconId: (serverId, fileName, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
301
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
302
|
+
assertParamExists('getIconId', 'serverId', serverId);
|
|
303
|
+
// verify required parameter 'fileName' is not null or undefined
|
|
304
|
+
assertParamExists('getIconId', 'fileName', fileName);
|
|
305
|
+
const localVarPath = `/Dlna/{serverId}/icons/{fileName}`
|
|
306
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)))
|
|
307
|
+
.replace(`{${"fileName"}}`, encodeURIComponent(String(fileName)));
|
|
308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
+
let baseOptions;
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
}
|
|
314
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
315
|
+
const localVarHeaderParameter = {};
|
|
316
|
+
const localVarQueryParameter = {};
|
|
317
|
+
// authentication CustomAuthentication required
|
|
318
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
319
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
321
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
322
|
+
return {
|
|
323
|
+
url: toPathString(localVarUrlObj),
|
|
324
|
+
options: localVarRequestOptions,
|
|
325
|
+
};
|
|
326
|
+
}),
|
|
508
327
|
/**
|
|
509
328
|
*
|
|
510
329
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -512,40 +331,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
512
331
|
* @param {*} [options] Override http request option.
|
|
513
332
|
* @throws {RequiredError}
|
|
514
333
|
*/
|
|
515
|
-
getMediaReceiverRegistrar:
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
540
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
541
|
-
return [2 /*return*/, {
|
|
542
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
543
|
-
options: localVarRequestOptions,
|
|
544
|
-
}];
|
|
545
|
-
}
|
|
546
|
-
});
|
|
547
|
-
});
|
|
548
|
-
},
|
|
334
|
+
getMediaReceiverRegistrar: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
335
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
336
|
+
assertParamExists('getMediaReceiverRegistrar', 'serverId', serverId);
|
|
337
|
+
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar`
|
|
338
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
339
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
341
|
+
let baseOptions;
|
|
342
|
+
if (configuration) {
|
|
343
|
+
baseOptions = configuration.baseOptions;
|
|
344
|
+
}
|
|
345
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
346
|
+
const localVarHeaderParameter = {};
|
|
347
|
+
const localVarQueryParameter = {};
|
|
348
|
+
// authentication CustomAuthentication required
|
|
349
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
350
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
351
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
352
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
353
|
+
return {
|
|
354
|
+
url: toPathString(localVarUrlObj),
|
|
355
|
+
options: localVarRequestOptions,
|
|
356
|
+
};
|
|
357
|
+
}),
|
|
549
358
|
/**
|
|
550
359
|
*
|
|
551
360
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -553,40 +362,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
553
362
|
* @param {*} [options] Override http request option.
|
|
554
363
|
* @throws {RequiredError}
|
|
555
364
|
*/
|
|
556
|
-
getMediaReceiverRegistrar2:
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
581
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
582
|
-
return [2 /*return*/, {
|
|
583
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
584
|
-
options: localVarRequestOptions,
|
|
585
|
-
}];
|
|
586
|
-
}
|
|
587
|
-
});
|
|
588
|
-
});
|
|
589
|
-
},
|
|
365
|
+
getMediaReceiverRegistrar2: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
366
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
367
|
+
assertParamExists('getMediaReceiverRegistrar2', 'serverId', serverId);
|
|
368
|
+
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar`
|
|
369
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
372
|
+
let baseOptions;
|
|
373
|
+
if (configuration) {
|
|
374
|
+
baseOptions = configuration.baseOptions;
|
|
375
|
+
}
|
|
376
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
377
|
+
const localVarHeaderParameter = {};
|
|
378
|
+
const localVarQueryParameter = {};
|
|
379
|
+
// authentication CustomAuthentication required
|
|
380
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
381
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
382
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
383
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
384
|
+
return {
|
|
385
|
+
url: toPathString(localVarUrlObj),
|
|
386
|
+
options: localVarRequestOptions,
|
|
387
|
+
};
|
|
388
|
+
}),
|
|
590
389
|
/**
|
|
591
390
|
*
|
|
592
391
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -594,40 +393,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
594
393
|
* @param {*} [options] Override http request option.
|
|
595
394
|
* @throws {RequiredError}
|
|
596
395
|
*/
|
|
597
|
-
getMediaReceiverRegistrar3:
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
622
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
623
|
-
return [2 /*return*/, {
|
|
624
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
625
|
-
options: localVarRequestOptions,
|
|
626
|
-
}];
|
|
627
|
-
}
|
|
628
|
-
});
|
|
629
|
-
});
|
|
630
|
-
},
|
|
396
|
+
getMediaReceiverRegistrar3: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
397
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
398
|
+
assertParamExists('getMediaReceiverRegistrar3', 'serverId', serverId);
|
|
399
|
+
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/MediaReceiverRegistrar.xml`
|
|
400
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
401
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
402
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
403
|
+
let baseOptions;
|
|
404
|
+
if (configuration) {
|
|
405
|
+
baseOptions = configuration.baseOptions;
|
|
406
|
+
}
|
|
407
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
408
|
+
const localVarHeaderParameter = {};
|
|
409
|
+
const localVarQueryParameter = {};
|
|
410
|
+
// authentication CustomAuthentication required
|
|
411
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
414
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
415
|
+
return {
|
|
416
|
+
url: toPathString(localVarUrlObj),
|
|
417
|
+
options: localVarRequestOptions,
|
|
418
|
+
};
|
|
419
|
+
}),
|
|
631
420
|
/**
|
|
632
421
|
*
|
|
633
422
|
* @summary Process a connection manager control request.
|
|
@@ -635,40 +424,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
635
424
|
* @param {*} [options] Override http request option.
|
|
636
425
|
* @throws {RequiredError}
|
|
637
426
|
*/
|
|
638
|
-
processConnectionManagerControlRequest:
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
663
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
664
|
-
return [2 /*return*/, {
|
|
665
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
666
|
-
options: localVarRequestOptions,
|
|
667
|
-
}];
|
|
668
|
-
}
|
|
669
|
-
});
|
|
670
|
-
});
|
|
671
|
-
},
|
|
427
|
+
processConnectionManagerControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
428
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
429
|
+
assertParamExists('processConnectionManagerControlRequest', 'serverId', serverId);
|
|
430
|
+
const localVarPath = `/Dlna/{serverId}/ConnectionManager/Control`
|
|
431
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
432
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
433
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
434
|
+
let baseOptions;
|
|
435
|
+
if (configuration) {
|
|
436
|
+
baseOptions = configuration.baseOptions;
|
|
437
|
+
}
|
|
438
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
439
|
+
const localVarHeaderParameter = {};
|
|
440
|
+
const localVarQueryParameter = {};
|
|
441
|
+
// authentication CustomAuthentication required
|
|
442
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
443
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
444
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
445
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
446
|
+
return {
|
|
447
|
+
url: toPathString(localVarUrlObj),
|
|
448
|
+
options: localVarRequestOptions,
|
|
449
|
+
};
|
|
450
|
+
}),
|
|
672
451
|
/**
|
|
673
452
|
*
|
|
674
453
|
* @summary Process a content directory control request.
|
|
@@ -676,40 +455,30 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
676
455
|
* @param {*} [options] Override http request option.
|
|
677
456
|
* @throws {RequiredError}
|
|
678
457
|
*/
|
|
679
|
-
processContentDirectoryControlRequest:
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
704
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
705
|
-
return [2 /*return*/, {
|
|
706
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
707
|
-
options: localVarRequestOptions,
|
|
708
|
-
}];
|
|
709
|
-
}
|
|
710
|
-
});
|
|
711
|
-
});
|
|
712
|
-
},
|
|
458
|
+
processContentDirectoryControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
459
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
460
|
+
assertParamExists('processContentDirectoryControlRequest', 'serverId', serverId);
|
|
461
|
+
const localVarPath = `/Dlna/{serverId}/ContentDirectory/Control`
|
|
462
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
465
|
+
let baseOptions;
|
|
466
|
+
if (configuration) {
|
|
467
|
+
baseOptions = configuration.baseOptions;
|
|
468
|
+
}
|
|
469
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
470
|
+
const localVarHeaderParameter = {};
|
|
471
|
+
const localVarQueryParameter = {};
|
|
472
|
+
// authentication CustomAuthentication required
|
|
473
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
474
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
475
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
476
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
477
|
+
return {
|
|
478
|
+
url: toPathString(localVarUrlObj),
|
|
479
|
+
options: localVarRequestOptions,
|
|
480
|
+
};
|
|
481
|
+
}),
|
|
713
482
|
/**
|
|
714
483
|
*
|
|
715
484
|
* @summary Process a media receiver registrar control request.
|
|
@@ -717,49 +486,38 @@ var DlnaServerApiAxiosParamCreator = function (configuration) {
|
|
|
717
486
|
* @param {*} [options] Override http request option.
|
|
718
487
|
* @throws {RequiredError}
|
|
719
488
|
*/
|
|
720
|
-
processMediaReceiverRegistrarControlRequest:
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
745
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
746
|
-
return [2 /*return*/, {
|
|
747
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
748
|
-
options: localVarRequestOptions,
|
|
749
|
-
}];
|
|
750
|
-
}
|
|
751
|
-
});
|
|
752
|
-
});
|
|
753
|
-
},
|
|
489
|
+
processMediaReceiverRegistrarControlRequest: (serverId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
490
|
+
// verify required parameter 'serverId' is not null or undefined
|
|
491
|
+
assertParamExists('processMediaReceiverRegistrarControlRequest', 'serverId', serverId);
|
|
492
|
+
const localVarPath = `/Dlna/{serverId}/MediaReceiverRegistrar/Control`
|
|
493
|
+
.replace(`{${"serverId"}}`, encodeURIComponent(String(serverId)));
|
|
494
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
496
|
+
let baseOptions;
|
|
497
|
+
if (configuration) {
|
|
498
|
+
baseOptions = configuration.baseOptions;
|
|
499
|
+
}
|
|
500
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
501
|
+
const localVarHeaderParameter = {};
|
|
502
|
+
const localVarQueryParameter = {};
|
|
503
|
+
// authentication CustomAuthentication required
|
|
504
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
505
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
506
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
507
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
508
|
+
return {
|
|
509
|
+
url: toPathString(localVarUrlObj),
|
|
510
|
+
options: localVarRequestOptions,
|
|
511
|
+
};
|
|
512
|
+
}),
|
|
754
513
|
};
|
|
755
514
|
};
|
|
756
|
-
exports.DlnaServerApiAxiosParamCreator = DlnaServerApiAxiosParamCreator;
|
|
757
515
|
/**
|
|
758
516
|
* DlnaServerApi - functional programming interface
|
|
759
517
|
* @export
|
|
760
518
|
*/
|
|
761
|
-
|
|
762
|
-
|
|
519
|
+
const DlnaServerApiFp = function (configuration) {
|
|
520
|
+
const localVarAxiosParamCreator = DlnaServerApiAxiosParamCreator(configuration);
|
|
763
521
|
return {
|
|
764
522
|
/**
|
|
765
523
|
*
|
|
@@ -768,17 +526,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
768
526
|
* @param {*} [options] Override http request option.
|
|
769
527
|
* @throws {RequiredError}
|
|
770
528
|
*/
|
|
771
|
-
getConnectionManager
|
|
772
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
773
|
-
|
|
774
|
-
return
|
|
775
|
-
switch (_a.label) {
|
|
776
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getConnectionManager(serverId, options)];
|
|
777
|
-
case 1:
|
|
778
|
-
localVarAxiosArgs = _a.sent();
|
|
779
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
780
|
-
}
|
|
781
|
-
});
|
|
529
|
+
getConnectionManager(serverId, options) {
|
|
530
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
531
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager(serverId, options);
|
|
532
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
782
533
|
});
|
|
783
534
|
},
|
|
784
535
|
/**
|
|
@@ -788,17 +539,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
788
539
|
* @param {*} [options] Override http request option.
|
|
789
540
|
* @throws {RequiredError}
|
|
790
541
|
*/
|
|
791
|
-
getConnectionManager2
|
|
792
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
793
|
-
|
|
794
|
-
return
|
|
795
|
-
switch (_a.label) {
|
|
796
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getConnectionManager2(serverId, options)];
|
|
797
|
-
case 1:
|
|
798
|
-
localVarAxiosArgs = _a.sent();
|
|
799
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
800
|
-
}
|
|
801
|
-
});
|
|
542
|
+
getConnectionManager2(serverId, options) {
|
|
543
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
544
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager2(serverId, options);
|
|
545
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
802
546
|
});
|
|
803
547
|
},
|
|
804
548
|
/**
|
|
@@ -808,17 +552,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
808
552
|
* @param {*} [options] Override http request option.
|
|
809
553
|
* @throws {RequiredError}
|
|
810
554
|
*/
|
|
811
|
-
getConnectionManager3
|
|
812
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
813
|
-
|
|
814
|
-
return
|
|
815
|
-
switch (_a.label) {
|
|
816
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getConnectionManager3(serverId, options)];
|
|
817
|
-
case 1:
|
|
818
|
-
localVarAxiosArgs = _a.sent();
|
|
819
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
820
|
-
}
|
|
821
|
-
});
|
|
555
|
+
getConnectionManager3(serverId, options) {
|
|
556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
557
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getConnectionManager3(serverId, options);
|
|
558
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
822
559
|
});
|
|
823
560
|
},
|
|
824
561
|
/**
|
|
@@ -828,17 +565,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
828
565
|
* @param {*} [options] Override http request option.
|
|
829
566
|
* @throws {RequiredError}
|
|
830
567
|
*/
|
|
831
|
-
getContentDirectory
|
|
832
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
833
|
-
|
|
834
|
-
return
|
|
835
|
-
switch (_a.label) {
|
|
836
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getContentDirectory(serverId, options)];
|
|
837
|
-
case 1:
|
|
838
|
-
localVarAxiosArgs = _a.sent();
|
|
839
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
840
|
-
}
|
|
841
|
-
});
|
|
568
|
+
getContentDirectory(serverId, options) {
|
|
569
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
570
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory(serverId, options);
|
|
571
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
842
572
|
});
|
|
843
573
|
},
|
|
844
574
|
/**
|
|
@@ -848,17 +578,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
848
578
|
* @param {*} [options] Override http request option.
|
|
849
579
|
* @throws {RequiredError}
|
|
850
580
|
*/
|
|
851
|
-
getContentDirectory2
|
|
852
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
853
|
-
|
|
854
|
-
return
|
|
855
|
-
switch (_a.label) {
|
|
856
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getContentDirectory2(serverId, options)];
|
|
857
|
-
case 1:
|
|
858
|
-
localVarAxiosArgs = _a.sent();
|
|
859
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
860
|
-
}
|
|
861
|
-
});
|
|
581
|
+
getContentDirectory2(serverId, options) {
|
|
582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
583
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory2(serverId, options);
|
|
584
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
862
585
|
});
|
|
863
586
|
},
|
|
864
587
|
/**
|
|
@@ -868,17 +591,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
868
591
|
* @param {*} [options] Override http request option.
|
|
869
592
|
* @throws {RequiredError}
|
|
870
593
|
*/
|
|
871
|
-
getContentDirectory3
|
|
872
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
873
|
-
|
|
874
|
-
return
|
|
875
|
-
switch (_a.label) {
|
|
876
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getContentDirectory3(serverId, options)];
|
|
877
|
-
case 1:
|
|
878
|
-
localVarAxiosArgs = _a.sent();
|
|
879
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
880
|
-
}
|
|
881
|
-
});
|
|
594
|
+
getContentDirectory3(serverId, options) {
|
|
595
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
596
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContentDirectory3(serverId, options);
|
|
597
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
882
598
|
});
|
|
883
599
|
},
|
|
884
600
|
/**
|
|
@@ -888,17 +604,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
888
604
|
* @param {*} [options] Override http request option.
|
|
889
605
|
* @throws {RequiredError}
|
|
890
606
|
*/
|
|
891
|
-
getDescriptionXml
|
|
892
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
893
|
-
|
|
894
|
-
return
|
|
895
|
-
switch (_a.label) {
|
|
896
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDescriptionXml(serverId, options)];
|
|
897
|
-
case 1:
|
|
898
|
-
localVarAxiosArgs = _a.sent();
|
|
899
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
900
|
-
}
|
|
901
|
-
});
|
|
607
|
+
getDescriptionXml(serverId, options) {
|
|
608
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
609
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDescriptionXml(serverId, options);
|
|
610
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
902
611
|
});
|
|
903
612
|
},
|
|
904
613
|
/**
|
|
@@ -908,17 +617,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
908
617
|
* @param {*} [options] Override http request option.
|
|
909
618
|
* @throws {RequiredError}
|
|
910
619
|
*/
|
|
911
|
-
getDescriptionXml2
|
|
912
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
913
|
-
|
|
914
|
-
return
|
|
915
|
-
switch (_a.label) {
|
|
916
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDescriptionXml2(serverId, options)];
|
|
917
|
-
case 1:
|
|
918
|
-
localVarAxiosArgs = _a.sent();
|
|
919
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
920
|
-
}
|
|
921
|
-
});
|
|
620
|
+
getDescriptionXml2(serverId, options) {
|
|
621
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
622
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDescriptionXml2(serverId, options);
|
|
623
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
922
624
|
});
|
|
923
625
|
},
|
|
924
626
|
/**
|
|
@@ -928,17 +630,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
928
630
|
* @param {*} [options] Override http request option.
|
|
929
631
|
* @throws {RequiredError}
|
|
930
632
|
*/
|
|
931
|
-
getIcon
|
|
932
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
933
|
-
|
|
934
|
-
return
|
|
935
|
-
switch (_a.label) {
|
|
936
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIcon(fileName, options)];
|
|
937
|
-
case 1:
|
|
938
|
-
localVarAxiosArgs = _a.sent();
|
|
939
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
940
|
-
}
|
|
941
|
-
});
|
|
633
|
+
getIcon(fileName, options) {
|
|
634
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
635
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIcon(fileName, options);
|
|
636
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
942
637
|
});
|
|
943
638
|
},
|
|
944
639
|
/**
|
|
@@ -949,17 +644,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
949
644
|
* @param {*} [options] Override http request option.
|
|
950
645
|
* @throws {RequiredError}
|
|
951
646
|
*/
|
|
952
|
-
getIconId
|
|
953
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
954
|
-
|
|
955
|
-
return
|
|
956
|
-
switch (_a.label) {
|
|
957
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIconId(serverId, fileName, options)];
|
|
958
|
-
case 1:
|
|
959
|
-
localVarAxiosArgs = _a.sent();
|
|
960
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
961
|
-
}
|
|
962
|
-
});
|
|
647
|
+
getIconId(serverId, fileName, options) {
|
|
648
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
649
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIconId(serverId, fileName, options);
|
|
650
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
963
651
|
});
|
|
964
652
|
},
|
|
965
653
|
/**
|
|
@@ -969,17 +657,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
969
657
|
* @param {*} [options] Override http request option.
|
|
970
658
|
* @throws {RequiredError}
|
|
971
659
|
*/
|
|
972
|
-
getMediaReceiverRegistrar
|
|
973
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
974
|
-
|
|
975
|
-
return
|
|
976
|
-
switch (_a.label) {
|
|
977
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMediaReceiverRegistrar(serverId, options)];
|
|
978
|
-
case 1:
|
|
979
|
-
localVarAxiosArgs = _a.sent();
|
|
980
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
981
|
-
}
|
|
982
|
-
});
|
|
660
|
+
getMediaReceiverRegistrar(serverId, options) {
|
|
661
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
662
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar(serverId, options);
|
|
663
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
983
664
|
});
|
|
984
665
|
},
|
|
985
666
|
/**
|
|
@@ -989,17 +670,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
989
670
|
* @param {*} [options] Override http request option.
|
|
990
671
|
* @throws {RequiredError}
|
|
991
672
|
*/
|
|
992
|
-
getMediaReceiverRegistrar2
|
|
993
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
994
|
-
|
|
995
|
-
return
|
|
996
|
-
switch (_a.label) {
|
|
997
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMediaReceiverRegistrar2(serverId, options)];
|
|
998
|
-
case 1:
|
|
999
|
-
localVarAxiosArgs = _a.sent();
|
|
1000
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1001
|
-
}
|
|
1002
|
-
});
|
|
673
|
+
getMediaReceiverRegistrar2(serverId, options) {
|
|
674
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
675
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar2(serverId, options);
|
|
676
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1003
677
|
});
|
|
1004
678
|
},
|
|
1005
679
|
/**
|
|
@@ -1009,17 +683,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
1009
683
|
* @param {*} [options] Override http request option.
|
|
1010
684
|
* @throws {RequiredError}
|
|
1011
685
|
*/
|
|
1012
|
-
getMediaReceiverRegistrar3
|
|
1013
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1014
|
-
|
|
1015
|
-
return
|
|
1016
|
-
switch (_a.label) {
|
|
1017
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMediaReceiverRegistrar3(serverId, options)];
|
|
1018
|
-
case 1:
|
|
1019
|
-
localVarAxiosArgs = _a.sent();
|
|
1020
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1021
|
-
}
|
|
1022
|
-
});
|
|
686
|
+
getMediaReceiverRegistrar3(serverId, options) {
|
|
687
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
688
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMediaReceiverRegistrar3(serverId, options);
|
|
689
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1023
690
|
});
|
|
1024
691
|
},
|
|
1025
692
|
/**
|
|
@@ -1029,17 +696,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
1029
696
|
* @param {*} [options] Override http request option.
|
|
1030
697
|
* @throws {RequiredError}
|
|
1031
698
|
*/
|
|
1032
|
-
processConnectionManagerControlRequest
|
|
1033
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1034
|
-
|
|
1035
|
-
return
|
|
1036
|
-
switch (_a.label) {
|
|
1037
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.processConnectionManagerControlRequest(serverId, options)];
|
|
1038
|
-
case 1:
|
|
1039
|
-
localVarAxiosArgs = _a.sent();
|
|
1040
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1041
|
-
}
|
|
1042
|
-
});
|
|
699
|
+
processConnectionManagerControlRequest(serverId, options) {
|
|
700
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
701
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.processConnectionManagerControlRequest(serverId, options);
|
|
702
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1043
703
|
});
|
|
1044
704
|
},
|
|
1045
705
|
/**
|
|
@@ -1049,17 +709,10 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
1049
709
|
* @param {*} [options] Override http request option.
|
|
1050
710
|
* @throws {RequiredError}
|
|
1051
711
|
*/
|
|
1052
|
-
processContentDirectoryControlRequest
|
|
1053
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1054
|
-
|
|
1055
|
-
return
|
|
1056
|
-
switch (_a.label) {
|
|
1057
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.processContentDirectoryControlRequest(serverId, options)];
|
|
1058
|
-
case 1:
|
|
1059
|
-
localVarAxiosArgs = _a.sent();
|
|
1060
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1061
|
-
}
|
|
1062
|
-
});
|
|
712
|
+
processContentDirectoryControlRequest(serverId, options) {
|
|
713
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.processContentDirectoryControlRequest(serverId, options);
|
|
715
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1063
716
|
});
|
|
1064
717
|
},
|
|
1065
718
|
/**
|
|
@@ -1069,28 +722,20 @@ var DlnaServerApiFp = function (configuration) {
|
|
|
1069
722
|
* @param {*} [options] Override http request option.
|
|
1070
723
|
* @throws {RequiredError}
|
|
1071
724
|
*/
|
|
1072
|
-
processMediaReceiverRegistrarControlRequest
|
|
1073
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1074
|
-
|
|
1075
|
-
return
|
|
1076
|
-
switch (_a.label) {
|
|
1077
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.processMediaReceiverRegistrarControlRequest(serverId, options)];
|
|
1078
|
-
case 1:
|
|
1079
|
-
localVarAxiosArgs = _a.sent();
|
|
1080
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1081
|
-
}
|
|
1082
|
-
});
|
|
725
|
+
processMediaReceiverRegistrarControlRequest(serverId, options) {
|
|
726
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
727
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.processMediaReceiverRegistrarControlRequest(serverId, options);
|
|
728
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1083
729
|
});
|
|
1084
730
|
},
|
|
1085
731
|
};
|
|
1086
732
|
};
|
|
1087
|
-
exports.DlnaServerApiFp = DlnaServerApiFp;
|
|
1088
733
|
/**
|
|
1089
734
|
* DlnaServerApi - factory interface
|
|
1090
735
|
* @export
|
|
1091
736
|
*/
|
|
1092
|
-
|
|
1093
|
-
|
|
737
|
+
const DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
738
|
+
const localVarFp = DlnaServerApiFp(configuration);
|
|
1094
739
|
return {
|
|
1095
740
|
/**
|
|
1096
741
|
*
|
|
@@ -1099,8 +744,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1099
744
|
* @param {*} [options] Override http request option.
|
|
1100
745
|
* @throws {RequiredError}
|
|
1101
746
|
*/
|
|
1102
|
-
getConnectionManager
|
|
1103
|
-
return localVarFp.getConnectionManager(serverId, options).then(
|
|
747
|
+
getConnectionManager(serverId, options) {
|
|
748
|
+
return localVarFp.getConnectionManager(serverId, options).then((request) => request(axios, basePath));
|
|
1104
749
|
},
|
|
1105
750
|
/**
|
|
1106
751
|
*
|
|
@@ -1109,8 +754,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1109
754
|
* @param {*} [options] Override http request option.
|
|
1110
755
|
* @throws {RequiredError}
|
|
1111
756
|
*/
|
|
1112
|
-
getConnectionManager2
|
|
1113
|
-
return localVarFp.getConnectionManager2(serverId, options).then(
|
|
757
|
+
getConnectionManager2(serverId, options) {
|
|
758
|
+
return localVarFp.getConnectionManager2(serverId, options).then((request) => request(axios, basePath));
|
|
1114
759
|
},
|
|
1115
760
|
/**
|
|
1116
761
|
*
|
|
@@ -1119,8 +764,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1119
764
|
* @param {*} [options] Override http request option.
|
|
1120
765
|
* @throws {RequiredError}
|
|
1121
766
|
*/
|
|
1122
|
-
getConnectionManager3
|
|
1123
|
-
return localVarFp.getConnectionManager3(serverId, options).then(
|
|
767
|
+
getConnectionManager3(serverId, options) {
|
|
768
|
+
return localVarFp.getConnectionManager3(serverId, options).then((request) => request(axios, basePath));
|
|
1124
769
|
},
|
|
1125
770
|
/**
|
|
1126
771
|
*
|
|
@@ -1129,8 +774,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1129
774
|
* @param {*} [options] Override http request option.
|
|
1130
775
|
* @throws {RequiredError}
|
|
1131
776
|
*/
|
|
1132
|
-
getContentDirectory
|
|
1133
|
-
return localVarFp.getContentDirectory(serverId, options).then(
|
|
777
|
+
getContentDirectory(serverId, options) {
|
|
778
|
+
return localVarFp.getContentDirectory(serverId, options).then((request) => request(axios, basePath));
|
|
1134
779
|
},
|
|
1135
780
|
/**
|
|
1136
781
|
*
|
|
@@ -1139,8 +784,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1139
784
|
* @param {*} [options] Override http request option.
|
|
1140
785
|
* @throws {RequiredError}
|
|
1141
786
|
*/
|
|
1142
|
-
getContentDirectory2
|
|
1143
|
-
return localVarFp.getContentDirectory2(serverId, options).then(
|
|
787
|
+
getContentDirectory2(serverId, options) {
|
|
788
|
+
return localVarFp.getContentDirectory2(serverId, options).then((request) => request(axios, basePath));
|
|
1144
789
|
},
|
|
1145
790
|
/**
|
|
1146
791
|
*
|
|
@@ -1149,8 +794,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1149
794
|
* @param {*} [options] Override http request option.
|
|
1150
795
|
* @throws {RequiredError}
|
|
1151
796
|
*/
|
|
1152
|
-
getContentDirectory3
|
|
1153
|
-
return localVarFp.getContentDirectory3(serverId, options).then(
|
|
797
|
+
getContentDirectory3(serverId, options) {
|
|
798
|
+
return localVarFp.getContentDirectory3(serverId, options).then((request) => request(axios, basePath));
|
|
1154
799
|
},
|
|
1155
800
|
/**
|
|
1156
801
|
*
|
|
@@ -1159,8 +804,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1159
804
|
* @param {*} [options] Override http request option.
|
|
1160
805
|
* @throws {RequiredError}
|
|
1161
806
|
*/
|
|
1162
|
-
getDescriptionXml
|
|
1163
|
-
return localVarFp.getDescriptionXml(serverId, options).then(
|
|
807
|
+
getDescriptionXml(serverId, options) {
|
|
808
|
+
return localVarFp.getDescriptionXml(serverId, options).then((request) => request(axios, basePath));
|
|
1164
809
|
},
|
|
1165
810
|
/**
|
|
1166
811
|
*
|
|
@@ -1169,8 +814,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1169
814
|
* @param {*} [options] Override http request option.
|
|
1170
815
|
* @throws {RequiredError}
|
|
1171
816
|
*/
|
|
1172
|
-
getDescriptionXml2
|
|
1173
|
-
return localVarFp.getDescriptionXml2(serverId, options).then(
|
|
817
|
+
getDescriptionXml2(serverId, options) {
|
|
818
|
+
return localVarFp.getDescriptionXml2(serverId, options).then((request) => request(axios, basePath));
|
|
1174
819
|
},
|
|
1175
820
|
/**
|
|
1176
821
|
*
|
|
@@ -1179,8 +824,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1179
824
|
* @param {*} [options] Override http request option.
|
|
1180
825
|
* @throws {RequiredError}
|
|
1181
826
|
*/
|
|
1182
|
-
getIcon
|
|
1183
|
-
return localVarFp.getIcon(fileName, options).then(
|
|
827
|
+
getIcon(fileName, options) {
|
|
828
|
+
return localVarFp.getIcon(fileName, options).then((request) => request(axios, basePath));
|
|
1184
829
|
},
|
|
1185
830
|
/**
|
|
1186
831
|
*
|
|
@@ -1190,8 +835,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1190
835
|
* @param {*} [options] Override http request option.
|
|
1191
836
|
* @throws {RequiredError}
|
|
1192
837
|
*/
|
|
1193
|
-
getIconId
|
|
1194
|
-
return localVarFp.getIconId(serverId, fileName, options).then(
|
|
838
|
+
getIconId(serverId, fileName, options) {
|
|
839
|
+
return localVarFp.getIconId(serverId, fileName, options).then((request) => request(axios, basePath));
|
|
1195
840
|
},
|
|
1196
841
|
/**
|
|
1197
842
|
*
|
|
@@ -1200,8 +845,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1200
845
|
* @param {*} [options] Override http request option.
|
|
1201
846
|
* @throws {RequiredError}
|
|
1202
847
|
*/
|
|
1203
|
-
getMediaReceiverRegistrar
|
|
1204
|
-
return localVarFp.getMediaReceiverRegistrar(serverId, options).then(
|
|
848
|
+
getMediaReceiverRegistrar(serverId, options) {
|
|
849
|
+
return localVarFp.getMediaReceiverRegistrar(serverId, options).then((request) => request(axios, basePath));
|
|
1205
850
|
},
|
|
1206
851
|
/**
|
|
1207
852
|
*
|
|
@@ -1210,8 +855,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1210
855
|
* @param {*} [options] Override http request option.
|
|
1211
856
|
* @throws {RequiredError}
|
|
1212
857
|
*/
|
|
1213
|
-
getMediaReceiverRegistrar2
|
|
1214
|
-
return localVarFp.getMediaReceiverRegistrar2(serverId, options).then(
|
|
858
|
+
getMediaReceiverRegistrar2(serverId, options) {
|
|
859
|
+
return localVarFp.getMediaReceiverRegistrar2(serverId, options).then((request) => request(axios, basePath));
|
|
1215
860
|
},
|
|
1216
861
|
/**
|
|
1217
862
|
*
|
|
@@ -1220,8 +865,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1220
865
|
* @param {*} [options] Override http request option.
|
|
1221
866
|
* @throws {RequiredError}
|
|
1222
867
|
*/
|
|
1223
|
-
getMediaReceiverRegistrar3
|
|
1224
|
-
return localVarFp.getMediaReceiverRegistrar3(serverId, options).then(
|
|
868
|
+
getMediaReceiverRegistrar3(serverId, options) {
|
|
869
|
+
return localVarFp.getMediaReceiverRegistrar3(serverId, options).then((request) => request(axios, basePath));
|
|
1225
870
|
},
|
|
1226
871
|
/**
|
|
1227
872
|
*
|
|
@@ -1230,8 +875,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1230
875
|
* @param {*} [options] Override http request option.
|
|
1231
876
|
* @throws {RequiredError}
|
|
1232
877
|
*/
|
|
1233
|
-
processConnectionManagerControlRequest
|
|
1234
|
-
return localVarFp.processConnectionManagerControlRequest(serverId, options).then(
|
|
878
|
+
processConnectionManagerControlRequest(serverId, options) {
|
|
879
|
+
return localVarFp.processConnectionManagerControlRequest(serverId, options).then((request) => request(axios, basePath));
|
|
1235
880
|
},
|
|
1236
881
|
/**
|
|
1237
882
|
*
|
|
@@ -1240,8 +885,8 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1240
885
|
* @param {*} [options] Override http request option.
|
|
1241
886
|
* @throws {RequiredError}
|
|
1242
887
|
*/
|
|
1243
|
-
processContentDirectoryControlRequest
|
|
1244
|
-
return localVarFp.processContentDirectoryControlRequest(serverId, options).then(
|
|
888
|
+
processContentDirectoryControlRequest(serverId, options) {
|
|
889
|
+
return localVarFp.processContentDirectoryControlRequest(serverId, options).then((request) => request(axios, basePath));
|
|
1245
890
|
},
|
|
1246
891
|
/**
|
|
1247
892
|
*
|
|
@@ -1250,23 +895,18 @@ var DlnaServerApiFactory = function (configuration, basePath, axios) {
|
|
|
1250
895
|
* @param {*} [options] Override http request option.
|
|
1251
896
|
* @throws {RequiredError}
|
|
1252
897
|
*/
|
|
1253
|
-
processMediaReceiverRegistrarControlRequest
|
|
1254
|
-
return localVarFp.processMediaReceiverRegistrarControlRequest(serverId, options).then(
|
|
898
|
+
processMediaReceiverRegistrarControlRequest(serverId, options) {
|
|
899
|
+
return localVarFp.processMediaReceiverRegistrarControlRequest(serverId, options).then((request) => request(axios, basePath));
|
|
1255
900
|
},
|
|
1256
901
|
};
|
|
1257
902
|
};
|
|
1258
|
-
exports.DlnaServerApiFactory = DlnaServerApiFactory;
|
|
1259
903
|
/**
|
|
1260
904
|
* DlnaServerApi - object-oriented interface
|
|
1261
905
|
* @export
|
|
1262
906
|
* @class DlnaServerApi
|
|
1263
907
|
* @extends {BaseAPI}
|
|
1264
908
|
*/
|
|
1265
|
-
|
|
1266
|
-
__extends(DlnaServerApi, _super);
|
|
1267
|
-
function DlnaServerApi() {
|
|
1268
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1269
|
-
}
|
|
909
|
+
class DlnaServerApi extends BaseAPI {
|
|
1270
910
|
/**
|
|
1271
911
|
*
|
|
1272
912
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -1275,10 +915,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1275
915
|
* @throws {RequiredError}
|
|
1276
916
|
* @memberof DlnaServerApi
|
|
1277
917
|
*/
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
};
|
|
918
|
+
getConnectionManager(requestParameters, options) {
|
|
919
|
+
return DlnaServerApiFp(this.configuration).getConnectionManager(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
920
|
+
}
|
|
1282
921
|
/**
|
|
1283
922
|
*
|
|
1284
923
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -1287,10 +926,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1287
926
|
* @throws {RequiredError}
|
|
1288
927
|
* @memberof DlnaServerApi
|
|
1289
928
|
*/
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
};
|
|
929
|
+
getConnectionManager2(requestParameters, options) {
|
|
930
|
+
return DlnaServerApiFp(this.configuration).getConnectionManager2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
931
|
+
}
|
|
1294
932
|
/**
|
|
1295
933
|
*
|
|
1296
934
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -1299,10 +937,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1299
937
|
* @throws {RequiredError}
|
|
1300
938
|
* @memberof DlnaServerApi
|
|
1301
939
|
*/
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
};
|
|
940
|
+
getConnectionManager3(requestParameters, options) {
|
|
941
|
+
return DlnaServerApiFp(this.configuration).getConnectionManager3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
942
|
+
}
|
|
1306
943
|
/**
|
|
1307
944
|
*
|
|
1308
945
|
* @summary Gets Dlna content directory xml.
|
|
@@ -1311,10 +948,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1311
948
|
* @throws {RequiredError}
|
|
1312
949
|
* @memberof DlnaServerApi
|
|
1313
950
|
*/
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
};
|
|
951
|
+
getContentDirectory(requestParameters, options) {
|
|
952
|
+
return DlnaServerApiFp(this.configuration).getContentDirectory(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
953
|
+
}
|
|
1318
954
|
/**
|
|
1319
955
|
*
|
|
1320
956
|
* @summary Gets Dlna content directory xml.
|
|
@@ -1323,10 +959,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1323
959
|
* @throws {RequiredError}
|
|
1324
960
|
* @memberof DlnaServerApi
|
|
1325
961
|
*/
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
};
|
|
962
|
+
getContentDirectory2(requestParameters, options) {
|
|
963
|
+
return DlnaServerApiFp(this.configuration).getContentDirectory2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
964
|
+
}
|
|
1330
965
|
/**
|
|
1331
966
|
*
|
|
1332
967
|
* @summary Gets Dlna content directory xml.
|
|
@@ -1335,10 +970,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1335
970
|
* @throws {RequiredError}
|
|
1336
971
|
* @memberof DlnaServerApi
|
|
1337
972
|
*/
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
};
|
|
973
|
+
getContentDirectory3(requestParameters, options) {
|
|
974
|
+
return DlnaServerApiFp(this.configuration).getContentDirectory3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
975
|
+
}
|
|
1342
976
|
/**
|
|
1343
977
|
*
|
|
1344
978
|
* @summary Get Description Xml.
|
|
@@ -1347,10 +981,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1347
981
|
* @throws {RequiredError}
|
|
1348
982
|
* @memberof DlnaServerApi
|
|
1349
983
|
*/
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
};
|
|
984
|
+
getDescriptionXml(requestParameters, options) {
|
|
985
|
+
return DlnaServerApiFp(this.configuration).getDescriptionXml(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
986
|
+
}
|
|
1354
987
|
/**
|
|
1355
988
|
*
|
|
1356
989
|
* @summary Get Description Xml.
|
|
@@ -1359,10 +992,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1359
992
|
* @throws {RequiredError}
|
|
1360
993
|
* @memberof DlnaServerApi
|
|
1361
994
|
*/
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
};
|
|
995
|
+
getDescriptionXml2(requestParameters, options) {
|
|
996
|
+
return DlnaServerApiFp(this.configuration).getDescriptionXml2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
997
|
+
}
|
|
1366
998
|
/**
|
|
1367
999
|
*
|
|
1368
1000
|
* @summary Gets a server icon.
|
|
@@ -1371,10 +1003,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1371
1003
|
* @throws {RequiredError}
|
|
1372
1004
|
* @memberof DlnaServerApi
|
|
1373
1005
|
*/
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
};
|
|
1006
|
+
getIcon(requestParameters, options) {
|
|
1007
|
+
return DlnaServerApiFp(this.configuration).getIcon(requestParameters.fileName, options).then((request) => request(this.axios, this.basePath));
|
|
1008
|
+
}
|
|
1378
1009
|
/**
|
|
1379
1010
|
*
|
|
1380
1011
|
* @summary Gets a server icon.
|
|
@@ -1383,10 +1014,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1383
1014
|
* @throws {RequiredError}
|
|
1384
1015
|
* @memberof DlnaServerApi
|
|
1385
1016
|
*/
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
};
|
|
1017
|
+
getIconId(requestParameters, options) {
|
|
1018
|
+
return DlnaServerApiFp(this.configuration).getIconId(requestParameters.serverId, requestParameters.fileName, options).then((request) => request(this.axios, this.basePath));
|
|
1019
|
+
}
|
|
1390
1020
|
/**
|
|
1391
1021
|
*
|
|
1392
1022
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -1395,10 +1025,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1395
1025
|
* @throws {RequiredError}
|
|
1396
1026
|
* @memberof DlnaServerApi
|
|
1397
1027
|
*/
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
};
|
|
1028
|
+
getMediaReceiverRegistrar(requestParameters, options) {
|
|
1029
|
+
return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1030
|
+
}
|
|
1402
1031
|
/**
|
|
1403
1032
|
*
|
|
1404
1033
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -1407,10 +1036,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1407
1036
|
* @throws {RequiredError}
|
|
1408
1037
|
* @memberof DlnaServerApi
|
|
1409
1038
|
*/
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
};
|
|
1039
|
+
getMediaReceiverRegistrar2(requestParameters, options) {
|
|
1040
|
+
return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar2(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1041
|
+
}
|
|
1414
1042
|
/**
|
|
1415
1043
|
*
|
|
1416
1044
|
* @summary Gets Dlna media receiver registrar xml.
|
|
@@ -1419,10 +1047,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1419
1047
|
* @throws {RequiredError}
|
|
1420
1048
|
* @memberof DlnaServerApi
|
|
1421
1049
|
*/
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
};
|
|
1050
|
+
getMediaReceiverRegistrar3(requestParameters, options) {
|
|
1051
|
+
return DlnaServerApiFp(this.configuration).getMediaReceiverRegistrar3(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1052
|
+
}
|
|
1426
1053
|
/**
|
|
1427
1054
|
*
|
|
1428
1055
|
* @summary Process a connection manager control request.
|
|
@@ -1431,10 +1058,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1431
1058
|
* @throws {RequiredError}
|
|
1432
1059
|
* @memberof DlnaServerApi
|
|
1433
1060
|
*/
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
};
|
|
1061
|
+
processConnectionManagerControlRequest(requestParameters, options) {
|
|
1062
|
+
return DlnaServerApiFp(this.configuration).processConnectionManagerControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1063
|
+
}
|
|
1438
1064
|
/**
|
|
1439
1065
|
*
|
|
1440
1066
|
* @summary Process a content directory control request.
|
|
@@ -1443,10 +1069,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1443
1069
|
* @throws {RequiredError}
|
|
1444
1070
|
* @memberof DlnaServerApi
|
|
1445
1071
|
*/
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
};
|
|
1072
|
+
processContentDirectoryControlRequest(requestParameters, options) {
|
|
1073
|
+
return DlnaServerApiFp(this.configuration).processContentDirectoryControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1074
|
+
}
|
|
1450
1075
|
/**
|
|
1451
1076
|
*
|
|
1452
1077
|
* @summary Process a media receiver registrar control request.
|
|
@@ -1455,10 +1080,9 @@ var DlnaServerApi = /** @class */ (function (_super) {
|
|
|
1455
1080
|
* @throws {RequiredError}
|
|
1456
1081
|
* @memberof DlnaServerApi
|
|
1457
1082
|
*/
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
}
|
|
1464
|
-
exports.DlnaServerApi = DlnaServerApi;
|
|
1083
|
+
processMediaReceiverRegistrarControlRequest(requestParameters, options) {
|
|
1084
|
+
return DlnaServerApiFp(this.configuration).processMediaReceiverRegistrarControlRequest(requestParameters.serverId, options).then((request) => request(this.axios, this.basePath));
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export { DlnaServerApi, DlnaServerApiAxiosParamCreator, DlnaServerApiFactory, DlnaServerApiFp };
|