mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-11 04:20:58 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.541.2
This commit is contained in:
@@ -299,15 +299,49 @@ export enum GetAllMediaLibraryHasThumbnail {
|
||||
True = "1",
|
||||
}
|
||||
|
||||
/**
|
||||
* Stream type:
|
||||
*
|
||||
* @remarks
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*/
|
||||
export enum GetAllMediaLibraryStreamType {
|
||||
Video = 1,
|
||||
Audio = 2,
|
||||
Subtitle = 3,
|
||||
}
|
||||
/**
|
||||
* Stream type:
|
||||
*
|
||||
* @remarks
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*/
|
||||
export type GetAllMediaLibraryStreamTypeOpen = OpenEnum<
|
||||
typeof GetAllMediaLibraryStreamType
|
||||
>;
|
||||
|
||||
export type GetAllMediaLibraryStream = {
|
||||
/**
|
||||
* Unique stream identifier.
|
||||
*/
|
||||
id: number;
|
||||
/**
|
||||
* Stream type (1=video, 2=audio, 3=subtitle).
|
||||
* Stream type:
|
||||
*
|
||||
* @remarks
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*/
|
||||
streamType: number;
|
||||
streamType: GetAllMediaLibraryStreamTypeOpen;
|
||||
/**
|
||||
* Format of the stream (e.g., srt).
|
||||
*/
|
||||
format?: string | undefined;
|
||||
/**
|
||||
* Indicates if this stream is default.
|
||||
*/
|
||||
@@ -319,7 +353,7 @@ export type GetAllMediaLibraryStream = {
|
||||
/**
|
||||
* Index of the stream.
|
||||
*/
|
||||
index: number;
|
||||
index?: number | undefined;
|
||||
/**
|
||||
* Bitrate of the stream.
|
||||
*/
|
||||
@@ -413,6 +447,10 @@ export type GetAllMediaLibraryStream = {
|
||||
* Frame rate of the stream.
|
||||
*/
|
||||
frameRate?: number | undefined;
|
||||
/**
|
||||
* Key to access this stream part.
|
||||
*/
|
||||
key?: string | undefined;
|
||||
/**
|
||||
* Height of the video stream.
|
||||
*/
|
||||
@@ -2170,6 +2208,38 @@ export namespace GetAllMediaLibraryHasThumbnail$ {
|
||||
export const outboundSchema = GetAllMediaLibraryHasThumbnail$outboundSchema;
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export const GetAllMediaLibraryStreamType$inboundSchema: z.ZodType<
|
||||
GetAllMediaLibraryStreamTypeOpen,
|
||||
z.ZodTypeDef,
|
||||
unknown
|
||||
> = z
|
||||
.union([
|
||||
z.nativeEnum(GetAllMediaLibraryStreamType),
|
||||
z.number().transform(catchUnrecognizedEnum),
|
||||
]);
|
||||
|
||||
/** @internal */
|
||||
export const GetAllMediaLibraryStreamType$outboundSchema: z.ZodType<
|
||||
GetAllMediaLibraryStreamTypeOpen,
|
||||
z.ZodTypeDef,
|
||||
GetAllMediaLibraryStreamTypeOpen
|
||||
> = z.union([
|
||||
z.nativeEnum(GetAllMediaLibraryStreamType),
|
||||
z.number().and(z.custom<Unrecognized<number>>()),
|
||||
]);
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
||||
*/
|
||||
export namespace GetAllMediaLibraryStreamType$ {
|
||||
/** @deprecated use `GetAllMediaLibraryStreamType$inboundSchema` instead. */
|
||||
export const inboundSchema = GetAllMediaLibraryStreamType$inboundSchema;
|
||||
/** @deprecated use `GetAllMediaLibraryStreamType$outboundSchema` instead. */
|
||||
export const outboundSchema = GetAllMediaLibraryStreamType$outboundSchema;
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export const GetAllMediaLibraryStream$inboundSchema: z.ZodType<
|
||||
GetAllMediaLibraryStream,
|
||||
@@ -2177,10 +2247,11 @@ export const GetAllMediaLibraryStream$inboundSchema: z.ZodType<
|
||||
unknown
|
||||
> = z.object({
|
||||
id: z.number().int(),
|
||||
streamType: z.number().int(),
|
||||
streamType: GetAllMediaLibraryStreamType$inboundSchema,
|
||||
format: z.string().optional(),
|
||||
default: z.boolean().optional(),
|
||||
codec: z.string(),
|
||||
index: z.number().int(),
|
||||
index: z.number().int().optional(),
|
||||
bitrate: z.number().int().optional(),
|
||||
language: z.string().optional(),
|
||||
languageTag: z.string().optional(),
|
||||
@@ -2205,6 +2276,7 @@ export const GetAllMediaLibraryStream$inboundSchema: z.ZodType<
|
||||
colorSpace: z.string().optional(),
|
||||
colorTrc: z.string().optional(),
|
||||
frameRate: z.number().optional(),
|
||||
key: z.string().optional(),
|
||||
height: z.number().int().optional(),
|
||||
level: z.number().int().optional(),
|
||||
original: z.boolean().optional(),
|
||||
@@ -2242,9 +2314,10 @@ export const GetAllMediaLibraryStream$inboundSchema: z.ZodType<
|
||||
export type GetAllMediaLibraryStream$Outbound = {
|
||||
id: number;
|
||||
streamType: number;
|
||||
format?: string | undefined;
|
||||
default?: boolean | undefined;
|
||||
codec: string;
|
||||
index: number;
|
||||
index?: number | undefined;
|
||||
bitrate?: number | undefined;
|
||||
language?: string | undefined;
|
||||
languageTag?: string | undefined;
|
||||
@@ -2269,6 +2342,7 @@ export type GetAllMediaLibraryStream$Outbound = {
|
||||
colorSpace?: string | undefined;
|
||||
colorTrc?: string | undefined;
|
||||
frameRate?: number | undefined;
|
||||
key?: string | undefined;
|
||||
height?: number | undefined;
|
||||
level?: number | undefined;
|
||||
original?: boolean | undefined;
|
||||
@@ -2298,10 +2372,11 @@ export const GetAllMediaLibraryStream$outboundSchema: z.ZodType<
|
||||
GetAllMediaLibraryStream
|
||||
> = z.object({
|
||||
id: z.number().int(),
|
||||
streamType: z.number().int(),
|
||||
streamType: GetAllMediaLibraryStreamType$outboundSchema,
|
||||
format: z.string().optional(),
|
||||
default: z.boolean().optional(),
|
||||
codec: z.string(),
|
||||
index: z.number().int(),
|
||||
index: z.number().int().optional(),
|
||||
bitrate: z.number().int().optional(),
|
||||
language: z.string().optional(),
|
||||
languageTag: z.string().optional(),
|
||||
@@ -2326,6 +2401,7 @@ export const GetAllMediaLibraryStream$outboundSchema: z.ZodType<
|
||||
colorSpace: z.string().optional(),
|
||||
colorTrc: z.string().optional(),
|
||||
frameRate: z.number().optional(),
|
||||
key: z.string().optional(),
|
||||
height: z.number().int().optional(),
|
||||
level: z.number().int().optional(),
|
||||
original: z.boolean().optional(),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -266,15 +266,47 @@ export enum HasThumbnail {
|
||||
True = "1",
|
||||
}
|
||||
|
||||
/**
|
||||
* Stream type:
|
||||
*
|
||||
* @remarks
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*/
|
||||
export enum StreamType {
|
||||
Video = 1,
|
||||
Audio = 2,
|
||||
Subtitle = 3,
|
||||
}
|
||||
/**
|
||||
* Stream type:
|
||||
*
|
||||
* @remarks
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*/
|
||||
export type StreamTypeOpen = OpenEnum<typeof StreamType>;
|
||||
|
||||
export type Stream = {
|
||||
/**
|
||||
* Unique stream identifier.
|
||||
*/
|
||||
id: number;
|
||||
/**
|
||||
* Stream type (1=video, 2=audio, 3=subtitle).
|
||||
* Stream type:
|
||||
*
|
||||
* @remarks
|
||||
* - 1 = video
|
||||
* - 2 = audio
|
||||
* - 3 = subtitle
|
||||
*/
|
||||
streamType: number;
|
||||
streamType: StreamTypeOpen;
|
||||
/**
|
||||
* Format of the stream (e.g., srt).
|
||||
*/
|
||||
format?: string | undefined;
|
||||
/**
|
||||
* Indicates if this stream is default.
|
||||
*/
|
||||
@@ -286,7 +318,7 @@ export type Stream = {
|
||||
/**
|
||||
* Index of the stream.
|
||||
*/
|
||||
index: number;
|
||||
index?: number | undefined;
|
||||
/**
|
||||
* Bitrate of the stream.
|
||||
*/
|
||||
@@ -380,6 +412,10 @@ export type Stream = {
|
||||
* Frame rate of the stream.
|
||||
*/
|
||||
frameRate?: number | undefined;
|
||||
/**
|
||||
* Key to access this stream part.
|
||||
*/
|
||||
key?: string | undefined;
|
||||
/**
|
||||
* Height of the video stream.
|
||||
*/
|
||||
@@ -2051,14 +2087,47 @@ export namespace HasThumbnail$ {
|
||||
export const outboundSchema = HasThumbnail$outboundSchema;
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export const StreamType$inboundSchema: z.ZodType<
|
||||
StreamTypeOpen,
|
||||
z.ZodTypeDef,
|
||||
unknown
|
||||
> = z
|
||||
.union([
|
||||
z.nativeEnum(StreamType),
|
||||
z.number().transform(catchUnrecognizedEnum),
|
||||
]);
|
||||
|
||||
/** @internal */
|
||||
export const StreamType$outboundSchema: z.ZodType<
|
||||
StreamTypeOpen,
|
||||
z.ZodTypeDef,
|
||||
StreamTypeOpen
|
||||
> = z.union([
|
||||
z.nativeEnum(StreamType),
|
||||
z.number().and(z.custom<Unrecognized<number>>()),
|
||||
]);
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
||||
*/
|
||||
export namespace StreamType$ {
|
||||
/** @deprecated use `StreamType$inboundSchema` instead. */
|
||||
export const inboundSchema = StreamType$inboundSchema;
|
||||
/** @deprecated use `StreamType$outboundSchema` instead. */
|
||||
export const outboundSchema = StreamType$outboundSchema;
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
export const Stream$inboundSchema: z.ZodType<Stream, z.ZodTypeDef, unknown> = z
|
||||
.object({
|
||||
id: z.number().int(),
|
||||
streamType: z.number().int(),
|
||||
streamType: StreamType$inboundSchema,
|
||||
format: z.string().optional(),
|
||||
default: z.boolean().optional(),
|
||||
codec: z.string(),
|
||||
index: z.number().int(),
|
||||
index: z.number().int().optional(),
|
||||
bitrate: z.number().int().optional(),
|
||||
language: z.string().optional(),
|
||||
languageTag: z.string().optional(),
|
||||
@@ -2083,6 +2152,7 @@ export const Stream$inboundSchema: z.ZodType<Stream, z.ZodTypeDef, unknown> = z
|
||||
colorSpace: z.string().optional(),
|
||||
colorTrc: z.string().optional(),
|
||||
frameRate: z.number().optional(),
|
||||
key: z.string().optional(),
|
||||
height: z.number().int().optional(),
|
||||
level: z.number().int().optional(),
|
||||
original: z.boolean().optional(),
|
||||
@@ -2120,9 +2190,10 @@ export const Stream$inboundSchema: z.ZodType<Stream, z.ZodTypeDef, unknown> = z
|
||||
export type Stream$Outbound = {
|
||||
id: number;
|
||||
streamType: number;
|
||||
format?: string | undefined;
|
||||
default?: boolean | undefined;
|
||||
codec: string;
|
||||
index: number;
|
||||
index?: number | undefined;
|
||||
bitrate?: number | undefined;
|
||||
language?: string | undefined;
|
||||
languageTag?: string | undefined;
|
||||
@@ -2147,6 +2218,7 @@ export type Stream$Outbound = {
|
||||
colorSpace?: string | undefined;
|
||||
colorTrc?: string | undefined;
|
||||
frameRate?: number | undefined;
|
||||
key?: string | undefined;
|
||||
height?: number | undefined;
|
||||
level?: number | undefined;
|
||||
original?: boolean | undefined;
|
||||
@@ -2176,10 +2248,11 @@ export const Stream$outboundSchema: z.ZodType<
|
||||
Stream
|
||||
> = z.object({
|
||||
id: z.number().int(),
|
||||
streamType: z.number().int(),
|
||||
streamType: StreamType$outboundSchema,
|
||||
format: z.string().optional(),
|
||||
default: z.boolean().optional(),
|
||||
codec: z.string(),
|
||||
index: z.number().int(),
|
||||
index: z.number().int().optional(),
|
||||
bitrate: z.number().int().optional(),
|
||||
language: z.string().optional(),
|
||||
languageTag: z.string().optional(),
|
||||
@@ -2204,6 +2277,7 @@ export const Stream$outboundSchema: z.ZodType<
|
||||
colorSpace: z.string().optional(),
|
||||
colorTrc: z.string().optional(),
|
||||
frameRate: z.number().optional(),
|
||||
key: z.string().optional(),
|
||||
height: z.number().int().optional(),
|
||||
level: z.number().int().optional(),
|
||||
original: z.boolean().optional(),
|
||||
|
||||
Reference in New Issue
Block a user