@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, setSearchParams, toPathString, createRequestFunction } from '../common.js';
4
3
  import { BaseAPI, BASE_PATH } from '../base.js';
@@ -30,7 +29,7 @@ const VideoAttachmentsApiAxiosParamCreator = function (configuration) {
30
29
  * @param {*} [options] Override http request option.
31
30
  * @throws {RequiredError}
32
31
  */
33
- getAttachment: (videoId_1, mediaSourceId_1, index_1, ...args_1) => __awaiter(this, [videoId_1, mediaSourceId_1, index_1, ...args_1], void 0, function* (videoId, mediaSourceId, index, options = {}) {
32
+ getAttachment: async (videoId, mediaSourceId, index, options = {}) => {
34
33
  // verify required parameter 'videoId' is not null or undefined
35
34
  assertParamExists('getAttachment', 'videoId', videoId);
36
35
  // verify required parameter 'mediaSourceId' is not null or undefined
@@ -47,17 +46,17 @@ const VideoAttachmentsApiAxiosParamCreator = function (configuration) {
47
46
  if (configuration) {
48
47
  baseOptions = configuration.baseOptions;
49
48
  }
50
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
49
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
51
50
  const localVarHeaderParameter = {};
52
51
  const localVarQueryParameter = {};
53
52
  setSearchParams(localVarUrlObj, localVarQueryParameter);
54
53
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
54
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
56
55
  return {
57
56
  url: toPathString(localVarUrlObj),
58
57
  options: localVarRequestOptions,
59
58
  };
60
- }),
59
+ },
61
60
  };
62
61
  };
63
62
  /**
@@ -76,11 +75,9 @@ const VideoAttachmentsApiFp = function (configuration) {
76
75
  * @param {*} [options] Override http request option.
77
76
  * @throws {RequiredError}
78
77
  */
79
- getAttachment(videoId, mediaSourceId, index, options) {
80
- return __awaiter(this, void 0, void 0, function* () {
81
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAttachment(videoId, mediaSourceId, index, options);
82
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
83
- });
78
+ async getAttachment(videoId, mediaSourceId, index, options) {
79
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAttachment(videoId, mediaSourceId, index, options);
80
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
84
81
  },
85
82
  };
86
83
  };
@@ -95,7 +95,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
95
95
  */
96
96
  getVideoStream: (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
97
97
  [key: string]: string;
98
- } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
98
+ }, options?: AxiosRequestConfig) => Promise<RequestArgs>;
99
99
  /**
100
100
  *
101
101
  * @summary Gets a video stream.
@@ -155,7 +155,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
155
155
  */
156
156
  getVideoStreamByContainer: (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
157
157
  [key: string]: string;
158
- } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
158
+ }, options?: AxiosRequestConfig) => Promise<RequestArgs>;
159
159
  /**
160
160
  *
161
161
  * @summary Gets a video stream.
@@ -215,7 +215,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
215
215
  */
216
216
  headVideoStream: (itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
217
217
  [key: string]: string;
218
- } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
218
+ }, options?: AxiosRequestConfig) => Promise<RequestArgs>;
219
219
  /**
220
220
  *
221
221
  * @summary Gets a video stream.
@@ -275,7 +275,7 @@ export declare const VideosApiAxiosParamCreator: (configuration?: Configuration)
275
275
  */
276
276
  headVideoStreamByContainer: (itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
277
277
  [key: string]: string;
278
- } | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
278
+ }, options?: AxiosRequestConfig) => Promise<RequestArgs>;
279
279
  /**
280
280
  *
281
281
  * @summary Merges videos into a single record.
@@ -366,7 +366,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
366
366
  */
367
367
  getVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
368
368
  [key: string]: string;
369
- } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
369
+ }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
370
370
  /**
371
371
  *
372
372
  * @summary Gets a video stream.
@@ -426,7 +426,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
426
426
  */
427
427
  getVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
428
428
  [key: string]: string;
429
- } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
429
+ }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
430
430
  /**
431
431
  *
432
432
  * @summary Gets a video stream.
@@ -486,7 +486,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
486
486
  */
487
487
  headVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
488
488
  [key: string]: string;
489
- } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
489
+ }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
490
490
  /**
491
491
  *
492
492
  * @summary Gets a video stream.
@@ -546,7 +546,7 @@ export declare const VideosApiFp: (configuration?: Configuration) => {
546
546
  */
547
547
  headVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
548
548
  [key: string]: string;
549
- } | undefined, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
549
+ }, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
550
550
  /**
551
551
  *
552
552
  * @summary Merges videos into a single record.
@@ -637,7 +637,7 @@ export declare const VideosApiFactory: (configuration?: Configuration, basePath?
637
637
  */
638
638
  getVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
639
639
  [key: string]: string;
640
- } | undefined, options?: any): AxiosPromise<any>;
640
+ }, options?: any): AxiosPromise<any>;
641
641
  /**
642
642
  *
643
643
  * @summary Gets a video stream.
@@ -697,7 +697,7 @@ export declare const VideosApiFactory: (configuration?: Configuration, basePath?
697
697
  */
698
698
  getVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
699
699
  [key: string]: string;
700
- } | undefined, options?: any): AxiosPromise<any>;
700
+ }, options?: any): AxiosPromise<any>;
701
701
  /**
702
702
  *
703
703
  * @summary Gets a video stream.
@@ -757,7 +757,7 @@ export declare const VideosApiFactory: (configuration?: Configuration, basePath?
757
757
  */
758
758
  headVideoStream(itemId: string, container?: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
759
759
  [key: string]: string;
760
- } | undefined, options?: any): AxiosPromise<any>;
760
+ }, options?: any): AxiosPromise<any>;
761
761
  /**
762
762
  *
763
763
  * @summary Gets a video stream.
@@ -817,7 +817,7 @@ export declare const VideosApiFactory: (configuration?: Configuration, basePath?
817
817
  */
818
818
  headVideoStreamByContainer(itemId: string, container: string, _static?: boolean, params?: string, tag?: string, deviceProfileId?: string, playSessionId?: string, segmentContainer?: string, segmentLength?: number, minSegments?: number, mediaSourceId?: string, deviceId?: string, audioCodec?: string, enableAutoStreamCopy?: boolean, allowVideoStreamCopy?: boolean, allowAudioStreamCopy?: boolean, breakOnNonKeyFrames?: boolean, audioSampleRate?: number, maxAudioBitDepth?: number, audioBitRate?: number, audioChannels?: number, maxAudioChannels?: number, profile?: string, level?: string, framerate?: number, maxFramerate?: number, copyTimestamps?: boolean, startTimeTicks?: number, width?: number, height?: number, maxWidth?: number, maxHeight?: number, videoBitRate?: number, subtitleStreamIndex?: number, subtitleMethod?: SubtitleDeliveryMethod, maxRefFrames?: number, maxVideoBitDepth?: number, requireAvc?: boolean, deInterlace?: boolean, requireNonAnamorphic?: boolean, transcodingMaxAudioChannels?: number, cpuCoreLimit?: number, liveStreamId?: string, enableMpegtsM2TsMode?: boolean, videoCodec?: string, subtitleCodec?: string, transcodeReasons?: string, audioStreamIndex?: number, videoStreamIndex?: number, context?: EncodingContext, streamOptions?: {
819
819
  [key: string]: string;
820
- } | undefined, options?: any): AxiosPromise<any>;
820
+ }, options?: any): AxiosPromise<any>;
821
821
  /**
822
822
  *
823
823
  * @summary Merges videos into a single record.
@@ -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';
@@ -28,7 +27,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
28
27
  * @param {*} [options] Override http request option.
29
28
  * @throws {RequiredError}
30
29
  */
31
- deleteAlternateSources: (itemId_1, ...args_1) => __awaiter(this, [itemId_1, ...args_1], void 0, function* (itemId, options = {}) {
30
+ deleteAlternateSources: async (itemId, options = {}) => {
32
31
  // verify required parameter 'itemId' is not null or undefined
33
32
  assertParamExists('deleteAlternateSources', 'itemId', itemId);
34
33
  const localVarPath = `/Videos/{itemId}/AlternateSources`
@@ -39,19 +38,19 @@ const VideosApiAxiosParamCreator = function (configuration) {
39
38
  if (configuration) {
40
39
  baseOptions = configuration.baseOptions;
41
40
  }
42
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
41
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
43
42
  const localVarHeaderParameter = {};
44
43
  const localVarQueryParameter = {};
45
44
  // authentication CustomAuthentication required
46
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
45
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
47
46
  setSearchParams(localVarUrlObj, localVarQueryParameter);
48
47
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
49
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
48
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
50
49
  return {
51
50
  url: toPathString(localVarUrlObj),
52
51
  options: localVarRequestOptions,
53
52
  };
54
- }),
53
+ },
55
54
  /**
56
55
  *
57
56
  * @summary Gets additional parts for a video.
@@ -60,7 +59,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
60
59
  * @param {*} [options] Override http request option.
61
60
  * @throws {RequiredError}
62
61
  */
63
- getAdditionalPart: (itemId_2, userId_1, ...args_2) => __awaiter(this, [itemId_2, userId_1, ...args_2], void 0, function* (itemId, userId, options = {}) {
62
+ getAdditionalPart: async (itemId, userId, options = {}) => {
64
63
  // verify required parameter 'itemId' is not null or undefined
65
64
  assertParamExists('getAdditionalPart', 'itemId', itemId);
66
65
  const localVarPath = `/Videos/{itemId}/AdditionalParts`
@@ -71,22 +70,22 @@ const VideosApiAxiosParamCreator = function (configuration) {
71
70
  if (configuration) {
72
71
  baseOptions = configuration.baseOptions;
73
72
  }
74
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
73
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
75
74
  const localVarHeaderParameter = {};
76
75
  const localVarQueryParameter = {};
77
76
  // authentication CustomAuthentication required
78
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
77
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
79
78
  if (userId !== undefined) {
80
79
  localVarQueryParameter['userId'] = userId;
81
80
  }
82
81
  setSearchParams(localVarUrlObj, localVarQueryParameter);
83
82
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
83
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
85
84
  return {
86
85
  url: toPathString(localVarUrlObj),
87
86
  options: localVarRequestOptions,
88
87
  };
89
- }),
88
+ },
90
89
  /**
91
90
  *
92
91
  * @summary Gets a video stream.
@@ -144,7 +143,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
144
143
  * @param {*} [options] Override http request option.
145
144
  * @throws {RequiredError}
146
145
  */
147
- getVideoStream: (itemId_3, container_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, audioBitRate_1, audioChannels_1, maxAudioChannels_1, profile_1, level_1, framerate_1, maxFramerate_1, copyTimestamps_1, startTimeTicks_1, width_1, height_1, maxWidth_1, maxHeight_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_3) => __awaiter(this, [itemId_3, container_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, audioBitRate_1, audioChannels_1, maxAudioChannels_1, profile_1, level_1, framerate_1, maxFramerate_1, copyTimestamps_1, startTimeTicks_1, width_1, height_1, maxWidth_1, maxHeight_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_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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
146
+ getVideoStream: 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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
148
147
  // verify required parameter 'itemId' is not null or undefined
149
148
  assertParamExists('getVideoStream', 'itemId', itemId);
150
149
  const localVarPath = `/Videos/{itemId}/stream`
@@ -155,7 +154,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
155
154
  if (configuration) {
156
155
  baseOptions = configuration.baseOptions;
157
156
  }
158
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
157
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
159
158
  const localVarHeaderParameter = {};
160
159
  const localVarQueryParameter = {};
161
160
  if (container !== undefined) {
@@ -310,12 +309,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
310
309
  }
311
310
  setSearchParams(localVarUrlObj, localVarQueryParameter);
312
311
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
313
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
312
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
314
313
  return {
315
314
  url: toPathString(localVarUrlObj),
316
315
  options: localVarRequestOptions,
317
316
  };
318
- }),
317
+ },
319
318
  /**
320
319
  *
321
320
  * @summary Gets a video stream.
@@ -373,7 +372,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
373
372
  * @param {*} [options] Override http request option.
374
373
  * @throws {RequiredError}
375
374
  */
376
- getVideoStreamByContainer: (itemId_4, container_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_2, maxHeight_2, 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_4) => __awaiter(this, [itemId_4, container_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_2, maxHeight_2, 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_4], 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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
375
+ getVideoStreamByContainer: 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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
377
376
  // verify required parameter 'itemId' is not null or undefined
378
377
  assertParamExists('getVideoStreamByContainer', 'itemId', itemId);
379
378
  // verify required parameter 'container' is not null or undefined
@@ -387,7 +386,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
387
386
  if (configuration) {
388
387
  baseOptions = configuration.baseOptions;
389
388
  }
390
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
389
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
391
390
  const localVarHeaderParameter = {};
392
391
  const localVarQueryParameter = {};
393
392
  if (_static !== undefined) {
@@ -539,12 +538,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
539
538
  }
540
539
  setSearchParams(localVarUrlObj, localVarQueryParameter);
541
540
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
542
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
541
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
543
542
  return {
544
543
  url: toPathString(localVarUrlObj),
545
544
  options: localVarRequestOptions,
546
545
  };
547
- }),
546
+ },
548
547
  /**
549
548
  *
550
549
  * @summary Gets a video stream.
@@ -602,7 +601,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
602
601
  * @param {*} [options] Override http request option.
603
602
  * @throws {RequiredError}
604
603
  */
605
- headVideoStream: (itemId_5, 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, maxWidth_3, maxHeight_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, ...args_5) => __awaiter(this, [itemId_5, 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, maxWidth_3, maxHeight_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, ...args_5], 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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
604
+ headVideoStream: 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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
606
605
  // verify required parameter 'itemId' is not null or undefined
607
606
  assertParamExists('headVideoStream', 'itemId', itemId);
608
607
  const localVarPath = `/Videos/{itemId}/stream`
@@ -613,7 +612,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
613
612
  if (configuration) {
614
613
  baseOptions = configuration.baseOptions;
615
614
  }
616
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
615
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
617
616
  const localVarHeaderParameter = {};
618
617
  const localVarQueryParameter = {};
619
618
  if (container !== undefined) {
@@ -768,12 +767,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
768
767
  }
769
768
  setSearchParams(localVarUrlObj, localVarQueryParameter);
770
769
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
771
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
770
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
772
771
  return {
773
772
  url: toPathString(localVarUrlObj),
774
773
  options: localVarRequestOptions,
775
774
  };
776
- }),
775
+ },
777
776
  /**
778
777
  *
779
778
  * @summary Gets a video stream.
@@ -831,7 +830,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
831
830
  * @param {*} [options] Override http request option.
832
831
  * @throws {RequiredError}
833
832
  */
834
- headVideoStreamByContainer: (itemId_6, container_4, _static_4, params_4, tag_4, deviceProfileId_4, playSessionId_4, segmentContainer_4, segmentLength_4, minSegments_4, mediaSourceId_4, deviceId_4, audioCodec_4, enableAutoStreamCopy_4, allowVideoStreamCopy_4, allowAudioStreamCopy_4, breakOnNonKeyFrames_4, audioSampleRate_4, maxAudioBitDepth_4, audioBitRate_4, audioChannels_4, maxAudioChannels_4, profile_4, level_4, framerate_4, maxFramerate_4, copyTimestamps_4, startTimeTicks_4, width_4, height_4, maxWidth_4, maxHeight_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, ...args_6) => __awaiter(this, [itemId_6, container_4, _static_4, params_4, tag_4, deviceProfileId_4, playSessionId_4, segmentContainer_4, segmentLength_4, minSegments_4, mediaSourceId_4, deviceId_4, audioCodec_4, enableAutoStreamCopy_4, allowVideoStreamCopy_4, allowAudioStreamCopy_4, breakOnNonKeyFrames_4, audioSampleRate_4, maxAudioBitDepth_4, audioBitRate_4, audioChannels_4, maxAudioChannels_4, profile_4, level_4, framerate_4, maxFramerate_4, copyTimestamps_4, startTimeTicks_4, width_4, height_4, maxWidth_4, maxHeight_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, ...args_6], 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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) {
833
+ headVideoStreamByContainer: 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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options = {}) => {
835
834
  // verify required parameter 'itemId' is not null or undefined
836
835
  assertParamExists('headVideoStreamByContainer', 'itemId', itemId);
837
836
  // verify required parameter 'container' is not null or undefined
@@ -845,7 +844,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
845
844
  if (configuration) {
846
845
  baseOptions = configuration.baseOptions;
847
846
  }
848
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'HEAD' }, baseOptions), options);
847
+ const localVarRequestOptions = { method: 'HEAD', ...baseOptions, ...options };
849
848
  const localVarHeaderParameter = {};
850
849
  const localVarQueryParameter = {};
851
850
  if (_static !== undefined) {
@@ -997,12 +996,12 @@ const VideosApiAxiosParamCreator = function (configuration) {
997
996
  }
998
997
  setSearchParams(localVarUrlObj, localVarQueryParameter);
999
998
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1000
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
999
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1001
1000
  return {
1002
1001
  url: toPathString(localVarUrlObj),
1003
1002
  options: localVarRequestOptions,
1004
1003
  };
1005
- }),
1004
+ },
1006
1005
  /**
1007
1006
  *
1008
1007
  * @summary Merges videos into a single record.
@@ -1010,7 +1009,7 @@ const VideosApiAxiosParamCreator = function (configuration) {
1010
1009
  * @param {*} [options] Override http request option.
1011
1010
  * @throws {RequiredError}
1012
1011
  */
1013
- mergeVersions: (ids_1, ...args_7) => __awaiter(this, [ids_1, ...args_7], void 0, function* (ids, options = {}) {
1012
+ mergeVersions: async (ids, options = {}) => {
1014
1013
  // verify required parameter 'ids' is not null or undefined
1015
1014
  assertParamExists('mergeVersions', 'ids', ids);
1016
1015
  const localVarPath = `/Videos/MergeVersions`;
@@ -1020,22 +1019,22 @@ const VideosApiAxiosParamCreator = function (configuration) {
1020
1019
  if (configuration) {
1021
1020
  baseOptions = configuration.baseOptions;
1022
1021
  }
1023
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1022
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1024
1023
  const localVarHeaderParameter = {};
1025
1024
  const localVarQueryParameter = {};
1026
1025
  // authentication CustomAuthentication required
1027
- yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1026
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1028
1027
  if (ids) {
1029
1028
  localVarQueryParameter['ids'] = ids;
1030
1029
  }
1031
1030
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1032
1031
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1033
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1032
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1034
1033
  return {
1035
1034
  url: toPathString(localVarUrlObj),
1036
1035
  options: localVarRequestOptions,
1037
1036
  };
1038
- }),
1037
+ },
1039
1038
  };
1040
1039
  };
1041
1040
  /**
@@ -1052,11 +1051,9 @@ const VideosApiFp = function (configuration) {
1052
1051
  * @param {*} [options] Override http request option.
1053
1052
  * @throws {RequiredError}
1054
1053
  */
1055
- deleteAlternateSources(itemId, options) {
1056
- return __awaiter(this, void 0, void 0, function* () {
1057
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAlternateSources(itemId, options);
1058
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1059
- });
1054
+ async deleteAlternateSources(itemId, options) {
1055
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlternateSources(itemId, options);
1056
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1060
1057
  },
1061
1058
  /**
1062
1059
  *
@@ -1066,11 +1063,9 @@ const VideosApiFp = function (configuration) {
1066
1063
  * @param {*} [options] Override http request option.
1067
1064
  * @throws {RequiredError}
1068
1065
  */
1069
- getAdditionalPart(itemId, userId, options) {
1070
- return __awaiter(this, void 0, void 0, function* () {
1071
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getAdditionalPart(itemId, userId, options);
1072
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1073
- });
1066
+ async getAdditionalPart(itemId, userId, options) {
1067
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getAdditionalPart(itemId, userId, options);
1068
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1074
1069
  },
1075
1070
  /**
1076
1071
  *
@@ -1129,11 +1124,9 @@ const VideosApiFp = function (configuration) {
1129
1124
  * @param {*} [options] Override http request option.
1130
1125
  * @throws {RequiredError}
1131
1126
  */
1132
- getVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1133
- return __awaiter(this, void 0, void 0, function* () {
1134
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1135
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1136
- });
1127
+ async getVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1128
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1129
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1137
1130
  },
1138
1131
  /**
1139
1132
  *
@@ -1192,11 +1185,9 @@ const VideosApiFp = function (configuration) {
1192
1185
  * @param {*} [options] Override http request option.
1193
1186
  * @throws {RequiredError}
1194
1187
  */
1195
- getVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1196
- return __awaiter(this, void 0, void 0, function* () {
1197
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1198
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1199
- });
1188
+ async getVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1189
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1190
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1200
1191
  },
1201
1192
  /**
1202
1193
  *
@@ -1255,11 +1246,9 @@ const VideosApiFp = function (configuration) {
1255
1246
  * @param {*} [options] Override http request option.
1256
1247
  * @throws {RequiredError}
1257
1248
  */
1258
- headVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1259
- return __awaiter(this, void 0, void 0, function* () {
1260
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1261
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1262
- });
1249
+ async headVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1250
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStream(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1251
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1263
1252
  },
1264
1253
  /**
1265
1254
  *
@@ -1318,11 +1307,9 @@ const VideosApiFp = function (configuration) {
1318
1307
  * @param {*} [options] Override http request option.
1319
1308
  * @throws {RequiredError}
1320
1309
  */
1321
- headVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1322
- return __awaiter(this, void 0, void 0, function* () {
1323
- const localVarAxiosArgs = yield localVarAxiosParamCreator.headVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1324
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1325
- });
1310
+ async headVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options) {
1311
+ const localVarAxiosArgs = await localVarAxiosParamCreator.headVideoStreamByContainer(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, maxWidth, maxHeight, videoBitRate, subtitleStreamIndex, subtitleMethod, maxRefFrames, maxVideoBitDepth, requireAvc, deInterlace, requireNonAnamorphic, transcodingMaxAudioChannels, cpuCoreLimit, liveStreamId, enableMpegtsM2TsMode, videoCodec, subtitleCodec, transcodeReasons, audioStreamIndex, videoStreamIndex, context, streamOptions, options);
1312
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1326
1313
  },
1327
1314
  /**
1328
1315
  *
@@ -1331,11 +1318,9 @@ const VideosApiFp = function (configuration) {
1331
1318
  * @param {*} [options] Override http request option.
1332
1319
  * @throws {RequiredError}
1333
1320
  */
1334
- mergeVersions(ids, options) {
1335
- return __awaiter(this, void 0, void 0, function* () {
1336
- const localVarAxiosArgs = yield localVarAxiosParamCreator.mergeVersions(ids, options);
1337
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1338
- });
1321
+ async mergeVersions(ids, options) {
1322
+ const localVarAxiosArgs = await localVarAxiosParamCreator.mergeVersions(ids, options);
1323
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1339
1324
  },
1340
1325
  };
1341
1326
  };