camstreamerlib 4.0.0-beta.141 → 4.0.0-beta.142
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 +160 -120
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1601 -1101
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +34 -23
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +34 -23
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +4 -3
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +578 -391
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +34 -23
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +34 -23
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +4 -3
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +160 -120
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1601 -1101
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +34 -23
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +34 -23
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +578 -391
- package/types/types/CamStreamerAPI/windySchema.d.ts +34 -23
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +34 -23
|
@@ -112,15 +112,12 @@ export declare const windySchema: z.ZodObject<{
|
|
|
112
112
|
url: z.ZodNullable<z.ZodString>;
|
|
113
113
|
parameters: z.ZodString;
|
|
114
114
|
saveToSdCard: z.ZodOptional<z.ZodObject<{
|
|
115
|
-
enabled: z.ZodBoolean;
|
|
116
115
|
ruleId: z.ZodString;
|
|
117
116
|
configurationId: z.ZodString;
|
|
118
117
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
enabled: boolean;
|
|
120
118
|
ruleId: string;
|
|
121
119
|
configurationId: string;
|
|
122
120
|
}, {
|
|
123
|
-
enabled: boolean;
|
|
124
121
|
ruleId: string;
|
|
125
122
|
configurationId: string;
|
|
126
123
|
}>>;
|
|
@@ -129,7 +126,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
129
126
|
url: string | null;
|
|
130
127
|
parameters: string;
|
|
131
128
|
saveToSdCard?: {
|
|
132
|
-
enabled: boolean;
|
|
133
129
|
ruleId: string;
|
|
134
130
|
configurationId: string;
|
|
135
131
|
} | undefined;
|
|
@@ -138,7 +134,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
138
134
|
url: string | null;
|
|
139
135
|
parameters: string;
|
|
140
136
|
saveToSdCard?: {
|
|
141
|
-
enabled: boolean;
|
|
142
137
|
ruleId: string;
|
|
143
138
|
configurationId: string;
|
|
144
139
|
} | undefined;
|
|
@@ -156,16 +151,28 @@ export declare const windySchema: z.ZodObject<{
|
|
|
156
151
|
imageIntervalS: number;
|
|
157
152
|
}>, z.ZodObject<{
|
|
158
153
|
type: z.ZodLiteral<"none">;
|
|
159
|
-
|
|
160
|
-
|
|
154
|
+
saveToSdCard: z.ZodObject<{
|
|
155
|
+
ruleId: z.ZodString;
|
|
156
|
+
configurationId: z.ZodString;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
ruleId: string;
|
|
159
|
+
configurationId: string;
|
|
160
|
+
}, {
|
|
161
|
+
ruleId: string;
|
|
162
|
+
configurationId: string;
|
|
163
|
+
}>;
|
|
161
164
|
}, "strip", z.ZodTypeAny, {
|
|
162
165
|
type: "none";
|
|
163
|
-
|
|
164
|
-
|
|
166
|
+
saveToSdCard: {
|
|
167
|
+
ruleId: string;
|
|
168
|
+
configurationId: string;
|
|
169
|
+
};
|
|
165
170
|
}, {
|
|
166
171
|
type: "none";
|
|
167
|
-
|
|
168
|
-
|
|
172
|
+
saveToSdCard: {
|
|
173
|
+
ruleId: string;
|
|
174
|
+
configurationId: string;
|
|
175
|
+
};
|
|
169
176
|
}>]>;
|
|
170
177
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
171
178
|
type: z.ZodLiteral<"RTSP_URL">;
|
|
@@ -202,7 +209,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
202
209
|
url: string | null;
|
|
203
210
|
parameters: string;
|
|
204
211
|
saveToSdCard?: {
|
|
205
|
-
enabled: boolean;
|
|
206
212
|
ruleId: string;
|
|
207
213
|
configurationId: string;
|
|
208
214
|
} | undefined;
|
|
@@ -212,8 +218,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
212
218
|
imageIntervalS: number;
|
|
213
219
|
} | {
|
|
214
220
|
type: "none";
|
|
215
|
-
|
|
216
|
-
|
|
221
|
+
saveToSdCard: {
|
|
222
|
+
ruleId: string;
|
|
223
|
+
configurationId: string;
|
|
224
|
+
};
|
|
217
225
|
};
|
|
218
226
|
input: {
|
|
219
227
|
type: "RTSP_URL";
|
|
@@ -232,7 +240,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
232
240
|
url: string | null;
|
|
233
241
|
parameters: string;
|
|
234
242
|
saveToSdCard?: {
|
|
235
|
-
enabled: boolean;
|
|
236
243
|
ruleId: string;
|
|
237
244
|
configurationId: string;
|
|
238
245
|
} | undefined;
|
|
@@ -242,8 +249,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
242
249
|
imageIntervalS: number;
|
|
243
250
|
} | {
|
|
244
251
|
type: "none";
|
|
245
|
-
|
|
246
|
-
|
|
252
|
+
saveToSdCard: {
|
|
253
|
+
ruleId: string;
|
|
254
|
+
configurationId: string;
|
|
255
|
+
};
|
|
247
256
|
};
|
|
248
257
|
input: {
|
|
249
258
|
type: "RTSP_URL";
|
|
@@ -360,7 +369,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
360
369
|
url: string | null;
|
|
361
370
|
parameters: string;
|
|
362
371
|
saveToSdCard?: {
|
|
363
|
-
enabled: boolean;
|
|
364
372
|
ruleId: string;
|
|
365
373
|
configurationId: string;
|
|
366
374
|
} | undefined;
|
|
@@ -370,8 +378,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
370
378
|
imageIntervalS: number;
|
|
371
379
|
} | {
|
|
372
380
|
type: "none";
|
|
373
|
-
|
|
374
|
-
|
|
381
|
+
saveToSdCard: {
|
|
382
|
+
ruleId: string;
|
|
383
|
+
configurationId: string;
|
|
384
|
+
};
|
|
375
385
|
};
|
|
376
386
|
input: {
|
|
377
387
|
type: "RTSP_URL";
|
|
@@ -443,7 +453,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
443
453
|
url: string | null;
|
|
444
454
|
parameters: string;
|
|
445
455
|
saveToSdCard?: {
|
|
446
|
-
enabled: boolean;
|
|
447
456
|
ruleId: string;
|
|
448
457
|
configurationId: string;
|
|
449
458
|
} | undefined;
|
|
@@ -453,8 +462,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
453
462
|
imageIntervalS: number;
|
|
454
463
|
} | {
|
|
455
464
|
type: "none";
|
|
456
|
-
|
|
457
|
-
|
|
465
|
+
saveToSdCard: {
|
|
466
|
+
ruleId: string;
|
|
467
|
+
configurationId: string;
|
|
468
|
+
};
|
|
458
469
|
};
|
|
459
470
|
input: {
|
|
460
471
|
type: "RTSP_URL";
|
|
@@ -112,15 +112,12 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
112
112
|
url: z.ZodNullable<z.ZodString>;
|
|
113
113
|
parameters: z.ZodString;
|
|
114
114
|
saveToSdCard: z.ZodOptional<z.ZodObject<{
|
|
115
|
-
enabled: z.ZodBoolean;
|
|
116
115
|
ruleId: z.ZodString;
|
|
117
116
|
configurationId: z.ZodString;
|
|
118
117
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
enabled: boolean;
|
|
120
118
|
ruleId: string;
|
|
121
119
|
configurationId: string;
|
|
122
120
|
}, {
|
|
123
|
-
enabled: boolean;
|
|
124
121
|
ruleId: string;
|
|
125
122
|
configurationId: string;
|
|
126
123
|
}>>;
|
|
@@ -129,7 +126,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
129
126
|
url: string | null;
|
|
130
127
|
parameters: string;
|
|
131
128
|
saveToSdCard?: {
|
|
132
|
-
enabled: boolean;
|
|
133
129
|
ruleId: string;
|
|
134
130
|
configurationId: string;
|
|
135
131
|
} | undefined;
|
|
@@ -138,7 +134,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
138
134
|
url: string | null;
|
|
139
135
|
parameters: string;
|
|
140
136
|
saveToSdCard?: {
|
|
141
|
-
enabled: boolean;
|
|
142
137
|
ruleId: string;
|
|
143
138
|
configurationId: string;
|
|
144
139
|
} | undefined;
|
|
@@ -156,16 +151,28 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
156
151
|
imageIntervalS: number;
|
|
157
152
|
}>, z.ZodObject<{
|
|
158
153
|
type: z.ZodLiteral<"none">;
|
|
159
|
-
|
|
160
|
-
|
|
154
|
+
saveToSdCard: z.ZodObject<{
|
|
155
|
+
ruleId: z.ZodString;
|
|
156
|
+
configurationId: z.ZodString;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
ruleId: string;
|
|
159
|
+
configurationId: string;
|
|
160
|
+
}, {
|
|
161
|
+
ruleId: string;
|
|
162
|
+
configurationId: string;
|
|
163
|
+
}>;
|
|
161
164
|
}, "strip", z.ZodTypeAny, {
|
|
162
165
|
type: "none";
|
|
163
|
-
|
|
164
|
-
|
|
166
|
+
saveToSdCard: {
|
|
167
|
+
ruleId: string;
|
|
168
|
+
configurationId: string;
|
|
169
|
+
};
|
|
165
170
|
}, {
|
|
166
171
|
type: "none";
|
|
167
|
-
|
|
168
|
-
|
|
172
|
+
saveToSdCard: {
|
|
173
|
+
ruleId: string;
|
|
174
|
+
configurationId: string;
|
|
175
|
+
};
|
|
169
176
|
}>]>;
|
|
170
177
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
171
178
|
type: z.ZodLiteral<"RTSP_URL">;
|
|
@@ -202,7 +209,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
202
209
|
url: string | null;
|
|
203
210
|
parameters: string;
|
|
204
211
|
saveToSdCard?: {
|
|
205
|
-
enabled: boolean;
|
|
206
212
|
ruleId: string;
|
|
207
213
|
configurationId: string;
|
|
208
214
|
} | undefined;
|
|
@@ -212,8 +218,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
212
218
|
imageIntervalS: number;
|
|
213
219
|
} | {
|
|
214
220
|
type: "none";
|
|
215
|
-
|
|
216
|
-
|
|
221
|
+
saveToSdCard: {
|
|
222
|
+
ruleId: string;
|
|
223
|
+
configurationId: string;
|
|
224
|
+
};
|
|
217
225
|
};
|
|
218
226
|
input: {
|
|
219
227
|
type: "RTSP_URL";
|
|
@@ -232,7 +240,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
232
240
|
url: string | null;
|
|
233
241
|
parameters: string;
|
|
234
242
|
saveToSdCard?: {
|
|
235
|
-
enabled: boolean;
|
|
236
243
|
ruleId: string;
|
|
237
244
|
configurationId: string;
|
|
238
245
|
} | undefined;
|
|
@@ -242,8 +249,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
242
249
|
imageIntervalS: number;
|
|
243
250
|
} | {
|
|
244
251
|
type: "none";
|
|
245
|
-
|
|
246
|
-
|
|
252
|
+
saveToSdCard: {
|
|
253
|
+
ruleId: string;
|
|
254
|
+
configurationId: string;
|
|
255
|
+
};
|
|
247
256
|
};
|
|
248
257
|
input: {
|
|
249
258
|
type: "RTSP_URL";
|
|
@@ -372,7 +381,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
372
381
|
url: string | null;
|
|
373
382
|
parameters: string;
|
|
374
383
|
saveToSdCard?: {
|
|
375
|
-
enabled: boolean;
|
|
376
384
|
ruleId: string;
|
|
377
385
|
configurationId: string;
|
|
378
386
|
} | undefined;
|
|
@@ -382,8 +390,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
382
390
|
imageIntervalS: number;
|
|
383
391
|
} | {
|
|
384
392
|
type: "none";
|
|
385
|
-
|
|
386
|
-
|
|
393
|
+
saveToSdCard: {
|
|
394
|
+
ruleId: string;
|
|
395
|
+
configurationId: string;
|
|
396
|
+
};
|
|
387
397
|
};
|
|
388
398
|
input: {
|
|
389
399
|
type: "RTSP_URL";
|
|
@@ -467,7 +477,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
467
477
|
url: string | null;
|
|
468
478
|
parameters: string;
|
|
469
479
|
saveToSdCard?: {
|
|
470
|
-
enabled: boolean;
|
|
471
480
|
ruleId: string;
|
|
472
481
|
configurationId: string;
|
|
473
482
|
} | undefined;
|
|
@@ -477,8 +486,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
477
486
|
imageIntervalS: number;
|
|
478
487
|
} | {
|
|
479
488
|
type: "none";
|
|
480
|
-
|
|
481
|
-
|
|
489
|
+
saveToSdCard: {
|
|
490
|
+
ruleId: string;
|
|
491
|
+
configurationId: string;
|
|
492
|
+
};
|
|
482
493
|
};
|
|
483
494
|
input: {
|
|
484
495
|
type: "RTSP_URL";
|
|
@@ -41,7 +41,6 @@ export const streamCommonSchema = z.object({
|
|
|
41
41
|
parameters: z.string(),
|
|
42
42
|
saveToSdCard: z
|
|
43
43
|
.object({
|
|
44
|
-
enabled: z.boolean(),
|
|
45
44
|
ruleId: z.string(),
|
|
46
45
|
configurationId: z.string(),
|
|
47
46
|
})
|
|
@@ -54,8 +53,10 @@ export const streamCommonSchema = z.object({
|
|
|
54
53
|
}),
|
|
55
54
|
z.object({
|
|
56
55
|
type: z.literal('none'),
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
saveToSdCard: z.object({
|
|
57
|
+
ruleId: z.string(),
|
|
58
|
+
configurationId: z.string(),
|
|
59
|
+
}),
|
|
59
60
|
}),
|
|
60
61
|
]),
|
|
61
62
|
input: z.discriminatedUnion('type', [
|