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.
@@ -40,16 +40,19 @@ export declare const facebookSchema: z.ZodObject<{
40
40
  type: z.ZodLiteral<"onetime">;
41
41
  startTime: z.ZodNumber;
42
42
  stopTime: z.ZodNumber;
43
+ everActivated: z.ZodBoolean;
43
44
  prepareAheadS: z.ZodOptional<z.ZodNumber>;
44
45
  }, "strip", z.ZodTypeAny, {
45
46
  type: "onetime";
46
47
  startTime: number;
47
48
  stopTime: number;
49
+ everActivated: boolean;
48
50
  prepareAheadS?: number | undefined;
49
51
  }, {
50
52
  type: "onetime";
51
53
  startTime: number;
52
54
  stopTime: number;
55
+ everActivated: boolean;
53
56
  prepareAheadS?: number | undefined;
54
57
  }>, z.ZodObject<{
55
58
  type: z.ZodLiteral<"recurrent">;
@@ -132,15 +135,12 @@ export declare const facebookSchema: z.ZodObject<{
132
135
  url: z.ZodNullable<z.ZodString>;
133
136
  parameters: z.ZodString;
134
137
  saveToSdCard: z.ZodOptional<z.ZodObject<{
135
- enabled: z.ZodBoolean;
136
138
  ruleId: z.ZodString;
137
139
  configurationId: z.ZodString;
138
140
  }, "strip", z.ZodTypeAny, {
139
- enabled: boolean;
140
141
  ruleId: string;
141
142
  configurationId: string;
142
143
  }, {
143
- enabled: boolean;
144
144
  ruleId: string;
145
145
  configurationId: string;
146
146
  }>>;
@@ -149,7 +149,6 @@ export declare const facebookSchema: z.ZodObject<{
149
149
  url: string | null;
150
150
  parameters: string;
151
151
  saveToSdCard?: {
152
- enabled: boolean;
153
152
  ruleId: string;
154
153
  configurationId: string;
155
154
  } | undefined;
@@ -158,7 +157,6 @@ export declare const facebookSchema: z.ZodObject<{
158
157
  url: string | null;
159
158
  parameters: string;
160
159
  saveToSdCard?: {
161
- enabled: boolean;
162
160
  ruleId: string;
163
161
  configurationId: string;
164
162
  } | undefined;
@@ -176,16 +174,28 @@ export declare const facebookSchema: z.ZodObject<{
176
174
  imageIntervalS: number;
177
175
  }>, z.ZodObject<{
178
176
  type: z.ZodLiteral<"none">;
179
- ruleId: z.ZodString;
180
- configurationId: z.ZodString;
177
+ saveToSdCard: z.ZodObject<{
178
+ ruleId: z.ZodString;
179
+ configurationId: z.ZodString;
180
+ }, "strip", z.ZodTypeAny, {
181
+ ruleId: string;
182
+ configurationId: string;
183
+ }, {
184
+ ruleId: string;
185
+ configurationId: string;
186
+ }>;
181
187
  }, "strip", z.ZodTypeAny, {
182
188
  type: "none";
183
- ruleId: string;
184
- configurationId: string;
189
+ saveToSdCard: {
190
+ ruleId: string;
191
+ configurationId: string;
192
+ };
185
193
  }, {
186
194
  type: "none";
187
- ruleId: string;
188
- configurationId: string;
195
+ saveToSdCard: {
196
+ ruleId: string;
197
+ configurationId: string;
198
+ };
189
199
  }>]>;
190
200
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
191
201
  type: z.ZodLiteral<"RTSP_URL">;
@@ -222,7 +232,6 @@ export declare const facebookSchema: z.ZodObject<{
222
232
  url: string | null;
223
233
  parameters: string;
224
234
  saveToSdCard?: {
225
- enabled: boolean;
226
235
  ruleId: string;
227
236
  configurationId: string;
228
237
  } | undefined;
@@ -232,8 +241,10 @@ export declare const facebookSchema: z.ZodObject<{
232
241
  imageIntervalS: number;
233
242
  } | {
234
243
  type: "none";
235
- ruleId: string;
236
- configurationId: string;
244
+ saveToSdCard: {
245
+ ruleId: string;
246
+ configurationId: string;
247
+ };
237
248
  };
238
249
  input: {
239
250
  type: "RTSP_URL";
@@ -252,7 +263,6 @@ export declare const facebookSchema: z.ZodObject<{
252
263
  url: string | null;
253
264
  parameters: string;
254
265
  saveToSdCard?: {
255
- enabled: boolean;
256
266
  ruleId: string;
257
267
  configurationId: string;
258
268
  } | undefined;
@@ -262,8 +272,10 @@ export declare const facebookSchema: z.ZodObject<{
262
272
  imageIntervalS: number;
263
273
  } | {
264
274
  type: "none";
265
- ruleId: string;
266
- configurationId: string;
275
+ saveToSdCard: {
276
+ ruleId: string;
277
+ configurationId: string;
278
+ };
267
279
  };
268
280
  input: {
269
281
  type: "RTSP_URL";
@@ -386,6 +398,7 @@ export declare const facebookSchema: z.ZodObject<{
386
398
  type: "onetime";
387
399
  startTime: number;
388
400
  stopTime: number;
401
+ everActivated: boolean;
389
402
  prepareAheadS?: number | undefined;
390
403
  } | {
391
404
  type: "recurrent";
@@ -408,7 +421,6 @@ export declare const facebookSchema: z.ZodObject<{
408
421
  url: string | null;
409
422
  parameters: string;
410
423
  saveToSdCard?: {
411
- enabled: boolean;
412
424
  ruleId: string;
413
425
  configurationId: string;
414
426
  } | undefined;
@@ -418,8 +430,10 @@ export declare const facebookSchema: z.ZodObject<{
418
430
  imageIntervalS: number;
419
431
  } | {
420
432
  type: "none";
421
- ruleId: string;
422
- configurationId: string;
433
+ saveToSdCard: {
434
+ ruleId: string;
435
+ configurationId: string;
436
+ };
423
437
  };
424
438
  input: {
425
439
  type: "RTSP_URL";
@@ -478,6 +492,7 @@ export declare const facebookSchema: z.ZodObject<{
478
492
  type: "onetime";
479
493
  startTime: number;
480
494
  stopTime: number;
495
+ everActivated: boolean;
481
496
  prepareAheadS?: number | undefined;
482
497
  } | {
483
498
  type: "recurrent";
@@ -500,7 +515,6 @@ export declare const facebookSchema: z.ZodObject<{
500
515
  url: string | null;
501
516
  parameters: string;
502
517
  saveToSdCard?: {
503
- enabled: boolean;
504
518
  ruleId: string;
505
519
  configurationId: string;
506
520
  } | undefined;
@@ -510,8 +524,10 @@ export declare const facebookSchema: z.ZodObject<{
510
524
  imageIntervalS: number;
511
525
  } | {
512
526
  type: "none";
513
- ruleId: string;
514
- configurationId: string;
527
+ saveToSdCard: {
528
+ ruleId: string;
529
+ configurationId: string;
530
+ };
515
531
  };
516
532
  input: {
517
533
  type: "RTSP_URL";
@@ -17,16 +17,19 @@ export declare const streamCommonSchema: 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 streamCommonSchema: 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 streamCommonSchema: 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 streamCommonSchema: 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 streamCommonSchema: z.ZodObject<{
153
151
  imageIntervalS: number;
154
152
  }>, z.ZodObject<{
155
153
  type: z.ZodLiteral<"none">;
156
- ruleId: z.ZodString;
157
- configurationId: z.ZodString;
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
- ruleId: string;
161
- configurationId: string;
166
+ saveToSdCard: {
167
+ ruleId: string;
168
+ configurationId: string;
169
+ };
162
170
  }, {
163
171
  type: "none";
164
- ruleId: string;
165
- configurationId: string;
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 streamCommonSchema: 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 streamCommonSchema: z.ZodObject<{
209
218
  imageIntervalS: number;
210
219
  } | {
211
220
  type: "none";
212
- ruleId: string;
213
- configurationId: string;
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 streamCommonSchema: 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 streamCommonSchema: z.ZodObject<{
239
249
  imageIntervalS: number;
240
250
  } | {
241
251
  type: "none";
242
- ruleId: string;
243
- configurationId: string;
252
+ saveToSdCard: {
253
+ ruleId: string;
254
+ configurationId: string;
255
+ };
244
256
  };
245
257
  input: {
246
258
  type: "RTSP_URL";
@@ -332,6 +344,7 @@ export declare const streamCommonSchema: z.ZodObject<{
332
344
  type: "onetime";
333
345
  startTime: number;
334
346
  stopTime: number;
347
+ everActivated: boolean;
335
348
  prepareAheadS?: number | undefined;
336
349
  } | {
337
350
  type: "recurrent";
@@ -354,7 +367,6 @@ export declare const streamCommonSchema: z.ZodObject<{
354
367
  url: string | null;
355
368
  parameters: string;
356
369
  saveToSdCard?: {
357
- enabled: boolean;
358
370
  ruleId: string;
359
371
  configurationId: string;
360
372
  } | undefined;
@@ -364,8 +376,10 @@ export declare const streamCommonSchema: z.ZodObject<{
364
376
  imageIntervalS: number;
365
377
  } | {
366
378
  type: "none";
367
- ruleId: string;
368
- configurationId: string;
379
+ saveToSdCard: {
380
+ ruleId: string;
381
+ configurationId: string;
382
+ };
369
383
  };
370
384
  input: {
371
385
  type: "RTSP_URL";
@@ -413,6 +427,7 @@ export declare const streamCommonSchema: z.ZodObject<{
413
427
  type: "onetime";
414
428
  startTime: number;
415
429
  stopTime: number;
430
+ everActivated: boolean;
416
431
  prepareAheadS?: number | undefined;
417
432
  } | {
418
433
  type: "recurrent";
@@ -435,7 +450,6 @@ export declare const streamCommonSchema: z.ZodObject<{
435
450
  url: string | null;
436
451
  parameters: string;
437
452
  saveToSdCard?: {
438
- enabled: boolean;
439
453
  ruleId: string;
440
454
  configurationId: string;
441
455
  } | undefined;
@@ -445,8 +459,10 @@ export declare const streamCommonSchema: z.ZodObject<{
445
459
  imageIntervalS: number;
446
460
  } | {
447
461
  type: "none";
448
- ruleId: string;
449
- configurationId: string;
462
+ saveToSdCard: {
463
+ ruleId: string;
464
+ configurationId: string;
465
+ };
450
466
  };
451
467
  input: {
452
468
  type: "RTSP_URL";
@@ -17,6 +17,7 @@ exports.streamCommonSchema = zod_1.z.object({
17
17
  type: zod_1.z.literal('onetime'),
18
18
  startTime: zod_1.z.number(),
19
19
  stopTime: zod_1.z.number(),
20
+ everActivated: zod_1.z.boolean(),
20
21
  prepareAheadS: zod_1.z.number().int().optional(),
21
22
  }),
22
23
  zod_1.z.object({
@@ -43,7 +44,6 @@ exports.streamCommonSchema = zod_1.z.object({
43
44
  parameters: zod_1.z.string(),
44
45
  saveToSdCard: zod_1.z
45
46
  .object({
46
- enabled: zod_1.z.boolean(),
47
47
  ruleId: zod_1.z.string(),
48
48
  configurationId: zod_1.z.string(),
49
49
  })
@@ -56,8 +56,10 @@ exports.streamCommonSchema = zod_1.z.object({
56
56
  }),
57
57
  zod_1.z.object({
58
58
  type: zod_1.z.literal('none'),
59
- ruleId: zod_1.z.string(),
60
- configurationId: zod_1.z.string(),
59
+ saveToSdCard: zod_1.z.object({
60
+ ruleId: zod_1.z.string(),
61
+ configurationId: zod_1.z.string(),
62
+ }),
61
63
  }),
62
64
  ]),
63
65
  input: zod_1.z.discriminatedUnion('type', [