camstreamerlib
Version:
Helper library for CamStreamer ACAP applications.
1,585 lines (1,584 loc) • 58.2 kB
TypeScript
import { z } from 'zod';
export declare const applicationSchema: z.ZodObject<{
Name: z.ZodString;
NiceName: z.ZodString;
Vendor: z.ZodString;
Version: z.ZodString;
ApplicationID: z.ZodOptional<z.ZodString>;
License: z.ZodString;
Status: z.ZodString;
ConfigurationPage: z.ZodOptional<z.ZodString>;
VendorHomePage: z.ZodOptional<z.ZodString>;
LicenseName: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
Name: string;
NiceName: string;
Vendor: string;
Version: string;
License: string;
Status: string;
ApplicationID?: string | undefined;
ConfigurationPage?: string | undefined;
VendorHomePage?: string | undefined;
LicenseName?: string | undefined;
}, {
Name: string;
NiceName: string;
Vendor: string;
Version: string;
License: string;
Status: string;
ApplicationID?: string | undefined;
ConfigurationPage?: string | undefined;
VendorHomePage?: string | undefined;
LicenseName?: string | undefined;
}>;
export declare const applicationListSchema: z.ZodArray<z.ZodObject<{
Name: z.ZodString;
NiceName: z.ZodString;
Vendor: z.ZodString;
Version: z.ZodString;
ApplicationID: z.ZodOptional<z.ZodString>;
License: z.ZodString;
Status: z.ZodString;
ConfigurationPage: z.ZodOptional<z.ZodString>;
VendorHomePage: z.ZodOptional<z.ZodString>;
LicenseName: z.ZodOptional<z.ZodString>;
} & {
appId: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"CamStreamer">, z.ZodLiteral<"CamSwitcher">, z.ZodLiteral<"CamOverlay">, z.ZodLiteral<"CamScripter">, z.ZodLiteral<"PlaneTracker">, z.ZodLiteral<"Ndihxplugin">, z.ZodLiteral<"SportTracker">]>>;
}, "strip", z.ZodTypeAny, {
Name: string;
NiceName: string;
Vendor: string;
Version: string;
License: string;
Status: string;
appId: "CamStreamer" | "CamSwitcher" | "CamOverlay" | "CamScripter" | "PlaneTracker" | "Ndihxplugin" | "SportTracker" | null;
ApplicationID?: string | undefined;
ConfigurationPage?: string | undefined;
VendorHomePage?: string | undefined;
LicenseName?: string | undefined;
}, {
Name: string;
NiceName: string;
Vendor: string;
Version: string;
License: string;
Status: string;
appId: "CamStreamer" | "CamSwitcher" | "CamOverlay" | "CamScripter" | "PlaneTracker" | "Ndihxplugin" | "SportTracker" | null;
ApplicationID?: string | undefined;
ConfigurationPage?: string | undefined;
VendorHomePage?: string | undefined;
LicenseName?: string | undefined;
}>, "many">;
export declare const APP_IDS: readonly ["CamStreamer", "CamSwitcher", "CamOverlay", "CamScripter", "PlaneTracker", "Ndihxplugin", "SportTracker"];
export type TApplicationId = (typeof APP_IDS)[number];
export type TApplicationList = z.infer<typeof applicationListSchema>;
export type TApplication = z.infer<typeof applicationListSchema>[number];
export declare const guardTourSchema: z.ZodObject<{
id: z.ZodString;
camNbr: z.ZodUnknown;
name: z.ZodString;
randomEnabled: z.ZodUnknown;
running: z.ZodString;
timeBetweenSequences: z.ZodUnknown;
tour: z.ZodArray<z.ZodObject<{
moveSpeed: z.ZodUnknown;
position: z.ZodUnknown;
presetNbr: z.ZodUnknown;
waitTime: z.ZodUnknown;
waitTimeViewType: z.ZodUnknown;
}, "strip", z.ZodTypeAny, {
moveSpeed?: unknown;
position?: unknown;
presetNbr?: unknown;
waitTime?: unknown;
waitTimeViewType?: unknown;
}, {
moveSpeed?: unknown;
position?: unknown;
presetNbr?: unknown;
waitTime?: unknown;
waitTimeViewType?: unknown;
}>, "many">;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
running: string;
tour: {
moveSpeed?: unknown;
position?: unknown;
presetNbr?: unknown;
waitTime?: unknown;
waitTimeViewType?: unknown;
}[];
camNbr?: unknown;
randomEnabled?: unknown;
timeBetweenSequences?: unknown;
}, {
name: string;
id: string;
running: string;
tour: {
moveSpeed?: unknown;
position?: unknown;
presetNbr?: unknown;
waitTime?: unknown;
waitTimeViewType?: unknown;
}[];
camNbr?: unknown;
randomEnabled?: unknown;
timeBetweenSequences?: unknown;
}>;
export type TGuardTour = z.infer<typeof guardTourSchema>;
declare const audioSampleRatesOutSchema: z.ZodEffects<z.ZodObject<{
sample_rate: z.ZodNumber;
bit_rates: z.ZodArray<z.ZodNumber, "many">;
}, "strip", z.ZodTypeAny, {
sample_rate: number;
bit_rates: number[];
}, {
sample_rate: number;
bit_rates: number[];
}>, {
sampleRate: number;
bitRates: number[];
}, {
sample_rate: number;
bit_rates: number[];
}>;
export type TAudioSampleRates = z.infer<typeof audioSampleRatesOutSchema>;
export declare const sdCardWatchedStatuses: readonly ["OK", "connected", "disconnected"];
export declare const sdCardInfoSchema: z.ZodObject<{
status: z.ZodEnum<["OK", "connected", "disconnected"]>;
totalSize: z.ZodNumber;
freeSize: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
status: "OK" | "connected" | "disconnected";
totalSize: number;
freeSize: number;
}, {
status: "OK" | "connected" | "disconnected";
totalSize: number;
freeSize: number;
}>;
export type TSDCardInfo = z.infer<typeof sdCardInfoSchema>;
export declare const ptzOverviewSchema: z.ZodRecord<z.ZodNumber, z.ZodArray<z.ZodObject<{
id: z.ZodNumber;
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
id: number;
}, {
name: string;
id: number;
}>, "many">>;
export type TPtzOverview = z.infer<typeof ptzOverviewSchema>;
export declare const cameraPTZItemDataSchema: z.ZodObject<{
pan: z.ZodOptional<z.ZodNumber>;
tilt: z.ZodOptional<z.ZodNumber>;
zoom: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
pan?: number | undefined;
tilt?: number | undefined;
zoom?: number | undefined;
}, {
pan?: number | undefined;
tilt?: number | undefined;
zoom?: number | undefined;
}>;
export declare const cameraPTZItemSchema: z.ZodObject<{
name: z.ZodString;
id: z.ZodNumber;
data: z.ZodObject<{
pan: z.ZodOptional<z.ZodNumber>;
tilt: z.ZodOptional<z.ZodNumber>;
zoom: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
pan?: number | undefined;
tilt?: number | undefined;
zoom?: number | undefined;
}, {
pan?: number | undefined;
tilt?: number | undefined;
zoom?: number | undefined;
}>;
}, "strip", z.ZodTypeAny, {
name: string;
id: number;
data: {
pan?: number | undefined;
tilt?: number | undefined;
zoom?: number | undefined;
};
}, {
name: string;
id: number;
data: {
pan?: number | undefined;
tilt?: number | undefined;
zoom?: number | undefined;
};
}>;
export type TCameraPTZItem = z.infer<typeof cameraPTZItemSchema>;
export type TCameraPTZItemData = z.infer<typeof cameraPTZItemDataSchema>;
export declare const audioDeviceSignalingChannelTypeSchema: z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>;
export type TAudioDeviceSignalingChannelType = z.infer<typeof audioDeviceSignalingChannelTypeSchema>;
export declare const audioDeviceSignalingTypeSchema: z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>;
export type TAudioDeviceSignalingType = z.infer<typeof audioDeviceSignalingTypeSchema>;
export declare const audioDeviceConnectionTypeSchema: z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>;
export type TAudioDeviceConnectionType = z.infer<typeof audioDeviceConnectionTypeSchema>;
export declare const audioDeviceInputOutputSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
enabled: z.ZodBoolean;
connectionTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>, "many">;
connectionTypeSelected: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}>;
export type TAudioDeviceInputOutput = z.infer<typeof audioDeviceInputOutputSchema>;
export declare const audioDeviceSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
inputs: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
enabled: z.ZodBoolean;
connectionTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>, "many">;
connectionTypeSelected: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}>, "many">;
outputs: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
enabled: z.ZodBoolean;
connectionTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>, "many">;
connectionTypeSelected: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}>, "many">;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
inputs: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[];
outputs: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[];
}, {
name: string;
id: string;
inputs: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[];
outputs: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[];
}>;
export type TAudioDevice = z.infer<typeof audioDeviceSchema>;
declare const audioDeviceFromRequestSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
enabled: z.ZodBoolean;
connectionTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>, "many">;
connectionTypeSelected: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}>, "many">>;
outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
enabled: z.ZodBoolean;
connectionTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>, "many">;
connectionTypeSelected: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}, {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}>;
export declare const audioDeviceRequestSchema: z.ZodObject<{
data: z.ZodObject<{
devices: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
enabled: z.ZodBoolean;
connectionTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>, "many">;
connectionTypeSelected: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}>, "many">>;
outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
enabled: z.ZodBoolean;
connectionTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
signalingTypeSelected: z.ZodString;
signalingTypes: z.ZodArray<z.ZodObject<{
id: z.ZodString;
powerType: z.ZodOptional<z.ZodString>;
channels: z.ZodArray<z.ZodObject<{
id: z.ZodString;
gain: z.ZodNumber;
mute: z.ZodBoolean;
}, "strip", z.ZodTypeAny, {
id: string;
gain: number;
mute: boolean;
}, {
id: string;
gain: number;
mute: boolean;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}, {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}, {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}>, "many">;
connectionTypeSelected: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}, {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}, {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
devices: {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}[];
}, {
devices: {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}[];
}>;
}, "strip", z.ZodTypeAny, {
data: {
devices: {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}[];
};
}, {
data: {
devices: {
name: string;
id: string;
inputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
outputs?: {
name: string;
enabled: boolean;
id: string;
connectionTypes: {
id: string;
signalingTypeSelected: string;
signalingTypes: {
id: string;
channels: {
id: string;
gain: number;
mute: boolean;
}[];
powerType?: string | undefined;
}[];
}[];
connectionTypeSelected: string;
}[] | undefined;
}[];
};
}>;
export type TAudioDeviceFromRequest = z.infer<typeof audioDeviceFromRequestSchema>;
export declare const maxFpsResponseSchema: z.ZodObject<{
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
channel: z.ZodNumber;
captureMode: z.ZodArray<z.ZodObject<{
enabled: z.ZodBoolean;
maxFPS: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
enabled: boolean;
maxFPS?: number | undefined;
}, {
enabled: boolean;
maxFPS?: number | undefined;
}>, "many">;
}, "strip", z.ZodTypeAny, {
channel: number;
captureMode: {
enabled: boolean;
maxFPS?: number | undefined;
}[];
}, {
channel: number;
captureMode: {
enabled: boolean;
maxFPS?: number | undefined;
}[];
}>, "many">>;
}, "strip", z.ZodTypeAny, {
data?: {
channel: number;
captureMode: {
enabled: boolean;
maxFPS?: number | undefined;
}[];
}[] | undefined;
}, {
data?: {
channel: number;
captureMode: {
enabled: boolean;
maxFPS?: number | undefined;
}[];
}[] | undefined;
}>;
export declare const dateTimeinfoSchema: z.ZodObject<{
data: z.ZodObject<{
dateTime: z.ZodString;
dstEnabled: z.ZodBoolean;
localDateTime: z.ZodString;
posixTimeZone: z.ZodString;
timeZone: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
dateTime: string;
dstEnabled: boolean;
localDateTime: string;
posixTimeZone: string;
timeZone?: string | undefined;
}, {
dateTime: string;
dstEnabled: boolean;
localDateTime: string;
posixTimeZone: string;
timeZone?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
data: {
dateTime: string;
dstEnabled: boolean;
localDateTime: string;
posixTimeZone: string;
timeZone?: string | undefined;
};
}, {
data: {
dateTime: string;
dstEnabled: boolean;
localDateTime: string;
posixTimeZone: string;
timeZone?: string | undefined;
};
}>;
export declare const timeZoneSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
status: z.ZodLiteral<"success">;
data: z.ZodObject<{
activeTimeZone: z.ZodString;
}, "strip", z.ZodTypeAny, {
activeTimeZone: string;
}, {
activeTimeZone: string;