@jellyfin/sdk 0.9.0 → 0.11.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 +10 -0
- package/lib/api.d.ts +0 -11
- package/lib/api.js +0 -14
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.d.ts +9 -12
- package/lib/generated-client/api/activity-log-api.js +15 -18
- package/lib/generated-client/api/api-key-api.d.ts +18 -18
- package/lib/generated-client/api/api-key-api.js +40 -38
- package/lib/generated-client/api/artists-api.d.ts +27 -90
- package/lib/generated-client/api/artists-api.js +43 -104
- package/lib/generated-client/api/audio-api.d.ts +81 -249
- package/lib/generated-client/api/audio-api.js +105 -266
- package/lib/generated-client/api/branding-api.d.ts +16 -16
- package/lib/generated-client/api/branding-api.js +31 -29
- package/lib/generated-client/api/channels-api.d.ts +33 -51
- package/lib/generated-client/api/channels-api.js +68 -82
- package/lib/generated-client/api/client-log-api.d.ts +13 -13
- package/lib/generated-client/api/client-log-api.js +17 -17
- package/lib/generated-client/api/collection-api.d.ts +19 -24
- package/lib/generated-client/api/collection-api.js +43 -46
- package/lib/generated-client/api/configuration-api.d.ts +28 -29
- package/lib/generated-client/api/configuration-api.js +65 -62
- package/lib/generated-client/api/dashboard-api.d.ts +14 -14
- package/lib/generated-client/api/dashboard-api.js +28 -27
- package/lib/generated-client/api/devices-api.d.ts +31 -33
- package/lib/generated-client/api/devices-api.js +71 -68
- package/lib/generated-client/api/display-preferences-api.d.ts +14 -19
- package/lib/generated-client/api/display-preferences-api.js +29 -33
- package/lib/generated-client/api/dynamic-hls-api.d.ts +246 -607
- package/lib/generated-client/api/dynamic-hls-api.js +269 -628
- package/lib/generated-client/api/environment-api.d.ts +33 -35
- package/lib/generated-client/api/environment-api.js +76 -73
- package/lib/generated-client/api/filter-api.d.ts +17 -29
- package/lib/generated-client/api/filter-api.js +29 -40
- package/lib/generated-client/api/genres-api.d.ts +20 -38
- package/lib/generated-client/api/genres-api.js +29 -46
- package/lib/generated-client/api/hls-segment-api.d.ts +28 -35
- package/lib/generated-client/api/hls-segment-api.js +68 -71
- package/lib/generated-client/api/image-api.d.ts +206 -644
- package/lib/generated-client/api/image-api.js +501 -903
- package/lib/generated-client/api/instant-mix-api.d.ts +46 -102
- package/lib/generated-client/api/instant-mix-api.js +113 -162
- package/lib/generated-client/api/item-lookup-api.d.ts +69 -71
- package/lib/generated-client/api/item-lookup-api.js +155 -147
- package/lib/generated-client/api/item-refresh-api.d.ts +9 -13
- package/lib/generated-client/api/item-refresh-api.js +15 -19
- package/lib/generated-client/api/item-update-api.d.ts +20 -22
- package/lib/generated-client/api/item-update-api.js +43 -43
- package/lib/generated-client/api/items-api.d.ts +44 -137
- package/lib/generated-client/api/items-api.js +63 -156
- package/lib/generated-client/api/library-api.d.ts +185 -170
- package/lib/generated-client/api/library-api.js +378 -359
- package/lib/generated-client/api/library-structure-api.d.ts +48 -58
- package/lib/generated-client/api/library-structure-api.js +110 -113
- package/lib/generated-client/api/live-tv-api.d.ts +224 -332
- package/lib/generated-client/api/live-tv-api.js +558 -626
- package/lib/generated-client/api/localization-api.d.ts +23 -23
- package/lib/generated-client/api/localization-api.js +45 -42
- package/lib/generated-client/api/lyrics-api.d.ts +39 -42
- package/lib/generated-client/api/lyrics-api.js +87 -85
- package/lib/generated-client/api/media-info-api.d.ts +40 -59
- package/lib/generated-client/api/media-info-api.js +77 -95
- package/lib/generated-client/api/media-segments-api.d.ts +95 -0
- package/lib/generated-client/api/media-segments-api.js +123 -0
- package/lib/generated-client/api/movies-api.d.ts +10 -14
- package/lib/generated-client/api/movies-api.js +15 -19
- package/lib/generated-client/api/music-genres-api.d.ts +20 -38
- package/lib/generated-client/api/music-genres-api.js +29 -46
- package/lib/generated-client/api/package-api.d.ts +33 -37
- package/lib/generated-client/api/package-api.js +79 -78
- package/lib/generated-client/api/persons-api.d.ts +18 -31
- package/lib/generated-client/api/persons-api.js +29 -41
- package/lib/generated-client/api/playlists-api.d.ts +109 -84
- package/lib/generated-client/api/playlists-api.js +207 -154
- package/lib/generated-client/api/playstate-api.d.ts +54 -80
- package/lib/generated-client/api/playstate-api.js +127 -145
- package/lib/generated-client/api/plugins-api.d.ts +48 -52
- package/lib/generated-client/api/plugins-api.js +124 -120
- package/lib/generated-client/api/quick-connect-api.d.ts +22 -23
- package/lib/generated-client/api/quick-connect-api.js +48 -46
- package/lib/generated-client/api/remote-image-api.d.ts +21 -28
- package/lib/generated-client/api/remote-image-api.js +43 -48
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +30 -32
- package/lib/generated-client/api/scheduled-tasks-api.js +71 -69
- package/lib/generated-client/api/search-api.d.ts +11 -28
- package/lib/generated-client/api/search-api.js +15 -32
- package/lib/generated-client/api/session-api.d.ts +90 -117
- package/lib/generated-client/api/session-api.js +216 -228
- package/lib/generated-client/api/startup-api.d.ts +37 -37
- package/lib/generated-client/api/startup-api.js +87 -81
- package/lib/generated-client/api/studios-api.d.ts +18 -35
- package/lib/generated-client/api/studios-api.js +29 -45
- package/lib/generated-client/api/subtitle-api.d.ts +55 -86
- package/lib/generated-client/api/subtitle-api.js +136 -158
- package/lib/generated-client/api/suggestions-api.d.ts +11 -16
- package/lib/generated-client/api/suggestions-api.js +15 -20
- package/lib/generated-client/api/sync-play-api.d.ts +120 -120
- package/lib/generated-client/api/sync-play-api.js +280 -260
- package/lib/generated-client/api/system-api.d.ts +49 -49
- package/lib/generated-client/api/system-api.js +111 -102
- package/lib/generated-client/api/time-sync-api.d.ts +8 -8
- package/lib/generated-client/api/time-sync-api.js +11 -11
- package/lib/generated-client/api/tmdb-api.d.ts +8 -8
- package/lib/generated-client/api/tmdb-api.js +12 -12
- package/lib/generated-client/api/trailers-api.d.ts +19 -102
- package/lib/generated-client/api/trailers-api.js +15 -98
- package/lib/generated-client/api/trickplay-api.d.ts +13 -18
- package/lib/generated-client/api/trickplay-api.js +29 -33
- package/lib/generated-client/api/tv-shows-api.d.ts +27 -72
- package/lib/generated-client/api/tv-shows-api.js +57 -99
- package/lib/generated-client/api/universal-audio-api.d.ts +30 -48
- package/lib/generated-client/api/universal-audio-api.js +41 -64
- package/lib/generated-client/api/user-api.d.ts +83 -88
- package/lib/generated-client/api/user-api.js +186 -178
- package/lib/generated-client/api/user-library-api.d.ts +59 -78
- package/lib/generated-client/api/user-library-api.js +141 -151
- package/lib/generated-client/api/user-views-api.d.ts +16 -19
- package/lib/generated-client/api/user-views-api.js +29 -31
- package/lib/generated-client/api/video-attachments-api.d.ts +8 -10
- package/lib/generated-client/api/video-attachments-api.js +14 -16
- package/lib/generated-client/api/videos-api.d.ts +97 -274
- package/lib/generated-client/api/videos-api.js +147 -314
- package/lib/generated-client/api/years-api.d.ts +21 -36
- package/lib/generated-client/api/years-api.js +29 -43
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/base.d.ts +15 -4
- package/lib/generated-client/base.js +8 -4
- package/lib/generated-client/common.d.ts +3 -3
- package/lib/generated-client/common.js +30 -24
- package/lib/generated-client/configuration.d.ts +8 -0
- package/lib/generated-client/configuration.js +1 -0
- package/lib/generated-client/index.js +8 -1
- package/lib/generated-client/models/access-schedule.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-message.d.ts +2 -2
- package/lib/generated-client/models/activity-log-entry-query-result.d.ts +3 -3
- package/lib/generated-client/models/activity-log-entry-start-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry-stop-message.d.ts +1 -1
- package/lib/generated-client/models/activity-log-entry.d.ts +1 -1
- package/lib/generated-client/models/add-virtual-folder-dto.d.ts +1 -1
- package/lib/generated-client/models/album-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/album-info.d.ts +5 -5
- package/lib/generated-client/models/all-theme-media-result.d.ts +1 -1
- package/lib/generated-client/models/artist-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/artist-info.d.ts +3 -3
- package/lib/generated-client/models/authentication-info-query-result.d.ts +3 -3
- package/lib/generated-client/models/authentication-result.d.ts +7 -7
- package/lib/generated-client/models/base-item-dto-query-result.d.ts +3 -3
- package/lib/generated-client/models/base-item-dto.d.ts +26 -26
- package/lib/generated-client/models/base-item-person.d.ts +2 -2
- package/lib/generated-client/models/book-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/book-info.d.ts +2 -2
- package/lib/generated-client/models/box-set-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/box-set-info.d.ts +2 -2
- package/lib/generated-client/models/channel-features.d.ts +3 -3
- package/lib/generated-client/models/channel-mapping-options-dto.d.ts +3 -3
- package/lib/generated-client/models/client-capabilities-dto.d.ts +3 -17
- package/lib/generated-client/models/client-capabilities.d.ts +3 -3
- package/lib/generated-client/models/codec-profile.d.ts +15 -9
- package/lib/generated-client/models/container-profile.d.ts +12 -6
- package/lib/generated-client/models/create-playlist-dto.d.ts +2 -2
- package/lib/generated-client/models/deinterlace-method.d.ts +20 -0
- package/lib/generated-client/models/{hardware-encoding-type.js → deinterlace-method.js} +5 -10
- package/lib/generated-client/models/device-info-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/device-info-dto.d.ts +84 -0
- package/lib/generated-client/models/device-info-query-result.d.ts +1 -1
- package/lib/generated-client/models/device-info.d.ts +1 -1
- package/lib/generated-client/models/device-profile.d.ts +8 -8
- package/lib/generated-client/models/direct-play-profile.d.ts +6 -6
- package/lib/generated-client/models/display-preferences-dto.d.ts +4 -4
- package/lib/generated-client/models/down-mix-stereo-algorithms.d.ts +3 -1
- package/lib/generated-client/models/down-mix-stereo-algorithms.js +4 -2
- package/lib/generated-client/models/encoder-preset.d.ts +29 -0
- package/lib/generated-client/models/encoder-preset.js +32 -0
- package/lib/generated-client/models/encoding-options.d.ts +43 -19
- package/lib/generated-client/models/external-id-info.d.ts +2 -1
- package/lib/generated-client/models/file-system-entry-info.d.ts +1 -1
- package/lib/generated-client/models/force-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/forgot-password-result.d.ts +1 -1
- package/lib/generated-client/models/general-command-message.d.ts +2 -2
- package/lib/generated-client/models/general-command.d.ts +3 -3
- package/lib/generated-client/models/get-programs-dto.d.ts +34 -34
- package/lib/generated-client/models/group-info-dto-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-info-dto.d.ts +1 -1
- package/lib/generated-client/models/group-state-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/group-state-update.d.ts +2 -2
- package/lib/generated-client/models/group-update.d.ts +23 -5
- package/lib/generated-client/models/hardware-acceleration-type.d.ts +26 -0
- package/lib/generated-client/models/hardware-acceleration-type.js +29 -0
- package/lib/generated-client/models/image-info.d.ts +1 -1
- package/lib/generated-client/models/image-option.d.ts +1 -1
- package/lib/generated-client/models/image-provider-info.d.ts +1 -1
- package/lib/generated-client/models/inbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/inbound-web-socket-message.d.ts +22 -8
- package/lib/generated-client/models/index.d.ts +13 -6
- package/lib/generated-client/models/index.js +7 -1
- package/lib/generated-client/models/installation-info.d.ts +1 -1
- package/lib/generated-client/models/library-changed-message.d.ts +2 -2
- package/lib/generated-client/models/library-options-result-dto.d.ts +8 -2
- package/lib/generated-client/models/library-options.d.ts +57 -3
- package/lib/generated-client/models/library-type-options-dto.d.ts +3 -3
- package/lib/generated-client/models/listings-provider-info.d.ts +1 -1
- package/lib/generated-client/models/live-stream-response.d.ts +1 -1
- package/lib/generated-client/models/live-tv-info.d.ts +1 -1
- package/lib/generated-client/models/live-tv-options.d.ts +2 -2
- package/lib/generated-client/models/live-tv-service-info.d.ts +1 -1
- package/lib/generated-client/models/lyric-dto.d.ts +2 -2
- package/lib/generated-client/models/media-path-dto.d.ts +1 -1
- package/lib/generated-client/models/media-path-info.d.ts +0 -6
- package/lib/generated-client/models/media-segment-dto-query-result.d.ts +36 -0
- package/lib/generated-client/models/media-segment-dto.d.ts +48 -0
- package/lib/generated-client/models/media-segment-type.d.ts +24 -0
- package/lib/generated-client/models/media-segment-type.js +27 -0
- package/lib/generated-client/models/media-source-info.d.ts +29 -11
- package/lib/generated-client/models/media-stream.d.ts +17 -5
- package/lib/generated-client/models/media-update-info-dto.d.ts +1 -1
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/movie-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/movie-info.d.ts +2 -2
- package/lib/generated-client/models/music-video-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/music-video-info.d.ts +2 -2
- package/lib/generated-client/models/open-live-stream-dto.d.ts +8 -2
- package/lib/generated-client/models/outbound-keep-alive-message.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +85 -29
- package/lib/generated-client/models/package-info.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/person-lookup-info.d.ts +2 -2
- package/lib/generated-client/models/play-message.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update-group-update.d.ts +2 -2
- package/lib/generated-client/models/play-queue-update.d.ts +4 -4
- package/lib/generated-client/models/play-request.d.ts +1 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +7 -1
- package/lib/generated-client/models/playback-info-response.d.ts +2 -2
- package/lib/generated-client/models/playback-progress-info.d.ts +5 -5
- package/lib/generated-client/models/playback-start-info.d.ts +5 -5
- package/lib/generated-client/models/playback-stop-info.d.ts +2 -2
- package/lib/generated-client/models/player-state-info.d.ts +3 -3
- package/lib/generated-client/models/playlist-dto.d.ts +36 -0
- package/lib/generated-client/models/playstate-message.d.ts +2 -2
- package/lib/generated-client/models/playstate-request.d.ts +1 -1
- package/lib/generated-client/models/plugin-info.d.ts +1 -1
- package/lib/generated-client/models/plugin-installation-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-completed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installation-failed-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-installing-message.d.ts +2 -2
- package/lib/generated-client/models/plugin-uninstalled-message.d.ts +2 -2
- package/lib/generated-client/models/problem-details.d.ts +1 -1
- package/lib/generated-client/models/profile-condition.d.ts +2 -2
- package/lib/generated-client/models/query-filters.d.ts +1 -1
- package/lib/generated-client/models/queue-request-dto.d.ts +1 -1
- package/lib/generated-client/models/recommendation-dto.d.ts +2 -2
- package/lib/generated-client/models/refresh-progress-message.d.ts +3 -3
- package/lib/generated-client/models/remote-image-info.d.ts +2 -2
- package/lib/generated-client/models/remote-image-result.d.ts +1 -1
- package/lib/generated-client/models/remote-lyric-info-dto.d.ts +1 -1
- package/lib/generated-client/models/remote-search-result.d.ts +2 -2
- package/lib/generated-client/models/restart-required-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-task-ended-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-message.d.ts +2 -2
- package/lib/generated-client/models/scheduled-tasks-info-start-message.d.ts +1 -1
- package/lib/generated-client/models/scheduled-tasks-info-stop-message.d.ts +1 -1
- package/lib/generated-client/models/search-hint-result.d.ts +1 -1
- package/lib/generated-client/models/search-hint.d.ts +3 -3
- package/lib/generated-client/models/send-command.d.ts +1 -1
- package/lib/generated-client/models/series-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/series-info.d.ts +2 -2
- package/lib/generated-client/models/series-timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/series-timer-created-message.d.ts +2 -2
- 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 +3 -3
- package/lib/generated-client/models/server-configuration.d.ts +8 -14
- package/lib/generated-client/models/server-restarting-message.d.ts +1 -1
- package/lib/generated-client/models/server-shutting-down-message.d.ts +1 -1
- package/lib/generated-client/models/session-info-dto.d.ts +199 -0
- package/lib/generated-client/models/session-info.d.ts +8 -8
- package/lib/generated-client/models/sessions-message.d.ts +4 -4
- package/lib/generated-client/models/sessions-start-message.d.ts +1 -1
- package/lib/generated-client/models/sessions-stop-message.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 +2 -2
- package/lib/generated-client/models/string-group-update.d.ts +1 -1
- package/lib/generated-client/models/subtitle-profile.d.ts +6 -6
- package/lib/generated-client/models/sync-play-command-message.d.ts +2 -2
- package/lib/generated-client/models/sync-play-group-update-command-message.d.ts +2 -2
- package/lib/generated-client/models/system-info.d.ts +2 -2
- package/lib/generated-client/models/task-info.d.ts +3 -3
- package/lib/generated-client/models/task-result.d.ts +1 -1
- package/lib/generated-client/models/task-trigger-info.d.ts +1 -1
- package/lib/generated-client/models/theme-media-result.d.ts +2 -2
- package/lib/generated-client/models/timer-cancelled-message.d.ts +2 -2
- package/lib/generated-client/models/timer-created-message.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 +3 -3
- package/lib/generated-client/models/tonemapping-algorithm.d.ts +26 -0
- package/lib/generated-client/models/tonemapping-algorithm.js +29 -0
- package/lib/generated-client/models/tonemapping-mode.d.ts +23 -0
- package/lib/generated-client/models/tonemapping-mode.js +26 -0
- package/lib/generated-client/models/tonemapping-range.d.ts +21 -0
- package/lib/generated-client/models/tonemapping-range.js +24 -0
- package/lib/generated-client/models/trailer-info-remote-search-query.d.ts +1 -1
- package/lib/generated-client/models/trailer-info.d.ts +2 -2
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +16 -16
- package/lib/generated-client/models/transcoding-profile.d.ts +24 -18
- package/lib/generated-client/models/trickplay-options.d.ts +8 -2
- package/lib/generated-client/models/tuner-host-info.d.ts +18 -0
- package/lib/generated-client/models/type-options.d.ts +1 -1
- package/lib/generated-client/models/update-library-options-dto.d.ts +1 -1
- package/lib/generated-client/models/update-media-path-request-dto.d.ts +1 -1
- package/lib/generated-client/models/update-playlist-dto.d.ts +1 -1
- package/lib/generated-client/models/user-configuration.d.ts +1 -1
- package/lib/generated-client/models/user-data-change-info.d.ts +3 -3
- package/lib/generated-client/models/user-data-changed-message.d.ts +2 -2
- package/lib/generated-client/models/user-deleted-message.d.ts +1 -1
- package/lib/generated-client/models/user-dto.d.ts +2 -2
- package/lib/generated-client/models/user-item-data-dto.d.ts +2 -2
- package/lib/generated-client/models/user-policy.d.ts +3 -3
- package/lib/generated-client/models/user-updated-message.d.ts +2 -2
- package/lib/generated-client/models/virtual-folder-info.d.ts +2 -2
- package/lib/generated-client/models/web-socket-message.d.ts +2 -2
- package/lib/utils/address-candidates.js +15 -10
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/utils/api/index.d.ts +1 -0
- package/lib/utils/api/index.js +1 -0
- package/lib/utils/api/media-segments-api.d.ts +8 -0
- package/lib/utils/api/media-segments-api.js +12 -0
- package/lib/utils/index.js +1 -1
- package/lib/utils/url/index.d.ts +16 -3
- package/lib/utils/url/index.js +26 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +13 -12
- package/lib/node_modules/tslib/tslib.es6.js +0 -33
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
|
|
2
1
|
import globalAxios from 'axios';
|
|
3
2
|
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
4
|
-
import { BaseAPI, BASE_PATH } from '../base.js';
|
|
3
|
+
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
5
4
|
|
|
6
5
|
/* tslint:disable */
|
|
7
6
|
/* eslint-disable */
|
|
@@ -31,7 +30,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
31
30
|
* @param {*} [options] Override http request option.
|
|
32
31
|
* @throws {RequiredError}
|
|
33
32
|
*/
|
|
34
|
-
addListingProvider:
|
|
33
|
+
addListingProvider: async (pw, validateListings, validateLogin, listingsProviderInfo, options = {}) => {
|
|
35
34
|
const localVarPath = `/LiveTv/ListingProviders`;
|
|
36
35
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37
36
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -39,11 +38,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
39
38
|
if (configuration) {
|
|
40
39
|
baseOptions = configuration.baseOptions;
|
|
41
40
|
}
|
|
42
|
-
const localVarRequestOptions =
|
|
41
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
43
42
|
const localVarHeaderParameter = {};
|
|
44
43
|
const localVarQueryParameter = {};
|
|
45
44
|
// authentication CustomAuthentication required
|
|
46
|
-
|
|
45
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
47
46
|
if (pw !== undefined) {
|
|
48
47
|
localVarQueryParameter['pw'] = pw;
|
|
49
48
|
}
|
|
@@ -56,13 +55,13 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
56
55
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57
56
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58
57
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
|
-
localVarRequestOptions.headers =
|
|
58
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
60
59
|
localVarRequestOptions.data = serializeDataIfNeeded(listingsProviderInfo, localVarRequestOptions, configuration);
|
|
61
60
|
return {
|
|
62
61
|
url: toPathString(localVarUrlObj),
|
|
63
62
|
options: localVarRequestOptions,
|
|
64
63
|
};
|
|
65
|
-
}
|
|
64
|
+
},
|
|
66
65
|
/**
|
|
67
66
|
*
|
|
68
67
|
* @summary Adds a tuner host.
|
|
@@ -70,7 +69,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
* @param {*} [options] Override http request option.
|
|
71
70
|
* @throws {RequiredError}
|
|
72
71
|
*/
|
|
73
|
-
addTunerHost:
|
|
72
|
+
addTunerHost: async (tunerHostInfo, options = {}) => {
|
|
74
73
|
const localVarPath = `/LiveTv/TunerHosts`;
|
|
75
74
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
76
75
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -78,21 +77,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
78
77
|
if (configuration) {
|
|
79
78
|
baseOptions = configuration.baseOptions;
|
|
80
79
|
}
|
|
81
|
-
const localVarRequestOptions =
|
|
80
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
82
81
|
const localVarHeaderParameter = {};
|
|
83
82
|
const localVarQueryParameter = {};
|
|
84
83
|
// authentication CustomAuthentication required
|
|
85
|
-
|
|
84
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
86
85
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
87
86
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
88
87
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
|
-
localVarRequestOptions.headers =
|
|
88
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
90
89
|
localVarRequestOptions.data = serializeDataIfNeeded(tunerHostInfo, localVarRequestOptions, configuration);
|
|
91
90
|
return {
|
|
92
91
|
url: toPathString(localVarUrlObj),
|
|
93
92
|
options: localVarRequestOptions,
|
|
94
93
|
};
|
|
95
|
-
}
|
|
94
|
+
},
|
|
96
95
|
/**
|
|
97
96
|
*
|
|
98
97
|
* @summary Cancels a live tv series timer.
|
|
@@ -100,7 +99,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
100
99
|
* @param {*} [options] Override http request option.
|
|
101
100
|
* @throws {RequiredError}
|
|
102
101
|
*/
|
|
103
|
-
cancelSeriesTimer:
|
|
102
|
+
cancelSeriesTimer: async (timerId, options = {}) => {
|
|
104
103
|
// verify required parameter 'timerId' is not null or undefined
|
|
105
104
|
assertParamExists('cancelSeriesTimer', 'timerId', timerId);
|
|
106
105
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -111,19 +110,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
111
110
|
if (configuration) {
|
|
112
111
|
baseOptions = configuration.baseOptions;
|
|
113
112
|
}
|
|
114
|
-
const localVarRequestOptions =
|
|
113
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
115
114
|
const localVarHeaderParameter = {};
|
|
116
115
|
const localVarQueryParameter = {};
|
|
117
116
|
// authentication CustomAuthentication required
|
|
118
|
-
|
|
117
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
119
118
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
120
119
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
121
|
-
localVarRequestOptions.headers =
|
|
120
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
122
121
|
return {
|
|
123
122
|
url: toPathString(localVarUrlObj),
|
|
124
123
|
options: localVarRequestOptions,
|
|
125
124
|
};
|
|
126
|
-
}
|
|
125
|
+
},
|
|
127
126
|
/**
|
|
128
127
|
*
|
|
129
128
|
* @summary Cancels a live tv timer.
|
|
@@ -131,7 +130,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
131
130
|
* @param {*} [options] Override http request option.
|
|
132
131
|
* @throws {RequiredError}
|
|
133
132
|
*/
|
|
134
|
-
cancelTimer:
|
|
133
|
+
cancelTimer: async (timerId, options = {}) => {
|
|
135
134
|
// verify required parameter 'timerId' is not null or undefined
|
|
136
135
|
assertParamExists('cancelTimer', 'timerId', timerId);
|
|
137
136
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -142,19 +141,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
142
141
|
if (configuration) {
|
|
143
142
|
baseOptions = configuration.baseOptions;
|
|
144
143
|
}
|
|
145
|
-
const localVarRequestOptions =
|
|
144
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
146
145
|
const localVarHeaderParameter = {};
|
|
147
146
|
const localVarQueryParameter = {};
|
|
148
147
|
// authentication CustomAuthentication required
|
|
149
|
-
|
|
148
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
150
149
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
151
150
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
152
|
-
localVarRequestOptions.headers =
|
|
151
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
153
152
|
return {
|
|
154
153
|
url: toPathString(localVarUrlObj),
|
|
155
154
|
options: localVarRequestOptions,
|
|
156
155
|
};
|
|
157
|
-
}
|
|
156
|
+
},
|
|
158
157
|
/**
|
|
159
158
|
*
|
|
160
159
|
* @summary Creates a live tv series timer.
|
|
@@ -162,7 +161,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
162
161
|
* @param {*} [options] Override http request option.
|
|
163
162
|
* @throws {RequiredError}
|
|
164
163
|
*/
|
|
165
|
-
createSeriesTimer:
|
|
164
|
+
createSeriesTimer: async (seriesTimerInfoDto, options = {}) => {
|
|
166
165
|
const localVarPath = `/LiveTv/SeriesTimers`;
|
|
167
166
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
168
167
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -170,21 +169,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
170
169
|
if (configuration) {
|
|
171
170
|
baseOptions = configuration.baseOptions;
|
|
172
171
|
}
|
|
173
|
-
const localVarRequestOptions =
|
|
172
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
174
173
|
const localVarHeaderParameter = {};
|
|
175
174
|
const localVarQueryParameter = {};
|
|
176
175
|
// authentication CustomAuthentication required
|
|
177
|
-
|
|
176
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
178
177
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
179
178
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
180
179
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
181
|
-
localVarRequestOptions.headers =
|
|
180
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
182
181
|
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
|
|
183
182
|
return {
|
|
184
183
|
url: toPathString(localVarUrlObj),
|
|
185
184
|
options: localVarRequestOptions,
|
|
186
185
|
};
|
|
187
|
-
}
|
|
186
|
+
},
|
|
188
187
|
/**
|
|
189
188
|
*
|
|
190
189
|
* @summary Creates a live tv timer.
|
|
@@ -192,7 +191,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
192
191
|
* @param {*} [options] Override http request option.
|
|
193
192
|
* @throws {RequiredError}
|
|
194
193
|
*/
|
|
195
|
-
createTimer:
|
|
194
|
+
createTimer: async (timerInfoDto, options = {}) => {
|
|
196
195
|
const localVarPath = `/LiveTv/Timers`;
|
|
197
196
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
197
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -200,21 +199,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
200
199
|
if (configuration) {
|
|
201
200
|
baseOptions = configuration.baseOptions;
|
|
202
201
|
}
|
|
203
|
-
const localVarRequestOptions =
|
|
202
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
204
203
|
const localVarHeaderParameter = {};
|
|
205
204
|
const localVarQueryParameter = {};
|
|
206
205
|
// authentication CustomAuthentication required
|
|
207
|
-
|
|
206
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
208
207
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
209
208
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
210
209
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
-
localVarRequestOptions.headers =
|
|
210
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
212
211
|
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
|
|
213
212
|
return {
|
|
214
213
|
url: toPathString(localVarUrlObj),
|
|
215
214
|
options: localVarRequestOptions,
|
|
216
215
|
};
|
|
217
|
-
}
|
|
216
|
+
},
|
|
218
217
|
/**
|
|
219
218
|
*
|
|
220
219
|
* @summary Delete listing provider.
|
|
@@ -222,7 +221,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
222
221
|
* @param {*} [options] Override http request option.
|
|
223
222
|
* @throws {RequiredError}
|
|
224
223
|
*/
|
|
225
|
-
deleteListingProvider:
|
|
224
|
+
deleteListingProvider: async (id, options = {}) => {
|
|
226
225
|
const localVarPath = `/LiveTv/ListingProviders`;
|
|
227
226
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
228
227
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -230,22 +229,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
230
229
|
if (configuration) {
|
|
231
230
|
baseOptions = configuration.baseOptions;
|
|
232
231
|
}
|
|
233
|
-
const localVarRequestOptions =
|
|
232
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
234
233
|
const localVarHeaderParameter = {};
|
|
235
234
|
const localVarQueryParameter = {};
|
|
236
235
|
// authentication CustomAuthentication required
|
|
237
|
-
|
|
236
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
238
237
|
if (id !== undefined) {
|
|
239
238
|
localVarQueryParameter['id'] = id;
|
|
240
239
|
}
|
|
241
240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
242
241
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
243
|
-
localVarRequestOptions.headers =
|
|
242
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
244
243
|
return {
|
|
245
244
|
url: toPathString(localVarUrlObj),
|
|
246
245
|
options: localVarRequestOptions,
|
|
247
246
|
};
|
|
248
|
-
}
|
|
247
|
+
},
|
|
249
248
|
/**
|
|
250
249
|
*
|
|
251
250
|
* @summary Deletes a live tv recording.
|
|
@@ -253,7 +252,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
253
252
|
* @param {*} [options] Override http request option.
|
|
254
253
|
* @throws {RequiredError}
|
|
255
254
|
*/
|
|
256
|
-
deleteRecording:
|
|
255
|
+
deleteRecording: async (recordingId, options = {}) => {
|
|
257
256
|
// verify required parameter 'recordingId' is not null or undefined
|
|
258
257
|
assertParamExists('deleteRecording', 'recordingId', recordingId);
|
|
259
258
|
const localVarPath = `/LiveTv/Recordings/{recordingId}`
|
|
@@ -264,19 +263,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
264
263
|
if (configuration) {
|
|
265
264
|
baseOptions = configuration.baseOptions;
|
|
266
265
|
}
|
|
267
|
-
const localVarRequestOptions =
|
|
266
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
268
267
|
const localVarHeaderParameter = {};
|
|
269
268
|
const localVarQueryParameter = {};
|
|
270
269
|
// authentication CustomAuthentication required
|
|
271
|
-
|
|
270
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
272
271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
272
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
|
-
localVarRequestOptions.headers =
|
|
273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
275
274
|
return {
|
|
276
275
|
url: toPathString(localVarUrlObj),
|
|
277
276
|
options: localVarRequestOptions,
|
|
278
277
|
};
|
|
279
|
-
}
|
|
278
|
+
},
|
|
280
279
|
/**
|
|
281
280
|
*
|
|
282
281
|
* @summary Deletes a tuner host.
|
|
@@ -284,7 +283,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
284
283
|
* @param {*} [options] Override http request option.
|
|
285
284
|
* @throws {RequiredError}
|
|
286
285
|
*/
|
|
287
|
-
deleteTunerHost:
|
|
286
|
+
deleteTunerHost: async (id, options = {}) => {
|
|
288
287
|
const localVarPath = `/LiveTv/TunerHosts`;
|
|
289
288
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
290
289
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -292,22 +291,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
292
291
|
if (configuration) {
|
|
293
292
|
baseOptions = configuration.baseOptions;
|
|
294
293
|
}
|
|
295
|
-
const localVarRequestOptions =
|
|
294
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
296
295
|
const localVarHeaderParameter = {};
|
|
297
296
|
const localVarQueryParameter = {};
|
|
298
297
|
// authentication CustomAuthentication required
|
|
299
|
-
|
|
298
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
300
299
|
if (id !== undefined) {
|
|
301
300
|
localVarQueryParameter['id'] = id;
|
|
302
301
|
}
|
|
303
302
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
-
localVarRequestOptions.headers =
|
|
304
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
306
305
|
return {
|
|
307
306
|
url: toPathString(localVarUrlObj),
|
|
308
307
|
options: localVarRequestOptions,
|
|
309
308
|
};
|
|
310
|
-
}
|
|
309
|
+
},
|
|
311
310
|
/**
|
|
312
311
|
*
|
|
313
312
|
* @summary Discover tuners.
|
|
@@ -315,7 +314,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
315
314
|
* @param {*} [options] Override http request option.
|
|
316
315
|
* @throws {RequiredError}
|
|
317
316
|
*/
|
|
318
|
-
discoverTuners:
|
|
317
|
+
discoverTuners: async (newDevicesOnly, options = {}) => {
|
|
319
318
|
const localVarPath = `/LiveTv/Tuners/Discover`;
|
|
320
319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -323,22 +322,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
323
322
|
if (configuration) {
|
|
324
323
|
baseOptions = configuration.baseOptions;
|
|
325
324
|
}
|
|
326
|
-
const localVarRequestOptions =
|
|
325
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
327
326
|
const localVarHeaderParameter = {};
|
|
328
327
|
const localVarQueryParameter = {};
|
|
329
328
|
// authentication CustomAuthentication required
|
|
330
|
-
|
|
329
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
331
330
|
if (newDevicesOnly !== undefined) {
|
|
332
331
|
localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
|
|
333
332
|
}
|
|
334
333
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
335
334
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
|
-
localVarRequestOptions.headers =
|
|
335
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
337
336
|
return {
|
|
338
337
|
url: toPathString(localVarUrlObj),
|
|
339
338
|
options: localVarRequestOptions,
|
|
340
339
|
};
|
|
341
|
-
}
|
|
340
|
+
},
|
|
342
341
|
/**
|
|
343
342
|
*
|
|
344
343
|
* @summary Discover tuners.
|
|
@@ -346,7 +345,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
346
345
|
* @param {*} [options] Override http request option.
|
|
347
346
|
* @throws {RequiredError}
|
|
348
347
|
*/
|
|
349
|
-
discvoverTuners:
|
|
348
|
+
discvoverTuners: async (newDevicesOnly, options = {}) => {
|
|
350
349
|
const localVarPath = `/LiveTv/Tuners/Discvover`;
|
|
351
350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
352
351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -354,22 +353,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
354
353
|
if (configuration) {
|
|
355
354
|
baseOptions = configuration.baseOptions;
|
|
356
355
|
}
|
|
357
|
-
const localVarRequestOptions =
|
|
356
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
358
357
|
const localVarHeaderParameter = {};
|
|
359
358
|
const localVarQueryParameter = {};
|
|
360
359
|
// authentication CustomAuthentication required
|
|
361
|
-
|
|
360
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
362
361
|
if (newDevicesOnly !== undefined) {
|
|
363
362
|
localVarQueryParameter['newDevicesOnly'] = newDevicesOnly;
|
|
364
363
|
}
|
|
365
364
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
366
365
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
367
|
-
localVarRequestOptions.headers =
|
|
366
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
368
367
|
return {
|
|
369
368
|
url: toPathString(localVarUrlObj),
|
|
370
369
|
options: localVarRequestOptions,
|
|
371
370
|
};
|
|
372
|
-
}
|
|
371
|
+
},
|
|
373
372
|
/**
|
|
374
373
|
*
|
|
375
374
|
* @summary Gets a live tv channel.
|
|
@@ -378,7 +377,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
378
377
|
* @param {*} [options] Override http request option.
|
|
379
378
|
* @throws {RequiredError}
|
|
380
379
|
*/
|
|
381
|
-
getChannel:
|
|
380
|
+
getChannel: async (channelId, userId, options = {}) => {
|
|
382
381
|
// verify required parameter 'channelId' is not null or undefined
|
|
383
382
|
assertParamExists('getChannel', 'channelId', channelId);
|
|
384
383
|
const localVarPath = `/LiveTv/Channels/{channelId}`
|
|
@@ -389,22 +388,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
389
388
|
if (configuration) {
|
|
390
389
|
baseOptions = configuration.baseOptions;
|
|
391
390
|
}
|
|
392
|
-
const localVarRequestOptions =
|
|
391
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
393
392
|
const localVarHeaderParameter = {};
|
|
394
393
|
const localVarQueryParameter = {};
|
|
395
394
|
// authentication CustomAuthentication required
|
|
396
|
-
|
|
395
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
397
396
|
if (userId !== undefined) {
|
|
398
397
|
localVarQueryParameter['userId'] = userId;
|
|
399
398
|
}
|
|
400
399
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
401
400
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
402
|
-
localVarRequestOptions.headers =
|
|
401
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
403
402
|
return {
|
|
404
403
|
url: toPathString(localVarUrlObj),
|
|
405
404
|
options: localVarRequestOptions,
|
|
406
405
|
};
|
|
407
|
-
}
|
|
406
|
+
},
|
|
408
407
|
/**
|
|
409
408
|
*
|
|
410
409
|
* @summary Get channel mapping options.
|
|
@@ -412,7 +411,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
412
411
|
* @param {*} [options] Override http request option.
|
|
413
412
|
* @throws {RequiredError}
|
|
414
413
|
*/
|
|
415
|
-
getChannelMappingOptions:
|
|
414
|
+
getChannelMappingOptions: async (providerId, options = {}) => {
|
|
416
415
|
const localVarPath = `/LiveTv/ChannelMappingOptions`;
|
|
417
416
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
418
417
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -420,29 +419,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
420
419
|
if (configuration) {
|
|
421
420
|
baseOptions = configuration.baseOptions;
|
|
422
421
|
}
|
|
423
|
-
const localVarRequestOptions =
|
|
422
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
424
423
|
const localVarHeaderParameter = {};
|
|
425
424
|
const localVarQueryParameter = {};
|
|
426
425
|
// authentication CustomAuthentication required
|
|
427
|
-
|
|
426
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
428
427
|
if (providerId !== undefined) {
|
|
429
428
|
localVarQueryParameter['providerId'] = providerId;
|
|
430
429
|
}
|
|
431
430
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
432
431
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
433
|
-
localVarRequestOptions.headers =
|
|
432
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
434
433
|
return {
|
|
435
434
|
url: toPathString(localVarUrlObj),
|
|
436
435
|
options: localVarRequestOptions,
|
|
437
436
|
};
|
|
438
|
-
}
|
|
437
|
+
},
|
|
439
438
|
/**
|
|
440
439
|
*
|
|
441
440
|
* @summary Gets default listings provider info.
|
|
442
441
|
* @param {*} [options] Override http request option.
|
|
443
442
|
* @throws {RequiredError}
|
|
444
443
|
*/
|
|
445
|
-
getDefaultListingProvider:
|
|
444
|
+
getDefaultListingProvider: async (options = {}) => {
|
|
446
445
|
const localVarPath = `/LiveTv/ListingProviders/Default`;
|
|
447
446
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
448
447
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -450,19 +449,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
450
449
|
if (configuration) {
|
|
451
450
|
baseOptions = configuration.baseOptions;
|
|
452
451
|
}
|
|
453
|
-
const localVarRequestOptions =
|
|
452
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
454
453
|
const localVarHeaderParameter = {};
|
|
455
454
|
const localVarQueryParameter = {};
|
|
456
455
|
// authentication CustomAuthentication required
|
|
457
|
-
|
|
456
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
458
457
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
459
458
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
460
|
-
localVarRequestOptions.headers =
|
|
459
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
461
460
|
return {
|
|
462
461
|
url: toPathString(localVarUrlObj),
|
|
463
462
|
options: localVarRequestOptions,
|
|
464
463
|
};
|
|
465
|
-
}
|
|
464
|
+
},
|
|
466
465
|
/**
|
|
467
466
|
*
|
|
468
467
|
* @summary Gets the default values for a new timer.
|
|
@@ -470,7 +469,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
470
469
|
* @param {*} [options] Override http request option.
|
|
471
470
|
* @throws {RequiredError}
|
|
472
471
|
*/
|
|
473
|
-
getDefaultTimer:
|
|
472
|
+
getDefaultTimer: async (programId, options = {}) => {
|
|
474
473
|
const localVarPath = `/LiveTv/Timers/Defaults`;
|
|
475
474
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
476
475
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -478,29 +477,29 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
478
477
|
if (configuration) {
|
|
479
478
|
baseOptions = configuration.baseOptions;
|
|
480
479
|
}
|
|
481
|
-
const localVarRequestOptions =
|
|
480
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
482
481
|
const localVarHeaderParameter = {};
|
|
483
482
|
const localVarQueryParameter = {};
|
|
484
483
|
// authentication CustomAuthentication required
|
|
485
|
-
|
|
484
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
486
485
|
if (programId !== undefined) {
|
|
487
486
|
localVarQueryParameter['programId'] = programId;
|
|
488
487
|
}
|
|
489
488
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
490
489
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
491
|
-
localVarRequestOptions.headers =
|
|
490
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
492
491
|
return {
|
|
493
492
|
url: toPathString(localVarUrlObj),
|
|
494
493
|
options: localVarRequestOptions,
|
|
495
494
|
};
|
|
496
|
-
}
|
|
495
|
+
},
|
|
497
496
|
/**
|
|
498
497
|
*
|
|
499
498
|
* @summary Get guid info.
|
|
500
499
|
* @param {*} [options] Override http request option.
|
|
501
500
|
* @throws {RequiredError}
|
|
502
501
|
*/
|
|
503
|
-
getGuideInfo:
|
|
502
|
+
getGuideInfo: async (options = {}) => {
|
|
504
503
|
const localVarPath = `/LiveTv/GuideInfo`;
|
|
505
504
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
506
505
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -508,19 +507,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
508
507
|
if (configuration) {
|
|
509
508
|
baseOptions = configuration.baseOptions;
|
|
510
509
|
}
|
|
511
|
-
const localVarRequestOptions =
|
|
510
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
512
511
|
const localVarHeaderParameter = {};
|
|
513
512
|
const localVarQueryParameter = {};
|
|
514
513
|
// authentication CustomAuthentication required
|
|
515
|
-
|
|
514
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
516
515
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
517
516
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
518
|
-
localVarRequestOptions.headers =
|
|
517
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
519
518
|
return {
|
|
520
519
|
url: toPathString(localVarUrlObj),
|
|
521
520
|
options: localVarRequestOptions,
|
|
522
521
|
};
|
|
523
|
-
}
|
|
522
|
+
},
|
|
524
523
|
/**
|
|
525
524
|
*
|
|
526
525
|
* @summary Gets available lineups.
|
|
@@ -531,7 +530,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
531
530
|
* @param {*} [options] Override http request option.
|
|
532
531
|
* @throws {RequiredError}
|
|
533
532
|
*/
|
|
534
|
-
getLineups:
|
|
533
|
+
getLineups: async (id, type, location, country, options = {}) => {
|
|
535
534
|
const localVarPath = `/LiveTv/ListingProviders/Lineups`;
|
|
536
535
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
537
536
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -539,11 +538,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
539
538
|
if (configuration) {
|
|
540
539
|
baseOptions = configuration.baseOptions;
|
|
541
540
|
}
|
|
542
|
-
const localVarRequestOptions =
|
|
541
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
543
542
|
const localVarHeaderParameter = {};
|
|
544
543
|
const localVarQueryParameter = {};
|
|
545
544
|
// authentication CustomAuthentication required
|
|
546
|
-
|
|
545
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
547
546
|
if (id !== undefined) {
|
|
548
547
|
localVarQueryParameter['id'] = id;
|
|
549
548
|
}
|
|
@@ -558,12 +557,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
558
557
|
}
|
|
559
558
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
560
559
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
561
|
-
localVarRequestOptions.headers =
|
|
560
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
562
561
|
return {
|
|
563
562
|
url: toPathString(localVarUrlObj),
|
|
564
563
|
options: localVarRequestOptions,
|
|
565
564
|
};
|
|
566
|
-
}
|
|
565
|
+
},
|
|
567
566
|
/**
|
|
568
567
|
*
|
|
569
568
|
* @summary Gets a live tv recording stream.
|
|
@@ -571,7 +570,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
571
570
|
* @param {*} [options] Override http request option.
|
|
572
571
|
* @throws {RequiredError}
|
|
573
572
|
*/
|
|
574
|
-
getLiveRecordingFile:
|
|
573
|
+
getLiveRecordingFile: async (recordingId, options = {}) => {
|
|
575
574
|
// verify required parameter 'recordingId' is not null or undefined
|
|
576
575
|
assertParamExists('getLiveRecordingFile', 'recordingId', recordingId);
|
|
577
576
|
const localVarPath = `/LiveTv/LiveRecordings/{recordingId}/stream`
|
|
@@ -582,17 +581,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
582
581
|
if (configuration) {
|
|
583
582
|
baseOptions = configuration.baseOptions;
|
|
584
583
|
}
|
|
585
|
-
const localVarRequestOptions =
|
|
584
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
586
585
|
const localVarHeaderParameter = {};
|
|
587
586
|
const localVarQueryParameter = {};
|
|
588
587
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
589
588
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
590
|
-
localVarRequestOptions.headers =
|
|
589
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
591
590
|
return {
|
|
592
591
|
url: toPathString(localVarUrlObj),
|
|
593
592
|
options: localVarRequestOptions,
|
|
594
593
|
};
|
|
595
|
-
}
|
|
594
|
+
},
|
|
596
595
|
/**
|
|
597
596
|
*
|
|
598
597
|
* @summary Gets a live tv channel stream.
|
|
@@ -601,7 +600,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
601
600
|
* @param {*} [options] Override http request option.
|
|
602
601
|
* @throws {RequiredError}
|
|
603
602
|
*/
|
|
604
|
-
getLiveStreamFile:
|
|
603
|
+
getLiveStreamFile: async (streamId, container, options = {}) => {
|
|
605
604
|
// verify required parameter 'streamId' is not null or undefined
|
|
606
605
|
assertParamExists('getLiveStreamFile', 'streamId', streamId);
|
|
607
606
|
// verify required parameter 'container' is not null or undefined
|
|
@@ -615,17 +614,17 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
615
614
|
if (configuration) {
|
|
616
615
|
baseOptions = configuration.baseOptions;
|
|
617
616
|
}
|
|
618
|
-
const localVarRequestOptions =
|
|
617
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
619
618
|
const localVarHeaderParameter = {};
|
|
620
619
|
const localVarQueryParameter = {};
|
|
621
620
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
622
621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
623
|
-
localVarRequestOptions.headers =
|
|
622
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
624
623
|
return {
|
|
625
624
|
url: toPathString(localVarUrlObj),
|
|
626
625
|
options: localVarRequestOptions,
|
|
627
626
|
};
|
|
628
|
-
}
|
|
627
|
+
},
|
|
629
628
|
/**
|
|
630
629
|
*
|
|
631
630
|
* @summary Gets available live tv channels.
|
|
@@ -653,7 +652,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
653
652
|
* @param {*} [options] Override http request option.
|
|
654
653
|
* @throws {RequiredError}
|
|
655
654
|
*/
|
|
656
|
-
getLiveTvChannels:
|
|
655
|
+
getLiveTvChannels: async (type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options = {}) => {
|
|
657
656
|
const localVarPath = `/LiveTv/Channels`;
|
|
658
657
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
659
658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -661,11 +660,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
661
660
|
if (configuration) {
|
|
662
661
|
baseOptions = configuration.baseOptions;
|
|
663
662
|
}
|
|
664
|
-
const localVarRequestOptions =
|
|
663
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
665
664
|
const localVarHeaderParameter = {};
|
|
666
665
|
const localVarQueryParameter = {};
|
|
667
666
|
// authentication CustomAuthentication required
|
|
668
|
-
|
|
667
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
669
668
|
if (type !== undefined) {
|
|
670
669
|
localVarQueryParameter['type'] = type;
|
|
671
670
|
}
|
|
@@ -731,19 +730,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
731
730
|
}
|
|
732
731
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
733
732
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
734
|
-
localVarRequestOptions.headers =
|
|
733
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
735
734
|
return {
|
|
736
735
|
url: toPathString(localVarUrlObj),
|
|
737
736
|
options: localVarRequestOptions,
|
|
738
737
|
};
|
|
739
|
-
}
|
|
738
|
+
},
|
|
740
739
|
/**
|
|
741
740
|
*
|
|
742
741
|
* @summary Gets available live tv services.
|
|
743
742
|
* @param {*} [options] Override http request option.
|
|
744
743
|
* @throws {RequiredError}
|
|
745
744
|
*/
|
|
746
|
-
getLiveTvInfo:
|
|
745
|
+
getLiveTvInfo: async (options = {}) => {
|
|
747
746
|
const localVarPath = `/LiveTv/Info`;
|
|
748
747
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
749
748
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -751,19 +750,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
751
750
|
if (configuration) {
|
|
752
751
|
baseOptions = configuration.baseOptions;
|
|
753
752
|
}
|
|
754
|
-
const localVarRequestOptions =
|
|
753
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
755
754
|
const localVarHeaderParameter = {};
|
|
756
755
|
const localVarQueryParameter = {};
|
|
757
756
|
// authentication CustomAuthentication required
|
|
758
|
-
|
|
757
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
759
758
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
760
759
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
761
|
-
localVarRequestOptions.headers =
|
|
760
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
762
761
|
return {
|
|
763
762
|
url: toPathString(localVarUrlObj),
|
|
764
763
|
options: localVarRequestOptions,
|
|
765
764
|
};
|
|
766
|
-
}
|
|
765
|
+
},
|
|
767
766
|
/**
|
|
768
767
|
*
|
|
769
768
|
* @summary Gets available live tv epgs.
|
|
@@ -797,7 +796,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
797
796
|
* @param {*} [options] Override http request option.
|
|
798
797
|
* @throws {RequiredError}
|
|
799
798
|
*/
|
|
800
|
-
getLiveTvPrograms:
|
|
799
|
+
getLiveTvPrograms: async (channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options = {}) => {
|
|
801
800
|
const localVarPath = `/LiveTv/Programs`;
|
|
802
801
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
803
802
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -805,11 +804,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
805
804
|
if (configuration) {
|
|
806
805
|
baseOptions = configuration.baseOptions;
|
|
807
806
|
}
|
|
808
|
-
const localVarRequestOptions =
|
|
807
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
809
808
|
const localVarHeaderParameter = {};
|
|
810
809
|
const localVarQueryParameter = {};
|
|
811
810
|
// authentication CustomAuthentication required
|
|
812
|
-
|
|
811
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
813
812
|
if (channelIds) {
|
|
814
813
|
localVarQueryParameter['channelIds'] = channelIds;
|
|
815
814
|
}
|
|
@@ -901,12 +900,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
901
900
|
}
|
|
902
901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
903
902
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
904
|
-
localVarRequestOptions.headers =
|
|
903
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
905
904
|
return {
|
|
906
905
|
url: toPathString(localVarUrlObj),
|
|
907
906
|
options: localVarRequestOptions,
|
|
908
907
|
};
|
|
909
|
-
}
|
|
908
|
+
},
|
|
910
909
|
/**
|
|
911
910
|
*
|
|
912
911
|
* @summary Gets a live tv program.
|
|
@@ -915,7 +914,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
915
914
|
* @param {*} [options] Override http request option.
|
|
916
915
|
* @throws {RequiredError}
|
|
917
916
|
*/
|
|
918
|
-
getProgram:
|
|
917
|
+
getProgram: async (programId, userId, options = {}) => {
|
|
919
918
|
// verify required parameter 'programId' is not null or undefined
|
|
920
919
|
assertParamExists('getProgram', 'programId', programId);
|
|
921
920
|
const localVarPath = `/LiveTv/Programs/{programId}`
|
|
@@ -926,22 +925,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
926
925
|
if (configuration) {
|
|
927
926
|
baseOptions = configuration.baseOptions;
|
|
928
927
|
}
|
|
929
|
-
const localVarRequestOptions =
|
|
928
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
930
929
|
const localVarHeaderParameter = {};
|
|
931
930
|
const localVarQueryParameter = {};
|
|
932
931
|
// authentication CustomAuthentication required
|
|
933
|
-
|
|
932
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
934
933
|
if (userId !== undefined) {
|
|
935
934
|
localVarQueryParameter['userId'] = userId;
|
|
936
935
|
}
|
|
937
936
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
938
937
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
939
|
-
localVarRequestOptions.headers =
|
|
938
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
940
939
|
return {
|
|
941
940
|
url: toPathString(localVarUrlObj),
|
|
942
941
|
options: localVarRequestOptions,
|
|
943
942
|
};
|
|
944
|
-
}
|
|
943
|
+
},
|
|
945
944
|
/**
|
|
946
945
|
*
|
|
947
946
|
* @summary Gets available live tv epgs.
|
|
@@ -949,7 +948,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
949
948
|
* @param {*} [options] Override http request option.
|
|
950
949
|
* @throws {RequiredError}
|
|
951
950
|
*/
|
|
952
|
-
getPrograms:
|
|
951
|
+
getPrograms: async (getProgramsDto, options = {}) => {
|
|
953
952
|
const localVarPath = `/LiveTv/Programs`;
|
|
954
953
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
955
954
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -957,21 +956,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
957
956
|
if (configuration) {
|
|
958
957
|
baseOptions = configuration.baseOptions;
|
|
959
958
|
}
|
|
960
|
-
const localVarRequestOptions =
|
|
959
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
961
960
|
const localVarHeaderParameter = {};
|
|
962
961
|
const localVarQueryParameter = {};
|
|
963
962
|
// authentication CustomAuthentication required
|
|
964
|
-
|
|
963
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
965
964
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
966
965
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
967
966
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
968
|
-
localVarRequestOptions.headers =
|
|
967
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
969
968
|
localVarRequestOptions.data = serializeDataIfNeeded(getProgramsDto, localVarRequestOptions, configuration);
|
|
970
969
|
return {
|
|
971
970
|
url: toPathString(localVarUrlObj),
|
|
972
971
|
options: localVarRequestOptions,
|
|
973
972
|
};
|
|
974
|
-
}
|
|
973
|
+
},
|
|
975
974
|
/**
|
|
976
975
|
*
|
|
977
976
|
* @summary Gets recommended live tv epgs.
|
|
@@ -994,7 +993,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
994
993
|
* @param {*} [options] Override http request option.
|
|
995
994
|
* @throws {RequiredError}
|
|
996
995
|
*/
|
|
997
|
-
getRecommendedPrograms:
|
|
996
|
+
getRecommendedPrograms: async (userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options = {}) => {
|
|
998
997
|
const localVarPath = `/LiveTv/Programs/Recommended`;
|
|
999
998
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1000
999
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1002,11 +1001,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1002
1001
|
if (configuration) {
|
|
1003
1002
|
baseOptions = configuration.baseOptions;
|
|
1004
1003
|
}
|
|
1005
|
-
const localVarRequestOptions =
|
|
1004
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1006
1005
|
const localVarHeaderParameter = {};
|
|
1007
1006
|
const localVarQueryParameter = {};
|
|
1008
1007
|
// authentication CustomAuthentication required
|
|
1009
|
-
|
|
1008
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1010
1009
|
if (userId !== undefined) {
|
|
1011
1010
|
localVarQueryParameter['userId'] = userId;
|
|
1012
1011
|
}
|
|
@@ -1057,12 +1056,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1057
1056
|
}
|
|
1058
1057
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1059
1058
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1060
|
-
localVarRequestOptions.headers =
|
|
1059
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1061
1060
|
return {
|
|
1062
1061
|
url: toPathString(localVarUrlObj),
|
|
1063
1062
|
options: localVarRequestOptions,
|
|
1064
1063
|
};
|
|
1065
|
-
}
|
|
1064
|
+
},
|
|
1066
1065
|
/**
|
|
1067
1066
|
*
|
|
1068
1067
|
* @summary Gets a live tv recording.
|
|
@@ -1071,7 +1070,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1071
1070
|
* @param {*} [options] Override http request option.
|
|
1072
1071
|
* @throws {RequiredError}
|
|
1073
1072
|
*/
|
|
1074
|
-
getRecording:
|
|
1073
|
+
getRecording: async (recordingId, userId, options = {}) => {
|
|
1075
1074
|
// verify required parameter 'recordingId' is not null or undefined
|
|
1076
1075
|
assertParamExists('getRecording', 'recordingId', recordingId);
|
|
1077
1076
|
const localVarPath = `/LiveTv/Recordings/{recordingId}`
|
|
@@ -1082,22 +1081,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1082
1081
|
if (configuration) {
|
|
1083
1082
|
baseOptions = configuration.baseOptions;
|
|
1084
1083
|
}
|
|
1085
|
-
const localVarRequestOptions =
|
|
1084
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1086
1085
|
const localVarHeaderParameter = {};
|
|
1087
1086
|
const localVarQueryParameter = {};
|
|
1088
1087
|
// authentication CustomAuthentication required
|
|
1089
|
-
|
|
1088
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1090
1089
|
if (userId !== undefined) {
|
|
1091
1090
|
localVarQueryParameter['userId'] = userId;
|
|
1092
1091
|
}
|
|
1093
1092
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1094
1093
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1095
|
-
localVarRequestOptions.headers =
|
|
1094
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1096
1095
|
return {
|
|
1097
1096
|
url: toPathString(localVarUrlObj),
|
|
1098
1097
|
options: localVarRequestOptions,
|
|
1099
1098
|
};
|
|
1100
|
-
}
|
|
1099
|
+
},
|
|
1101
1100
|
/**
|
|
1102
1101
|
*
|
|
1103
1102
|
* @summary Gets recording folders.
|
|
@@ -1105,7 +1104,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1105
1104
|
* @param {*} [options] Override http request option.
|
|
1106
1105
|
* @throws {RequiredError}
|
|
1107
1106
|
*/
|
|
1108
|
-
getRecordingFolders:
|
|
1107
|
+
getRecordingFolders: async (userId, options = {}) => {
|
|
1109
1108
|
const localVarPath = `/LiveTv/Recordings/Folders`;
|
|
1110
1109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1111
1110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1113,22 +1112,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1113
1112
|
if (configuration) {
|
|
1114
1113
|
baseOptions = configuration.baseOptions;
|
|
1115
1114
|
}
|
|
1116
|
-
const localVarRequestOptions =
|
|
1115
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1117
1116
|
const localVarHeaderParameter = {};
|
|
1118
1117
|
const localVarQueryParameter = {};
|
|
1119
1118
|
// authentication CustomAuthentication required
|
|
1120
|
-
|
|
1119
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1121
1120
|
if (userId !== undefined) {
|
|
1122
1121
|
localVarQueryParameter['userId'] = userId;
|
|
1123
1122
|
}
|
|
1124
1123
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1125
1124
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1126
|
-
localVarRequestOptions.headers =
|
|
1125
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1127
1126
|
return {
|
|
1128
1127
|
url: toPathString(localVarUrlObj),
|
|
1129
1128
|
options: localVarRequestOptions,
|
|
1130
1129
|
};
|
|
1131
|
-
}
|
|
1130
|
+
},
|
|
1132
1131
|
/**
|
|
1133
1132
|
*
|
|
1134
1133
|
* @summary Get recording group.
|
|
@@ -1137,7 +1136,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1137
1136
|
* @deprecated
|
|
1138
1137
|
* @throws {RequiredError}
|
|
1139
1138
|
*/
|
|
1140
|
-
getRecordingGroup:
|
|
1139
|
+
getRecordingGroup: async (groupId, options = {}) => {
|
|
1141
1140
|
// verify required parameter 'groupId' is not null or undefined
|
|
1142
1141
|
assertParamExists('getRecordingGroup', 'groupId', groupId);
|
|
1143
1142
|
const localVarPath = `/LiveTv/Recordings/Groups/{groupId}`
|
|
@@ -1148,19 +1147,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1148
1147
|
if (configuration) {
|
|
1149
1148
|
baseOptions = configuration.baseOptions;
|
|
1150
1149
|
}
|
|
1151
|
-
const localVarRequestOptions =
|
|
1150
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1152
1151
|
const localVarHeaderParameter = {};
|
|
1153
1152
|
const localVarQueryParameter = {};
|
|
1154
1153
|
// authentication CustomAuthentication required
|
|
1155
|
-
|
|
1154
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1156
1155
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1157
1156
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1158
|
-
localVarRequestOptions.headers =
|
|
1157
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1159
1158
|
return {
|
|
1160
1159
|
url: toPathString(localVarUrlObj),
|
|
1161
1160
|
options: localVarRequestOptions,
|
|
1162
1161
|
};
|
|
1163
|
-
}
|
|
1162
|
+
},
|
|
1164
1163
|
/**
|
|
1165
1164
|
*
|
|
1166
1165
|
* @summary Gets live tv recording groups.
|
|
@@ -1169,7 +1168,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1169
1168
|
* @deprecated
|
|
1170
1169
|
* @throws {RequiredError}
|
|
1171
1170
|
*/
|
|
1172
|
-
getRecordingGroups:
|
|
1171
|
+
getRecordingGroups: async (userId, options = {}) => {
|
|
1173
1172
|
const localVarPath = `/LiveTv/Recordings/Groups`;
|
|
1174
1173
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1175
1174
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1177,22 +1176,22 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1177
1176
|
if (configuration) {
|
|
1178
1177
|
baseOptions = configuration.baseOptions;
|
|
1179
1178
|
}
|
|
1180
|
-
const localVarRequestOptions =
|
|
1179
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1181
1180
|
const localVarHeaderParameter = {};
|
|
1182
1181
|
const localVarQueryParameter = {};
|
|
1183
1182
|
// authentication CustomAuthentication required
|
|
1184
|
-
|
|
1183
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1185
1184
|
if (userId !== undefined) {
|
|
1186
1185
|
localVarQueryParameter['userId'] = userId;
|
|
1187
1186
|
}
|
|
1188
1187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1189
1188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1190
|
-
localVarRequestOptions.headers =
|
|
1189
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1191
1190
|
return {
|
|
1192
1191
|
url: toPathString(localVarUrlObj),
|
|
1193
1192
|
options: localVarRequestOptions,
|
|
1194
1193
|
};
|
|
1195
|
-
}
|
|
1194
|
+
},
|
|
1196
1195
|
/**
|
|
1197
1196
|
*
|
|
1198
1197
|
* @summary Gets live tv recordings.
|
|
@@ -1218,7 +1217,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1218
1217
|
* @param {*} [options] Override http request option.
|
|
1219
1218
|
* @throws {RequiredError}
|
|
1220
1219
|
*/
|
|
1221
|
-
getRecordings:
|
|
1220
|
+
getRecordings: async (channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options = {}) => {
|
|
1222
1221
|
const localVarPath = `/LiveTv/Recordings`;
|
|
1223
1222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1224
1223
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1226,11 +1225,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1226
1225
|
if (configuration) {
|
|
1227
1226
|
baseOptions = configuration.baseOptions;
|
|
1228
1227
|
}
|
|
1229
|
-
const localVarRequestOptions =
|
|
1228
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1230
1229
|
const localVarHeaderParameter = {};
|
|
1231
1230
|
const localVarQueryParameter = {};
|
|
1232
1231
|
// authentication CustomAuthentication required
|
|
1233
|
-
|
|
1232
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1234
1233
|
if (channelId !== undefined) {
|
|
1235
1234
|
localVarQueryParameter['channelId'] = channelId;
|
|
1236
1235
|
}
|
|
@@ -1290,12 +1289,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1290
1289
|
}
|
|
1291
1290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1292
1291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1293
|
-
localVarRequestOptions.headers =
|
|
1292
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1294
1293
|
return {
|
|
1295
1294
|
url: toPathString(localVarUrlObj),
|
|
1296
1295
|
options: localVarRequestOptions,
|
|
1297
1296
|
};
|
|
1298
|
-
}
|
|
1297
|
+
},
|
|
1299
1298
|
/**
|
|
1300
1299
|
*
|
|
1301
1300
|
* @summary Gets live tv recording series.
|
|
@@ -1317,7 +1316,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1317
1316
|
* @deprecated
|
|
1318
1317
|
* @throws {RequiredError}
|
|
1319
1318
|
*/
|
|
1320
|
-
getRecordingsSeries:
|
|
1319
|
+
getRecordingsSeries: async (channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options = {}) => {
|
|
1321
1320
|
const localVarPath = `/LiveTv/Recordings/Series`;
|
|
1322
1321
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1323
1322
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1325,11 +1324,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1325
1324
|
if (configuration) {
|
|
1326
1325
|
baseOptions = configuration.baseOptions;
|
|
1327
1326
|
}
|
|
1328
|
-
const localVarRequestOptions =
|
|
1327
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1329
1328
|
const localVarHeaderParameter = {};
|
|
1330
1329
|
const localVarQueryParameter = {};
|
|
1331
1330
|
// authentication CustomAuthentication required
|
|
1332
|
-
|
|
1331
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1333
1332
|
if (channelId !== undefined) {
|
|
1334
1333
|
localVarQueryParameter['channelId'] = channelId;
|
|
1335
1334
|
}
|
|
@@ -1374,19 +1373,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1374
1373
|
}
|
|
1375
1374
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1376
1375
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1377
|
-
localVarRequestOptions.headers =
|
|
1376
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1378
1377
|
return {
|
|
1379
1378
|
url: toPathString(localVarUrlObj),
|
|
1380
1379
|
options: localVarRequestOptions,
|
|
1381
1380
|
};
|
|
1382
|
-
}
|
|
1381
|
+
},
|
|
1383
1382
|
/**
|
|
1384
1383
|
*
|
|
1385
1384
|
* @summary Gets available countries.
|
|
1386
1385
|
* @param {*} [options] Override http request option.
|
|
1387
1386
|
* @throws {RequiredError}
|
|
1388
1387
|
*/
|
|
1389
|
-
getSchedulesDirectCountries:
|
|
1388
|
+
getSchedulesDirectCountries: async (options = {}) => {
|
|
1390
1389
|
const localVarPath = `/LiveTv/ListingProviders/SchedulesDirect/Countries`;
|
|
1391
1390
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1392
1391
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1394,19 +1393,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1394
1393
|
if (configuration) {
|
|
1395
1394
|
baseOptions = configuration.baseOptions;
|
|
1396
1395
|
}
|
|
1397
|
-
const localVarRequestOptions =
|
|
1396
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1398
1397
|
const localVarHeaderParameter = {};
|
|
1399
1398
|
const localVarQueryParameter = {};
|
|
1400
1399
|
// authentication CustomAuthentication required
|
|
1401
|
-
|
|
1400
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1402
1401
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1403
1402
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1404
|
-
localVarRequestOptions.headers =
|
|
1403
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1405
1404
|
return {
|
|
1406
1405
|
url: toPathString(localVarUrlObj),
|
|
1407
1406
|
options: localVarRequestOptions,
|
|
1408
1407
|
};
|
|
1409
|
-
}
|
|
1408
|
+
},
|
|
1410
1409
|
/**
|
|
1411
1410
|
*
|
|
1412
1411
|
* @summary Gets a live tv series timer.
|
|
@@ -1414,7 +1413,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1414
1413
|
* @param {*} [options] Override http request option.
|
|
1415
1414
|
* @throws {RequiredError}
|
|
1416
1415
|
*/
|
|
1417
|
-
getSeriesTimer:
|
|
1416
|
+
getSeriesTimer: async (timerId, options = {}) => {
|
|
1418
1417
|
// verify required parameter 'timerId' is not null or undefined
|
|
1419
1418
|
assertParamExists('getSeriesTimer', 'timerId', timerId);
|
|
1420
1419
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -1425,19 +1424,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1425
1424
|
if (configuration) {
|
|
1426
1425
|
baseOptions = configuration.baseOptions;
|
|
1427
1426
|
}
|
|
1428
|
-
const localVarRequestOptions =
|
|
1427
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1429
1428
|
const localVarHeaderParameter = {};
|
|
1430
1429
|
const localVarQueryParameter = {};
|
|
1431
1430
|
// authentication CustomAuthentication required
|
|
1432
|
-
|
|
1431
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1433
1432
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1434
1433
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1435
|
-
localVarRequestOptions.headers =
|
|
1434
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1436
1435
|
return {
|
|
1437
1436
|
url: toPathString(localVarUrlObj),
|
|
1438
1437
|
options: localVarRequestOptions,
|
|
1439
1438
|
};
|
|
1440
|
-
}
|
|
1439
|
+
},
|
|
1441
1440
|
/**
|
|
1442
1441
|
*
|
|
1443
1442
|
* @summary Gets live tv series timers.
|
|
@@ -1446,7 +1445,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1446
1445
|
* @param {*} [options] Override http request option.
|
|
1447
1446
|
* @throws {RequiredError}
|
|
1448
1447
|
*/
|
|
1449
|
-
getSeriesTimers:
|
|
1448
|
+
getSeriesTimers: async (sortBy, sortOrder, options = {}) => {
|
|
1450
1449
|
const localVarPath = `/LiveTv/SeriesTimers`;
|
|
1451
1450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1452
1451
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1454,11 +1453,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1454
1453
|
if (configuration) {
|
|
1455
1454
|
baseOptions = configuration.baseOptions;
|
|
1456
1455
|
}
|
|
1457
|
-
const localVarRequestOptions =
|
|
1456
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1458
1457
|
const localVarHeaderParameter = {};
|
|
1459
1458
|
const localVarQueryParameter = {};
|
|
1460
1459
|
// authentication CustomAuthentication required
|
|
1461
|
-
|
|
1460
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1462
1461
|
if (sortBy !== undefined) {
|
|
1463
1462
|
localVarQueryParameter['sortBy'] = sortBy;
|
|
1464
1463
|
}
|
|
@@ -1467,12 +1466,12 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1467
1466
|
}
|
|
1468
1467
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1469
1468
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1470
|
-
localVarRequestOptions.headers =
|
|
1469
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1471
1470
|
return {
|
|
1472
1471
|
url: toPathString(localVarUrlObj),
|
|
1473
1472
|
options: localVarRequestOptions,
|
|
1474
1473
|
};
|
|
1475
|
-
}
|
|
1474
|
+
},
|
|
1476
1475
|
/**
|
|
1477
1476
|
*
|
|
1478
1477
|
* @summary Gets a timer.
|
|
@@ -1480,7 +1479,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1480
1479
|
* @param {*} [options] Override http request option.
|
|
1481
1480
|
* @throws {RequiredError}
|
|
1482
1481
|
*/
|
|
1483
|
-
getTimer:
|
|
1482
|
+
getTimer: async (timerId, options = {}) => {
|
|
1484
1483
|
// verify required parameter 'timerId' is not null or undefined
|
|
1485
1484
|
assertParamExists('getTimer', 'timerId', timerId);
|
|
1486
1485
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -1491,19 +1490,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1491
1490
|
if (configuration) {
|
|
1492
1491
|
baseOptions = configuration.baseOptions;
|
|
1493
1492
|
}
|
|
1494
|
-
const localVarRequestOptions =
|
|
1493
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1495
1494
|
const localVarHeaderParameter = {};
|
|
1496
1495
|
const localVarQueryParameter = {};
|
|
1497
1496
|
// authentication CustomAuthentication required
|
|
1498
|
-
|
|
1497
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1499
1498
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1500
1499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1501
|
-
localVarRequestOptions.headers =
|
|
1500
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1502
1501
|
return {
|
|
1503
1502
|
url: toPathString(localVarUrlObj),
|
|
1504
1503
|
options: localVarRequestOptions,
|
|
1505
1504
|
};
|
|
1506
|
-
}
|
|
1505
|
+
},
|
|
1507
1506
|
/**
|
|
1508
1507
|
*
|
|
1509
1508
|
* @summary Gets the live tv timers.
|
|
@@ -1514,7 +1513,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1514
1513
|
* @param {*} [options] Override http request option.
|
|
1515
1514
|
* @throws {RequiredError}
|
|
1516
1515
|
*/
|
|
1517
|
-
getTimers:
|
|
1516
|
+
getTimers: async (channelId, seriesTimerId, isActive, isScheduled, options = {}) => {
|
|
1518
1517
|
const localVarPath = `/LiveTv/Timers`;
|
|
1519
1518
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1520
1519
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1522,11 +1521,11 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1522
1521
|
if (configuration) {
|
|
1523
1522
|
baseOptions = configuration.baseOptions;
|
|
1524
1523
|
}
|
|
1525
|
-
const localVarRequestOptions =
|
|
1524
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1526
1525
|
const localVarHeaderParameter = {};
|
|
1527
1526
|
const localVarQueryParameter = {};
|
|
1528
1527
|
// authentication CustomAuthentication required
|
|
1529
|
-
|
|
1528
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1530
1529
|
if (channelId !== undefined) {
|
|
1531
1530
|
localVarQueryParameter['channelId'] = channelId;
|
|
1532
1531
|
}
|
|
@@ -1541,19 +1540,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1541
1540
|
}
|
|
1542
1541
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1543
1542
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1544
|
-
localVarRequestOptions.headers =
|
|
1543
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1545
1544
|
return {
|
|
1546
1545
|
url: toPathString(localVarUrlObj),
|
|
1547
1546
|
options: localVarRequestOptions,
|
|
1548
1547
|
};
|
|
1549
|
-
}
|
|
1548
|
+
},
|
|
1550
1549
|
/**
|
|
1551
1550
|
*
|
|
1552
1551
|
* @summary Get tuner host types.
|
|
1553
1552
|
* @param {*} [options] Override http request option.
|
|
1554
1553
|
* @throws {RequiredError}
|
|
1555
1554
|
*/
|
|
1556
|
-
getTunerHostTypes:
|
|
1555
|
+
getTunerHostTypes: async (options = {}) => {
|
|
1557
1556
|
const localVarPath = `/LiveTv/TunerHosts/Types`;
|
|
1558
1557
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1559
1558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1561,19 +1560,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1561
1560
|
if (configuration) {
|
|
1562
1561
|
baseOptions = configuration.baseOptions;
|
|
1563
1562
|
}
|
|
1564
|
-
const localVarRequestOptions =
|
|
1563
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1565
1564
|
const localVarHeaderParameter = {};
|
|
1566
1565
|
const localVarQueryParameter = {};
|
|
1567
1566
|
// authentication CustomAuthentication required
|
|
1568
|
-
|
|
1567
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1569
1568
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1570
1569
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1571
|
-
localVarRequestOptions.headers =
|
|
1570
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1572
1571
|
return {
|
|
1573
1572
|
url: toPathString(localVarUrlObj),
|
|
1574
1573
|
options: localVarRequestOptions,
|
|
1575
1574
|
};
|
|
1576
|
-
}
|
|
1575
|
+
},
|
|
1577
1576
|
/**
|
|
1578
1577
|
*
|
|
1579
1578
|
* @summary Resets a tv tuner.
|
|
@@ -1581,7 +1580,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1581
1580
|
* @param {*} [options] Override http request option.
|
|
1582
1581
|
* @throws {RequiredError}
|
|
1583
1582
|
*/
|
|
1584
|
-
resetTuner:
|
|
1583
|
+
resetTuner: async (tunerId, options = {}) => {
|
|
1585
1584
|
// verify required parameter 'tunerId' is not null or undefined
|
|
1586
1585
|
assertParamExists('resetTuner', 'tunerId', tunerId);
|
|
1587
1586
|
const localVarPath = `/LiveTv/Tuners/{tunerId}/Reset`
|
|
@@ -1592,19 +1591,19 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1592
1591
|
if (configuration) {
|
|
1593
1592
|
baseOptions = configuration.baseOptions;
|
|
1594
1593
|
}
|
|
1595
|
-
const localVarRequestOptions =
|
|
1594
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1596
1595
|
const localVarHeaderParameter = {};
|
|
1597
1596
|
const localVarQueryParameter = {};
|
|
1598
1597
|
// authentication CustomAuthentication required
|
|
1599
|
-
|
|
1598
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1600
1599
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1601
1600
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1602
|
-
localVarRequestOptions.headers =
|
|
1601
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1603
1602
|
return {
|
|
1604
1603
|
url: toPathString(localVarUrlObj),
|
|
1605
1604
|
options: localVarRequestOptions,
|
|
1606
1605
|
};
|
|
1607
|
-
}
|
|
1606
|
+
},
|
|
1608
1607
|
/**
|
|
1609
1608
|
*
|
|
1610
1609
|
* @summary Set channel mappings.
|
|
@@ -1612,7 +1611,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1612
1611
|
* @param {*} [options] Override http request option.
|
|
1613
1612
|
* @throws {RequiredError}
|
|
1614
1613
|
*/
|
|
1615
|
-
setChannelMapping:
|
|
1614
|
+
setChannelMapping: async (setChannelMappingDto, options = {}) => {
|
|
1616
1615
|
// verify required parameter 'setChannelMappingDto' is not null or undefined
|
|
1617
1616
|
assertParamExists('setChannelMapping', 'setChannelMappingDto', setChannelMappingDto);
|
|
1618
1617
|
const localVarPath = `/LiveTv/ChannelMappings`;
|
|
@@ -1622,21 +1621,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1622
1621
|
if (configuration) {
|
|
1623
1622
|
baseOptions = configuration.baseOptions;
|
|
1624
1623
|
}
|
|
1625
|
-
const localVarRequestOptions =
|
|
1624
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1626
1625
|
const localVarHeaderParameter = {};
|
|
1627
1626
|
const localVarQueryParameter = {};
|
|
1628
1627
|
// authentication CustomAuthentication required
|
|
1629
|
-
|
|
1628
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1630
1629
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1631
1630
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1632
1631
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1633
|
-
localVarRequestOptions.headers =
|
|
1632
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1634
1633
|
localVarRequestOptions.data = serializeDataIfNeeded(setChannelMappingDto, localVarRequestOptions, configuration);
|
|
1635
1634
|
return {
|
|
1636
1635
|
url: toPathString(localVarUrlObj),
|
|
1637
1636
|
options: localVarRequestOptions,
|
|
1638
1637
|
};
|
|
1639
|
-
}
|
|
1638
|
+
},
|
|
1640
1639
|
/**
|
|
1641
1640
|
*
|
|
1642
1641
|
* @summary Updates a live tv series timer.
|
|
@@ -1645,7 +1644,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1645
1644
|
* @param {*} [options] Override http request option.
|
|
1646
1645
|
* @throws {RequiredError}
|
|
1647
1646
|
*/
|
|
1648
|
-
updateSeriesTimer:
|
|
1647
|
+
updateSeriesTimer: async (timerId, seriesTimerInfoDto, options = {}) => {
|
|
1649
1648
|
// verify required parameter 'timerId' is not null or undefined
|
|
1650
1649
|
assertParamExists('updateSeriesTimer', 'timerId', timerId);
|
|
1651
1650
|
const localVarPath = `/LiveTv/SeriesTimers/{timerId}`
|
|
@@ -1656,21 +1655,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1656
1655
|
if (configuration) {
|
|
1657
1656
|
baseOptions = configuration.baseOptions;
|
|
1658
1657
|
}
|
|
1659
|
-
const localVarRequestOptions =
|
|
1658
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1660
1659
|
const localVarHeaderParameter = {};
|
|
1661
1660
|
const localVarQueryParameter = {};
|
|
1662
1661
|
// authentication CustomAuthentication required
|
|
1663
|
-
|
|
1662
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1664
1663
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1665
1664
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1666
1665
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1667
|
-
localVarRequestOptions.headers =
|
|
1666
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1668
1667
|
localVarRequestOptions.data = serializeDataIfNeeded(seriesTimerInfoDto, localVarRequestOptions, configuration);
|
|
1669
1668
|
return {
|
|
1670
1669
|
url: toPathString(localVarUrlObj),
|
|
1671
1670
|
options: localVarRequestOptions,
|
|
1672
1671
|
};
|
|
1673
|
-
}
|
|
1672
|
+
},
|
|
1674
1673
|
/**
|
|
1675
1674
|
*
|
|
1676
1675
|
* @summary Updates a live tv timer.
|
|
@@ -1679,7 +1678,7 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1679
1678
|
* @param {*} [options] Override http request option.
|
|
1680
1679
|
* @throws {RequiredError}
|
|
1681
1680
|
*/
|
|
1682
|
-
updateTimer:
|
|
1681
|
+
updateTimer: async (timerId, timerInfoDto, options = {}) => {
|
|
1683
1682
|
// verify required parameter 'timerId' is not null or undefined
|
|
1684
1683
|
assertParamExists('updateTimer', 'timerId', timerId);
|
|
1685
1684
|
const localVarPath = `/LiveTv/Timers/{timerId}`
|
|
@@ -1690,21 +1689,21 @@ const LiveTvApiAxiosParamCreator = function (configuration) {
|
|
|
1690
1689
|
if (configuration) {
|
|
1691
1690
|
baseOptions = configuration.baseOptions;
|
|
1692
1691
|
}
|
|
1693
|
-
const localVarRequestOptions =
|
|
1692
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1694
1693
|
const localVarHeaderParameter = {};
|
|
1695
1694
|
const localVarQueryParameter = {};
|
|
1696
1695
|
// authentication CustomAuthentication required
|
|
1697
|
-
|
|
1696
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1698
1697
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1699
1698
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1700
1699
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1701
|
-
localVarRequestOptions.headers =
|
|
1700
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1702
1701
|
localVarRequestOptions.data = serializeDataIfNeeded(timerInfoDto, localVarRequestOptions, configuration);
|
|
1703
1702
|
return {
|
|
1704
1703
|
url: toPathString(localVarUrlObj),
|
|
1705
1704
|
options: localVarRequestOptions,
|
|
1706
1705
|
};
|
|
1707
|
-
}
|
|
1706
|
+
},
|
|
1708
1707
|
};
|
|
1709
1708
|
};
|
|
1710
1709
|
/**
|
|
@@ -1724,11 +1723,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1724
1723
|
* @param {*} [options] Override http request option.
|
|
1725
1724
|
* @throws {RequiredError}
|
|
1726
1725
|
*/
|
|
1727
|
-
addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1726
|
+
async addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options) {
|
|
1727
|
+
var _a, _b, _c;
|
|
1728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options);
|
|
1729
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1730
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.addListingProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1731
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1732
1732
|
},
|
|
1733
1733
|
/**
|
|
1734
1734
|
*
|
|
@@ -1737,11 +1737,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1737
1737
|
* @param {*} [options] Override http request option.
|
|
1738
1738
|
* @throws {RequiredError}
|
|
1739
1739
|
*/
|
|
1740
|
-
addTunerHost(tunerHostInfo, options) {
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1740
|
+
async addTunerHost(tunerHostInfo, options) {
|
|
1741
|
+
var _a, _b, _c;
|
|
1742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addTunerHost(tunerHostInfo, options);
|
|
1743
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1744
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.addTunerHost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1745
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1745
1746
|
},
|
|
1746
1747
|
/**
|
|
1747
1748
|
*
|
|
@@ -1750,11 +1751,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1750
1751
|
* @param {*} [options] Override http request option.
|
|
1751
1752
|
* @throws {RequiredError}
|
|
1752
1753
|
*/
|
|
1753
|
-
cancelSeriesTimer(timerId, options) {
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1754
|
+
async cancelSeriesTimer(timerId, options) {
|
|
1755
|
+
var _a, _b, _c;
|
|
1756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelSeriesTimer(timerId, options);
|
|
1757
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1758
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.cancelSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1759
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1758
1760
|
},
|
|
1759
1761
|
/**
|
|
1760
1762
|
*
|
|
@@ -1763,11 +1765,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1763
1765
|
* @param {*} [options] Override http request option.
|
|
1764
1766
|
* @throws {RequiredError}
|
|
1765
1767
|
*/
|
|
1766
|
-
cancelTimer(timerId, options) {
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1768
|
+
async cancelTimer(timerId, options) {
|
|
1769
|
+
var _a, _b, _c;
|
|
1770
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelTimer(timerId, options);
|
|
1771
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1772
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.cancelTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1773
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1771
1774
|
},
|
|
1772
1775
|
/**
|
|
1773
1776
|
*
|
|
@@ -1776,11 +1779,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1776
1779
|
* @param {*} [options] Override http request option.
|
|
1777
1780
|
* @throws {RequiredError}
|
|
1778
1781
|
*/
|
|
1779
|
-
createSeriesTimer(seriesTimerInfoDto, options) {
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1782
|
+
async createSeriesTimer(seriesTimerInfoDto, options) {
|
|
1783
|
+
var _a, _b, _c;
|
|
1784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeriesTimer(seriesTimerInfoDto, options);
|
|
1785
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1786
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.createSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1787
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1784
1788
|
},
|
|
1785
1789
|
/**
|
|
1786
1790
|
*
|
|
@@ -1789,11 +1793,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1789
1793
|
* @param {*} [options] Override http request option.
|
|
1790
1794
|
* @throws {RequiredError}
|
|
1791
1795
|
*/
|
|
1792
|
-
createTimer(timerInfoDto, options) {
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1796
|
+
async createTimer(timerInfoDto, options) {
|
|
1797
|
+
var _a, _b, _c;
|
|
1798
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTimer(timerInfoDto, options);
|
|
1799
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1800
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.createTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1801
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1797
1802
|
},
|
|
1798
1803
|
/**
|
|
1799
1804
|
*
|
|
@@ -1802,11 +1807,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1802
1807
|
* @param {*} [options] Override http request option.
|
|
1803
1808
|
* @throws {RequiredError}
|
|
1804
1809
|
*/
|
|
1805
|
-
deleteListingProvider(id, options) {
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
+
async deleteListingProvider(id, options) {
|
|
1811
|
+
var _a, _b, _c;
|
|
1812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteListingProvider(id, options);
|
|
1813
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1814
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.deleteListingProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1815
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1810
1816
|
},
|
|
1811
1817
|
/**
|
|
1812
1818
|
*
|
|
@@ -1815,11 +1821,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1815
1821
|
* @param {*} [options] Override http request option.
|
|
1816
1822
|
* @throws {RequiredError}
|
|
1817
1823
|
*/
|
|
1818
|
-
deleteRecording(recordingId, options) {
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1824
|
+
async deleteRecording(recordingId, options) {
|
|
1825
|
+
var _a, _b, _c;
|
|
1826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteRecording(recordingId, options);
|
|
1827
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1828
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.deleteRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1829
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1823
1830
|
},
|
|
1824
1831
|
/**
|
|
1825
1832
|
*
|
|
@@ -1828,11 +1835,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1828
1835
|
* @param {*} [options] Override http request option.
|
|
1829
1836
|
* @throws {RequiredError}
|
|
1830
1837
|
*/
|
|
1831
|
-
deleteTunerHost(id, options) {
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1838
|
+
async deleteTunerHost(id, options) {
|
|
1839
|
+
var _a, _b, _c;
|
|
1840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTunerHost(id, options);
|
|
1841
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1842
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.deleteTunerHost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1843
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1836
1844
|
},
|
|
1837
1845
|
/**
|
|
1838
1846
|
*
|
|
@@ -1841,11 +1849,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1841
1849
|
* @param {*} [options] Override http request option.
|
|
1842
1850
|
* @throws {RequiredError}
|
|
1843
1851
|
*/
|
|
1844
|
-
discoverTuners(newDevicesOnly, options) {
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1852
|
+
async discoverTuners(newDevicesOnly, options) {
|
|
1853
|
+
var _a, _b, _c;
|
|
1854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discoverTuners(newDevicesOnly, options);
|
|
1855
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1856
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.discoverTuners']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1857
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1849
1858
|
},
|
|
1850
1859
|
/**
|
|
1851
1860
|
*
|
|
@@ -1854,11 +1863,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1854
1863
|
* @param {*} [options] Override http request option.
|
|
1855
1864
|
* @throws {RequiredError}
|
|
1856
1865
|
*/
|
|
1857
|
-
discvoverTuners(newDevicesOnly, options) {
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1866
|
+
async discvoverTuners(newDevicesOnly, options) {
|
|
1867
|
+
var _a, _b, _c;
|
|
1868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discvoverTuners(newDevicesOnly, options);
|
|
1869
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1870
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.discvoverTuners']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1871
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1862
1872
|
},
|
|
1863
1873
|
/**
|
|
1864
1874
|
*
|
|
@@ -1868,11 +1878,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1868
1878
|
* @param {*} [options] Override http request option.
|
|
1869
1879
|
* @throws {RequiredError}
|
|
1870
1880
|
*/
|
|
1871
|
-
getChannel(channelId, userId, options) {
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1881
|
+
async getChannel(channelId, userId, options) {
|
|
1882
|
+
var _a, _b, _c;
|
|
1883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannel(channelId, userId, options);
|
|
1884
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1885
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getChannel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1876
1887
|
},
|
|
1877
1888
|
/**
|
|
1878
1889
|
*
|
|
@@ -1881,11 +1892,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1881
1892
|
* @param {*} [options] Override http request option.
|
|
1882
1893
|
* @throws {RequiredError}
|
|
1883
1894
|
*/
|
|
1884
|
-
getChannelMappingOptions(providerId, options) {
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1895
|
+
async getChannelMappingOptions(providerId, options) {
|
|
1896
|
+
var _a, _b, _c;
|
|
1897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getChannelMappingOptions(providerId, options);
|
|
1898
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1899
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getChannelMappingOptions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1900
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1889
1901
|
},
|
|
1890
1902
|
/**
|
|
1891
1903
|
*
|
|
@@ -1893,11 +1905,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1893
1905
|
* @param {*} [options] Override http request option.
|
|
1894
1906
|
* @throws {RequiredError}
|
|
1895
1907
|
*/
|
|
1896
|
-
getDefaultListingProvider(options) {
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1908
|
+
async getDefaultListingProvider(options) {
|
|
1909
|
+
var _a, _b, _c;
|
|
1910
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultListingProvider(options);
|
|
1911
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1912
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getDefaultListingProvider']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1913
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1901
1914
|
},
|
|
1902
1915
|
/**
|
|
1903
1916
|
*
|
|
@@ -1906,11 +1919,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1906
1919
|
* @param {*} [options] Override http request option.
|
|
1907
1920
|
* @throws {RequiredError}
|
|
1908
1921
|
*/
|
|
1909
|
-
getDefaultTimer(programId, options) {
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1922
|
+
async getDefaultTimer(programId, options) {
|
|
1923
|
+
var _a, _b, _c;
|
|
1924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultTimer(programId, options);
|
|
1925
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1926
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getDefaultTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1927
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1914
1928
|
},
|
|
1915
1929
|
/**
|
|
1916
1930
|
*
|
|
@@ -1918,11 +1932,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1918
1932
|
* @param {*} [options] Override http request option.
|
|
1919
1933
|
* @throws {RequiredError}
|
|
1920
1934
|
*/
|
|
1921
|
-
getGuideInfo(options) {
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1935
|
+
async getGuideInfo(options) {
|
|
1936
|
+
var _a, _b, _c;
|
|
1937
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGuideInfo(options);
|
|
1938
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1939
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getGuideInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1940
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1926
1941
|
},
|
|
1927
1942
|
/**
|
|
1928
1943
|
*
|
|
@@ -1934,11 +1949,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1934
1949
|
* @param {*} [options] Override http request option.
|
|
1935
1950
|
* @throws {RequiredError}
|
|
1936
1951
|
*/
|
|
1937
|
-
getLineups(id, type, location, country, options) {
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1952
|
+
async getLineups(id, type, location, country, options) {
|
|
1953
|
+
var _a, _b, _c;
|
|
1954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLineups(id, type, location, country, options);
|
|
1955
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1956
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLineups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1957
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1942
1958
|
},
|
|
1943
1959
|
/**
|
|
1944
1960
|
*
|
|
@@ -1947,11 +1963,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1947
1963
|
* @param {*} [options] Override http request option.
|
|
1948
1964
|
* @throws {RequiredError}
|
|
1949
1965
|
*/
|
|
1950
|
-
getLiveRecordingFile(recordingId, options) {
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1966
|
+
async getLiveRecordingFile(recordingId, options) {
|
|
1967
|
+
var _a, _b, _c;
|
|
1968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveRecordingFile(recordingId, options);
|
|
1969
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1970
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveRecordingFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1971
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1955
1972
|
},
|
|
1956
1973
|
/**
|
|
1957
1974
|
*
|
|
@@ -1961,11 +1978,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1961
1978
|
* @param {*} [options] Override http request option.
|
|
1962
1979
|
* @throws {RequiredError}
|
|
1963
1980
|
*/
|
|
1964
|
-
getLiveStreamFile(streamId, container, options) {
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1981
|
+
async getLiveStreamFile(streamId, container, options) {
|
|
1982
|
+
var _a, _b, _c;
|
|
1983
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveStreamFile(streamId, container, options);
|
|
1984
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1985
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveStreamFile']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1986
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1969
1987
|
},
|
|
1970
1988
|
/**
|
|
1971
1989
|
*
|
|
@@ -1994,11 +2012,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
1994
2012
|
* @param {*} [options] Override http request option.
|
|
1995
2013
|
* @throws {RequiredError}
|
|
1996
2014
|
*/
|
|
1997
|
-
getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2015
|
+
async getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options) {
|
|
2016
|
+
var _a, _b, _c;
|
|
2017
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options);
|
|
2018
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2019
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveTvChannels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2020
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2002
2021
|
},
|
|
2003
2022
|
/**
|
|
2004
2023
|
*
|
|
@@ -2006,11 +2025,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2006
2025
|
* @param {*} [options] Override http request option.
|
|
2007
2026
|
* @throws {RequiredError}
|
|
2008
2027
|
*/
|
|
2009
|
-
getLiveTvInfo(options) {
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2028
|
+
async getLiveTvInfo(options) {
|
|
2029
|
+
var _a, _b, _c;
|
|
2030
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvInfo(options);
|
|
2031
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2032
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveTvInfo']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2033
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2014
2034
|
},
|
|
2015
2035
|
/**
|
|
2016
2036
|
*
|
|
@@ -2045,11 +2065,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2045
2065
|
* @param {*} [options] Override http request option.
|
|
2046
2066
|
* @throws {RequiredError}
|
|
2047
2067
|
*/
|
|
2048
|
-
getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options) {
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2068
|
+
async getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options) {
|
|
2069
|
+
var _a, _b, _c;
|
|
2070
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options);
|
|
2071
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2072
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getLiveTvPrograms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2073
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2053
2074
|
},
|
|
2054
2075
|
/**
|
|
2055
2076
|
*
|
|
@@ -2059,11 +2080,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2059
2080
|
* @param {*} [options] Override http request option.
|
|
2060
2081
|
* @throws {RequiredError}
|
|
2061
2082
|
*/
|
|
2062
|
-
getProgram(programId, userId, options) {
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2083
|
+
async getProgram(programId, userId, options) {
|
|
2084
|
+
var _a, _b, _c;
|
|
2085
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(programId, userId, options);
|
|
2086
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2087
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getProgram']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2088
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2067
2089
|
},
|
|
2068
2090
|
/**
|
|
2069
2091
|
*
|
|
@@ -2072,11 +2094,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2072
2094
|
* @param {*} [options] Override http request option.
|
|
2073
2095
|
* @throws {RequiredError}
|
|
2074
2096
|
*/
|
|
2075
|
-
getPrograms(getProgramsDto, options) {
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2097
|
+
async getPrograms(getProgramsDto, options) {
|
|
2098
|
+
var _a, _b, _c;
|
|
2099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPrograms(getProgramsDto, options);
|
|
2100
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2101
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getPrograms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2080
2103
|
},
|
|
2081
2104
|
/**
|
|
2082
2105
|
*
|
|
@@ -2100,11 +2123,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2100
2123
|
* @param {*} [options] Override http request option.
|
|
2101
2124
|
* @throws {RequiredError}
|
|
2102
2125
|
*/
|
|
2103
|
-
getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2126
|
+
async getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2127
|
+
var _a, _b, _c;
|
|
2128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options);
|
|
2129
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2130
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecommendedPrograms']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2131
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2108
2132
|
},
|
|
2109
2133
|
/**
|
|
2110
2134
|
*
|
|
@@ -2114,11 +2138,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2114
2138
|
* @param {*} [options] Override http request option.
|
|
2115
2139
|
* @throws {RequiredError}
|
|
2116
2140
|
*/
|
|
2117
|
-
getRecording(recordingId, userId, options) {
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2141
|
+
async getRecording(recordingId, userId, options) {
|
|
2142
|
+
var _a, _b, _c;
|
|
2143
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecording(recordingId, userId, options);
|
|
2144
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2145
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2146
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2122
2147
|
},
|
|
2123
2148
|
/**
|
|
2124
2149
|
*
|
|
@@ -2127,11 +2152,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2127
2152
|
* @param {*} [options] Override http request option.
|
|
2128
2153
|
* @throws {RequiredError}
|
|
2129
2154
|
*/
|
|
2130
|
-
getRecordingFolders(userId, options) {
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2155
|
+
async getRecordingFolders(userId, options) {
|
|
2156
|
+
var _a, _b, _c;
|
|
2157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingFolders(userId, options);
|
|
2158
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2159
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingFolders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2160
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2135
2161
|
},
|
|
2136
2162
|
/**
|
|
2137
2163
|
*
|
|
@@ -2141,11 +2167,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2141
2167
|
* @deprecated
|
|
2142
2168
|
* @throws {RequiredError}
|
|
2143
2169
|
*/
|
|
2144
|
-
getRecordingGroup(groupId, options) {
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2170
|
+
async getRecordingGroup(groupId, options) {
|
|
2171
|
+
var _a, _b, _c;
|
|
2172
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroup(groupId, options);
|
|
2173
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2174
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingGroup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2175
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2149
2176
|
},
|
|
2150
2177
|
/**
|
|
2151
2178
|
*
|
|
@@ -2155,11 +2182,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2155
2182
|
* @deprecated
|
|
2156
2183
|
* @throws {RequiredError}
|
|
2157
2184
|
*/
|
|
2158
|
-
getRecordingGroups(userId, options) {
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2185
|
+
async getRecordingGroups(userId, options) {
|
|
2186
|
+
var _a, _b, _c;
|
|
2187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingGroups(userId, options);
|
|
2188
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2189
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2163
2191
|
},
|
|
2164
2192
|
/**
|
|
2165
2193
|
*
|
|
@@ -2186,11 +2214,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2186
2214
|
* @param {*} [options] Override http request option.
|
|
2187
2215
|
* @throws {RequiredError}
|
|
2188
2216
|
*/
|
|
2189
|
-
getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2217
|
+
async getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options) {
|
|
2218
|
+
var _a, _b, _c;
|
|
2219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options);
|
|
2220
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2221
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordings']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2194
2223
|
},
|
|
2195
2224
|
/**
|
|
2196
2225
|
*
|
|
@@ -2213,11 +2242,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2213
2242
|
* @deprecated
|
|
2214
2243
|
* @throws {RequiredError}
|
|
2215
2244
|
*/
|
|
2216
|
-
getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2245
|
+
async getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options) {
|
|
2246
|
+
var _a, _b, _c;
|
|
2247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options);
|
|
2248
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2249
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getRecordingsSeries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2221
2251
|
},
|
|
2222
2252
|
/**
|
|
2223
2253
|
*
|
|
@@ -2225,11 +2255,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2225
2255
|
* @param {*} [options] Override http request option.
|
|
2226
2256
|
* @throws {RequiredError}
|
|
2227
2257
|
*/
|
|
2228
|
-
getSchedulesDirectCountries(options) {
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2258
|
+
async getSchedulesDirectCountries(options) {
|
|
2259
|
+
var _a, _b, _c;
|
|
2260
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSchedulesDirectCountries(options);
|
|
2261
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2262
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getSchedulesDirectCountries']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2263
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2233
2264
|
},
|
|
2234
2265
|
/**
|
|
2235
2266
|
*
|
|
@@ -2238,11 +2269,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2238
2269
|
* @param {*} [options] Override http request option.
|
|
2239
2270
|
* @throws {RequiredError}
|
|
2240
2271
|
*/
|
|
2241
|
-
getSeriesTimer(timerId, options) {
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2272
|
+
async getSeriesTimer(timerId, options) {
|
|
2273
|
+
var _a, _b, _c;
|
|
2274
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimer(timerId, options);
|
|
2275
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2276
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2277
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2246
2278
|
},
|
|
2247
2279
|
/**
|
|
2248
2280
|
*
|
|
@@ -2252,11 +2284,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2252
2284
|
* @param {*} [options] Override http request option.
|
|
2253
2285
|
* @throws {RequiredError}
|
|
2254
2286
|
*/
|
|
2255
|
-
getSeriesTimers(sortBy, sortOrder, options) {
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2287
|
+
async getSeriesTimers(sortBy, sortOrder, options) {
|
|
2288
|
+
var _a, _b, _c;
|
|
2289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSeriesTimers(sortBy, sortOrder, options);
|
|
2290
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2291
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getSeriesTimers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2292
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2260
2293
|
},
|
|
2261
2294
|
/**
|
|
2262
2295
|
*
|
|
@@ -2265,11 +2298,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2265
2298
|
* @param {*} [options] Override http request option.
|
|
2266
2299
|
* @throws {RequiredError}
|
|
2267
2300
|
*/
|
|
2268
|
-
getTimer(timerId, options) {
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2301
|
+
async getTimer(timerId, options) {
|
|
2302
|
+
var _a, _b, _c;
|
|
2303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimer(timerId, options);
|
|
2304
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2305
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2273
2307
|
},
|
|
2274
2308
|
/**
|
|
2275
2309
|
*
|
|
@@ -2281,11 +2315,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2281
2315
|
* @param {*} [options] Override http request option.
|
|
2282
2316
|
* @throws {RequiredError}
|
|
2283
2317
|
*/
|
|
2284
|
-
getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2318
|
+
async getTimers(channelId, seriesTimerId, isActive, isScheduled, options) {
|
|
2319
|
+
var _a, _b, _c;
|
|
2320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTimers(channelId, seriesTimerId, isActive, isScheduled, options);
|
|
2321
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2322
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getTimers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2323
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2289
2324
|
},
|
|
2290
2325
|
/**
|
|
2291
2326
|
*
|
|
@@ -2293,11 +2328,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2293
2328
|
* @param {*} [options] Override http request option.
|
|
2294
2329
|
* @throws {RequiredError}
|
|
2295
2330
|
*/
|
|
2296
|
-
getTunerHostTypes(options) {
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2331
|
+
async getTunerHostTypes(options) {
|
|
2332
|
+
var _a, _b, _c;
|
|
2333
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTunerHostTypes(options);
|
|
2334
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2335
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.getTunerHostTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2336
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2301
2337
|
},
|
|
2302
2338
|
/**
|
|
2303
2339
|
*
|
|
@@ -2306,11 +2342,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2306
2342
|
* @param {*} [options] Override http request option.
|
|
2307
2343
|
* @throws {RequiredError}
|
|
2308
2344
|
*/
|
|
2309
|
-
resetTuner(tunerId, options) {
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2345
|
+
async resetTuner(tunerId, options) {
|
|
2346
|
+
var _a, _b, _c;
|
|
2347
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetTuner(tunerId, options);
|
|
2348
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2349
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.resetTuner']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2350
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2314
2351
|
},
|
|
2315
2352
|
/**
|
|
2316
2353
|
*
|
|
@@ -2319,11 +2356,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2319
2356
|
* @param {*} [options] Override http request option.
|
|
2320
2357
|
* @throws {RequiredError}
|
|
2321
2358
|
*/
|
|
2322
|
-
setChannelMapping(setChannelMappingDto, options) {
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2359
|
+
async setChannelMapping(setChannelMappingDto, options) {
|
|
2360
|
+
var _a, _b, _c;
|
|
2361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setChannelMapping(setChannelMappingDto, options);
|
|
2362
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2363
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.setChannelMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2364
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2327
2365
|
},
|
|
2328
2366
|
/**
|
|
2329
2367
|
*
|
|
@@ -2333,11 +2371,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2333
2371
|
* @param {*} [options] Override http request option.
|
|
2334
2372
|
* @throws {RequiredError}
|
|
2335
2373
|
*/
|
|
2336
|
-
updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2374
|
+
async updateSeriesTimer(timerId, seriesTimerInfoDto, options) {
|
|
2375
|
+
var _a, _b, _c;
|
|
2376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeriesTimer(timerId, seriesTimerInfoDto, options);
|
|
2377
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2378
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.updateSeriesTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2379
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2341
2380
|
},
|
|
2342
2381
|
/**
|
|
2343
2382
|
*
|
|
@@ -2347,11 +2386,12 @@ const LiveTvApiFp = function (configuration) {
|
|
|
2347
2386
|
* @param {*} [options] Override http request option.
|
|
2348
2387
|
* @throws {RequiredError}
|
|
2349
2388
|
*/
|
|
2350
|
-
updateTimer(timerId, timerInfoDto, options) {
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2389
|
+
async updateTimer(timerId, timerInfoDto, options) {
|
|
2390
|
+
var _a, _b, _c;
|
|
2391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTimer(timerId, timerInfoDto, options);
|
|
2392
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2393
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['LiveTvApi.updateTimer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2355
2395
|
},
|
|
2356
2396
|
};
|
|
2357
2397
|
};
|
|
@@ -2365,136 +2405,132 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2365
2405
|
/**
|
|
2366
2406
|
*
|
|
2367
2407
|
* @summary Adds a listings provider.
|
|
2368
|
-
* @param {
|
|
2369
|
-
* @param {boolean} [validateListings] Validate listings.
|
|
2370
|
-
* @param {boolean} [validateLogin] Validate login.
|
|
2371
|
-
* @param {ListingsProviderInfo} [listingsProviderInfo] New listings info.
|
|
2408
|
+
* @param {LiveTvApiAddListingProviderRequest} requestParameters Request parameters.
|
|
2372
2409
|
* @param {*} [options] Override http request option.
|
|
2373
2410
|
* @throws {RequiredError}
|
|
2374
2411
|
*/
|
|
2375
|
-
addListingProvider(
|
|
2376
|
-
return localVarFp.addListingProvider(pw, validateListings, validateLogin, listingsProviderInfo, options).then((request) => request(axios, basePath));
|
|
2412
|
+
addListingProvider(requestParameters = {}, options) {
|
|
2413
|
+
return localVarFp.addListingProvider(requestParameters.pw, requestParameters.validateListings, requestParameters.validateLogin, requestParameters.listingsProviderInfo, options).then((request) => request(axios, basePath));
|
|
2377
2414
|
},
|
|
2378
2415
|
/**
|
|
2379
2416
|
*
|
|
2380
2417
|
* @summary Adds a tuner host.
|
|
2381
|
-
* @param {
|
|
2418
|
+
* @param {LiveTvApiAddTunerHostRequest} requestParameters Request parameters.
|
|
2382
2419
|
* @param {*} [options] Override http request option.
|
|
2383
2420
|
* @throws {RequiredError}
|
|
2384
2421
|
*/
|
|
2385
|
-
addTunerHost(
|
|
2386
|
-
return localVarFp.addTunerHost(tunerHostInfo, options).then((request) => request(axios, basePath));
|
|
2422
|
+
addTunerHost(requestParameters = {}, options) {
|
|
2423
|
+
return localVarFp.addTunerHost(requestParameters.tunerHostInfo, options).then((request) => request(axios, basePath));
|
|
2387
2424
|
},
|
|
2388
2425
|
/**
|
|
2389
2426
|
*
|
|
2390
2427
|
* @summary Cancels a live tv series timer.
|
|
2391
|
-
* @param {
|
|
2428
|
+
* @param {LiveTvApiCancelSeriesTimerRequest} requestParameters Request parameters.
|
|
2392
2429
|
* @param {*} [options] Override http request option.
|
|
2393
2430
|
* @throws {RequiredError}
|
|
2394
2431
|
*/
|
|
2395
|
-
cancelSeriesTimer(
|
|
2396
|
-
return localVarFp.cancelSeriesTimer(timerId, options).then((request) => request(axios, basePath));
|
|
2432
|
+
cancelSeriesTimer(requestParameters, options) {
|
|
2433
|
+
return localVarFp.cancelSeriesTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
|
|
2397
2434
|
},
|
|
2398
2435
|
/**
|
|
2399
2436
|
*
|
|
2400
2437
|
* @summary Cancels a live tv timer.
|
|
2401
|
-
* @param {
|
|
2438
|
+
* @param {LiveTvApiCancelTimerRequest} requestParameters Request parameters.
|
|
2402
2439
|
* @param {*} [options] Override http request option.
|
|
2403
2440
|
* @throws {RequiredError}
|
|
2404
2441
|
*/
|
|
2405
|
-
cancelTimer(
|
|
2406
|
-
return localVarFp.cancelTimer(timerId, options).then((request) => request(axios, basePath));
|
|
2442
|
+
cancelTimer(requestParameters, options) {
|
|
2443
|
+
return localVarFp.cancelTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
|
|
2407
2444
|
},
|
|
2408
2445
|
/**
|
|
2409
2446
|
*
|
|
2410
2447
|
* @summary Creates a live tv series timer.
|
|
2411
|
-
* @param {
|
|
2448
|
+
* @param {LiveTvApiCreateSeriesTimerRequest} requestParameters Request parameters.
|
|
2412
2449
|
* @param {*} [options] Override http request option.
|
|
2413
2450
|
* @throws {RequiredError}
|
|
2414
2451
|
*/
|
|
2415
|
-
createSeriesTimer(
|
|
2416
|
-
return localVarFp.createSeriesTimer(seriesTimerInfoDto, options).then((request) => request(axios, basePath));
|
|
2452
|
+
createSeriesTimer(requestParameters = {}, options) {
|
|
2453
|
+
return localVarFp.createSeriesTimer(requestParameters.seriesTimerInfoDto, options).then((request) => request(axios, basePath));
|
|
2417
2454
|
},
|
|
2418
2455
|
/**
|
|
2419
2456
|
*
|
|
2420
2457
|
* @summary Creates a live tv timer.
|
|
2421
|
-
* @param {
|
|
2458
|
+
* @param {LiveTvApiCreateTimerRequest} requestParameters Request parameters.
|
|
2422
2459
|
* @param {*} [options] Override http request option.
|
|
2423
2460
|
* @throws {RequiredError}
|
|
2424
2461
|
*/
|
|
2425
|
-
createTimer(
|
|
2426
|
-
return localVarFp.createTimer(timerInfoDto, options).then((request) => request(axios, basePath));
|
|
2462
|
+
createTimer(requestParameters = {}, options) {
|
|
2463
|
+
return localVarFp.createTimer(requestParameters.timerInfoDto, options).then((request) => request(axios, basePath));
|
|
2427
2464
|
},
|
|
2428
2465
|
/**
|
|
2429
2466
|
*
|
|
2430
2467
|
* @summary Delete listing provider.
|
|
2431
|
-
* @param {
|
|
2468
|
+
* @param {LiveTvApiDeleteListingProviderRequest} requestParameters Request parameters.
|
|
2432
2469
|
* @param {*} [options] Override http request option.
|
|
2433
2470
|
* @throws {RequiredError}
|
|
2434
2471
|
*/
|
|
2435
|
-
deleteListingProvider(
|
|
2436
|
-
return localVarFp.deleteListingProvider(id, options).then((request) => request(axios, basePath));
|
|
2472
|
+
deleteListingProvider(requestParameters = {}, options) {
|
|
2473
|
+
return localVarFp.deleteListingProvider(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2437
2474
|
},
|
|
2438
2475
|
/**
|
|
2439
2476
|
*
|
|
2440
2477
|
* @summary Deletes a live tv recording.
|
|
2441
|
-
* @param {
|
|
2478
|
+
* @param {LiveTvApiDeleteRecordingRequest} requestParameters Request parameters.
|
|
2442
2479
|
* @param {*} [options] Override http request option.
|
|
2443
2480
|
* @throws {RequiredError}
|
|
2444
2481
|
*/
|
|
2445
|
-
deleteRecording(
|
|
2446
|
-
return localVarFp.deleteRecording(recordingId, options).then((request) => request(axios, basePath));
|
|
2482
|
+
deleteRecording(requestParameters, options) {
|
|
2483
|
+
return localVarFp.deleteRecording(requestParameters.recordingId, options).then((request) => request(axios, basePath));
|
|
2447
2484
|
},
|
|
2448
2485
|
/**
|
|
2449
2486
|
*
|
|
2450
2487
|
* @summary Deletes a tuner host.
|
|
2451
|
-
* @param {
|
|
2488
|
+
* @param {LiveTvApiDeleteTunerHostRequest} requestParameters Request parameters.
|
|
2452
2489
|
* @param {*} [options] Override http request option.
|
|
2453
2490
|
* @throws {RequiredError}
|
|
2454
2491
|
*/
|
|
2455
|
-
deleteTunerHost(
|
|
2456
|
-
return localVarFp.deleteTunerHost(id, options).then((request) => request(axios, basePath));
|
|
2492
|
+
deleteTunerHost(requestParameters = {}, options) {
|
|
2493
|
+
return localVarFp.deleteTunerHost(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2457
2494
|
},
|
|
2458
2495
|
/**
|
|
2459
2496
|
*
|
|
2460
2497
|
* @summary Discover tuners.
|
|
2461
|
-
* @param {
|
|
2498
|
+
* @param {LiveTvApiDiscoverTunersRequest} requestParameters Request parameters.
|
|
2462
2499
|
* @param {*} [options] Override http request option.
|
|
2463
2500
|
* @throws {RequiredError}
|
|
2464
2501
|
*/
|
|
2465
|
-
discoverTuners(
|
|
2466
|
-
return localVarFp.discoverTuners(newDevicesOnly, options).then((request) => request(axios, basePath));
|
|
2502
|
+
discoverTuners(requestParameters = {}, options) {
|
|
2503
|
+
return localVarFp.discoverTuners(requestParameters.newDevicesOnly, options).then((request) => request(axios, basePath));
|
|
2467
2504
|
},
|
|
2468
2505
|
/**
|
|
2469
2506
|
*
|
|
2470
2507
|
* @summary Discover tuners.
|
|
2471
|
-
* @param {
|
|
2508
|
+
* @param {LiveTvApiDiscvoverTunersRequest} requestParameters Request parameters.
|
|
2472
2509
|
* @param {*} [options] Override http request option.
|
|
2473
2510
|
* @throws {RequiredError}
|
|
2474
2511
|
*/
|
|
2475
|
-
discvoverTuners(
|
|
2476
|
-
return localVarFp.discvoverTuners(newDevicesOnly, options).then((request) => request(axios, basePath));
|
|
2512
|
+
discvoverTuners(requestParameters = {}, options) {
|
|
2513
|
+
return localVarFp.discvoverTuners(requestParameters.newDevicesOnly, options).then((request) => request(axios, basePath));
|
|
2477
2514
|
},
|
|
2478
2515
|
/**
|
|
2479
2516
|
*
|
|
2480
2517
|
* @summary Gets a live tv channel.
|
|
2481
|
-
* @param {
|
|
2482
|
-
* @param {string} [userId] Optional. Attach user data.
|
|
2518
|
+
* @param {LiveTvApiGetChannelRequest} requestParameters Request parameters.
|
|
2483
2519
|
* @param {*} [options] Override http request option.
|
|
2484
2520
|
* @throws {RequiredError}
|
|
2485
2521
|
*/
|
|
2486
|
-
getChannel(
|
|
2487
|
-
return localVarFp.getChannel(channelId, userId, options).then((request) => request(axios, basePath));
|
|
2522
|
+
getChannel(requestParameters, options) {
|
|
2523
|
+
return localVarFp.getChannel(requestParameters.channelId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2488
2524
|
},
|
|
2489
2525
|
/**
|
|
2490
2526
|
*
|
|
2491
2527
|
* @summary Get channel mapping options.
|
|
2492
|
-
* @param {
|
|
2528
|
+
* @param {LiveTvApiGetChannelMappingOptionsRequest} requestParameters Request parameters.
|
|
2493
2529
|
* @param {*} [options] Override http request option.
|
|
2494
2530
|
* @throws {RequiredError}
|
|
2495
2531
|
*/
|
|
2496
|
-
getChannelMappingOptions(
|
|
2497
|
-
return localVarFp.getChannelMappingOptions(providerId, options).then((request) => request(axios, basePath));
|
|
2532
|
+
getChannelMappingOptions(requestParameters = {}, options) {
|
|
2533
|
+
return localVarFp.getChannelMappingOptions(requestParameters.providerId, options).then((request) => request(axios, basePath));
|
|
2498
2534
|
},
|
|
2499
2535
|
/**
|
|
2500
2536
|
*
|
|
@@ -2508,12 +2544,12 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2508
2544
|
/**
|
|
2509
2545
|
*
|
|
2510
2546
|
* @summary Gets the default values for a new timer.
|
|
2511
|
-
* @param {
|
|
2547
|
+
* @param {LiveTvApiGetDefaultTimerRequest} requestParameters Request parameters.
|
|
2512
2548
|
* @param {*} [options] Override http request option.
|
|
2513
2549
|
* @throws {RequiredError}
|
|
2514
2550
|
*/
|
|
2515
|
-
getDefaultTimer(
|
|
2516
|
-
return localVarFp.getDefaultTimer(programId, options).then((request) => request(axios, basePath));
|
|
2551
|
+
getDefaultTimer(requestParameters = {}, options) {
|
|
2552
|
+
return localVarFp.getDefaultTimer(requestParameters.programId, options).then((request) => request(axios, basePath));
|
|
2517
2553
|
},
|
|
2518
2554
|
/**
|
|
2519
2555
|
*
|
|
@@ -2527,66 +2563,42 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2527
2563
|
/**
|
|
2528
2564
|
*
|
|
2529
2565
|
* @summary Gets available lineups.
|
|
2530
|
-
* @param {
|
|
2531
|
-
* @param {string} [type] Provider type.
|
|
2532
|
-
* @param {string} [location] Location.
|
|
2533
|
-
* @param {string} [country] Country.
|
|
2566
|
+
* @param {LiveTvApiGetLineupsRequest} requestParameters Request parameters.
|
|
2534
2567
|
* @param {*} [options] Override http request option.
|
|
2535
2568
|
* @throws {RequiredError}
|
|
2536
2569
|
*/
|
|
2537
|
-
getLineups(
|
|
2538
|
-
return localVarFp.getLineups(id, type, location, country, options).then((request) => request(axios, basePath));
|
|
2570
|
+
getLineups(requestParameters = {}, options) {
|
|
2571
|
+
return localVarFp.getLineups(requestParameters.id, requestParameters.type, requestParameters.location, requestParameters.country, options).then((request) => request(axios, basePath));
|
|
2539
2572
|
},
|
|
2540
2573
|
/**
|
|
2541
2574
|
*
|
|
2542
2575
|
* @summary Gets a live tv recording stream.
|
|
2543
|
-
* @param {
|
|
2576
|
+
* @param {LiveTvApiGetLiveRecordingFileRequest} requestParameters Request parameters.
|
|
2544
2577
|
* @param {*} [options] Override http request option.
|
|
2545
2578
|
* @throws {RequiredError}
|
|
2546
2579
|
*/
|
|
2547
|
-
getLiveRecordingFile(
|
|
2548
|
-
return localVarFp.getLiveRecordingFile(recordingId, options).then((request) => request(axios, basePath));
|
|
2580
|
+
getLiveRecordingFile(requestParameters, options) {
|
|
2581
|
+
return localVarFp.getLiveRecordingFile(requestParameters.recordingId, options).then((request) => request(axios, basePath));
|
|
2549
2582
|
},
|
|
2550
2583
|
/**
|
|
2551
2584
|
*
|
|
2552
2585
|
* @summary Gets a live tv channel stream.
|
|
2553
|
-
* @param {
|
|
2554
|
-
* @param {string} container Container type.
|
|
2586
|
+
* @param {LiveTvApiGetLiveStreamFileRequest} requestParameters Request parameters.
|
|
2555
2587
|
* @param {*} [options] Override http request option.
|
|
2556
2588
|
* @throws {RequiredError}
|
|
2557
2589
|
*/
|
|
2558
|
-
getLiveStreamFile(
|
|
2559
|
-
return localVarFp.getLiveStreamFile(streamId, container, options).then((request) => request(axios, basePath));
|
|
2590
|
+
getLiveStreamFile(requestParameters, options) {
|
|
2591
|
+
return localVarFp.getLiveStreamFile(requestParameters.streamId, requestParameters.container, options).then((request) => request(axios, basePath));
|
|
2560
2592
|
},
|
|
2561
2593
|
/**
|
|
2562
2594
|
*
|
|
2563
2595
|
* @summary Gets available live tv channels.
|
|
2564
|
-
* @param {
|
|
2565
|
-
* @param {string} [userId] Optional. Filter by user and attach user data.
|
|
2566
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
2567
|
-
* @param {boolean} [isMovie] Optional. Filter for movies.
|
|
2568
|
-
* @param {boolean} [isSeries] Optional. Filter for series.
|
|
2569
|
-
* @param {boolean} [isNews] Optional. Filter for news.
|
|
2570
|
-
* @param {boolean} [isKids] Optional. Filter for kids.
|
|
2571
|
-
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
2572
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
2573
|
-
* @param {boolean} [isFavorite] Optional. Filter by channels that are favorites, or not.
|
|
2574
|
-
* @param {boolean} [isLiked] Optional. Filter by channels that are liked, or not.
|
|
2575
|
-
* @param {boolean} [isDisliked] Optional. Filter by channels that are disliked, or not.
|
|
2576
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
2577
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
2578
|
-
* @param {Array<ImageType>} [enableImageTypes] \"Optional. The image types to include in the output.
|
|
2579
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
2580
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
2581
|
-
* @param {Array<ItemSortBy>} [sortBy] Optional. Key to sort by.
|
|
2582
|
-
* @param {SortOrder} [sortOrder] Optional. Sort order.
|
|
2583
|
-
* @param {boolean} [enableFavoriteSorting] Optional. Incorporate favorite and like status into channel sorting.
|
|
2584
|
-
* @param {boolean} [addCurrentProgram] Optional. Adds current program info to each channel.
|
|
2596
|
+
* @param {LiveTvApiGetLiveTvChannelsRequest} requestParameters Request parameters.
|
|
2585
2597
|
* @param {*} [options] Override http request option.
|
|
2586
2598
|
* @throws {RequiredError}
|
|
2587
2599
|
*/
|
|
2588
|
-
getLiveTvChannels(
|
|
2589
|
-
return localVarFp.getLiveTvChannels(type, userId, startIndex, isMovie, isSeries, isNews, isKids, isSports, limit, isFavorite, isLiked, isDisliked, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, sortBy, sortOrder, enableFavoriteSorting, addCurrentProgram, options).then((request) => request(axios, basePath));
|
|
2600
|
+
getLiveTvChannels(requestParameters = {}, options) {
|
|
2601
|
+
return localVarFp.getLiveTvChannels(requestParameters.type, requestParameters.userId, requestParameters.startIndex, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.limit, requestParameters.isFavorite, requestParameters.isLiked, requestParameters.isDisliked, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.fields, requestParameters.enableUserData, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.enableFavoriteSorting, requestParameters.addCurrentProgram, options).then((request) => request(axios, basePath));
|
|
2590
2602
|
},
|
|
2591
2603
|
/**
|
|
2592
2604
|
*
|
|
@@ -2600,179 +2612,105 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2600
2612
|
/**
|
|
2601
2613
|
*
|
|
2602
2614
|
* @summary Gets available live tv epgs.
|
|
2603
|
-
* @param {
|
|
2604
|
-
* @param {string} [userId] Optional. Filter by user id.
|
|
2605
|
-
* @param {string} [minStartDate] Optional. The minimum premiere start date.
|
|
2606
|
-
* @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
|
|
2607
|
-
* @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
|
|
2608
|
-
* @param {string} [maxStartDate] Optional. The maximum premiere start date.
|
|
2609
|
-
* @param {string} [minEndDate] Optional. The minimum premiere end date.
|
|
2610
|
-
* @param {string} [maxEndDate] Optional. The maximum premiere end date.
|
|
2611
|
-
* @param {boolean} [isMovie] Optional. Filter for movies.
|
|
2612
|
-
* @param {boolean} [isSeries] Optional. Filter for series.
|
|
2613
|
-
* @param {boolean} [isNews] Optional. Filter for news.
|
|
2614
|
-
* @param {boolean} [isKids] Optional. Filter for kids.
|
|
2615
|
-
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
2616
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
2617
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
2618
|
-
* @param {Array<ItemSortBy>} [sortBy] Optional. Specify one or more sort orders, comma delimited. Options: Name, StartDate.
|
|
2619
|
-
* @param {Array<SortOrder>} [sortOrder] Sort Order - Ascending,Descending.
|
|
2620
|
-
* @param {Array<string>} [genres] The genres to return guide information for.
|
|
2621
|
-
* @param {Array<string>} [genreIds] The genre ids to return guide information for.
|
|
2622
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
2623
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
2624
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
2625
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
2626
|
-
* @param {string} [seriesTimerId] Optional. Filter by series timer id.
|
|
2627
|
-
* @param {string} [librarySeriesId] Optional. Filter by library series id.
|
|
2628
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
2629
|
-
* @param {boolean} [enableTotalRecordCount] Retrieve total record count.
|
|
2615
|
+
* @param {LiveTvApiGetLiveTvProgramsRequest} requestParameters Request parameters.
|
|
2630
2616
|
* @param {*} [options] Override http request option.
|
|
2631
2617
|
* @throws {RequiredError}
|
|
2632
2618
|
*/
|
|
2633
|
-
getLiveTvPrograms(
|
|
2634
|
-
return localVarFp.getLiveTvPrograms(channelIds, userId, minStartDate, hasAired, isAiring, maxStartDate, minEndDate, maxEndDate, isMovie, isSeries, isNews, isKids, isSports, startIndex, limit, sortBy, sortOrder, genres, genreIds, enableImages, imageTypeLimit, enableImageTypes, enableUserData, seriesTimerId, librarySeriesId, fields, enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2619
|
+
getLiveTvPrograms(requestParameters = {}, options) {
|
|
2620
|
+
return localVarFp.getLiveTvPrograms(requestParameters.channelIds, requestParameters.userId, requestParameters.minStartDate, requestParameters.hasAired, requestParameters.isAiring, requestParameters.maxStartDate, requestParameters.minEndDate, requestParameters.maxEndDate, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.startIndex, requestParameters.limit, requestParameters.sortBy, requestParameters.sortOrder, requestParameters.genres, requestParameters.genreIds, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.enableUserData, requestParameters.seriesTimerId, requestParameters.librarySeriesId, requestParameters.fields, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2635
2621
|
},
|
|
2636
2622
|
/**
|
|
2637
2623
|
*
|
|
2638
2624
|
* @summary Gets a live tv program.
|
|
2639
|
-
* @param {
|
|
2640
|
-
* @param {string} [userId] Optional. Attach user data.
|
|
2625
|
+
* @param {LiveTvApiGetProgramRequest} requestParameters Request parameters.
|
|
2641
2626
|
* @param {*} [options] Override http request option.
|
|
2642
2627
|
* @throws {RequiredError}
|
|
2643
2628
|
*/
|
|
2644
|
-
getProgram(
|
|
2645
|
-
return localVarFp.getProgram(programId, userId, options).then((request) => request(axios, basePath));
|
|
2629
|
+
getProgram(requestParameters, options) {
|
|
2630
|
+
return localVarFp.getProgram(requestParameters.programId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2646
2631
|
},
|
|
2647
2632
|
/**
|
|
2648
2633
|
*
|
|
2649
2634
|
* @summary Gets available live tv epgs.
|
|
2650
|
-
* @param {
|
|
2635
|
+
* @param {LiveTvApiGetProgramsRequest} requestParameters Request parameters.
|
|
2651
2636
|
* @param {*} [options] Override http request option.
|
|
2652
2637
|
* @throws {RequiredError}
|
|
2653
2638
|
*/
|
|
2654
|
-
getPrograms(
|
|
2655
|
-
return localVarFp.getPrograms(getProgramsDto, options).then((request) => request(axios, basePath));
|
|
2639
|
+
getPrograms(requestParameters = {}, options) {
|
|
2640
|
+
return localVarFp.getPrograms(requestParameters.getProgramsDto, options).then((request) => request(axios, basePath));
|
|
2656
2641
|
},
|
|
2657
2642
|
/**
|
|
2658
2643
|
*
|
|
2659
2644
|
* @summary Gets recommended live tv epgs.
|
|
2660
|
-
* @param {
|
|
2661
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
2662
|
-
* @param {boolean} [isAiring] Optional. Filter by programs that are currently airing, or not.
|
|
2663
|
-
* @param {boolean} [hasAired] Optional. Filter by programs that have completed airing, or not.
|
|
2664
|
-
* @param {boolean} [isSeries] Optional. Filter for series.
|
|
2665
|
-
* @param {boolean} [isMovie] Optional. Filter for movies.
|
|
2666
|
-
* @param {boolean} [isNews] Optional. Filter for news.
|
|
2667
|
-
* @param {boolean} [isKids] Optional. Filter for kids.
|
|
2668
|
-
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
2669
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
2670
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
2671
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
2672
|
-
* @param {Array<string>} [genreIds] The genres to return guide information for.
|
|
2673
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
2674
|
-
* @param {boolean} [enableUserData] Optional. include user data.
|
|
2675
|
-
* @param {boolean} [enableTotalRecordCount] Retrieve total record count.
|
|
2645
|
+
* @param {LiveTvApiGetRecommendedProgramsRequest} requestParameters Request parameters.
|
|
2676
2646
|
* @param {*} [options] Override http request option.
|
|
2677
2647
|
* @throws {RequiredError}
|
|
2678
2648
|
*/
|
|
2679
|
-
getRecommendedPrograms(
|
|
2680
|
-
return localVarFp.getRecommendedPrograms(userId, limit, isAiring, hasAired, isSeries, isMovie, isNews, isKids, isSports, enableImages, imageTypeLimit, enableImageTypes, genreIds, fields, enableUserData, enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2649
|
+
getRecommendedPrograms(requestParameters = {}, options) {
|
|
2650
|
+
return localVarFp.getRecommendedPrograms(requestParameters.userId, requestParameters.limit, requestParameters.isAiring, requestParameters.hasAired, requestParameters.isSeries, requestParameters.isMovie, requestParameters.isNews, requestParameters.isKids, requestParameters.isSports, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.genreIds, requestParameters.fields, requestParameters.enableUserData, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2681
2651
|
},
|
|
2682
2652
|
/**
|
|
2683
2653
|
*
|
|
2684
2654
|
* @summary Gets a live tv recording.
|
|
2685
|
-
* @param {
|
|
2686
|
-
* @param {string} [userId] Optional. Attach user data.
|
|
2655
|
+
* @param {LiveTvApiGetRecordingRequest} requestParameters Request parameters.
|
|
2687
2656
|
* @param {*} [options] Override http request option.
|
|
2688
2657
|
* @throws {RequiredError}
|
|
2689
2658
|
*/
|
|
2690
|
-
getRecording(
|
|
2691
|
-
return localVarFp.getRecording(recordingId, userId, options).then((request) => request(axios, basePath));
|
|
2659
|
+
getRecording(requestParameters, options) {
|
|
2660
|
+
return localVarFp.getRecording(requestParameters.recordingId, requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2692
2661
|
},
|
|
2693
2662
|
/**
|
|
2694
2663
|
*
|
|
2695
2664
|
* @summary Gets recording folders.
|
|
2696
|
-
* @param {
|
|
2665
|
+
* @param {LiveTvApiGetRecordingFoldersRequest} requestParameters Request parameters.
|
|
2697
2666
|
* @param {*} [options] Override http request option.
|
|
2698
2667
|
* @throws {RequiredError}
|
|
2699
2668
|
*/
|
|
2700
|
-
getRecordingFolders(
|
|
2701
|
-
return localVarFp.getRecordingFolders(userId, options).then((request) => request(axios, basePath));
|
|
2669
|
+
getRecordingFolders(requestParameters = {}, options) {
|
|
2670
|
+
return localVarFp.getRecordingFolders(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2702
2671
|
},
|
|
2703
2672
|
/**
|
|
2704
2673
|
*
|
|
2705
2674
|
* @summary Get recording group.
|
|
2706
|
-
* @param {
|
|
2675
|
+
* @param {LiveTvApiGetRecordingGroupRequest} requestParameters Request parameters.
|
|
2707
2676
|
* @param {*} [options] Override http request option.
|
|
2708
2677
|
* @deprecated
|
|
2709
2678
|
* @throws {RequiredError}
|
|
2710
2679
|
*/
|
|
2711
|
-
getRecordingGroup(
|
|
2712
|
-
return localVarFp.getRecordingGroup(groupId, options).then((request) => request(axios, basePath));
|
|
2680
|
+
getRecordingGroup(requestParameters, options) {
|
|
2681
|
+
return localVarFp.getRecordingGroup(requestParameters.groupId, options).then((request) => request(axios, basePath));
|
|
2713
2682
|
},
|
|
2714
2683
|
/**
|
|
2715
2684
|
*
|
|
2716
2685
|
* @summary Gets live tv recording groups.
|
|
2717
|
-
* @param {
|
|
2686
|
+
* @param {LiveTvApiGetRecordingGroupsRequest} requestParameters Request parameters.
|
|
2718
2687
|
* @param {*} [options] Override http request option.
|
|
2719
2688
|
* @deprecated
|
|
2720
2689
|
* @throws {RequiredError}
|
|
2721
2690
|
*/
|
|
2722
|
-
getRecordingGroups(
|
|
2723
|
-
return localVarFp.getRecordingGroups(userId, options).then((request) => request(axios, basePath));
|
|
2691
|
+
getRecordingGroups(requestParameters = {}, options) {
|
|
2692
|
+
return localVarFp.getRecordingGroups(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
2724
2693
|
},
|
|
2725
2694
|
/**
|
|
2726
2695
|
*
|
|
2727
2696
|
* @summary Gets live tv recordings.
|
|
2728
|
-
* @param {
|
|
2729
|
-
* @param {string} [userId] Optional. Filter by user and attach user data.
|
|
2730
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
2731
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
2732
|
-
* @param {RecordingStatus} [status] Optional. Filter by recording status.
|
|
2733
|
-
* @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
|
|
2734
|
-
* @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
|
|
2735
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
2736
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
2737
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
2738
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
2739
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
2740
|
-
* @param {boolean} [isMovie] Optional. Filter for movies.
|
|
2741
|
-
* @param {boolean} [isSeries] Optional. Filter for series.
|
|
2742
|
-
* @param {boolean} [isKids] Optional. Filter for kids.
|
|
2743
|
-
* @param {boolean} [isSports] Optional. Filter for sports.
|
|
2744
|
-
* @param {boolean} [isNews] Optional. Filter for news.
|
|
2745
|
-
* @param {boolean} [isLibraryItem] Optional. Filter for is library item.
|
|
2746
|
-
* @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
|
|
2697
|
+
* @param {LiveTvApiGetRecordingsRequest} requestParameters Request parameters.
|
|
2747
2698
|
* @param {*} [options] Override http request option.
|
|
2748
2699
|
* @throws {RequiredError}
|
|
2749
2700
|
*/
|
|
2750
|
-
getRecordings(
|
|
2751
|
-
return localVarFp.getRecordings(channelId, userId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, isMovie, isSeries, isKids, isSports, isNews, isLibraryItem, enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2701
|
+
getRecordings(requestParameters = {}, options) {
|
|
2702
|
+
return localVarFp.getRecordings(requestParameters.channelId, requestParameters.userId, requestParameters.startIndex, requestParameters.limit, requestParameters.status, requestParameters.isInProgress, requestParameters.seriesTimerId, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.fields, requestParameters.enableUserData, requestParameters.isMovie, requestParameters.isSeries, requestParameters.isKids, requestParameters.isSports, requestParameters.isNews, requestParameters.isLibraryItem, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2752
2703
|
},
|
|
2753
2704
|
/**
|
|
2754
2705
|
*
|
|
2755
2706
|
* @summary Gets live tv recording series.
|
|
2756
|
-
* @param {
|
|
2757
|
-
* @param {string} [userId] Optional. Filter by user and attach user data.
|
|
2758
|
-
* @param {string} [groupId] Optional. Filter by recording group.
|
|
2759
|
-
* @param {number} [startIndex] Optional. The record index to start at. All items with a lower index will be dropped from the results.
|
|
2760
|
-
* @param {number} [limit] Optional. The maximum number of records to return.
|
|
2761
|
-
* @param {RecordingStatus} [status] Optional. Filter by recording status.
|
|
2762
|
-
* @param {boolean} [isInProgress] Optional. Filter by recordings that are in progress, or not.
|
|
2763
|
-
* @param {string} [seriesTimerId] Optional. Filter by recordings belonging to a series timer.
|
|
2764
|
-
* @param {boolean} [enableImages] Optional. Include image information in output.
|
|
2765
|
-
* @param {number} [imageTypeLimit] Optional. The max number of images to return, per image type.
|
|
2766
|
-
* @param {Array<ImageType>} [enableImageTypes] Optional. The image types to include in the output.
|
|
2767
|
-
* @param {Array<ItemFields>} [fields] Optional. Specify additional fields of information to return in the output.
|
|
2768
|
-
* @param {boolean} [enableUserData] Optional. Include user data.
|
|
2769
|
-
* @param {boolean} [enableTotalRecordCount] Optional. Return total record count.
|
|
2707
|
+
* @param {LiveTvApiGetRecordingsSeriesRequest} requestParameters Request parameters.
|
|
2770
2708
|
* @param {*} [options] Override http request option.
|
|
2771
2709
|
* @deprecated
|
|
2772
2710
|
* @throws {RequiredError}
|
|
2773
2711
|
*/
|
|
2774
|
-
getRecordingsSeries(
|
|
2775
|
-
return localVarFp.getRecordingsSeries(channelId, userId, groupId, startIndex, limit, status, isInProgress, seriesTimerId, enableImages, imageTypeLimit, enableImageTypes, fields, enableUserData, enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2712
|
+
getRecordingsSeries(requestParameters = {}, options) {
|
|
2713
|
+
return localVarFp.getRecordingsSeries(requestParameters.channelId, requestParameters.userId, requestParameters.groupId, requestParameters.startIndex, requestParameters.limit, requestParameters.status, requestParameters.isInProgress, requestParameters.seriesTimerId, requestParameters.enableImages, requestParameters.imageTypeLimit, requestParameters.enableImageTypes, requestParameters.fields, requestParameters.enableUserData, requestParameters.enableTotalRecordCount, options).then((request) => request(axios, basePath));
|
|
2776
2714
|
},
|
|
2777
2715
|
/**
|
|
2778
2716
|
*
|
|
@@ -2786,46 +2724,42 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2786
2724
|
/**
|
|
2787
2725
|
*
|
|
2788
2726
|
* @summary Gets a live tv series timer.
|
|
2789
|
-
* @param {
|
|
2727
|
+
* @param {LiveTvApiGetSeriesTimerRequest} requestParameters Request parameters.
|
|
2790
2728
|
* @param {*} [options] Override http request option.
|
|
2791
2729
|
* @throws {RequiredError}
|
|
2792
2730
|
*/
|
|
2793
|
-
getSeriesTimer(
|
|
2794
|
-
return localVarFp.getSeriesTimer(timerId, options).then((request) => request(axios, basePath));
|
|
2731
|
+
getSeriesTimer(requestParameters, options) {
|
|
2732
|
+
return localVarFp.getSeriesTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
|
|
2795
2733
|
},
|
|
2796
2734
|
/**
|
|
2797
2735
|
*
|
|
2798
2736
|
* @summary Gets live tv series timers.
|
|
2799
|
-
* @param {
|
|
2800
|
-
* @param {SortOrder} [sortOrder] Optional. Sort in Ascending or Descending order.
|
|
2737
|
+
* @param {LiveTvApiGetSeriesTimersRequest} requestParameters Request parameters.
|
|
2801
2738
|
* @param {*} [options] Override http request option.
|
|
2802
2739
|
* @throws {RequiredError}
|
|
2803
2740
|
*/
|
|
2804
|
-
getSeriesTimers(
|
|
2805
|
-
return localVarFp.getSeriesTimers(sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2741
|
+
getSeriesTimers(requestParameters = {}, options) {
|
|
2742
|
+
return localVarFp.getSeriesTimers(requestParameters.sortBy, requestParameters.sortOrder, options).then((request) => request(axios, basePath));
|
|
2806
2743
|
},
|
|
2807
2744
|
/**
|
|
2808
2745
|
*
|
|
2809
2746
|
* @summary Gets a timer.
|
|
2810
|
-
* @param {
|
|
2747
|
+
* @param {LiveTvApiGetTimerRequest} requestParameters Request parameters.
|
|
2811
2748
|
* @param {*} [options] Override http request option.
|
|
2812
2749
|
* @throws {RequiredError}
|
|
2813
2750
|
*/
|
|
2814
|
-
getTimer(
|
|
2815
|
-
return localVarFp.getTimer(timerId, options).then((request) => request(axios, basePath));
|
|
2751
|
+
getTimer(requestParameters, options) {
|
|
2752
|
+
return localVarFp.getTimer(requestParameters.timerId, options).then((request) => request(axios, basePath));
|
|
2816
2753
|
},
|
|
2817
2754
|
/**
|
|
2818
2755
|
*
|
|
2819
2756
|
* @summary Gets the live tv timers.
|
|
2820
|
-
* @param {
|
|
2821
|
-
* @param {string} [seriesTimerId] Optional. Filter by timers belonging to a series timer.
|
|
2822
|
-
* @param {boolean} [isActive] Optional. Filter by timers that are active.
|
|
2823
|
-
* @param {boolean} [isScheduled] Optional. Filter by timers that are scheduled.
|
|
2757
|
+
* @param {LiveTvApiGetTimersRequest} requestParameters Request parameters.
|
|
2824
2758
|
* @param {*} [options] Override http request option.
|
|
2825
2759
|
* @throws {RequiredError}
|
|
2826
2760
|
*/
|
|
2827
|
-
getTimers(
|
|
2828
|
-
return localVarFp.getTimers(channelId, seriesTimerId, isActive, isScheduled, options).then((request) => request(axios, basePath));
|
|
2761
|
+
getTimers(requestParameters = {}, options) {
|
|
2762
|
+
return localVarFp.getTimers(requestParameters.channelId, requestParameters.seriesTimerId, requestParameters.isActive, requestParameters.isScheduled, options).then((request) => request(axios, basePath));
|
|
2829
2763
|
},
|
|
2830
2764
|
/**
|
|
2831
2765
|
*
|
|
@@ -2839,44 +2773,42 @@ const LiveTvApiFactory = function (configuration, basePath, axios) {
|
|
|
2839
2773
|
/**
|
|
2840
2774
|
*
|
|
2841
2775
|
* @summary Resets a tv tuner.
|
|
2842
|
-
* @param {
|
|
2776
|
+
* @param {LiveTvApiResetTunerRequest} requestParameters Request parameters.
|
|
2843
2777
|
* @param {*} [options] Override http request option.
|
|
2844
2778
|
* @throws {RequiredError}
|
|
2845
2779
|
*/
|
|
2846
|
-
resetTuner(
|
|
2847
|
-
return localVarFp.resetTuner(tunerId, options).then((request) => request(axios, basePath));
|
|
2780
|
+
resetTuner(requestParameters, options) {
|
|
2781
|
+
return localVarFp.resetTuner(requestParameters.tunerId, options).then((request) => request(axios, basePath));
|
|
2848
2782
|
},
|
|
2849
2783
|
/**
|
|
2850
2784
|
*
|
|
2851
2785
|
* @summary Set channel mappings.
|
|
2852
|
-
* @param {
|
|
2786
|
+
* @param {LiveTvApiSetChannelMappingRequest} requestParameters Request parameters.
|
|
2853
2787
|
* @param {*} [options] Override http request option.
|
|
2854
2788
|
* @throws {RequiredError}
|
|
2855
2789
|
*/
|
|
2856
|
-
setChannelMapping(
|
|
2857
|
-
return localVarFp.setChannelMapping(setChannelMappingDto, options).then((request) => request(axios, basePath));
|
|
2790
|
+
setChannelMapping(requestParameters, options) {
|
|
2791
|
+
return localVarFp.setChannelMapping(requestParameters.setChannelMappingDto, options).then((request) => request(axios, basePath));
|
|
2858
2792
|
},
|
|
2859
2793
|
/**
|
|
2860
2794
|
*
|
|
2861
2795
|
* @summary Updates a live tv series timer.
|
|
2862
|
-
* @param {
|
|
2863
|
-
* @param {SeriesTimerInfoDto} [seriesTimerInfoDto] New series timer info.
|
|
2796
|
+
* @param {LiveTvApiUpdateSeriesTimerRequest} requestParameters Request parameters.
|
|
2864
2797
|
* @param {*} [options] Override http request option.
|
|
2865
2798
|
* @throws {RequiredError}
|
|
2866
2799
|
*/
|
|
2867
|
-
updateSeriesTimer(
|
|
2868
|
-
return localVarFp.updateSeriesTimer(timerId, seriesTimerInfoDto, options).then((request) => request(axios, basePath));
|
|
2800
|
+
updateSeriesTimer(requestParameters, options) {
|
|
2801
|
+
return localVarFp.updateSeriesTimer(requestParameters.timerId, requestParameters.seriesTimerInfoDto, options).then((request) => request(axios, basePath));
|
|
2869
2802
|
},
|
|
2870
2803
|
/**
|
|
2871
2804
|
*
|
|
2872
2805
|
* @summary Updates a live tv timer.
|
|
2873
|
-
* @param {
|
|
2874
|
-
* @param {TimerInfoDto} [timerInfoDto] New timer info.
|
|
2806
|
+
* @param {LiveTvApiUpdateTimerRequest} requestParameters Request parameters.
|
|
2875
2807
|
* @param {*} [options] Override http request option.
|
|
2876
2808
|
* @throws {RequiredError}
|
|
2877
2809
|
*/
|
|
2878
|
-
updateTimer(
|
|
2879
|
-
return localVarFp.updateTimer(timerId, timerInfoDto, options).then((request) => request(axios, basePath));
|
|
2810
|
+
updateTimer(requestParameters, options) {
|
|
2811
|
+
return localVarFp.updateTimer(requestParameters.timerId, requestParameters.timerInfoDto, options).then((request) => request(axios, basePath));
|
|
2880
2812
|
},
|
|
2881
2813
|
};
|
|
2882
2814
|
};
|