@jellyfin/sdk 0.9.0 → 0.10.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.
Files changed (72) hide show
  1. package/README.md +5 -0
  2. package/lib/discovery/discovery-service.js +4 -9
  3. package/lib/discovery/recommended-server-discovery.js +17 -22
  4. package/lib/generated-client/api/activity-log-api.js +8 -11
  5. package/lib/generated-client/api/api-key-api.js +24 -31
  6. package/lib/generated-client/api/artists-api.js +24 -31
  7. package/lib/generated-client/api/audio-api.d.ts +12 -12
  8. package/lib/generated-client/api/audio-api.js +28 -37
  9. package/lib/generated-client/api/branding-api.js +21 -28
  10. package/lib/generated-client/api/channels-api.js +40 -51
  11. package/lib/generated-client/api/client-log-api.js +8 -11
  12. package/lib/generated-client/api/collection-api.js +24 -31
  13. package/lib/generated-client/api/configuration-api.js +40 -51
  14. package/lib/generated-client/api/dashboard-api.js +15 -20
  15. package/lib/generated-client/api/devices-api.js +40 -51
  16. package/lib/generated-client/api/display-preferences-api.js +16 -21
  17. package/lib/generated-client/api/dynamic-hls-api.d.ts +27 -27
  18. package/lib/generated-client/api/dynamic-hls-api.js +72 -91
  19. package/lib/generated-client/api/environment-api.js +48 -61
  20. package/lib/generated-client/api/filter-api.js +16 -21
  21. package/lib/generated-client/api/genres-api.js +16 -21
  22. package/lib/generated-client/api/hls-segment-api.js +37 -48
  23. package/lib/generated-client/api/image-api.js +269 -344
  24. package/lib/generated-client/api/instant-mix-api.js +64 -81
  25. package/lib/generated-client/api/item-lookup-api.js +88 -111
  26. package/lib/generated-client/api/item-refresh-api.js +8 -11
  27. package/lib/generated-client/api/item-update-api.js +24 -31
  28. package/lib/generated-client/api/items-api.js +32 -41
  29. package/lib/generated-client/api/library-api.js +200 -251
  30. package/lib/generated-client/api/library-structure-api.js +64 -81
  31. package/lib/generated-client/api/live-tv-api.js +326 -409
  32. package/lib/generated-client/api/localization-api.js +32 -41
  33. package/lib/generated-client/api/lyrics-api.js +48 -61
  34. package/lib/generated-client/api/media-info-api.js +40 -51
  35. package/lib/generated-client/api/movies-api.js +8 -11
  36. package/lib/generated-client/api/music-genres-api.js +16 -21
  37. package/lib/generated-client/api/package-api.js +48 -61
  38. package/lib/generated-client/api/persons-api.js +16 -21
  39. package/lib/generated-client/api/playlists-api.js +80 -101
  40. package/lib/generated-client/api/playstate-api.js +72 -91
  41. package/lib/generated-client/api/plugins-api.js +72 -91
  42. package/lib/generated-client/api/quick-connect-api.js +29 -38
  43. package/lib/generated-client/api/remote-image-api.js +24 -31
  44. package/lib/generated-client/api/scheduled-tasks-api.js +40 -51
  45. package/lib/generated-client/api/search-api.js +8 -11
  46. package/lib/generated-client/api/session-api.js +128 -161
  47. package/lib/generated-client/api/startup-api.js +56 -71
  48. package/lib/generated-client/api/studios-api.js +16 -21
  49. package/lib/generated-client/api/subtitle-api.js +78 -99
  50. package/lib/generated-client/api/suggestions-api.js +8 -11
  51. package/lib/generated-client/api/sync-play-api.js +168 -211
  52. package/lib/generated-client/api/system-api.js +77 -98
  53. package/lib/generated-client/api/time-sync-api.js +7 -10
  54. package/lib/generated-client/api/tmdb-api.js +8 -11
  55. package/lib/generated-client/api/trailers-api.js +8 -11
  56. package/lib/generated-client/api/trickplay-api.js +16 -21
  57. package/lib/generated-client/api/tv-shows-api.js +32 -41
  58. package/lib/generated-client/api/universal-audio-api.js +16 -21
  59. package/lib/generated-client/api/user-api.js +107 -136
  60. package/lib/generated-client/api/user-library-api.js +80 -101
  61. package/lib/generated-client/api/user-views-api.js +16 -21
  62. package/lib/generated-client/api/video-attachments-api.js +7 -10
  63. package/lib/generated-client/api/videos-api.d.ts +12 -12
  64. package/lib/generated-client/api/videos-api.js +52 -67
  65. package/lib/generated-client/api/years-api.js +16 -21
  66. package/lib/generated-client/common.js +8 -11
  67. package/lib/generated-client/models/search-hint.d.ts +1 -1
  68. package/lib/utils/api/image-urls-api.js +16 -4
  69. package/lib/versions.d.ts +1 -1
  70. package/lib/versions.js +1 -1
  71. package/package.json +10 -10
  72. package/lib/node_modules/tslib/tslib.es6.js +0 -33
@@ -1,4 +1,3 @@
1
- import { __awaiter } from '../../node_modules/tslib/tslib.es6.js';
2
1
  import globalAxios from 'axios';
3
2
  import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction } from '../common.js';
4
3
  import { BaseAPI, BASE_PATH } from '../base.js';
@@ -81,7 +80,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
81
80
  * @param {*} [options] Override http request option.
82
81
  * @throws {RequiredError}
83
82
  */
84
- getHlsAudioSegment: (itemId_1, playlistId_1, segmentId_1, container_1, runtimeTicks_1, actualSegmentLengthTicks_1, _static_1, params_1, tag_1, deviceProfileId_1, playSessionId_1, segmentContainer_1, segmentLength_1, minSegments_1, mediaSourceId_1, deviceId_1, audioCodec_1, enableAutoStreamCopy_1, allowVideoStreamCopy_1, allowAudioStreamCopy_1, breakOnNonKeyFrames_1, audioSampleRate_1, maxAudioBitDepth_1, maxStreamingBitrate_1, audioBitRate_1, audioChannels_1, maxAudioChannels_1, profile_1, level_1, framerate_1, maxFramerate_1, copyTimestamps_1, startTimeTicks_1, width_1, height_1, videoBitRate_1, subtitleStreamIndex_1, subtitleMethod_1, maxRefFrames_1, maxVideoBitDepth_1, requireAvc_1, deInterlace_1, requireNonAnamorphic_1, transcodingMaxAudioChannels_1, cpuCoreLimit_1, liveStreamId_1, enableMpegtsM2TsMode_1, videoCodec_1, subtitleCodec_1, transcodeReasons_1, audioStreamIndex_1, videoStreamIndex_1, context_1, streamOptions_1, ...args_1) => __awaiter(this, [itemId_1, playlistId_1, segmentId_1, container_1, runtimeTicks_1, actualSegmentLengthTicks_1, _static_1, params_1, tag_1, deviceProfileId_1, playSessionId_1, segmentContainer_1, segmentLength_1, minSegments_1, mediaSourceId_1, deviceId_1, audioCodec_1, enableAutoStreamCopy_1, allowVideoStreamCopy_1, allowAudioStreamCopy_1, breakOnNonKeyFrames_1, audioSampleRate_1, maxAudioBitDepth_1, maxStreamingBitrate_1, audioBitRate_1, audioChannels_1, maxAudioChannels_1, profile_1, level_1, framerate_1, maxFramerate_1, copyTimestamps_1, startTimeTicks_1, width_1, height_1, videoBitRate_1, subtitleStreamIndex_1, subtitleMethod_1, maxRefFrames_1, maxVideoBitDepth_1, requireAvc_1, deInterlace_1, requireNonAnamorphic_1, transcodingMaxAudioChannels_1, cpuCoreLimit_1, liveStreamId_1, enableMpegtsM2TsMode_1, videoCodec_1, subtitleCodec_1, transcodeReasons_1, audioStreamIndex_1, videoStreamIndex_1, context_1, streamOptions_1, ...args_1], void 0, function* (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
83
+ getHlsAudioSegment: async (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
85
84
  // verify required parameter 'itemId' is not null or undefined
86
85
  assertParamExists('getHlsAudioSegment', 'itemId', itemId);
87
86
  // verify required parameter 'playlistId' is not null or undefined
@@ -105,11 +104,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
105
104
  if (configuration) {
106
105
  baseOptions = configuration.baseOptions;
107
106
  }
108
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
107
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
109
108
  const localVarHeaderParameter = {};
110
109
  const localVarQueryParameter = {};
111
110
  // authentication CustomAuthentication required
112
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
111
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
113
112
  if (runtimeTicks !== undefined) {
114
113
  localVarQueryParameter['runtimeTicks'] = runtimeTicks;
115
114
  }
@@ -262,12 +261,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
262
261
  }
263
262
  setSearchParams(localVarUrlObj, localVarQueryParameter);
264
263
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
265
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
264
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
266
265
  return {
267
266
  url: toPathString(localVarUrlObj),
268
267
  options: localVarRequestOptions,
269
268
  };
270
- }),
269
+ },
271
270
  /**
272
271
  *
273
272
  * @summary Gets a video stream using HTTP live streaming.
@@ -329,7 +328,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
329
328
  * @param {*} [options] Override http request option.
330
329
  * @throws {RequiredError}
331
330
  */
332
- getHlsVideoSegment: (itemId_2, playlistId_2, segmentId_2, container_2, runtimeTicks_2, actualSegmentLengthTicks_2, _static_2, params_2, tag_2, deviceProfileId_2, playSessionId_2, segmentContainer_2, segmentLength_2, minSegments_2, mediaSourceId_2, deviceId_2, audioCodec_2, enableAutoStreamCopy_2, allowVideoStreamCopy_2, allowAudioStreamCopy_2, breakOnNonKeyFrames_2, audioSampleRate_2, maxAudioBitDepth_2, audioBitRate_2, audioChannels_2, maxAudioChannels_2, profile_2, level_2, framerate_2, maxFramerate_2, copyTimestamps_2, startTimeTicks_2, width_2, height_2, maxWidth_1, maxHeight_1, videoBitRate_2, subtitleStreamIndex_2, subtitleMethod_2, maxRefFrames_2, maxVideoBitDepth_2, requireAvc_2, deInterlace_2, requireNonAnamorphic_2, transcodingMaxAudioChannels_2, cpuCoreLimit_2, liveStreamId_2, enableMpegtsM2TsMode_2, videoCodec_2, subtitleCodec_2, transcodeReasons_2, audioStreamIndex_2, videoStreamIndex_2, context_2, streamOptions_2, ...args_2) => __awaiter(this, [itemId_2, playlistId_2, segmentId_2, container_2, runtimeTicks_2, actualSegmentLengthTicks_2, _static_2, params_2, tag_2, deviceProfileId_2, playSessionId_2, segmentContainer_2, segmentLength_2, minSegments_2, mediaSourceId_2, deviceId_2, audioCodec_2, enableAutoStreamCopy_2, allowVideoStreamCopy_2, allowAudioStreamCopy_2, breakOnNonKeyFrames_2, audioSampleRate_2, maxAudioBitDepth_2, audioBitRate_2, audioChannels_2, maxAudioChannels_2, profile_2, level_2, framerate_2, maxFramerate_2, copyTimestamps_2, startTimeTicks_2, width_2, height_2, maxWidth_1, maxHeight_1, videoBitRate_2, subtitleStreamIndex_2, subtitleMethod_2, maxRefFrames_2, maxVideoBitDepth_2, requireAvc_2, deInterlace_2, requireNonAnamorphic_2, transcodingMaxAudioChannels_2, cpuCoreLimit_2, liveStreamId_2, enableMpegtsM2TsMode_2, videoCodec_2, subtitleCodec_2, transcodeReasons_2, audioStreamIndex_2, videoStreamIndex_2, context_2, streamOptions_2, ...args_2], void 0, function* (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
331
+ getHlsVideoSegment: async (itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
333
332
  // verify required parameter 'itemId' is not null or undefined
334
333
  assertParamExists('getHlsVideoSegment', 'itemId', itemId);
335
334
  // verify required parameter 'playlistId' is not null or undefined
@@ -353,11 +352,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
353
352
  if (configuration) {
354
353
  baseOptions = configuration.baseOptions;
355
354
  }
356
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
355
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
357
356
  const localVarHeaderParameter = {};
358
357
  const localVarQueryParameter = {};
359
358
  // authentication CustomAuthentication required
360
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
359
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
361
360
  if (runtimeTicks !== undefined) {
362
361
  localVarQueryParameter['runtimeTicks'] = runtimeTicks;
363
362
  }
@@ -513,12 +512,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
513
512
  }
514
513
  setSearchParams(localVarUrlObj, localVarQueryParameter);
515
514
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
516
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
515
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
517
516
  return {
518
517
  url: toPathString(localVarUrlObj),
519
518
  options: localVarRequestOptions,
520
519
  };
521
- }),
520
+ },
522
521
  /**
523
522
  *
524
523
  * @summary Gets a hls live stream.
@@ -577,7 +576,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
577
576
  * @param {*} [options] Override http request option.
578
577
  * @throws {RequiredError}
579
578
  */
580
- getLiveHlsStream: (itemId_3, container_3, _static_3, params_3, tag_3, deviceProfileId_3, playSessionId_3, segmentContainer_3, segmentLength_3, minSegments_3, mediaSourceId_3, deviceId_3, audioCodec_3, enableAutoStreamCopy_3, allowVideoStreamCopy_3, allowAudioStreamCopy_3, breakOnNonKeyFrames_3, audioSampleRate_3, maxAudioBitDepth_3, audioBitRate_3, audioChannels_3, maxAudioChannels_3, profile_3, level_3, framerate_3, maxFramerate_3, copyTimestamps_3, startTimeTicks_3, width_3, height_3, videoBitRate_3, subtitleStreamIndex_3, subtitleMethod_3, maxRefFrames_3, maxVideoBitDepth_3, requireAvc_3, deInterlace_3, requireNonAnamorphic_3, transcodingMaxAudioChannels_3, cpuCoreLimit_3, liveStreamId_3, enableMpegtsM2TsMode_3, videoCodec_3, subtitleCodec_3, transcodeReasons_3, audioStreamIndex_3, videoStreamIndex_3, context_3, streamOptions_3, maxWidth_2, maxHeight_2, enableSubtitlesInManifest_1, ...args_3) => __awaiter(this, [itemId_3, container_3, _static_3, params_3, tag_3, deviceProfileId_3, playSessionId_3, segmentContainer_3, segmentLength_3, minSegments_3, mediaSourceId_3, deviceId_3, audioCodec_3, enableAutoStreamCopy_3, allowVideoStreamCopy_3, allowAudioStreamCopy_3, breakOnNonKeyFrames_3, audioSampleRate_3, maxAudioBitDepth_3, audioBitRate_3, audioChannels_3, maxAudioChannels_3, profile_3, level_3, framerate_3, maxFramerate_3, copyTimestamps_3, startTimeTicks_3, width_3, height_3, videoBitRate_3, subtitleStreamIndex_3, subtitleMethod_3, maxRefFrames_3, maxVideoBitDepth_3, requireAvc_3, deInterlace_3, requireNonAnamorphic_3, transcodingMaxAudioChannels_3, cpuCoreLimit_3, liveStreamId_3, enableMpegtsM2TsMode_3, videoCodec_3, subtitleCodec_3, transcodeReasons_3, audioStreamIndex_3, videoStreamIndex_3, context_3, streamOptions_3, maxWidth_2, maxHeight_2, enableSubtitlesInManifest_1, ...args_3], void 0, function* (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options = {}) {
579
+ getLiveHlsStream: async (itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options = {}) => {
581
580
  // verify required parameter 'itemId' is not null or undefined
582
581
  assertParamExists('getLiveHlsStream', 'itemId', itemId);
583
582
  const localVarPath = `/Videos/{itemId}/live.m3u8`
@@ -588,11 +587,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
588
587
  if (configuration) {
589
588
  baseOptions = configuration.baseOptions;
590
589
  }
591
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
590
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
592
591
  const localVarHeaderParameter = {};
593
592
  const localVarQueryParameter = {};
594
593
  // authentication CustomAuthentication required
595
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
594
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
596
595
  if (container !== undefined) {
597
596
  localVarQueryParameter['container'] = container;
598
597
  }
@@ -748,12 +747,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
748
747
  }
749
748
  setSearchParams(localVarUrlObj, localVarQueryParameter);
750
749
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
751
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
750
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
752
751
  return {
753
752
  url: toPathString(localVarUrlObj),
754
753
  options: localVarRequestOptions,
755
754
  };
756
- }),
755
+ },
757
756
  /**
758
757
  *
759
758
  * @summary Gets an audio hls playlist stream.
@@ -810,7 +809,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
810
809
  * @param {*} [options] Override http request option.
811
810
  * @throws {RequiredError}
812
811
  */
813
- getMasterHlsAudioPlaylist: (itemId_4, mediaSourceId_4, _static_4, params_4, tag_4, deviceProfileId_4, playSessionId_4, segmentContainer_4, segmentLength_4, minSegments_4, deviceId_4, audioCodec_4, enableAutoStreamCopy_4, allowVideoStreamCopy_4, allowAudioStreamCopy_4, breakOnNonKeyFrames_4, audioSampleRate_4, maxAudioBitDepth_4, maxStreamingBitrate_2, audioBitRate_4, audioChannels_4, maxAudioChannels_4, profile_4, level_4, framerate_4, maxFramerate_4, copyTimestamps_4, startTimeTicks_4, width_4, height_4, videoBitRate_4, subtitleStreamIndex_4, subtitleMethod_4, maxRefFrames_4, maxVideoBitDepth_4, requireAvc_4, deInterlace_4, requireNonAnamorphic_4, transcodingMaxAudioChannels_4, cpuCoreLimit_4, liveStreamId_4, enableMpegtsM2TsMode_4, videoCodec_4, subtitleCodec_4, transcodeReasons_4, audioStreamIndex_4, videoStreamIndex_4, context_4, streamOptions_4, enableAdaptiveBitrateStreaming_1, ...args_4) => __awaiter(this, [itemId_4, mediaSourceId_4, _static_4, params_4, tag_4, deviceProfileId_4, playSessionId_4, segmentContainer_4, segmentLength_4, minSegments_4, deviceId_4, audioCodec_4, enableAutoStreamCopy_4, allowVideoStreamCopy_4, allowAudioStreamCopy_4, breakOnNonKeyFrames_4, audioSampleRate_4, maxAudioBitDepth_4, maxStreamingBitrate_2, audioBitRate_4, audioChannels_4, maxAudioChannels_4, profile_4, level_4, framerate_4, maxFramerate_4, copyTimestamps_4, startTimeTicks_4, width_4, height_4, videoBitRate_4, subtitleStreamIndex_4, subtitleMethod_4, maxRefFrames_4, maxVideoBitDepth_4, requireAvc_4, deInterlace_4, requireNonAnamorphic_4, transcodingMaxAudioChannels_4, cpuCoreLimit_4, liveStreamId_4, enableMpegtsM2TsMode_4, videoCodec_4, subtitleCodec_4, transcodeReasons_4, audioStreamIndex_4, videoStreamIndex_4, context_4, streamOptions_4, enableAdaptiveBitrateStreaming_1, ...args_4], void 0, function* (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) {
812
+ getMasterHlsAudioPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => {
814
813
  // verify required parameter 'itemId' is not null or undefined
815
814
  assertParamExists('getMasterHlsAudioPlaylist', 'itemId', itemId);
816
815
  // verify required parameter 'mediaSourceId' is not null or undefined
@@ -823,11 +822,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
823
822
  if (configuration) {
824
823
  baseOptions = configuration.baseOptions;
825
824
  }
826
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
825
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
827
826
  const localVarHeaderParameter = {};
828
827
  const localVarQueryParameter = {};
829
828
  // authentication CustomAuthentication required
830
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
829
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
831
830
  if (_static !== undefined) {
832
831
  localVarQueryParameter['static'] = _static;
833
832
  }
@@ -977,12 +976,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
977
976
  }
978
977
  setSearchParams(localVarUrlObj, localVarQueryParameter);
979
978
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
980
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
979
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
981
980
  return {
982
981
  url: toPathString(localVarUrlObj),
983
982
  options: localVarRequestOptions,
984
983
  };
985
- }),
984
+ },
986
985
  /**
987
986
  *
988
987
  * @summary Gets a video hls playlist stream.
@@ -1041,7 +1040,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1041
1040
  * @param {*} [options] Override http request option.
1042
1041
  * @throws {RequiredError}
1043
1042
  */
1044
- getMasterHlsVideoPlaylist: (itemId_5, mediaSourceId_5, _static_5, params_5, tag_5, deviceProfileId_5, playSessionId_5, segmentContainer_5, segmentLength_5, minSegments_5, deviceId_5, audioCodec_5, enableAutoStreamCopy_5, allowVideoStreamCopy_5, allowAudioStreamCopy_5, breakOnNonKeyFrames_5, audioSampleRate_5, maxAudioBitDepth_5, audioBitRate_5, audioChannels_5, maxAudioChannels_5, profile_5, level_5, framerate_5, maxFramerate_5, copyTimestamps_5, startTimeTicks_5, width_5, height_5, maxWidth_3, maxHeight_3, videoBitRate_5, subtitleStreamIndex_5, subtitleMethod_5, maxRefFrames_5, maxVideoBitDepth_5, requireAvc_5, deInterlace_5, requireNonAnamorphic_5, transcodingMaxAudioChannels_5, cpuCoreLimit_5, liveStreamId_5, enableMpegtsM2TsMode_5, videoCodec_5, subtitleCodec_5, transcodeReasons_5, audioStreamIndex_5, videoStreamIndex_5, context_5, streamOptions_5, enableAdaptiveBitrateStreaming_2, enableTrickplay_1, ...args_5) => __awaiter(this, [itemId_5, mediaSourceId_5, _static_5, params_5, tag_5, deviceProfileId_5, playSessionId_5, segmentContainer_5, segmentLength_5, minSegments_5, deviceId_5, audioCodec_5, enableAutoStreamCopy_5, allowVideoStreamCopy_5, allowAudioStreamCopy_5, breakOnNonKeyFrames_5, audioSampleRate_5, maxAudioBitDepth_5, audioBitRate_5, audioChannels_5, maxAudioChannels_5, profile_5, level_5, framerate_5, maxFramerate_5, copyTimestamps_5, startTimeTicks_5, width_5, height_5, maxWidth_3, maxHeight_3, videoBitRate_5, subtitleStreamIndex_5, subtitleMethod_5, maxRefFrames_5, maxVideoBitDepth_5, requireAvc_5, deInterlace_5, requireNonAnamorphic_5, transcodingMaxAudioChannels_5, cpuCoreLimit_5, liveStreamId_5, enableMpegtsM2TsMode_5, videoCodec_5, subtitleCodec_5, transcodeReasons_5, audioStreamIndex_5, videoStreamIndex_5, context_5, streamOptions_5, enableAdaptiveBitrateStreaming_2, enableTrickplay_1, ...args_5], void 0, function* (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) {
1043
+ getMasterHlsVideoPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) => {
1045
1044
  // verify required parameter 'itemId' is not null or undefined
1046
1045
  assertParamExists('getMasterHlsVideoPlaylist', 'itemId', itemId);
1047
1046
  // verify required parameter 'mediaSourceId' is not null or undefined
@@ -1054,11 +1053,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1054
1053
  if (configuration) {
1055
1054
  baseOptions = configuration.baseOptions;
1056
1055
  }
1057
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1056
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1058
1057
  const localVarHeaderParameter = {};
1059
1058
  const localVarQueryParameter = {};
1060
1059
  // authentication CustomAuthentication required
1061
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1060
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1062
1061
  if (_static !== undefined) {
1063
1062
  localVarQueryParameter['static'] = _static;
1064
1063
  }
@@ -1214,12 +1213,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1214
1213
  }
1215
1214
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1216
1215
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1217
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1216
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1218
1217
  return {
1219
1218
  url: toPathString(localVarUrlObj),
1220
1219
  options: localVarRequestOptions,
1221
1220
  };
1222
- }),
1221
+ },
1223
1222
  /**
1224
1223
  *
1225
1224
  * @summary Gets an audio stream using HTTP live streaming.
@@ -1275,7 +1274,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1275
1274
  * @param {*} [options] Override http request option.
1276
1275
  * @throws {RequiredError}
1277
1276
  */
1278
- getVariantHlsAudioPlaylist: (itemId_6, _static_6, params_6, tag_6, deviceProfileId_6, playSessionId_6, segmentContainer_6, segmentLength_6, minSegments_6, mediaSourceId_6, deviceId_6, audioCodec_6, enableAutoStreamCopy_6, allowVideoStreamCopy_6, allowAudioStreamCopy_6, breakOnNonKeyFrames_6, audioSampleRate_6, maxAudioBitDepth_6, maxStreamingBitrate_3, audioBitRate_6, audioChannels_6, maxAudioChannels_6, profile_6, level_6, framerate_6, maxFramerate_6, copyTimestamps_6, startTimeTicks_6, width_6, height_6, videoBitRate_6, subtitleStreamIndex_6, subtitleMethod_6, maxRefFrames_6, maxVideoBitDepth_6, requireAvc_6, deInterlace_6, requireNonAnamorphic_6, transcodingMaxAudioChannels_6, cpuCoreLimit_6, liveStreamId_6, enableMpegtsM2TsMode_6, videoCodec_6, subtitleCodec_6, transcodeReasons_6, audioStreamIndex_6, videoStreamIndex_6, context_6, streamOptions_6, ...args_6) => __awaiter(this, [itemId_6, _static_6, params_6, tag_6, deviceProfileId_6, playSessionId_6, segmentContainer_6, segmentLength_6, minSegments_6, mediaSourceId_6, deviceId_6, audioCodec_6, enableAutoStreamCopy_6, allowVideoStreamCopy_6, allowAudioStreamCopy_6, breakOnNonKeyFrames_6, audioSampleRate_6, maxAudioBitDepth_6, maxStreamingBitrate_3, audioBitRate_6, audioChannels_6, maxAudioChannels_6, profile_6, level_6, framerate_6, maxFramerate_6, copyTimestamps_6, startTimeTicks_6, width_6, height_6, videoBitRate_6, subtitleStreamIndex_6, subtitleMethod_6, maxRefFrames_6, maxVideoBitDepth_6, requireAvc_6, deInterlace_6, requireNonAnamorphic_6, transcodingMaxAudioChannels_6, cpuCoreLimit_6, liveStreamId_6, enableMpegtsM2TsMode_6, videoCodec_6, subtitleCodec_6, transcodeReasons_6, audioStreamIndex_6, videoStreamIndex_6, context_6, streamOptions_6, ...args_6], void 0, function* (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
1277
+ getVariantHlsAudioPlaylist: async (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
1279
1278
  // verify required parameter 'itemId' is not null or undefined
1280
1279
  assertParamExists('getVariantHlsAudioPlaylist', 'itemId', itemId);
1281
1280
  const localVarPath = `/Audio/{itemId}/main.m3u8`
@@ -1286,11 +1285,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1286
1285
  if (configuration) {
1287
1286
  baseOptions = configuration.baseOptions;
1288
1287
  }
1289
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1288
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1290
1289
  const localVarHeaderParameter = {};
1291
1290
  const localVarQueryParameter = {};
1292
1291
  // authentication CustomAuthentication required
1293
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1292
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1294
1293
  if (_static !== undefined) {
1295
1294
  localVarQueryParameter['static'] = _static;
1296
1295
  }
@@ -1437,12 +1436,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1437
1436
  }
1438
1437
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1439
1438
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1440
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1439
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1441
1440
  return {
1442
1441
  url: toPathString(localVarUrlObj),
1443
1442
  options: localVarRequestOptions,
1444
1443
  };
1445
- }),
1444
+ },
1446
1445
  /**
1447
1446
  *
1448
1447
  * @summary Gets a video stream using HTTP live streaming.
@@ -1499,7 +1498,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1499
1498
  * @param {*} [options] Override http request option.
1500
1499
  * @throws {RequiredError}
1501
1500
  */
1502
- getVariantHlsVideoPlaylist: (itemId_7, _static_7, params_7, tag_7, deviceProfileId_7, playSessionId_7, segmentContainer_7, segmentLength_7, minSegments_7, mediaSourceId_7, deviceId_7, audioCodec_7, enableAutoStreamCopy_7, allowVideoStreamCopy_7, allowAudioStreamCopy_7, breakOnNonKeyFrames_7, audioSampleRate_7, maxAudioBitDepth_7, audioBitRate_7, audioChannels_7, maxAudioChannels_7, profile_7, level_7, framerate_7, maxFramerate_7, copyTimestamps_7, startTimeTicks_7, width_7, height_7, maxWidth_4, maxHeight_4, videoBitRate_7, subtitleStreamIndex_7, subtitleMethod_7, maxRefFrames_7, maxVideoBitDepth_7, requireAvc_7, deInterlace_7, requireNonAnamorphic_7, transcodingMaxAudioChannels_7, cpuCoreLimit_7, liveStreamId_7, enableMpegtsM2TsMode_7, videoCodec_7, subtitleCodec_7, transcodeReasons_7, audioStreamIndex_7, videoStreamIndex_7, context_7, streamOptions_7, ...args_7) => __awaiter(this, [itemId_7, _static_7, params_7, tag_7, deviceProfileId_7, playSessionId_7, segmentContainer_7, segmentLength_7, minSegments_7, mediaSourceId_7, deviceId_7, audioCodec_7, enableAutoStreamCopy_7, allowVideoStreamCopy_7, allowAudioStreamCopy_7, breakOnNonKeyFrames_7, audioSampleRate_7, maxAudioBitDepth_7, audioBitRate_7, audioChannels_7, maxAudioChannels_7, profile_7, level_7, framerate_7, maxFramerate_7, copyTimestamps_7, startTimeTicks_7, width_7, height_7, maxWidth_4, maxHeight_4, videoBitRate_7, subtitleStreamIndex_7, subtitleMethod_7, maxRefFrames_7, maxVideoBitDepth_7, requireAvc_7, deInterlace_7, requireNonAnamorphic_7, transcodingMaxAudioChannels_7, cpuCoreLimit_7, liveStreamId_7, enableMpegtsM2TsMode_7, videoCodec_7, subtitleCodec_7, transcodeReasons_7, audioStreamIndex_7, videoStreamIndex_7, context_7, streamOptions_7, ...args_7], void 0, function* (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
1501
+ getVariantHlsVideoPlaylist: async (itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
1503
1502
  // verify required parameter 'itemId' is not null or undefined
1504
1503
  assertParamExists('getVariantHlsVideoPlaylist', 'itemId', itemId);
1505
1504
  const localVarPath = `/Videos/{itemId}/main.m3u8`
@@ -1510,11 +1509,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1510
1509
  if (configuration) {
1511
1510
  baseOptions = configuration.baseOptions;
1512
1511
  }
1513
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1512
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1514
1513
  const localVarHeaderParameter = {};
1515
1514
  const localVarQueryParameter = {};
1516
1515
  // authentication CustomAuthentication required
1517
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1516
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1518
1517
  if (_static !== undefined) {
1519
1518
  localVarQueryParameter['static'] = _static;
1520
1519
  }
@@ -1664,12 +1663,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1664
1663
  }
1665
1664
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1666
1665
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1667
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1666
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1668
1667
  return {
1669
1668
  url: toPathString(localVarUrlObj),
1670
1669
  options: localVarRequestOptions,
1671
1670
  };
1672
- }),
1671
+ },
1673
1672
  /**
1674
1673
  *
1675
1674
  * @summary Gets an audio hls playlist stream.
@@ -1726,7 +1725,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1726
1725
  * @param {*} [options] Override http request option.
1727
1726
  * @throws {RequiredError}
1728
1727
  */
1729
- headMasterHlsAudioPlaylist: (itemId_8, mediaSourceId_8, _static_8, params_8, tag_8, deviceProfileId_8, playSessionId_8, segmentContainer_8, segmentLength_8, minSegments_8, deviceId_8, audioCodec_8, enableAutoStreamCopy_8, allowVideoStreamCopy_8, allowAudioStreamCopy_8, breakOnNonKeyFrames_8, audioSampleRate_8, maxAudioBitDepth_8, maxStreamingBitrate_4, audioBitRate_8, audioChannels_8, maxAudioChannels_8, profile_8, level_8, framerate_8, maxFramerate_8, copyTimestamps_8, startTimeTicks_8, width_8, height_8, videoBitRate_8, subtitleStreamIndex_8, subtitleMethod_8, maxRefFrames_8, maxVideoBitDepth_8, requireAvc_8, deInterlace_8, requireNonAnamorphic_8, transcodingMaxAudioChannels_8, cpuCoreLimit_8, liveStreamId_8, enableMpegtsM2TsMode_8, videoCodec_8, subtitleCodec_8, transcodeReasons_8, audioStreamIndex_8, videoStreamIndex_8, context_8, streamOptions_8, enableAdaptiveBitrateStreaming_3, ...args_8) => __awaiter(this, [itemId_8, mediaSourceId_8, _static_8, params_8, tag_8, deviceProfileId_8, playSessionId_8, segmentContainer_8, segmentLength_8, minSegments_8, deviceId_8, audioCodec_8, enableAutoStreamCopy_8, allowVideoStreamCopy_8, allowAudioStreamCopy_8, breakOnNonKeyFrames_8, audioSampleRate_8, maxAudioBitDepth_8, maxStreamingBitrate_4, audioBitRate_8, audioChannels_8, maxAudioChannels_8, profile_8, level_8, framerate_8, maxFramerate_8, copyTimestamps_8, startTimeTicks_8, width_8, height_8, videoBitRate_8, subtitleStreamIndex_8, subtitleMethod_8, maxRefFrames_8, maxVideoBitDepth_8, requireAvc_8, deInterlace_8, requireNonAnamorphic_8, transcodingMaxAudioChannels_8, cpuCoreLimit_8, liveStreamId_8, enableMpegtsM2TsMode_8, videoCodec_8, subtitleCodec_8, transcodeReasons_8, audioStreamIndex_8, videoStreamIndex_8, context_8, streamOptions_8, enableAdaptiveBitrateStreaming_3, ...args_8], void 0, function* (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) {
1728
+ headMasterHlsAudioPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options = {}) => {
1730
1729
  // verify required parameter 'itemId' is not null or undefined
1731
1730
  assertParamExists('headMasterHlsAudioPlaylist', 'itemId', itemId);
1732
1731
  // verify required parameter 'mediaSourceId' is not null or undefined
@@ -1739,11 +1738,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1739
1738
  if (configuration) {
1740
1739
  baseOptions = configuration.baseOptions;
1741
1740
  }
1742
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1741
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1743
1742
  const localVarHeaderParameter = {};
1744
1743
  const localVarQueryParameter = {};
1745
1744
  // authentication CustomAuthentication required
1746
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1745
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1747
1746
  if (_static !== undefined) {
1748
1747
  localVarQueryParameter['static'] = _static;
1749
1748
  }
@@ -1893,12 +1892,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1893
1892
  }
1894
1893
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1895
1894
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1896
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1895
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1897
1896
  return {
1898
1897
  url: toPathString(localVarUrlObj),
1899
1898
  options: localVarRequestOptions,
1900
1899
  };
1901
- }),
1900
+ },
1902
1901
  /**
1903
1902
  *
1904
1903
  * @summary Gets a video hls playlist stream.
@@ -1957,7 +1956,7 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1957
1956
  * @param {*} [options] Override http request option.
1958
1957
  * @throws {RequiredError}
1959
1958
  */
1960
- headMasterHlsVideoPlaylist: (itemId_9, mediaSourceId_9, _static_9, params_9, tag_9, deviceProfileId_9, playSessionId_9, segmentContainer_9, segmentLength_9, minSegments_9, deviceId_9, audioCodec_9, enableAutoStreamCopy_9, allowVideoStreamCopy_9, allowAudioStreamCopy_9, breakOnNonKeyFrames_9, audioSampleRate_9, maxAudioBitDepth_9, audioBitRate_9, audioChannels_9, maxAudioChannels_9, profile_9, level_9, framerate_9, maxFramerate_9, copyTimestamps_9, startTimeTicks_9, width_9, height_9, maxWidth_5, maxHeight_5, videoBitRate_9, subtitleStreamIndex_9, subtitleMethod_9, maxRefFrames_9, maxVideoBitDepth_9, requireAvc_9, deInterlace_9, requireNonAnamorphic_9, transcodingMaxAudioChannels_9, cpuCoreLimit_9, liveStreamId_9, enableMpegtsM2TsMode_9, videoCodec_9, subtitleCodec_9, transcodeReasons_9, audioStreamIndex_9, videoStreamIndex_9, context_9, streamOptions_9, enableAdaptiveBitrateStreaming_4, enableTrickplay_2, ...args_9) => __awaiter(this, [itemId_9, mediaSourceId_9, _static_9, params_9, tag_9, deviceProfileId_9, playSessionId_9, segmentContainer_9, segmentLength_9, minSegments_9, deviceId_9, audioCodec_9, enableAutoStreamCopy_9, allowVideoStreamCopy_9, allowAudioStreamCopy_9, breakOnNonKeyFrames_9, audioSampleRate_9, maxAudioBitDepth_9, audioBitRate_9, audioChannels_9, maxAudioChannels_9, profile_9, level_9, framerate_9, maxFramerate_9, copyTimestamps_9, startTimeTicks_9, width_9, height_9, maxWidth_5, maxHeight_5, videoBitRate_9, subtitleStreamIndex_9, subtitleMethod_9, maxRefFrames_9, maxVideoBitDepth_9, requireAvc_9, deInterlace_9, requireNonAnamorphic_9, transcodingMaxAudioChannels_9, cpuCoreLimit_9, liveStreamId_9, enableMpegtsM2TsMode_9, videoCodec_9, subtitleCodec_9, transcodeReasons_9, audioStreamIndex_9, videoStreamIndex_9, context_9, streamOptions_9, enableAdaptiveBitrateStreaming_4, enableTrickplay_2, ...args_9], void 0, function* (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) {
1959
+ headMasterHlsVideoPlaylist: async (itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options = {}) => {
1961
1960
  // verify required parameter 'itemId' is not null or undefined
1962
1961
  assertParamExists('headMasterHlsVideoPlaylist', 'itemId', itemId);
1963
1962
  // verify required parameter 'mediaSourceId' is not null or undefined
@@ -1970,11 +1969,11 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
1970
1969
  if (configuration) {
1971
1970
  baseOptions = configuration.baseOptions;
1972
1971
  }
1973
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
1972
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
1974
1973
  const localVarHeaderParameter = {};
1975
1974
  const localVarQueryParameter = {};
1976
1975
  // authentication CustomAuthentication required
1977
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1976
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1978
1977
  if (_static !== undefined) {
1979
1978
  localVarQueryParameter['static'] = _static;
1980
1979
  }
@@ -2130,12 +2129,12 @@ const DynamicHlsApiAxiosParamCreator = function (configuration) {
2130
2129
  }
2131
2130
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2132
2131
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2133
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2132
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2134
2133
  return {
2135
2134
  url: toPathString(localVarUrlObj),
2136
2135
  options: localVarRequestOptions,
2137
2136
  };
2138
- }),
2137
+ },
2139
2138
  };
2140
2139
  };
2141
2140
  /**
@@ -2205,11 +2204,9 @@ const DynamicHlsApiFp = function (configuration) {
2205
2204
  * @param {*} [options] Override http request option.
2206
2205
  * @throws {RequiredError}
2207
2206
  */
2208
- getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2209
- return __awaiter(this, void 0, void 0, function* () {
2210
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2211
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2212
- });
2207
+ async getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2208
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsAudioSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2209
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2213
2210
  },
2214
2211
  /**
2215
2212
  *
@@ -2272,11 +2269,9 @@ const DynamicHlsApiFp = function (configuration) {
2272
2269
  * @param {*} [options] Override http request option.
2273
2270
  * @throws {RequiredError}
2274
2271
  */
2275
- getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2276
- return __awaiter(this, void 0, void 0, function* () {
2277
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2278
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2279
- });
2272
+ async getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2273
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getHlsVideoSegment(itemId, playlistId, segmentId, container, runtimeTicks, actualSegmentLengthTicks, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2274
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2280
2275
  },
2281
2276
  /**
2282
2277
  *
@@ -2336,11 +2331,9 @@ const DynamicHlsApiFp = function (configuration) {
2336
2331
  * @param {*} [options] Override http request option.
2337
2332
  * @throws {RequiredError}
2338
2333
  */
2339
- getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
2340
- return __awaiter(this, void 0, void 0, function* () {
2341
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options);
2342
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2343
- });
2334
+ async getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options) {
2335
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLiveHlsStream(itemId, container, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, maxWidth, maxHeight, enableSubtitlesInManifest, options);
2336
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2344
2337
  },
2345
2338
  /**
2346
2339
  *
@@ -2398,11 +2391,9 @@ const DynamicHlsApiFp = function (configuration) {
2398
2391
  * @param {*} [options] Override http request option.
2399
2392
  * @throws {RequiredError}
2400
2393
  */
2401
- getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2402
- return __awaiter(this, void 0, void 0, function* () {
2403
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
2404
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2405
- });
2394
+ async getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
2396
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2406
2397
  },
2407
2398
  /**
2408
2399
  *
@@ -2462,11 +2453,9 @@ const DynamicHlsApiFp = function (configuration) {
2462
2453
  * @param {*} [options] Override http request option.
2463
2454
  * @throws {RequiredError}
2464
2455
  */
2465
- getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
2466
- return __awaiter(this, void 0, void 0, function* () {
2467
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options);
2468
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2469
- });
2456
+ async getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
2457
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options);
2458
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2470
2459
  },
2471
2460
  /**
2472
2461
  *
@@ -2523,11 +2512,9 @@ const DynamicHlsApiFp = function (configuration) {
2523
2512
  * @param {*} [options] Override http request option.
2524
2513
  * @throws {RequiredError}
2525
2514
  */
2526
- getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2527
- return __awaiter(this, void 0, void 0, function* () {
2528
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2529
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2530
- });
2515
+ async getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2516
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVariantHlsAudioPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2517
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2531
2518
  },
2532
2519
  /**
2533
2520
  *
@@ -2585,11 +2572,9 @@ const DynamicHlsApiFp = function (configuration) {
2585
2572
  * @param {*} [options] Override http request option.
2586
2573
  * @throws {RequiredError}
2587
2574
  */
2588
- getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2589
- return __awaiter(this, void 0, void 0, function* () {
2590
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2591
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2592
- });
2575
+ async getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
2576
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVariantHlsVideoPlaylist(itemId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, mediaSourceId, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
2577
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2593
2578
  },
2594
2579
  /**
2595
2580
  *
@@ -2647,11 +2632,9 @@ const DynamicHlsApiFp = function (configuration) {
2647
2632
  * @param {*} [options] Override http request option.
2648
2633
  * @throws {RequiredError}
2649
2634
  */
2650
- headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2651
- return __awaiter(this, void 0, void 0, function* () {
2652
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
2653
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2654
- });
2635
+ async headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options) {
2636
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headMasterHlsAudioPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, maxStreamingBitrate, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, options);
2637
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2655
2638
  },
2656
2639
  /**
2657
2640
  *
@@ -2711,11 +2694,9 @@ const DynamicHlsApiFp = function (configuration) {
2711
2694
  * @param {*} [options] Override http request option.
2712
2695
  * @throws {RequiredError}
2713
2696
  */
2714
- headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
2715
- return __awaiter(this, void 0, void 0, function* () {
2716
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options);
2717
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2718
- });
2697
+ async headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options) {
2698
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headMasterHlsVideoPlaylist(itemId, mediaSourceId, _static, params, tag, deviceProfileId, playSessionId, segmentContainer, segmentLength, minSegments, deviceId, audioCodec, enableAutoStreamCopy, allowVideoStreamCopy, allowAudioStreamCopy, breakOnNonKeyFrames, audioSampleRate, maxAudioBitDepth, audioBitRate, audioChannels, maxAudioChannels, profile, level, framerate, maxFramerate, copyTimestamps, startTimeTicks, width, height, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, enableAdaptiveBitrateStreaming, enableTrickplay, options);
2699
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2719
2700
  },
2720
2701
  };
2721
2702
  };