@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.
- package/README.md +5 -0
- package/lib/discovery/discovery-service.js +4 -9
- package/lib/discovery/recommended-server-discovery.js +17 -22
- package/lib/generated-client/api/activity-log-api.js +8 -11
- package/lib/generated-client/api/api-key-api.js +24 -31
- package/lib/generated-client/api/artists-api.js +24 -31
- package/lib/generated-client/api/audio-api.d.ts +12 -12
- package/lib/generated-client/api/audio-api.js +28 -37
- package/lib/generated-client/api/branding-api.js +21 -28
- package/lib/generated-client/api/channels-api.js +40 -51
- package/lib/generated-client/api/client-log-api.js +8 -11
- package/lib/generated-client/api/collection-api.js +24 -31
- package/lib/generated-client/api/configuration-api.js +40 -51
- package/lib/generated-client/api/dashboard-api.js +15 -20
- package/lib/generated-client/api/devices-api.js +40 -51
- package/lib/generated-client/api/display-preferences-api.js +16 -21
- package/lib/generated-client/api/dynamic-hls-api.d.ts +27 -27
- package/lib/generated-client/api/dynamic-hls-api.js +72 -91
- package/lib/generated-client/api/environment-api.js +48 -61
- package/lib/generated-client/api/filter-api.js +16 -21
- package/lib/generated-client/api/genres-api.js +16 -21
- package/lib/generated-client/api/hls-segment-api.js +37 -48
- package/lib/generated-client/api/image-api.js +269 -344
- package/lib/generated-client/api/instant-mix-api.js +64 -81
- package/lib/generated-client/api/item-lookup-api.js +88 -111
- package/lib/generated-client/api/item-refresh-api.js +8 -11
- package/lib/generated-client/api/item-update-api.js +24 -31
- package/lib/generated-client/api/items-api.js +32 -41
- package/lib/generated-client/api/library-api.js +200 -251
- package/lib/generated-client/api/library-structure-api.js +64 -81
- package/lib/generated-client/api/live-tv-api.js +326 -409
- package/lib/generated-client/api/localization-api.js +32 -41
- package/lib/generated-client/api/lyrics-api.js +48 -61
- package/lib/generated-client/api/media-info-api.js +40 -51
- package/lib/generated-client/api/movies-api.js +8 -11
- package/lib/generated-client/api/music-genres-api.js +16 -21
- package/lib/generated-client/api/package-api.js +48 -61
- package/lib/generated-client/api/persons-api.js +16 -21
- package/lib/generated-client/api/playlists-api.js +80 -101
- package/lib/generated-client/api/playstate-api.js +72 -91
- package/lib/generated-client/api/plugins-api.js +72 -91
- package/lib/generated-client/api/quick-connect-api.js +29 -38
- package/lib/generated-client/api/remote-image-api.js +24 -31
- package/lib/generated-client/api/scheduled-tasks-api.js +40 -51
- package/lib/generated-client/api/search-api.js +8 -11
- package/lib/generated-client/api/session-api.js +128 -161
- package/lib/generated-client/api/startup-api.js +56 -71
- package/lib/generated-client/api/studios-api.js +16 -21
- package/lib/generated-client/api/subtitle-api.js +78 -99
- package/lib/generated-client/api/suggestions-api.js +8 -11
- package/lib/generated-client/api/sync-play-api.js +168 -211
- package/lib/generated-client/api/system-api.js +77 -98
- package/lib/generated-client/api/time-sync-api.js +7 -10
- package/lib/generated-client/api/tmdb-api.js +8 -11
- package/lib/generated-client/api/trailers-api.js +8 -11
- package/lib/generated-client/api/trickplay-api.js +16 -21
- package/lib/generated-client/api/tv-shows-api.js +32 -41
- package/lib/generated-client/api/universal-audio-api.js +16 -21
- package/lib/generated-client/api/user-api.js +107 -136
- package/lib/generated-client/api/user-library-api.js +80 -101
- package/lib/generated-client/api/user-views-api.js +16 -21
- package/lib/generated-client/api/video-attachments-api.js +7 -10
- package/lib/generated-client/api/videos-api.d.ts +12 -12
- package/lib/generated-client/api/videos-api.js +52 -67
- package/lib/generated-client/api/years-api.js +16 -21
- package/lib/generated-client/common.js +8 -11
- package/lib/generated-client/models/search-hint.d.ts +1 -1
- package/lib/utils/api/image-urls-api.js +16 -4
- package/lib/versions.d.ts +1 -1
- package/lib/versions.js +1 -1
- package/package.json +10 -10
- 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:
|
|
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 =
|
|
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 =
|
|
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
|
-
|
|
81
|
-
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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
|
-
}
|
|
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:
|
|
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 =
|
|
41
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
43
42
|
const localVarHeaderParameter = {};
|
|
44
43
|
const localVarQueryParameter = {};
|
|
45
44
|
// authentication CustomAuthentication required
|
|
46
|
-
|
|
45
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
47
46
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48
47
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49
|
-
localVarRequestOptions.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:
|
|
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 =
|
|
73
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
75
74
|
const localVarHeaderParameter = {};
|
|
76
75
|
const localVarQueryParameter = {};
|
|
77
76
|
// authentication CustomAuthentication required
|
|
78
|
-
|
|
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 =
|
|
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:
|
|
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 =
|
|
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 =
|
|
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:
|
|
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 =
|
|
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 =
|
|
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:
|
|
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 =
|
|
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 =
|
|
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:
|
|
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 =
|
|
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 =
|
|
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:
|
|
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 =
|
|
1022
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1024
1023
|
const localVarHeaderParameter = {};
|
|
1025
1024
|
const localVarQueryParameter = {};
|
|
1026
1025
|
// authentication CustomAuthentication required
|
|
1027
|
-
|
|
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 =
|
|
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
|
-
|
|
1057
|
-
|
|
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
|
-
|
|
1071
|
-
|
|
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
|
-
|
|
1134
|
-
|
|
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
|
-
|
|
1197
|
-
|
|
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
|
-
|
|
1260
|
-
|
|
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
|
-
|
|
1323
|
-
|
|
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
|
-
|
|
1336
|
-
|
|
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
|
};
|