camstreamerlib 4.0.0-beta.140 → 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 +200 -120
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1861 -1101
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +39 -23
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +39 -23
- package/cjs/types/CamStreamerAPI/streamCommonTypes.js +5 -3
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +663 -391
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +39 -23
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +39 -23
- package/esm/types/CamStreamerAPI/streamCommonTypes.js +5 -3
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +200 -120
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1861 -1101
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +39 -23
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +39 -23
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +663 -391
- package/types/types/CamStreamerAPI/windySchema.d.ts +39 -23
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +39 -23
|
@@ -17,16 +17,19 @@ export declare const windySchema: z.ZodObject<{
|
|
|
17
17
|
type: z.ZodLiteral<"onetime">;
|
|
18
18
|
startTime: z.ZodNumber;
|
|
19
19
|
stopTime: z.ZodNumber;
|
|
20
|
+
everActivated: z.ZodBoolean;
|
|
20
21
|
prepareAheadS: z.ZodOptional<z.ZodNumber>;
|
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
|
22
23
|
type: "onetime";
|
|
23
24
|
startTime: number;
|
|
24
25
|
stopTime: number;
|
|
26
|
+
everActivated: boolean;
|
|
25
27
|
prepareAheadS?: number | undefined;
|
|
26
28
|
}, {
|
|
27
29
|
type: "onetime";
|
|
28
30
|
startTime: number;
|
|
29
31
|
stopTime: number;
|
|
32
|
+
everActivated: boolean;
|
|
30
33
|
prepareAheadS?: number | undefined;
|
|
31
34
|
}>, z.ZodObject<{
|
|
32
35
|
type: z.ZodLiteral<"recurrent">;
|
|
@@ -109,15 +112,12 @@ export declare const windySchema: z.ZodObject<{
|
|
|
109
112
|
url: z.ZodNullable<z.ZodString>;
|
|
110
113
|
parameters: z.ZodString;
|
|
111
114
|
saveToSdCard: z.ZodOptional<z.ZodObject<{
|
|
112
|
-
enabled: z.ZodBoolean;
|
|
113
115
|
ruleId: z.ZodString;
|
|
114
116
|
configurationId: z.ZodString;
|
|
115
117
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
enabled: boolean;
|
|
117
118
|
ruleId: string;
|
|
118
119
|
configurationId: string;
|
|
119
120
|
}, {
|
|
120
|
-
enabled: boolean;
|
|
121
121
|
ruleId: string;
|
|
122
122
|
configurationId: string;
|
|
123
123
|
}>>;
|
|
@@ -126,7 +126,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
126
126
|
url: string | null;
|
|
127
127
|
parameters: string;
|
|
128
128
|
saveToSdCard?: {
|
|
129
|
-
enabled: boolean;
|
|
130
129
|
ruleId: string;
|
|
131
130
|
configurationId: string;
|
|
132
131
|
} | undefined;
|
|
@@ -135,7 +134,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
135
134
|
url: string | null;
|
|
136
135
|
parameters: string;
|
|
137
136
|
saveToSdCard?: {
|
|
138
|
-
enabled: boolean;
|
|
139
137
|
ruleId: string;
|
|
140
138
|
configurationId: string;
|
|
141
139
|
} | undefined;
|
|
@@ -153,16 +151,28 @@ export declare const windySchema: z.ZodObject<{
|
|
|
153
151
|
imageIntervalS: number;
|
|
154
152
|
}>, z.ZodObject<{
|
|
155
153
|
type: z.ZodLiteral<"none">;
|
|
156
|
-
|
|
157
|
-
|
|
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
|
+
}>;
|
|
158
164
|
}, "strip", z.ZodTypeAny, {
|
|
159
165
|
type: "none";
|
|
160
|
-
|
|
161
|
-
|
|
166
|
+
saveToSdCard: {
|
|
167
|
+
ruleId: string;
|
|
168
|
+
configurationId: string;
|
|
169
|
+
};
|
|
162
170
|
}, {
|
|
163
171
|
type: "none";
|
|
164
|
-
|
|
165
|
-
|
|
172
|
+
saveToSdCard: {
|
|
173
|
+
ruleId: string;
|
|
174
|
+
configurationId: string;
|
|
175
|
+
};
|
|
166
176
|
}>]>;
|
|
167
177
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
168
178
|
type: z.ZodLiteral<"RTSP_URL">;
|
|
@@ -199,7 +209,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
199
209
|
url: string | null;
|
|
200
210
|
parameters: string;
|
|
201
211
|
saveToSdCard?: {
|
|
202
|
-
enabled: boolean;
|
|
203
212
|
ruleId: string;
|
|
204
213
|
configurationId: string;
|
|
205
214
|
} | undefined;
|
|
@@ -209,8 +218,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
209
218
|
imageIntervalS: number;
|
|
210
219
|
} | {
|
|
211
220
|
type: "none";
|
|
212
|
-
|
|
213
|
-
|
|
221
|
+
saveToSdCard: {
|
|
222
|
+
ruleId: string;
|
|
223
|
+
configurationId: string;
|
|
224
|
+
};
|
|
214
225
|
};
|
|
215
226
|
input: {
|
|
216
227
|
type: "RTSP_URL";
|
|
@@ -229,7 +240,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
229
240
|
url: string | null;
|
|
230
241
|
parameters: string;
|
|
231
242
|
saveToSdCard?: {
|
|
232
|
-
enabled: boolean;
|
|
233
243
|
ruleId: string;
|
|
234
244
|
configurationId: string;
|
|
235
245
|
} | undefined;
|
|
@@ -239,8 +249,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
239
249
|
imageIntervalS: number;
|
|
240
250
|
} | {
|
|
241
251
|
type: "none";
|
|
242
|
-
|
|
243
|
-
|
|
252
|
+
saveToSdCard: {
|
|
253
|
+
ruleId: string;
|
|
254
|
+
configurationId: string;
|
|
255
|
+
};
|
|
244
256
|
};
|
|
245
257
|
input: {
|
|
246
258
|
type: "RTSP_URL";
|
|
@@ -334,6 +346,7 @@ export declare const windySchema: z.ZodObject<{
|
|
|
334
346
|
type: "onetime";
|
|
335
347
|
startTime: number;
|
|
336
348
|
stopTime: number;
|
|
349
|
+
everActivated: boolean;
|
|
337
350
|
prepareAheadS?: number | undefined;
|
|
338
351
|
} | {
|
|
339
352
|
type: "recurrent";
|
|
@@ -356,7 +369,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
356
369
|
url: string | null;
|
|
357
370
|
parameters: string;
|
|
358
371
|
saveToSdCard?: {
|
|
359
|
-
enabled: boolean;
|
|
360
372
|
ruleId: string;
|
|
361
373
|
configurationId: string;
|
|
362
374
|
} | undefined;
|
|
@@ -366,8 +378,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
366
378
|
imageIntervalS: number;
|
|
367
379
|
} | {
|
|
368
380
|
type: "none";
|
|
369
|
-
|
|
370
|
-
|
|
381
|
+
saveToSdCard: {
|
|
382
|
+
ruleId: string;
|
|
383
|
+
configurationId: string;
|
|
384
|
+
};
|
|
371
385
|
};
|
|
372
386
|
input: {
|
|
373
387
|
type: "RTSP_URL";
|
|
@@ -416,6 +430,7 @@ export declare const windySchema: z.ZodObject<{
|
|
|
416
430
|
type: "onetime";
|
|
417
431
|
startTime: number;
|
|
418
432
|
stopTime: number;
|
|
433
|
+
everActivated: boolean;
|
|
419
434
|
prepareAheadS?: number | undefined;
|
|
420
435
|
} | {
|
|
421
436
|
type: "recurrent";
|
|
@@ -438,7 +453,6 @@ export declare const windySchema: z.ZodObject<{
|
|
|
438
453
|
url: string | null;
|
|
439
454
|
parameters: string;
|
|
440
455
|
saveToSdCard?: {
|
|
441
|
-
enabled: boolean;
|
|
442
456
|
ruleId: string;
|
|
443
457
|
configurationId: string;
|
|
444
458
|
} | undefined;
|
|
@@ -448,8 +462,10 @@ export declare const windySchema: z.ZodObject<{
|
|
|
448
462
|
imageIntervalS: number;
|
|
449
463
|
} | {
|
|
450
464
|
type: "none";
|
|
451
|
-
|
|
452
|
-
|
|
465
|
+
saveToSdCard: {
|
|
466
|
+
ruleId: string;
|
|
467
|
+
configurationId: string;
|
|
468
|
+
};
|
|
453
469
|
};
|
|
454
470
|
input: {
|
|
455
471
|
type: "RTSP_URL";
|
|
@@ -17,16 +17,19 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
17
17
|
type: z.ZodLiteral<"onetime">;
|
|
18
18
|
startTime: z.ZodNumber;
|
|
19
19
|
stopTime: z.ZodNumber;
|
|
20
|
+
everActivated: z.ZodBoolean;
|
|
20
21
|
prepareAheadS: z.ZodOptional<z.ZodNumber>;
|
|
21
22
|
}, "strip", z.ZodTypeAny, {
|
|
22
23
|
type: "onetime";
|
|
23
24
|
startTime: number;
|
|
24
25
|
stopTime: number;
|
|
26
|
+
everActivated: boolean;
|
|
25
27
|
prepareAheadS?: number | undefined;
|
|
26
28
|
}, {
|
|
27
29
|
type: "onetime";
|
|
28
30
|
startTime: number;
|
|
29
31
|
stopTime: number;
|
|
32
|
+
everActivated: boolean;
|
|
30
33
|
prepareAheadS?: number | undefined;
|
|
31
34
|
}>, z.ZodObject<{
|
|
32
35
|
type: z.ZodLiteral<"recurrent">;
|
|
@@ -109,15 +112,12 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
109
112
|
url: z.ZodNullable<z.ZodString>;
|
|
110
113
|
parameters: z.ZodString;
|
|
111
114
|
saveToSdCard: z.ZodOptional<z.ZodObject<{
|
|
112
|
-
enabled: z.ZodBoolean;
|
|
113
115
|
ruleId: z.ZodString;
|
|
114
116
|
configurationId: z.ZodString;
|
|
115
117
|
}, "strip", z.ZodTypeAny, {
|
|
116
|
-
enabled: boolean;
|
|
117
118
|
ruleId: string;
|
|
118
119
|
configurationId: string;
|
|
119
120
|
}, {
|
|
120
|
-
enabled: boolean;
|
|
121
121
|
ruleId: string;
|
|
122
122
|
configurationId: string;
|
|
123
123
|
}>>;
|
|
@@ -126,7 +126,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
126
126
|
url: string | null;
|
|
127
127
|
parameters: string;
|
|
128
128
|
saveToSdCard?: {
|
|
129
|
-
enabled: boolean;
|
|
130
129
|
ruleId: string;
|
|
131
130
|
configurationId: string;
|
|
132
131
|
} | undefined;
|
|
@@ -135,7 +134,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
135
134
|
url: string | null;
|
|
136
135
|
parameters: string;
|
|
137
136
|
saveToSdCard?: {
|
|
138
|
-
enabled: boolean;
|
|
139
137
|
ruleId: string;
|
|
140
138
|
configurationId: string;
|
|
141
139
|
} | undefined;
|
|
@@ -153,16 +151,28 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
153
151
|
imageIntervalS: number;
|
|
154
152
|
}>, z.ZodObject<{
|
|
155
153
|
type: z.ZodLiteral<"none">;
|
|
156
|
-
|
|
157
|
-
|
|
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
|
+
}>;
|
|
158
164
|
}, "strip", z.ZodTypeAny, {
|
|
159
165
|
type: "none";
|
|
160
|
-
|
|
161
|
-
|
|
166
|
+
saveToSdCard: {
|
|
167
|
+
ruleId: string;
|
|
168
|
+
configurationId: string;
|
|
169
|
+
};
|
|
162
170
|
}, {
|
|
163
171
|
type: "none";
|
|
164
|
-
|
|
165
|
-
|
|
172
|
+
saveToSdCard: {
|
|
173
|
+
ruleId: string;
|
|
174
|
+
configurationId: string;
|
|
175
|
+
};
|
|
166
176
|
}>]>;
|
|
167
177
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
168
178
|
type: z.ZodLiteral<"RTSP_URL">;
|
|
@@ -199,7 +209,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
199
209
|
url: string | null;
|
|
200
210
|
parameters: string;
|
|
201
211
|
saveToSdCard?: {
|
|
202
|
-
enabled: boolean;
|
|
203
212
|
ruleId: string;
|
|
204
213
|
configurationId: string;
|
|
205
214
|
} | undefined;
|
|
@@ -209,8 +218,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
209
218
|
imageIntervalS: number;
|
|
210
219
|
} | {
|
|
211
220
|
type: "none";
|
|
212
|
-
|
|
213
|
-
|
|
221
|
+
saveToSdCard: {
|
|
222
|
+
ruleId: string;
|
|
223
|
+
configurationId: string;
|
|
224
|
+
};
|
|
214
225
|
};
|
|
215
226
|
input: {
|
|
216
227
|
type: "RTSP_URL";
|
|
@@ -229,7 +240,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
229
240
|
url: string | null;
|
|
230
241
|
parameters: string;
|
|
231
242
|
saveToSdCard?: {
|
|
232
|
-
enabled: boolean;
|
|
233
243
|
ruleId: string;
|
|
234
244
|
configurationId: string;
|
|
235
245
|
} | undefined;
|
|
@@ -239,8 +249,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
239
249
|
imageIntervalS: number;
|
|
240
250
|
} | {
|
|
241
251
|
type: "none";
|
|
242
|
-
|
|
243
|
-
|
|
252
|
+
saveToSdCard: {
|
|
253
|
+
ruleId: string;
|
|
254
|
+
configurationId: string;
|
|
255
|
+
};
|
|
244
256
|
};
|
|
245
257
|
input: {
|
|
246
258
|
type: "RTSP_URL";
|
|
@@ -346,6 +358,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
346
358
|
type: "onetime";
|
|
347
359
|
startTime: number;
|
|
348
360
|
stopTime: number;
|
|
361
|
+
everActivated: boolean;
|
|
349
362
|
prepareAheadS?: number | undefined;
|
|
350
363
|
} | {
|
|
351
364
|
type: "recurrent";
|
|
@@ -368,7 +381,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
368
381
|
url: string | null;
|
|
369
382
|
parameters: string;
|
|
370
383
|
saveToSdCard?: {
|
|
371
|
-
enabled: boolean;
|
|
372
384
|
ruleId: string;
|
|
373
385
|
configurationId: string;
|
|
374
386
|
} | undefined;
|
|
@@ -378,8 +390,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
378
390
|
imageIntervalS: number;
|
|
379
391
|
} | {
|
|
380
392
|
type: "none";
|
|
381
|
-
|
|
382
|
-
|
|
393
|
+
saveToSdCard: {
|
|
394
|
+
ruleId: string;
|
|
395
|
+
configurationId: string;
|
|
396
|
+
};
|
|
383
397
|
};
|
|
384
398
|
input: {
|
|
385
399
|
type: "RTSP_URL";
|
|
@@ -440,6 +454,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
440
454
|
type: "onetime";
|
|
441
455
|
startTime: number;
|
|
442
456
|
stopTime: number;
|
|
457
|
+
everActivated: boolean;
|
|
443
458
|
prepareAheadS?: number | undefined;
|
|
444
459
|
} | {
|
|
445
460
|
type: "recurrent";
|
|
@@ -462,7 +477,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
462
477
|
url: string | null;
|
|
463
478
|
parameters: string;
|
|
464
479
|
saveToSdCard?: {
|
|
465
|
-
enabled: boolean;
|
|
466
480
|
ruleId: string;
|
|
467
481
|
configurationId: string;
|
|
468
482
|
} | undefined;
|
|
@@ -472,8 +486,10 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
472
486
|
imageIntervalS: number;
|
|
473
487
|
} | {
|
|
474
488
|
type: "none";
|
|
475
|
-
|
|
476
|
-
|
|
489
|
+
saveToSdCard: {
|
|
490
|
+
ruleId: string;
|
|
491
|
+
configurationId: string;
|
|
492
|
+
};
|
|
477
493
|
};
|
|
478
494
|
input: {
|
|
479
495
|
type: "RTSP_URL";
|