camstreamerlib 4.0.0-beta.122 → 4.0.0-beta.124
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/cjs/CamStreamerAPI.d.ts +320 -80
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +2800 -760
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +58 -16
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +58 -16
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +15 -5
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +1046 -290
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +58 -16
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +58 -16
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +15 -5
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +320 -80
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +2800 -760
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +58 -16
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +58 -16
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +1046 -290
- package/types/types/CamStreamerAPI/windySchema.d.ts +58 -16
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +58 -16
|
@@ -104,19 +104,37 @@ export declare const windySchema: z.ZodObject<{
|
|
|
104
104
|
prepareAheadS?: number | undefined;
|
|
105
105
|
}>]>;
|
|
106
106
|
video: z.ZodObject<{
|
|
107
|
-
output: z.ZodObject<{
|
|
108
|
-
type: z.
|
|
109
|
-
url: z.
|
|
107
|
+
output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
108
|
+
type: z.ZodLiteral<"video">;
|
|
109
|
+
url: z.ZodString;
|
|
110
110
|
parameters: z.ZodString;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
type: "video"
|
|
113
|
-
url: string
|
|
112
|
+
type: "video";
|
|
113
|
+
url: string;
|
|
114
114
|
parameters: string;
|
|
115
115
|
}, {
|
|
116
|
-
type: "video"
|
|
117
|
-
url: string
|
|
116
|
+
type: "video";
|
|
117
|
+
url: string;
|
|
118
118
|
parameters: string;
|
|
119
|
-
}
|
|
119
|
+
}>, z.ZodObject<{
|
|
120
|
+
type: z.ZodLiteral<"images">;
|
|
121
|
+
url: z.ZodString;
|
|
122
|
+
imageIntervalS: z.ZodNumber;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
type: "images";
|
|
125
|
+
url: string;
|
|
126
|
+
imageIntervalS: number;
|
|
127
|
+
}, {
|
|
128
|
+
type: "images";
|
|
129
|
+
url: string;
|
|
130
|
+
imageIntervalS: number;
|
|
131
|
+
}>, z.ZodObject<{
|
|
132
|
+
type: z.ZodLiteral<"none">;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
type: "none";
|
|
135
|
+
}, {
|
|
136
|
+
type: "none";
|
|
137
|
+
}>]>;
|
|
120
138
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
121
139
|
type: z.ZodLiteral<"RTSP_URL">;
|
|
122
140
|
url: z.ZodString;
|
|
@@ -151,9 +169,15 @@ export declare const windySchema: z.ZodObject<{
|
|
|
151
169
|
delayS: z.ZodOptional<z.ZodNumber>;
|
|
152
170
|
}, "strip", z.ZodTypeAny, {
|
|
153
171
|
output: {
|
|
154
|
-
type: "video"
|
|
155
|
-
url: string
|
|
172
|
+
type: "video";
|
|
173
|
+
url: string;
|
|
156
174
|
parameters: string;
|
|
175
|
+
} | {
|
|
176
|
+
type: "images";
|
|
177
|
+
url: string;
|
|
178
|
+
imageIntervalS: number;
|
|
179
|
+
} | {
|
|
180
|
+
type: "none";
|
|
157
181
|
};
|
|
158
182
|
input: {
|
|
159
183
|
type: "RTSP_URL";
|
|
@@ -169,9 +193,15 @@ export declare const windySchema: z.ZodObject<{
|
|
|
169
193
|
delayS?: number | undefined;
|
|
170
194
|
}, {
|
|
171
195
|
output: {
|
|
172
|
-
type: "video"
|
|
173
|
-
url: string
|
|
196
|
+
type: "video";
|
|
197
|
+
url: string;
|
|
174
198
|
parameters: string;
|
|
199
|
+
} | {
|
|
200
|
+
type: "images";
|
|
201
|
+
url: string;
|
|
202
|
+
imageIntervalS: number;
|
|
203
|
+
} | {
|
|
204
|
+
type: "none";
|
|
175
205
|
};
|
|
176
206
|
input: {
|
|
177
207
|
type: "RTSP_URL";
|
|
@@ -284,9 +314,15 @@ export declare const windySchema: z.ZodObject<{
|
|
|
284
314
|
};
|
|
285
315
|
video: {
|
|
286
316
|
output: {
|
|
287
|
-
type: "video"
|
|
288
|
-
url: string
|
|
317
|
+
type: "video";
|
|
318
|
+
url: string;
|
|
289
319
|
parameters: string;
|
|
320
|
+
} | {
|
|
321
|
+
type: "images";
|
|
322
|
+
url: string;
|
|
323
|
+
imageIntervalS: number;
|
|
324
|
+
} | {
|
|
325
|
+
type: "none";
|
|
290
326
|
};
|
|
291
327
|
input: {
|
|
292
328
|
type: "RTSP_URL";
|
|
@@ -354,9 +390,15 @@ export declare const windySchema: z.ZodObject<{
|
|
|
354
390
|
};
|
|
355
391
|
video: {
|
|
356
392
|
output: {
|
|
357
|
-
type: "video"
|
|
358
|
-
url: string
|
|
393
|
+
type: "video";
|
|
394
|
+
url: string;
|
|
359
395
|
parameters: string;
|
|
396
|
+
} | {
|
|
397
|
+
type: "images";
|
|
398
|
+
url: string;
|
|
399
|
+
imageIntervalS: number;
|
|
400
|
+
} | {
|
|
401
|
+
type: "none";
|
|
360
402
|
};
|
|
361
403
|
input: {
|
|
362
404
|
type: "RTSP_URL";
|
|
@@ -104,19 +104,37 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
104
104
|
prepareAheadS?: number | undefined;
|
|
105
105
|
}>]>;
|
|
106
106
|
video: z.ZodObject<{
|
|
107
|
-
output: z.ZodObject<{
|
|
108
|
-
type: z.
|
|
109
|
-
url: z.
|
|
107
|
+
output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
108
|
+
type: z.ZodLiteral<"video">;
|
|
109
|
+
url: z.ZodString;
|
|
110
110
|
parameters: z.ZodString;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
type: "video"
|
|
113
|
-
url: string
|
|
112
|
+
type: "video";
|
|
113
|
+
url: string;
|
|
114
114
|
parameters: string;
|
|
115
115
|
}, {
|
|
116
|
-
type: "video"
|
|
117
|
-
url: string
|
|
116
|
+
type: "video";
|
|
117
|
+
url: string;
|
|
118
118
|
parameters: string;
|
|
119
|
-
}
|
|
119
|
+
}>, z.ZodObject<{
|
|
120
|
+
type: z.ZodLiteral<"images">;
|
|
121
|
+
url: z.ZodString;
|
|
122
|
+
imageIntervalS: z.ZodNumber;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
type: "images";
|
|
125
|
+
url: string;
|
|
126
|
+
imageIntervalS: number;
|
|
127
|
+
}, {
|
|
128
|
+
type: "images";
|
|
129
|
+
url: string;
|
|
130
|
+
imageIntervalS: number;
|
|
131
|
+
}>, z.ZodObject<{
|
|
132
|
+
type: z.ZodLiteral<"none">;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
type: "none";
|
|
135
|
+
}, {
|
|
136
|
+
type: "none";
|
|
137
|
+
}>]>;
|
|
120
138
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
121
139
|
type: z.ZodLiteral<"RTSP_URL">;
|
|
122
140
|
url: z.ZodString;
|
|
@@ -151,9 +169,15 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
151
169
|
delayS: z.ZodOptional<z.ZodNumber>;
|
|
152
170
|
}, "strip", z.ZodTypeAny, {
|
|
153
171
|
output: {
|
|
154
|
-
type: "video"
|
|
155
|
-
url: string
|
|
172
|
+
type: "video";
|
|
173
|
+
url: string;
|
|
156
174
|
parameters: string;
|
|
175
|
+
} | {
|
|
176
|
+
type: "images";
|
|
177
|
+
url: string;
|
|
178
|
+
imageIntervalS: number;
|
|
179
|
+
} | {
|
|
180
|
+
type: "none";
|
|
157
181
|
};
|
|
158
182
|
input: {
|
|
159
183
|
type: "RTSP_URL";
|
|
@@ -169,9 +193,15 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
169
193
|
delayS?: number | undefined;
|
|
170
194
|
}, {
|
|
171
195
|
output: {
|
|
172
|
-
type: "video"
|
|
173
|
-
url: string
|
|
196
|
+
type: "video";
|
|
197
|
+
url: string;
|
|
174
198
|
parameters: string;
|
|
199
|
+
} | {
|
|
200
|
+
type: "images";
|
|
201
|
+
url: string;
|
|
202
|
+
imageIntervalS: number;
|
|
203
|
+
} | {
|
|
204
|
+
type: "none";
|
|
175
205
|
};
|
|
176
206
|
input: {
|
|
177
207
|
type: "RTSP_URL";
|
|
@@ -295,9 +325,15 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
295
325
|
};
|
|
296
326
|
video: {
|
|
297
327
|
output: {
|
|
298
|
-
type: "video"
|
|
299
|
-
url: string
|
|
328
|
+
type: "video";
|
|
329
|
+
url: string;
|
|
300
330
|
parameters: string;
|
|
331
|
+
} | {
|
|
332
|
+
type: "images";
|
|
333
|
+
url: string;
|
|
334
|
+
imageIntervalS: number;
|
|
335
|
+
} | {
|
|
336
|
+
type: "none";
|
|
301
337
|
};
|
|
302
338
|
input: {
|
|
303
339
|
type: "RTSP_URL";
|
|
@@ -376,9 +412,15 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
376
412
|
};
|
|
377
413
|
video: {
|
|
378
414
|
output: {
|
|
379
|
-
type: "video"
|
|
380
|
-
url: string
|
|
415
|
+
type: "video";
|
|
416
|
+
url: string;
|
|
381
417
|
parameters: string;
|
|
418
|
+
} | {
|
|
419
|
+
type: "images";
|
|
420
|
+
url: string;
|
|
421
|
+
imageIntervalS: number;
|
|
422
|
+
} | {
|
|
423
|
+
type: "none";
|
|
382
424
|
};
|
|
383
425
|
input: {
|
|
384
426
|
type: "RTSP_URL";
|
|
@@ -33,11 +33,21 @@ export const streamCommonSchema = z.object({
|
|
|
33
33
|
}),
|
|
34
34
|
]),
|
|
35
35
|
video: z.object({
|
|
36
|
-
output: z.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
output: z.discriminatedUnion('type', [
|
|
37
|
+
z.object({
|
|
38
|
+
type: z.literal('video'),
|
|
39
|
+
url: z.string(),
|
|
40
|
+
parameters: z.string(),
|
|
41
|
+
}),
|
|
42
|
+
z.object({
|
|
43
|
+
type: z.literal('images'),
|
|
44
|
+
url: z.string(),
|
|
45
|
+
imageIntervalS: z.number(),
|
|
46
|
+
}),
|
|
47
|
+
z.object({
|
|
48
|
+
type: z.literal('none'),
|
|
49
|
+
}),
|
|
50
|
+
]),
|
|
41
51
|
input: z.discriminatedUnion('type', [
|
|
42
52
|
z.object({
|
|
43
53
|
type: z.literal('RTSP_URL'),
|