@synnaxlabs/client 0.54.0 → 0.54.2

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.
@@ -25,7 +25,7 @@ declare const netWriterConfigZ: z.ZodObject<{
25
25
  value: z.ZodBigInt;
26
26
  }, z.core.$strip>, z.ZodTransform<TimeStamp, {
27
27
  value: bigint;
28
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number] | [number] | [number, number, number]>>]>>;
28
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number, number] | [number, number] | [number]>>]>>;
29
29
  controlSubject: z.ZodOptional<z.ZodObject<{
30
30
  key: z.ZodString;
31
31
  name: z.ZodString;
@@ -53,7 +53,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
53
53
  value: z.ZodBigInt;
54
54
  }, z.core.$strip>, z.ZodTransform<TimeStamp, {
55
55
  value: bigint;
56
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number] | [number] | [number, number, number]>>]>>;
56
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number, number] | [number, number] | [number]>>]>>;
57
57
  controlSubject: z.ZodOptional<z.ZodObject<{
58
58
  key: z.ZodString;
59
59
  name: z.ZodString;
@@ -90,6 +90,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
90
90
  min: "min";
91
91
  max: "max";
92
92
  avg: "avg";
93
+ derivative: "derivative";
93
94
  }>;
94
95
  resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
95
96
  duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
@@ -98,11 +99,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
98
99
  value: bigint;
99
100
  }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
100
101
  }, z.core.$strip>>>, z.ZodTransform<{
101
- type: "none" | "min" | "max" | "avg";
102
+ type: "none" | "min" | "max" | "avg" | "derivative";
102
103
  resetChannel: number;
103
104
  duration: TimeSpan;
104
105
  }[] | undefined, {
105
- type: "none" | "min" | "max" | "avg";
106
+ type: "none" | "min" | "max" | "avg" | "derivative";
106
107
  resetChannel: number;
107
108
  duration: TimeSpan;
108
109
  }[] | null>>>;
@@ -132,6 +133,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
132
133
  min: "min";
133
134
  max: "max";
134
135
  avg: "avg";
136
+ derivative: "derivative";
135
137
  }>;
136
138
  resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
137
139
  duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
@@ -140,11 +142,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
140
142
  value: bigint;
141
143
  }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
142
144
  }, z.core.$strip>>>, z.ZodTransform<{
143
- type: "none" | "min" | "max" | "avg";
145
+ type: "none" | "min" | "max" | "avg" | "derivative";
144
146
  resetChannel: number;
145
147
  duration: TimeSpan;
146
148
  }[] | undefined, {
147
- type: "none" | "min" | "max" | "avg";
149
+ type: "none" | "min" | "max" | "avg" | "derivative";
148
150
  resetChannel: number;
149
151
  duration: TimeSpan;
150
152
  }[] | null>>>;
@@ -169,7 +171,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
169
171
  expression: string;
170
172
  alias?: string | undefined;
171
173
  operations?: {
172
- type: "none" | "min" | "max" | "avg";
174
+ type: "none" | "min" | "max" | "avg" | "derivative";
173
175
  resetChannel: number;
174
176
  duration: TimeSpan;
175
177
  }[] | undefined;
@@ -200,7 +202,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
200
202
  expression: string;
201
203
  alias?: string | undefined;
202
204
  operations?: {
203
- type: "none" | "min" | "max" | "avg";
205
+ type: "none" | "min" | "max" | "avg" | "derivative";
204
206
  resetChannel: number;
205
207
  duration: TimeSpan;
206
208
  }[] | undefined;
@@ -231,7 +233,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
231
233
  expression: string;
232
234
  alias?: string | undefined;
233
235
  operations?: {
234
- type: "none" | "min" | "max" | "avg";
236
+ type: "none" | "min" | "max" | "avg" | "derivative";
235
237
  resetChannel: number;
236
238
  duration: TimeSpan;
237
239
  }[] | undefined;
@@ -268,6 +270,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
268
270
  min: "min";
269
271
  max: "max";
270
272
  avg: "avg";
273
+ derivative: "derivative";
271
274
  }>;
272
275
  resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
273
276
  duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
@@ -276,11 +279,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
276
279
  value: bigint;
277
280
  }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
278
281
  }, z.core.$strip>>>, z.ZodTransform<{
279
- type: "none" | "min" | "max" | "avg";
282
+ type: "none" | "min" | "max" | "avg" | "derivative";
280
283
  resetChannel: number;
281
284
  duration: TimeSpan;
282
285
  }[] | undefined, {
283
- type: "none" | "min" | "max" | "avg";
286
+ type: "none" | "min" | "max" | "avg" | "derivative";
284
287
  resetChannel: number;
285
288
  duration: TimeSpan;
286
289
  }[] | null>>>;
@@ -310,6 +313,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
310
313
  min: "min";
311
314
  max: "max";
312
315
  avg: "avg";
316
+ derivative: "derivative";
313
317
  }>;
314
318
  resetChannel: z.ZodDefault<z.ZodUnion<[z.ZodUInt32, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
315
319
  duration: z.ZodDefault<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
@@ -318,11 +322,11 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
318
322
  value: bigint;
319
323
  }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeSpan, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeSpan, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeSpan, bigint>>, z.ZodCustom<TimeSpan, TimeSpan>, z.ZodPipe<z.ZodCustom<TimeStamp, TimeStamp>, z.ZodTransform<TimeSpan, TimeStamp>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').Rate, import('@synnaxlabs/x').Rate>, z.ZodTransform<TimeSpan, import('@synnaxlabs/x').Rate>>]>>;
320
324
  }, z.core.$strip>>>, z.ZodTransform<{
321
- type: "none" | "min" | "max" | "avg";
325
+ type: "none" | "min" | "max" | "avg" | "derivative";
322
326
  resetChannel: number;
323
327
  duration: TimeSpan;
324
328
  }[] | undefined, {
325
- type: "none" | "min" | "max" | "avg";
329
+ type: "none" | "min" | "max" | "avg" | "derivative";
326
330
  resetChannel: number;
327
331
  duration: TimeSpan;
328
332
  }[] | null>>>;
@@ -347,7 +351,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
347
351
  expression: string;
348
352
  alias?: string | undefined;
349
353
  operations?: {
350
- type: "none" | "min" | "max" | "avg";
354
+ type: "none" | "min" | "max" | "avg" | "derivative";
351
355
  resetChannel: number;
352
356
  duration: TimeSpan;
353
357
  }[] | undefined;
@@ -378,7 +382,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
378
382
  expression: string;
379
383
  alias?: string | undefined;
380
384
  operations?: {
381
- type: "none" | "min" | "max" | "avg";
385
+ type: "none" | "min" | "max" | "avg" | "derivative";
382
386
  resetChannel: number;
383
387
  duration: TimeSpan;
384
388
  }[] | undefined;
@@ -409,7 +413,7 @@ export declare const writerConfigZ: z.ZodUnion<[z.ZodObject<{
409
413
  expression: string;
410
414
  alias?: string | undefined;
411
415
  operations?: {
412
- type: "none" | "min" | "max" | "avg";
416
+ type: "none" | "min" | "max" | "avg" | "derivative";
413
417
  resetChannel: number;
414
418
  duration: TimeSpan;
415
419
  }[] | undefined;
@@ -451,7 +455,7 @@ declare const reqZ: z.ZodObject<{
451
455
  value: z.ZodBigInt;
452
456
  }, z.core.$strip>, z.ZodTransform<TimeStamp, {
453
457
  value: bigint;
454
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number] | [number] | [number, number, number]>>]>>;
458
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number, number] | [number, number] | [number]>>]>>;
455
459
  controlSubject: z.ZodOptional<z.ZodObject<{
456
460
  key: z.ZodString;
457
461
  name: z.ZodString;
@@ -487,12 +491,12 @@ declare const reqZ: z.ZodObject<{
487
491
  value: z.ZodBigInt;
488
492
  }, z.core.$strip>, z.ZodTransform<TimeStamp, {
489
493
  value: bigint;
490
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
494
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
491
495
  end: z.ZodUnion<readonly [z.ZodCustom<TimeStamp, TimeStamp>, z.ZodPipe<z.ZodObject<{
492
496
  value: z.ZodBigInt;
493
497
  }, z.core.$strip>, z.ZodTransform<TimeStamp, {
494
498
  value: bigint;
495
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
499
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<TimeSpan, TimeSpan>, z.ZodTransform<TimeStamp, TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
496
500
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeRange, {
497
501
  start: TimeStamp;
498
502
  end: TimeStamp;
@@ -1 +1 @@
1
- {"version":3,"file":"writer.d.ts","sourceRoot":"","sources":["../../../src/framer/writer.ts"],"names":[],"mappings":"AASA,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIpC,OAAO,EAAE,KAAK,UAAU,EAA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KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAC5E,KAAK,CACT,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE,EACvC,IAAI,EAAE,WAAW,EAAE,GAClB,OAAO,CAAC,IAAI,CAAC;IACV,KAAK,CACT,KAAK,EAAE,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GAClE,OAAO,CAAC,IAAI,CAAC;IACV,KAAK,CACT,cAAc,EACV,OAAO,CAAC,MAAM,GACd,MAAM,CAAC,OAAO,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,GAC/C,UAAU,EACd,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,GACnC,OAAO,CAAC,IAAI,CAAC;IA6BV,YAAY,CAChB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,EACvB,SAAS,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAC3B,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACG,MAAM,IAAI,OAAO,CAAC,SAAS,CAAC;IAUlC;;;;OAIG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAId,aAAa;YAeb,OAAO;CAWtB"}
@@ -12,7 +12,7 @@ export declare const labelZ: import('zod').ZodObject<{
12
12
  g: import('zod').ZodInt;
13
13
  b: import('zod').ZodInt;
14
14
  a: import('zod').ZodNumber;
15
- }, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number, number] | {
15
+ }, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
16
16
  rgba255: [number, number, number, number];
17
17
  } | {
18
18
  r: number;
@@ -33,7 +33,7 @@ export declare const newZ: import('zod').ZodObject<{
33
33
  g: import('zod').ZodInt;
34
34
  b: import('zod').ZodInt;
35
35
  a: import('zod').ZodNumber;
36
- }, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number, number] | {
36
+ }, import('zod/v4/core').$strip>]>, import('zod').ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
37
37
  rgba255: [number, number, number, number];
38
38
  } | {
39
39
  r: number;
@@ -60,12 +60,12 @@ declare const retrieveRequestZ: z.ZodObject<{
60
60
  value: z.ZodBigInt;
61
61
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
62
62
  value: bigint;
63
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
63
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
64
64
  end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
65
65
  value: z.ZodBigInt;
66
66
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
67
67
  value: bigint;
68
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
68
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
69
69
  }, z.core.$strip>, z.ZodTransform<TimeRange, {
70
70
  start: import('@synnaxlabs/x').TimeStamp;
71
71
  end: import('@synnaxlabs/x').TimeStamp;
@@ -86,12 +86,12 @@ declare const retrieveArgsZ: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.Z
86
86
  value: z.ZodBigInt;
87
87
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
88
88
  value: bigint;
89
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
89
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
90
90
  end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
91
91
  value: z.ZodBigInt;
92
92
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
93
93
  value: bigint;
94
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
94
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
95
95
  }, z.core.$strip>, z.ZodTransform<TimeRange, {
96
96
  start: import('@synnaxlabs/x').TimeStamp;
97
97
  end: import('@synnaxlabs/x').TimeStamp;
@@ -114,12 +114,12 @@ declare const retrieveArgsZ: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.Z
114
114
  value: z.ZodBigInt;
115
115
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
116
116
  value: bigint;
117
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
117
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
118
118
  end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
119
119
  value: z.ZodBigInt;
120
120
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
121
121
  value: bigint;
122
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
122
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
123
123
  }, z.core.$strip>, z.ZodTransform<TimeRange, {
124
124
  start: import('@synnaxlabs/x').TimeStamp;
125
125
  end: import('@synnaxlabs/x').TimeStamp;
@@ -16,12 +16,12 @@ export declare const baseZ: z.ZodObject<{
16
16
  value: z.ZodBigInt;
17
17
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
18
18
  value: bigint;
19
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
19
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
20
20
  end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
21
21
  value: z.ZodBigInt;
22
22
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
23
23
  value: bigint;
24
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
24
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
25
25
  }, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
26
26
  start: telem.TimeStamp;
27
27
  end: telem.TimeStamp;
@@ -52,12 +52,12 @@ export declare const apiRangeZ: z.ZodObject<{
52
52
  value: z.ZodBigInt;
53
53
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
54
54
  value: bigint;
55
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
55
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
56
56
  end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
57
57
  value: z.ZodBigInt;
58
58
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
59
59
  value: bigint;
60
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
60
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
61
61
  }, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
62
62
  start: telem.TimeStamp;
63
63
  end: telem.TimeStamp;
@@ -87,7 +87,7 @@ export declare const apiRangeZ: z.ZodObject<{
87
87
  g: z.ZodInt;
88
88
  b: z.ZodInt;
89
89
  a: z.ZodNumber;
90
- }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number, number] | {
90
+ }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
91
91
  rgba255: [number, number, number, number];
92
92
  } | {
93
93
  r: number;
@@ -136,7 +136,7 @@ export declare const payloadZ: z.ZodObject<{
136
136
  g: z.ZodInt;
137
137
  b: z.ZodInt;
138
138
  a: z.ZodNumber;
139
- }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number] | [number, number, number, number] | {
139
+ }, z.core.$strip>]>, z.ZodTransform<[number, number, number, number], string | [number, number, number, number] | [number, number, number] | {
140
140
  rgba255: [number, number, number, number];
141
141
  } | {
142
142
  r: number;
@@ -159,12 +159,12 @@ export declare const payloadZ: z.ZodObject<{
159
159
  value: z.ZodBigInt;
160
160
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
161
161
  value: bigint;
162
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
162
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
163
163
  end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
164
164
  value: z.ZodBigInt;
165
165
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
166
166
  value: bigint;
167
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
167
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
168
168
  }, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
169
169
  start: telem.TimeStamp;
170
170
  end: telem.TimeStamp;
@@ -195,12 +195,12 @@ export declare const newZ: z.ZodObject<{
195
195
  value: z.ZodBigInt;
196
196
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
197
197
  value: bigint;
198
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
198
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
199
199
  end: z.ZodUnion<readonly [z.ZodCustom<telem.TimeStamp, telem.TimeStamp>, z.ZodPipe<z.ZodObject<{
200
200
  value: z.ZodBigInt;
201
201
  }, z.core.$strip>, z.ZodTransform<telem.TimeStamp, {
202
202
  value: bigint;
203
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
203
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<telem.TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<telem.TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<telem.TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<telem.TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<telem.TimeSpan, telem.TimeSpan>, z.ZodTransform<telem.TimeStamp, telem.TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<telem.TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
204
204
  }, z.core.$strip>, z.ZodTransform<telem.TimeRange, {
205
205
  start: telem.TimeStamp;
206
206
  end: telem.TimeStamp;
@@ -57,12 +57,12 @@ declare const createReqZ: z.ZodObject<{
57
57
  value: z.ZodBigInt;
58
58
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
59
59
  value: bigint;
60
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
60
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
61
61
  end: z.ZodUnion<readonly [z.ZodCustom<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeStamp>, z.ZodPipe<z.ZodObject<{
62
62
  value: z.ZodBigInt;
63
63
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
64
64
  value: bigint;
65
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>;
65
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>;
66
66
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeRange, {
67
67
  start: import('@synnaxlabs/x').TimeStamp;
68
68
  end: import('@synnaxlabs/x').TimeStamp;
@@ -20,7 +20,7 @@ export declare const newZ: <DetailsSchema extends z.ZodType = z.ZodNever>(detail
20
20
  value: z.ZodBigInt;
21
21
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
22
22
  value: bigint;
23
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>>>;
23
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>>>;
24
24
  variant: z.ZodEnum<{
25
25
  success: "success";
26
26
  error: "error";
@@ -74,7 +74,7 @@ export declare const newStatusZ: <Data extends z.ZodType = z.ZodNever>(data?: Da
74
74
  value: z.ZodBigInt;
75
75
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
76
76
  value: bigint;
77
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>>>;
77
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>>>;
78
78
  labels: ReturnType<typeof zod.nullToUndefined<z.ZodArray<typeof import('@synnaxlabs/x/dist/src/label/types.gen').labelZ>>>;
79
79
  details: NewStatusDetailsZodObject<Data>;
80
80
  }, z.core.$strip>;
@@ -136,7 +136,7 @@ export declare const newZ: <Type extends z.ZodType<string> = z.ZodString, Config
136
136
  value: z.ZodBigInt;
137
137
  }, z.core.$strip>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, {
138
138
  value: bigint;
139
- }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number] | [number] | [number, number, number]>>]>>>;
139
+ }>>, z.ZodPipe<z.ZodString, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, number>>, z.ZodPipe<z.ZodBigInt, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, bigint>>, z.ZodPipe<z.ZodDate, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, Date>>, z.ZodPipe<z.ZodCustom<import('@synnaxlabs/x').TimeSpan, import('@synnaxlabs/x').TimeSpan>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, import('@synnaxlabs/x').TimeSpan>>, z.ZodPipe<z.ZodUnion<readonly [z.ZodTuple<[z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt], null>, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt], null>]>, z.ZodTransform<import('@synnaxlabs/x').TimeStamp, [number, number, number] | [number, number] | [number]>>]>>>;
140
140
  labels: ReturnType<typeof zod.nullToUndefined<z.ZodArray<typeof import('@synnaxlabs/x/dist/src/label/types.gen').labelZ>>>;
141
141
  details: NewStatusDetailsZodObject<StatusData>;
142
142
  }, z.core.$strip>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synnaxlabs/client",
3
- "version": "0.54.0",
3
+ "version": "0.54.2",
4
4
  "description": "The Synnax Client Library",
5
5
  "keywords": [
6
6
  "synnax",
@@ -27,7 +27,7 @@
27
27
  "async-mutex": "^0.5.0",
28
28
  "zod": "^4.3.6",
29
29
  "@synnaxlabs/freighter": "^0.54.0",
30
- "@synnaxlabs/x": "^0.54.0"
30
+ "@synnaxlabs/x": "^0.54.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@vitest/coverage-v8": "^4.1.2",
@@ -17,7 +17,7 @@ import { types } from "@/arc/types";
17
17
  export enum EdgeKind {
18
18
  unspecified = 0,
19
19
  continuous = 1,
20
- one_shot = 2,
20
+ conditional = 2,
21
21
  }
22
22
  export const edgeKindZ = z.enum(EdgeKind);
23
23
 
@@ -26,7 +26,7 @@ export type Key = z.infer<typeof keyZ>;
26
26
  export const localKeyZ = zod.uint20;
27
27
  export type LocalKey = z.infer<typeof localKeyZ>;
28
28
 
29
- export const OPERATION_TYPES = ["min", "max", "avg", "none"] as const;
29
+ export const OPERATION_TYPES = ["min", "max", "avg", "none", "derivative"] as const;
30
30
  export const operationTypeZ = z.enum(OPERATION_TYPES);
31
31
  export type OperationType = z.infer<typeof operationTypeZ>;
32
32
 
package/src/client.ts CHANGED
@@ -7,7 +7,7 @@
7
7
  // License, use of this software will be governed by the Apache License, Version 2.0,
8
8
  // included in the file licenses/APL.txt.
9
9
 
10
- import { breaker, TimeSpan, TimeStamp, URL } from "@synnaxlabs/x";
10
+ import { breaker, TimeSpan, TimeStamp, URL, zod } from "@synnaxlabs/x";
11
11
  import { z } from "zod";
12
12
 
13
13
  import { access } from "@/access";
@@ -109,7 +109,7 @@ export default class Synnax extends framer.Client {
109
109
  * the client from polling the cluster for connectivity information.
110
110
  */
111
111
  constructor(params: SynnaxParams) {
112
- const parsedParams = synnaxParamsZ.parse(params);
112
+ const parsedParams = zod.parse(synnaxParamsZ, params);
113
113
  const {
114
114
  host,
115
115
  port,
@@ -196,7 +196,7 @@ export const checkConnection = async (params: CheckConnectionParams) =>
196
196
 
197
197
  export const newConnectionChecker = (params: CheckConnectionParams) => {
198
198
  const { host, port, secure, name, retry } = params;
199
- const retryConfig = breaker.breakerConfigZ.optional().parse(retry);
199
+ const retryConfig = zod.parse(breaker.breakerConfigZ.optional(), retry);
200
200
  const url = new URL({ host, port: Number(port) });
201
201
  const transport = new Transport(url, retryConfig, secure);
202
202
  return new connection.Checker(transport.unary, undefined, __VERSION__, name);
@@ -8,7 +8,14 @@
8
8
  // included in the file licenses/APL.txt.
9
9
 
10
10
  import { EOF, type Stream, type WebSocketClient } from "@synnaxlabs/freighter";
11
- import { control, type CrudeSeries, errors, TimeSpan, TimeStamp } from "@synnaxlabs/x";
11
+ import {
12
+ control,
13
+ type CrudeSeries,
14
+ errors,
15
+ TimeSpan,
16
+ TimeStamp,
17
+ zod,
18
+ } from "@synnaxlabs/x";
12
19
  import { z } from "zod";
13
20
 
14
21
  import { channel } from "@/channel";
@@ -203,7 +210,7 @@ export class Writer {
203
210
  client: WebSocketClient,
204
211
  config: WriterConfig,
205
212
  ): Promise<Writer> {
206
- const cfg = writerConfigZ.parse(config);
213
+ const cfg = zod.parse(writerConfigZ, config);
207
214
  const adapter = await WriteAdapter.open(retriever, cfg.channels);
208
215
  if (cfg.useHighPerformanceCodec)
209
216
  client = client.withCodec(new WSWriterCodec(adapter.codec));
@@ -7,9 +7,8 @@
7
7
  // License, use of this software will be governed by the Apache License, Version 2.0,
8
8
  // included in the file licenses/APL.txt.
9
9
 
10
- import { TimeStamp } from "@synnaxlabs/x";
10
+ import { TimeStamp, zod } from "@synnaxlabs/x";
11
11
  import { describe, expect, it } from "vitest";
12
- import { ZodError } from "zod";
13
12
 
14
13
  import { type rack } from "@/rack";
15
14
  import { createTestClient } from "@/testutil/client";
@@ -24,7 +23,7 @@ describe("Rack", () => {
24
23
  });
25
24
  it("should return an error if the rack doesn't have a name", async () => {
26
25
  // @ts-expect-error - Testing for error
27
- await expect(client.racks.create({})).rejects.toThrow(ZodError);
26
+ await expect(client.racks.create({})).rejects.toThrow(zod.ParseError);
28
27
  });
29
28
  it("should create a rack with a custom status", async () => {
30
29
  const customStatus: rack.Status = {