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.
@@ -135,15 +135,12 @@ export declare const facebookSchema: z.ZodObject<{
135
135
  url: z.ZodNullable<z.ZodString>;
136
136
  parameters: z.ZodString;
137
137
  saveToSdCard: z.ZodOptional<z.ZodObject<{
138
- enabled: z.ZodBoolean;
139
138
  ruleId: z.ZodString;
140
139
  configurationId: z.ZodString;
141
140
  }, "strip", z.ZodTypeAny, {
142
- enabled: boolean;
143
141
  ruleId: string;
144
142
  configurationId: string;
145
143
  }, {
146
- enabled: boolean;
147
144
  ruleId: string;
148
145
  configurationId: string;
149
146
  }>>;
@@ -152,7 +149,6 @@ export declare const facebookSchema: z.ZodObject<{
152
149
  url: string | null;
153
150
  parameters: string;
154
151
  saveToSdCard?: {
155
- enabled: boolean;
156
152
  ruleId: string;
157
153
  configurationId: string;
158
154
  } | undefined;
@@ -161,7 +157,6 @@ export declare const facebookSchema: z.ZodObject<{
161
157
  url: string | null;
162
158
  parameters: string;
163
159
  saveToSdCard?: {
164
- enabled: boolean;
165
160
  ruleId: string;
166
161
  configurationId: string;
167
162
  } | undefined;
@@ -179,16 +174,28 @@ export declare const facebookSchema: z.ZodObject<{
179
174
  imageIntervalS: number;
180
175
  }>, z.ZodObject<{
181
176
  type: z.ZodLiteral<"none">;
182
- ruleId: z.ZodString;
183
- 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
+ }>;
184
187
  }, "strip", z.ZodTypeAny, {
185
188
  type: "none";
186
- ruleId: string;
187
- configurationId: string;
189
+ saveToSdCard: {
190
+ ruleId: string;
191
+ configurationId: string;
192
+ };
188
193
  }, {
189
194
  type: "none";
190
- ruleId: string;
191
- configurationId: string;
195
+ saveToSdCard: {
196
+ ruleId: string;
197
+ configurationId: string;
198
+ };
192
199
  }>]>;
193
200
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
194
201
  type: z.ZodLiteral<"RTSP_URL">;
@@ -225,7 +232,6 @@ export declare const facebookSchema: z.ZodObject<{
225
232
  url: string | null;
226
233
  parameters: string;
227
234
  saveToSdCard?: {
228
- enabled: boolean;
229
235
  ruleId: string;
230
236
  configurationId: string;
231
237
  } | undefined;
@@ -235,8 +241,10 @@ export declare const facebookSchema: z.ZodObject<{
235
241
  imageIntervalS: number;
236
242
  } | {
237
243
  type: "none";
238
- ruleId: string;
239
- configurationId: string;
244
+ saveToSdCard: {
245
+ ruleId: string;
246
+ configurationId: string;
247
+ };
240
248
  };
241
249
  input: {
242
250
  type: "RTSP_URL";
@@ -255,7 +263,6 @@ export declare const facebookSchema: z.ZodObject<{
255
263
  url: string | null;
256
264
  parameters: string;
257
265
  saveToSdCard?: {
258
- enabled: boolean;
259
266
  ruleId: string;
260
267
  configurationId: string;
261
268
  } | undefined;
@@ -265,8 +272,10 @@ export declare const facebookSchema: z.ZodObject<{
265
272
  imageIntervalS: number;
266
273
  } | {
267
274
  type: "none";
268
- ruleId: string;
269
- configurationId: string;
275
+ saveToSdCard: {
276
+ ruleId: string;
277
+ configurationId: string;
278
+ };
270
279
  };
271
280
  input: {
272
281
  type: "RTSP_URL";
@@ -412,7 +421,6 @@ export declare const facebookSchema: z.ZodObject<{
412
421
  url: string | null;
413
422
  parameters: string;
414
423
  saveToSdCard?: {
415
- enabled: boolean;
416
424
  ruleId: string;
417
425
  configurationId: string;
418
426
  } | undefined;
@@ -422,8 +430,10 @@ export declare const facebookSchema: z.ZodObject<{
422
430
  imageIntervalS: number;
423
431
  } | {
424
432
  type: "none";
425
- ruleId: string;
426
- configurationId: string;
433
+ saveToSdCard: {
434
+ ruleId: string;
435
+ configurationId: string;
436
+ };
427
437
  };
428
438
  input: {
429
439
  type: "RTSP_URL";
@@ -505,7 +515,6 @@ export declare const facebookSchema: z.ZodObject<{
505
515
  url: string | null;
506
516
  parameters: string;
507
517
  saveToSdCard?: {
508
- enabled: boolean;
509
518
  ruleId: string;
510
519
  configurationId: string;
511
520
  } | undefined;
@@ -515,8 +524,10 @@ export declare const facebookSchema: z.ZodObject<{
515
524
  imageIntervalS: number;
516
525
  } | {
517
526
  type: "none";
518
- ruleId: string;
519
- configurationId: string;
527
+ saveToSdCard: {
528
+ ruleId: string;
529
+ configurationId: string;
530
+ };
520
531
  };
521
532
  input: {
522
533
  type: "RTSP_URL";
@@ -112,15 +112,12 @@ export declare const streamCommonSchema: 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 streamCommonSchema: 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 streamCommonSchema: 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 streamCommonSchema: z.ZodObject<{
156
151
  imageIntervalS: number;
157
152
  }>, z.ZodObject<{
158
153
  type: z.ZodLiteral<"none">;
159
- ruleId: z.ZodString;
160
- 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
+ }>;
161
164
  }, "strip", z.ZodTypeAny, {
162
165
  type: "none";
163
- ruleId: string;
164
- configurationId: string;
166
+ saveToSdCard: {
167
+ ruleId: string;
168
+ configurationId: string;
169
+ };
165
170
  }, {
166
171
  type: "none";
167
- ruleId: string;
168
- configurationId: string;
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 streamCommonSchema: 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 streamCommonSchema: z.ZodObject<{
212
218
  imageIntervalS: number;
213
219
  } | {
214
220
  type: "none";
215
- ruleId: string;
216
- configurationId: string;
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 streamCommonSchema: 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 streamCommonSchema: z.ZodObject<{
242
249
  imageIntervalS: number;
243
250
  } | {
244
251
  type: "none";
245
- ruleId: string;
246
- configurationId: string;
252
+ saveToSdCard: {
253
+ ruleId: string;
254
+ configurationId: string;
255
+ };
247
256
  };
248
257
  input: {
249
258
  type: "RTSP_URL";
@@ -358,7 +367,6 @@ export declare const streamCommonSchema: z.ZodObject<{
358
367
  url: string | null;
359
368
  parameters: string;
360
369
  saveToSdCard?: {
361
- enabled: boolean;
362
370
  ruleId: string;
363
371
  configurationId: string;
364
372
  } | undefined;
@@ -368,8 +376,10 @@ export declare const streamCommonSchema: z.ZodObject<{
368
376
  imageIntervalS: number;
369
377
  } | {
370
378
  type: "none";
371
- ruleId: string;
372
- configurationId: string;
379
+ saveToSdCard: {
380
+ ruleId: string;
381
+ configurationId: string;
382
+ };
373
383
  };
374
384
  input: {
375
385
  type: "RTSP_URL";
@@ -440,7 +450,6 @@ export declare const streamCommonSchema: z.ZodObject<{
440
450
  url: string | null;
441
451
  parameters: string;
442
452
  saveToSdCard?: {
443
- enabled: boolean;
444
453
  ruleId: string;
445
454
  configurationId: string;
446
455
  } | undefined;
@@ -450,8 +459,10 @@ export declare const streamCommonSchema: z.ZodObject<{
450
459
  imageIntervalS: number;
451
460
  } | {
452
461
  type: "none";
453
- ruleId: string;
454
- configurationId: string;
462
+ saveToSdCard: {
463
+ ruleId: string;
464
+ configurationId: string;
465
+ };
455
466
  };
456
467
  input: {
457
468
  type: "RTSP_URL";
@@ -44,7 +44,6 @@ exports.streamCommonSchema = zod_1.z.object({
44
44
  parameters: zod_1.z.string(),
45
45
  saveToSdCard: zod_1.z
46
46
  .object({
47
- enabled: zod_1.z.boolean(),
48
47
  ruleId: zod_1.z.string(),
49
48
  configurationId: zod_1.z.string(),
50
49
  })
@@ -57,8 +56,10 @@ exports.streamCommonSchema = zod_1.z.object({
57
56
  }),
58
57
  zod_1.z.object({
59
58
  type: zod_1.z.literal('none'),
60
- ruleId: zod_1.z.string(),
61
- configurationId: zod_1.z.string(),
59
+ saveToSdCard: zod_1.z.object({
60
+ ruleId: zod_1.z.string(),
61
+ configurationId: zod_1.z.string(),
62
+ }),
62
63
  }),
63
64
  ]),
64
65
  input: zod_1.z.discriminatedUnion('type', [