@bizmap/sdk 0.0.1 → 0.0.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.
Files changed (3) hide show
  1. package/dist/main.d.ts +41 -1715
  2. package/dist/main.js +21 -23
  3. package/package.json +2 -3
package/dist/main.d.ts CHANGED
@@ -9,22 +9,25 @@ declare const PricingRate: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  type PricingRate = z.infer<typeof PricingRate>;
11
11
  declare const PriceAdjustment: z.ZodObject<{
12
+ createdAt: z.ZodReadonly<z.ZodNumber>;
13
+ lastModified: z.ZodNullable<z.ZodNumber>;
14
+ description: z.ZodOptional<z.ZodString>;
12
15
  fixedAmount: z.ZodNumber;
13
16
  percentage: z.ZodNumber;
14
17
  }, z.core.$strip>;
15
18
  type PriceAdjustment = z.infer<typeof PriceAdjustment>;
16
19
  declare const PriceTag: z.ZodObject<{
20
+ createdAt: z.ZodReadonly<z.ZodNumber>;
21
+ lastModified: z.ZodNullable<z.ZodNumber>;
17
22
  uid: z.ZodString;
18
23
  name: z.ZodString;
19
24
  cost: z.ZodNumber;
20
- createdAt: z.ZodNumber;
21
- lastModified: z.ZodNumber;
22
25
  }, z.core.$strip>;
23
26
  type PriceTag = z.infer<typeof PriceTag>;
24
27
 
25
28
  declare const CompanyInfo: z.ZodObject<{
26
- createdAt: z.ZodNumber;
27
- lastModified: z.ZodNumber;
29
+ createdAt: z.ZodReadonly<z.ZodNumber>;
30
+ lastModified: z.ZodNullable<z.ZodNumber>;
28
31
  uid: z.ZodString;
29
32
  displayName: z.ZodString;
30
33
  logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -40,6 +43,8 @@ declare const CompanyInfo: z.ZodObject<{
40
43
  }, z.core.$strip>;
41
44
  type CompanyInfo = z.infer<typeof CompanyInfo>;
42
45
  declare const CompanyOpState: z.ZodObject<{
46
+ createdAt: z.ZodReadonly<z.ZodNumber>;
47
+ lastModified: z.ZodNullable<z.ZodNumber>;
43
48
  uid: z.ZodString;
44
49
  availableBalance: z.ZodNumber;
45
50
  isOffline: z.ZodBoolean;
@@ -47,8 +52,6 @@ declare const CompanyOpState: z.ZodObject<{
47
52
  start: z.ZodString;
48
53
  end: z.ZodString;
49
54
  }, z.core.$strip>;
50
- createdAt: z.ZodNumber;
51
- lastModified: z.ZodNumber;
52
55
  }, z.core.$strip>;
53
56
  type CompanyOpState = z.infer<typeof CompanyOpState>;
54
57
  declare const appointmentDistAlgs: z.ZodEnum<{
@@ -56,17 +59,19 @@ declare const appointmentDistAlgs: z.ZodEnum<{
56
59
  LOR: "LOR";
57
60
  }>;
58
61
  declare const CompanyPreferences: z.ZodObject<{
62
+ createdAt: z.ZodReadonly<z.ZodNumber>;
63
+ lastModified: z.ZodNullable<z.ZodNumber>;
59
64
  uid: z.ZodString;
60
65
  userProvisions: z.ZodNumber;
61
66
  apptDistAlg: z.ZodEnum<{
62
67
  RR: "RR";
63
68
  LOR: "LOR";
64
69
  }>;
65
- createdAt: z.ZodNumber;
66
- lastModified: z.ZodNumber;
67
70
  }, z.core.$strip>;
68
71
  type CompanyPreferences = z.infer<typeof CompanyPreferences>;
69
72
  declare const CompanyBillingModel: z.ZodObject<{
73
+ createdAt: z.ZodReadonly<z.ZodNumber>;
74
+ lastModified: z.ZodNullable<z.ZodNumber>;
70
75
  uid: z.ZodString;
71
76
  trn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
77
  gctRegNo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -77,30 +82,30 @@ declare const CompanyBillingModel: z.ZodObject<{
77
82
  primaryCurrency: z.ZodEnum<{
78
83
  JMD: "JMD";
79
84
  }>;
80
- additionalFees: z.ZodArray<z.ZodObject<{
81
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
- createdAt: z.ZodNumber;
85
+ additionalFees: z.ZodOptional<z.ZodArray<z.ZodObject<{
86
+ createdAt: z.ZodReadonly<z.ZodNumber>;
87
+ lastModified: z.ZodNullable<z.ZodNumber>;
88
+ description: z.ZodOptional<z.ZodString>;
83
89
  fixedAmount: z.ZodNumber;
84
90
  percentage: z.ZodNumber;
85
- }, z.core.$strip>>;
86
- discounts: z.ZodArray<z.ZodObject<{
87
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- createdAt: z.ZodNumber;
91
+ }, z.core.$strip>>>;
92
+ discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
93
+ createdAt: z.ZodReadonly<z.ZodNumber>;
94
+ lastModified: z.ZodNullable<z.ZodNumber>;
95
+ description: z.ZodOptional<z.ZodString>;
89
96
  fixedAmount: z.ZodNumber;
90
97
  percentage: z.ZodNumber;
91
- }, z.core.$strip>>;
98
+ }, z.core.$strip>>>;
92
99
  services: z.ZodArray<z.ZodObject<{
100
+ createdAt: z.ZodReadonly<z.ZodNumber>;
101
+ lastModified: z.ZodNullable<z.ZodNumber>;
93
102
  uid: z.ZodString;
94
103
  name: z.ZodString;
95
104
  cost: z.ZodNumber;
96
- createdAt: z.ZodNumber;
97
- lastModified: z.ZodNumber;
98
105
  }, z.core.$strip>>;
99
106
  acceptedCurrencies: z.ZodArray<z.ZodEnum<{
100
107
  JMD: "JMD";
101
108
  }>>;
102
- createdAt: z.ZodNumber;
103
- lastModified: z.ZodNumber;
104
109
  }, z.core.$strip>;
105
110
  type CompanyBillingModel = z.infer<typeof CompanyBillingModel>;
106
111
  declare const RegisterCompanyForm: z.ZodObject<{
@@ -153,6 +158,8 @@ declare const RegisterCompanyForm: z.ZodObject<{
153
158
  }, z.core.$strip>;
154
159
  type RegisterCompanyForm = z.infer<typeof RegisterCompanyForm>;
155
160
  declare const CompanyRegistrationClaims: z.ZodObject<{
161
+ createdAt: z.ZodReadonly<z.ZodNumber>;
162
+ lastModified: z.ZodNullable<z.ZodNumber>;
156
163
  sender: z.ZodObject<{
157
164
  name: z.ZodRecord<z.ZodEnum<{
158
165
  first: "first";
@@ -160,582 +167,21 @@ declare const CompanyRegistrationClaims: z.ZodObject<{
160
167
  }>, z.ZodString>;
161
168
  photoUrl: z.ZodOptional<z.ZodString>;
162
169
  email: z.ZodEmail;
163
- phoneNumber: z.ZodString;
164
- "~standard": z.ZodStandardSchemaWithJSON<{
165
- name: z.ZodRecord<z.ZodEnum<{
166
- first: "first";
167
- last: "last";
168
- }>, z.ZodString>;
169
- photoUrl: z.ZodOptional<z.ZodString>;
170
- email: z.ZodEmail;
171
- phoneNumber: z.ZodString;
172
- } & z.ZodObject<{
173
- uid: z.ZodString;
174
- }, z.core.$strip>>;
175
- shape: {
176
- uid: z.ZodString;
177
- };
178
- keyof: () => z.ZodEnum<{
179
- uid: "uid";
180
- }>;
181
- catchall: <T extends z.core.SomeType>(schema: T) => z.ZodObject<{
182
- uid: z.ZodString;
183
- }, z.core.$catchall<T>>;
184
- passthrough: () => z.ZodObject<{
185
- uid: z.ZodString;
186
- }, z.core.$loose>;
187
- loose: () => z.ZodObject<{
188
- uid: z.ZodString;
189
- }, z.core.$loose>;
190
- strict: () => z.ZodObject<{
191
- uid: z.ZodString;
192
- }, z.core.$strict>;
193
- strip: () => z.ZodObject<{
194
- uid: z.ZodString;
195
- }, z.core.$strip>;
196
- extend: <U extends z.core.$ZodLooseShape>(shape: U) => z.ZodObject<("uid" & keyof U extends never ? {
197
- uid: z.ZodString;
198
- } & U : ({
199
- uid: z.ZodString;
200
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
201
- safeExtend: <U extends z.core.$ZodLooseShape>(shape: z.SafeExtendShape<{
202
- uid: z.ZodString;
203
- }, U> & Partial<Record<"uid", z.core.SomeType>>) => z.ZodObject<("uid" & keyof U extends never ? {
204
- uid: z.ZodString;
205
- } & U : ({
206
- uid: z.ZodString;
207
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
208
- merge: <U extends z.ZodObject>(other: U) => z.ZodObject<("uid" & keyof U["shape"] extends never ? {
209
- uid: z.ZodString;
210
- } & U["shape"] : ({
211
- uid: z.ZodString;
212
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U["shape"] ? never : K]: T_1[K]; } : never) & (U["shape"] extends infer T_2 extends z.core.util.SomeObject ? { [K_1 in keyof T_2]: T_2[K_1]; } : never)) extends infer T ? { [k in keyof T]: T[k]; } : never, U["_zod"]["config"]>;
213
- pick: <M extends z.core.util.Mask<"uid">>(mask: M) => z.ZodObject<Pick<{
214
- uid: z.ZodString;
215
- }, Extract<"uid", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
216
- omit: <M extends z.core.util.Mask<"uid">>(mask: M) => z.ZodObject<Omit<{
217
- uid: z.ZodString;
218
- }, Extract<"uid", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
219
- partial: {
220
- (): z.ZodObject<{
221
- uid: z.ZodOptional<z.ZodString>;
222
- }, z.core.$strip>;
223
- <M extends z.core.util.Mask<"uid">>(mask: M): z.ZodObject<{
224
- uid: "uid" extends infer T ? T extends "uid" ? T extends keyof M ? z.ZodOptional<{
225
- uid: z.ZodString;
226
- }[T]> : {
227
- uid: z.ZodString;
228
- }[T] : never : never;
229
- }, z.core.$strip>;
230
- };
231
- required: {
232
- (): z.ZodObject<{
233
- uid: z.ZodNonOptional<z.ZodString>;
234
- }, z.core.$strip>;
235
- <M extends z.core.util.Mask<"uid">>(mask: M): z.ZodObject<{
236
- uid: "uid" extends infer T ? T extends "uid" ? T extends keyof M ? z.ZodNonOptional<{
237
- uid: z.ZodString;
238
- }[T]> : {
239
- uid: z.ZodString;
240
- }[T] : never : never;
241
- }, z.core.$strip>;
242
- };
243
- def: z.core.$ZodObjectDef<{
244
- uid: z.ZodString;
245
- }>;
246
- type: "object";
247
- _def: z.core.$ZodObjectDef<{
248
- uid: z.ZodString;
249
- }>;
250
- _output: {
251
- uid: string;
252
- };
253
- _input: {
254
- uid: string;
255
- };
256
- toJSONSchema: (params?: z.core.ToJSONSchemaParams) => z.core.ZodStandardJSONSchemaPayload<{
257
- name: z.ZodRecord<z.ZodEnum<{
258
- first: "first";
259
- last: "last";
260
- }>, z.ZodString>;
261
- photoUrl: z.ZodOptional<z.ZodString>;
262
- email: z.ZodEmail;
263
- phoneNumber: z.ZodString;
264
- } & z.ZodObject<{
265
- uid: z.ZodString;
266
- }, z.core.$strip>>;
267
- check: (...checks: (z.core.CheckFn<{
268
- uid: string;
269
- }> | z.core.$ZodCheck<{
270
- uid: string;
271
- }>)[]) => {
272
- name: z.ZodRecord<z.ZodEnum<{
273
- first: "first";
274
- last: "last";
275
- }>, z.ZodString>;
276
- photoUrl: z.ZodOptional<z.ZodString>;
277
- email: z.ZodEmail;
278
- phoneNumber: z.ZodString;
279
- } & z.ZodObject<{
280
- uid: z.ZodString;
281
- }, z.core.$strip>;
282
- clone: (def?: z.core.$ZodObjectDef<{
283
- uid: z.ZodString;
284
- }> | undefined, params?: {
285
- parent: boolean;
286
- } | undefined) => {
287
- name: z.ZodRecord<z.ZodEnum<{
288
- first: "first";
289
- last: "last";
290
- }>, z.ZodString>;
291
- photoUrl: z.ZodOptional<z.ZodString>;
292
- email: z.ZodEmail;
293
- phoneNumber: z.ZodString;
294
- } & z.ZodObject<{
295
- uid: z.ZodString;
296
- }, z.core.$strip>;
297
- register: <R extends z.core.$ZodRegistry>(registry: R, ...meta: {
298
- name: z.ZodRecord<z.ZodEnum<{
299
- first: "first";
300
- last: "last";
301
- }>, z.ZodString>;
302
- photoUrl: z.ZodOptional<z.ZodString>;
303
- email: z.ZodEmail;
304
- phoneNumber: z.ZodString;
305
- } & z.ZodObject<{
306
- uid: z.ZodString;
307
- }, z.core.$strip> extends infer T ? T extends {
308
- name: z.ZodRecord<z.ZodEnum<{
309
- first: "first";
310
- last: "last";
311
- }>, z.ZodString>;
312
- photoUrl: z.ZodOptional<z.ZodString>;
313
- email: z.ZodEmail;
314
- phoneNumber: z.ZodString;
315
- } & z.ZodObject<{
316
- uid: z.ZodString;
317
- }, z.core.$strip> ? T extends R["_schema"] ? undefined extends R["_meta"] ? [(z.core.$replace<R["_meta"], R["_schema"] & {
318
- name: z.ZodRecord<z.ZodEnum<{
319
- first: "first";
320
- last: "last";
321
- }>, z.ZodString>;
322
- photoUrl: z.ZodOptional<z.ZodString>;
323
- email: z.ZodEmail;
324
- phoneNumber: z.ZodString;
325
- } & z.ZodObject<{
326
- uid: z.ZodString;
327
- }, z.core.$strip>> | undefined)?] : [z.core.$replace<R["_meta"], R["_schema"] & {
328
- name: z.ZodRecord<z.ZodEnum<{
329
- first: "first";
330
- last: "last";
331
- }>, z.ZodString>;
332
- photoUrl: z.ZodOptional<z.ZodString>;
333
- email: z.ZodEmail;
334
- phoneNumber: z.ZodString;
335
- } & z.ZodObject<{
336
- uid: z.ZodString;
337
- }, z.core.$strip>>] : ["Incompatible schema"] : never : never) => {
338
- name: z.ZodRecord<z.ZodEnum<{
339
- first: "first";
340
- last: "last";
341
- }>, z.ZodString>;
342
- photoUrl: z.ZodOptional<z.ZodString>;
343
- email: z.ZodEmail;
344
- phoneNumber: z.ZodString;
345
- } & z.ZodObject<{
346
- uid: z.ZodString;
347
- }, z.core.$strip>;
348
- brand: <T extends PropertyKey = PropertyKey>(value?: T | undefined) => PropertyKey extends T ? {
349
- name: z.ZodRecord<z.ZodEnum<{
350
- first: "first";
351
- last: "last";
352
- }>, z.ZodString>;
353
- photoUrl: z.ZodOptional<z.ZodString>;
354
- email: z.ZodEmail;
355
- phoneNumber: z.ZodString;
356
- } & z.ZodObject<{
357
- uid: z.ZodString;
358
- }, z.core.$strip> : z.core.$ZodBranded<{
359
- name: z.ZodRecord<z.ZodEnum<{
360
- first: "first";
361
- last: "last";
362
- }>, z.ZodString>;
363
- photoUrl: z.ZodOptional<z.ZodString>;
364
- email: z.ZodEmail;
365
- phoneNumber: z.ZodString;
366
- } & z.ZodObject<{
367
- uid: z.ZodString;
368
- }, z.core.$strip>, T>;
369
- parse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
370
- uid: string;
371
- };
372
- safeParse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
373
- uid: string;
374
- }>;
375
- parseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
376
- uid: string;
377
- }>;
378
- safeParseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
379
- uid: string;
380
- }>>;
381
- spa: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
382
- uid: string;
383
- }>>;
384
- encode: (data: {
385
- uid: string;
386
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
387
- uid: string;
388
- };
389
- decode: (data: {
390
- uid: string;
391
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
392
- uid: string;
393
- };
394
- encodeAsync: (data: {
395
- uid: string;
396
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
397
- uid: string;
398
- }>;
399
- decodeAsync: (data: {
400
- uid: string;
401
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
402
- uid: string;
403
- }>;
404
- safeEncode: (data: {
405
- uid: string;
406
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
407
- uid: string;
408
- }>;
409
- safeDecode: (data: {
410
- uid: string;
411
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
412
- uid: string;
413
- }>;
414
- safeEncodeAsync: (data: {
415
- uid: string;
416
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
417
- uid: string;
418
- }>>;
419
- safeDecodeAsync: (data: {
420
- uid: string;
421
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
422
- uid: string;
423
- }>>;
424
- refine: (check: (arg: {
425
- uid: string;
426
- }) => unknown | Promise<unknown>, params?: string | {
427
- path?: PropertyKey[] | undefined | undefined;
428
- abort?: boolean | undefined | undefined;
429
- when?: ((payload: z.core.ParsePayload) => boolean) | undefined | undefined;
430
- params?: Record<string, any> | undefined;
431
- error?: string | z.core.$ZodErrorMap<NonNullable<z.core.$ZodIssue>> | undefined;
432
- message?: string | undefined | undefined;
433
- } | undefined) => {
434
- name: z.ZodRecord<z.ZodEnum<{
435
- first: "first";
436
- last: "last";
437
- }>, z.ZodString>;
438
- photoUrl: z.ZodOptional<z.ZodString>;
439
- email: z.ZodEmail;
440
- phoneNumber: z.ZodString;
441
- } & z.ZodObject<{
442
- uid: z.ZodString;
443
- }, z.core.$strip>;
444
- superRefine: (refinement: (arg: {
445
- uid: string;
446
- }, ctx: z.core.$RefinementCtx<{
447
- uid: string;
448
- }>) => void | Promise<void>) => {
449
- name: z.ZodRecord<z.ZodEnum<{
450
- first: "first";
451
- last: "last";
452
- }>, z.ZodString>;
453
- photoUrl: z.ZodOptional<z.ZodString>;
454
- email: z.ZodEmail;
455
- phoneNumber: z.ZodString;
456
- } & z.ZodObject<{
457
- uid: z.ZodString;
458
- }, z.core.$strip>;
459
- overwrite: (fn: (x: {
460
- uid: string;
461
- }) => {
462
- uid: string;
463
- }) => {
464
- name: z.ZodRecord<z.ZodEnum<{
465
- first: "first";
466
- last: "last";
467
- }>, z.ZodString>;
468
- photoUrl: z.ZodOptional<z.ZodString>;
469
- email: z.ZodEmail;
470
- phoneNumber: z.ZodString;
471
- } & z.ZodObject<{
472
- uid: z.ZodString;
473
- }, z.core.$strip>;
474
- optional: () => z.ZodOptional<{
475
- name: z.ZodRecord<z.ZodEnum<{
476
- first: "first";
477
- last: "last";
478
- }>, z.ZodString>;
479
- photoUrl: z.ZodOptional<z.ZodString>;
480
- email: z.ZodEmail;
481
- phoneNumber: z.ZodString;
482
- } & z.ZodObject<{
483
- uid: z.ZodString;
484
- }, z.core.$strip>>;
485
- nonoptional: (params?: string | z.core.$ZodNonOptionalParams) => z.ZodNonOptional<{
486
- name: z.ZodRecord<z.ZodEnum<{
487
- first: "first";
488
- last: "last";
489
- }>, z.ZodString>;
490
- photoUrl: z.ZodOptional<z.ZodString>;
491
- email: z.ZodEmail;
492
- phoneNumber: z.ZodString;
493
- } & z.ZodObject<{
494
- uid: z.ZodString;
495
- }, z.core.$strip>>;
496
- nullable: () => z.ZodNullable<{
497
- name: z.ZodRecord<z.ZodEnum<{
498
- first: "first";
499
- last: "last";
500
- }>, z.ZodString>;
501
- photoUrl: z.ZodOptional<z.ZodString>;
502
- email: z.ZodEmail;
503
- phoneNumber: z.ZodString;
504
- } & z.ZodObject<{
505
- uid: z.ZodString;
506
- }, z.core.$strip>>;
507
- nullish: () => z.ZodOptional<z.ZodNullable<{
508
- name: z.ZodRecord<z.ZodEnum<{
509
- first: "first";
510
- last: "last";
511
- }>, z.ZodString>;
512
- photoUrl: z.ZodOptional<z.ZodString>;
513
- email: z.ZodEmail;
514
- phoneNumber: z.ZodString;
515
- } & z.ZodObject<{
516
- uid: z.ZodString;
517
- }, z.core.$strip>>>;
518
- default: {
519
- (def: {
520
- uid: string;
521
- }): z.ZodDefault<{
522
- name: z.ZodRecord<z.ZodEnum<{
523
- first: "first";
524
- last: "last";
525
- }>, z.ZodString>;
526
- photoUrl: z.ZodOptional<z.ZodString>;
527
- email: z.ZodEmail;
528
- phoneNumber: z.ZodString;
529
- } & z.ZodObject<{
530
- uid: z.ZodString;
531
- }, z.core.$strip>>;
532
- (def: () => {
533
- uid: string;
534
- }): z.ZodDefault<{
535
- name: z.ZodRecord<z.ZodEnum<{
536
- first: "first";
537
- last: "last";
538
- }>, z.ZodString>;
539
- photoUrl: z.ZodOptional<z.ZodString>;
540
- email: z.ZodEmail;
541
- phoneNumber: z.ZodString;
542
- } & z.ZodObject<{
543
- uid: z.ZodString;
544
- }, z.core.$strip>>;
545
- };
546
- prefault: {
547
- (def: () => {
548
- uid: string;
549
- }): z.ZodPrefault<{
550
- name: z.ZodRecord<z.ZodEnum<{
551
- first: "first";
552
- last: "last";
553
- }>, z.ZodString>;
554
- photoUrl: z.ZodOptional<z.ZodString>;
555
- email: z.ZodEmail;
556
- phoneNumber: z.ZodString;
557
- } & z.ZodObject<{
558
- uid: z.ZodString;
559
- }, z.core.$strip>>;
560
- (def: {
561
- uid: string;
562
- }): z.ZodPrefault<{
563
- name: z.ZodRecord<z.ZodEnum<{
564
- first: "first";
565
- last: "last";
566
- }>, z.ZodString>;
567
- photoUrl: z.ZodOptional<z.ZodString>;
568
- email: z.ZodEmail;
569
- phoneNumber: z.ZodString;
570
- } & z.ZodObject<{
571
- uid: z.ZodString;
572
- }, z.core.$strip>>;
573
- };
574
- array: () => z.ZodArray<{
575
- name: z.ZodRecord<z.ZodEnum<{
576
- first: "first";
577
- last: "last";
578
- }>, z.ZodString>;
579
- photoUrl: z.ZodOptional<z.ZodString>;
580
- email: z.ZodEmail;
581
- phoneNumber: z.ZodString;
582
- } & z.ZodObject<{
583
- uid: z.ZodString;
584
- }, z.core.$strip>>;
585
- or: <T extends z.core.SomeType>(option: T) => z.ZodUnion<[{
586
- name: z.ZodRecord<z.ZodEnum<{
587
- first: "first";
588
- last: "last";
589
- }>, z.ZodString>;
590
- photoUrl: z.ZodOptional<z.ZodString>;
591
- email: z.ZodEmail;
592
- phoneNumber: z.ZodString;
593
- } & z.ZodObject<{
594
- uid: z.ZodString;
595
- }, z.core.$strip>, T]>;
596
- and: <T extends z.core.SomeType>(incoming: T) => z.ZodIntersection<{
597
- name: z.ZodRecord<z.ZodEnum<{
598
- first: "first";
599
- last: "last";
600
- }>, z.ZodString>;
601
- photoUrl: z.ZodOptional<z.ZodString>;
602
- email: z.ZodEmail;
603
- phoneNumber: z.ZodString;
604
- } & z.ZodObject<{
605
- uid: z.ZodString;
606
- }, z.core.$strip>, T>;
607
- transform: <NewOut>(transform: (arg: {
608
- uid: string;
609
- }, ctx: z.core.$RefinementCtx<{
610
- uid: string;
611
- }>) => NewOut | Promise<NewOut>) => z.ZodPipe<{
612
- name: z.ZodRecord<z.ZodEnum<{
613
- first: "first";
614
- last: "last";
615
- }>, z.ZodString>;
616
- photoUrl: z.ZodOptional<z.ZodString>;
617
- email: z.ZodEmail;
618
- phoneNumber: z.ZodString;
619
- } & z.ZodObject<{
620
- uid: z.ZodString;
621
- }, z.core.$strip>, z.ZodTransform<Awaited<NewOut>, {
622
- uid: string;
623
- }>>;
624
- catch: {
625
- (def: {
626
- uid: string;
627
- }): z.ZodCatch<{
628
- name: z.ZodRecord<z.ZodEnum<{
629
- first: "first";
630
- last: "last";
631
- }>, z.ZodString>;
632
- photoUrl: z.ZodOptional<z.ZodString>;
633
- email: z.ZodEmail;
634
- phoneNumber: z.ZodString;
635
- } & z.ZodObject<{
636
- uid: z.ZodString;
637
- }, z.core.$strip>>;
638
- (def: (ctx: z.core.$ZodCatchCtx) => {
639
- uid: string;
640
- }): z.ZodCatch<{
641
- name: z.ZodRecord<z.ZodEnum<{
642
- first: "first";
643
- last: "last";
644
- }>, z.ZodString>;
645
- photoUrl: z.ZodOptional<z.ZodString>;
646
- email: z.ZodEmail;
647
- phoneNumber: z.ZodString;
648
- } & z.ZodObject<{
649
- uid: z.ZodString;
650
- }, z.core.$strip>>;
651
- };
652
- pipe: <T extends z.core.$ZodType<any, {
653
- uid: string;
654
- }, z.core.$ZodTypeInternals<any, {
655
- uid: string;
656
- }>>>(target: T | z.core.$ZodType<any, {
657
- uid: string;
658
- }, z.core.$ZodTypeInternals<any, {
659
- uid: string;
660
- }>>) => z.ZodPipe<{
661
- name: z.ZodRecord<z.ZodEnum<{
662
- first: "first";
663
- last: "last";
664
- }>, z.ZodString>;
665
- photoUrl: z.ZodOptional<z.ZodString>;
666
- email: z.ZodEmail;
667
- phoneNumber: z.ZodString;
668
- } & z.ZodObject<{
669
- uid: z.ZodString;
670
- }, z.core.$strip>, T>;
671
- readonly: () => z.ZodReadonly<{
672
- name: z.ZodRecord<z.ZodEnum<{
673
- first: "first";
674
- last: "last";
675
- }>, z.ZodString>;
676
- photoUrl: z.ZodOptional<z.ZodString>;
677
- email: z.ZodEmail;
678
- phoneNumber: z.ZodString;
679
- } & z.ZodObject<{
680
- uid: z.ZodString;
681
- }, z.core.$strip>>;
682
- describe: (description: string) => {
683
- name: z.ZodRecord<z.ZodEnum<{
684
- first: "first";
685
- last: "last";
686
- }>, z.ZodString>;
687
- photoUrl: z.ZodOptional<z.ZodString>;
688
- email: z.ZodEmail;
689
- phoneNumber: z.ZodString;
690
- } & z.ZodObject<{
691
- uid: z.ZodString;
692
- }, z.core.$strip>;
693
- description?: string | undefined;
694
- meta: {
695
- (): {
696
- [x: string]: unknown;
697
- id?: string | undefined | undefined;
698
- title?: string | undefined | undefined;
699
- description?: string | undefined | undefined;
700
- deprecated?: boolean | undefined | undefined;
701
- } | undefined;
702
- (data: {
703
- [x: string]: unknown;
704
- id?: string | undefined | undefined;
705
- title?: string | undefined | undefined;
706
- description?: string | undefined | undefined;
707
- deprecated?: boolean | undefined | undefined;
708
- }): {
709
- name: z.ZodRecord<z.ZodEnum<{
710
- first: "first";
711
- last: "last";
712
- }>, z.ZodString>;
713
- photoUrl: z.ZodOptional<z.ZodString>;
714
- email: z.ZodEmail;
715
- phoneNumber: z.ZodString;
716
- } & z.ZodObject<{
717
- uid: z.ZodString;
718
- }, z.core.$strip>;
719
- };
720
- isOptional: () => boolean;
721
- isNullable: () => boolean;
722
- _zod: z.core.$ZodObjectInternals<{
723
- uid: z.ZodString;
724
- }, z.core.$strip>;
170
+ phoneNumber: z.ZodOptional<z.ZodString>;
171
+ uid: z.ZodString;
725
172
  }, z.core.$strip>;
726
173
  pricingRate: z.ZodObject<{
727
174
  flatFee: z.ZodNumber;
728
175
  feePerUser: z.ZodNumber;
729
176
  lastModified: z.ZodNumber;
730
177
  }, z.core.$strip>;
731
- timestamp: z.ZodNumber;
732
178
  }, z.core.$strip>;
733
179
  type CompanyRegistrationClaims = z.infer<typeof CompanyRegistrationClaims>;
734
180
 
735
181
  declare const UserCompaniesDTO: z.ZodObject<{
736
182
  companies: {
737
- createdAt: z.ZodNumber;
738
- lastModified: z.ZodNumber;
183
+ createdAt: z.ZodReadonly<z.ZodNumber>;
184
+ lastModified: z.ZodNullable<z.ZodNumber>;
739
185
  uid: z.ZodString;
740
186
  displayName: z.ZodString;
741
187
  logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -760,8 +206,8 @@ declare const companyUserRoles: z.ZodEnum<{
760
206
  admin: "admin";
761
207
  }>;
762
208
  declare const CompanyUser: z.ZodObject<{
763
- createdAt: z.ZodNumber;
764
- lastModified: z.ZodNumber;
209
+ createdAt: z.ZodReadonly<z.ZodNumber>;
210
+ lastModified: z.ZodNullable<z.ZodNumber>;
765
211
  lastActive: z.ZodNumber;
766
212
  status: z.ZodEnum<{
767
213
  inviteSent: "inviteSent";
@@ -782,574 +228,14 @@ declare const CompanyUser: z.ZodObject<{
782
228
  }>, z.ZodString>;
783
229
  photoUrl: z.ZodOptional<z.ZodString>;
784
230
  email: z.ZodEmail;
785
- phoneNumber: z.ZodString;
786
- "~standard": z.ZodStandardSchemaWithJSON<{
787
- name: z.ZodRecord<z.ZodEnum<{
788
- first: "first";
789
- last: "last";
790
- }>, z.ZodString>;
791
- photoUrl: z.ZodOptional<z.ZodString>;
792
- email: z.ZodEmail;
793
- phoneNumber: z.ZodString;
794
- } & z.ZodObject<{
795
- uid: z.ZodString;
796
- }, z.core.$strip>>;
797
- shape: {
798
- uid: z.ZodString;
799
- };
800
- keyof: () => z.ZodEnum<{
801
- uid: "uid";
802
- }>;
803
- catchall: <T extends z.core.SomeType>(schema: T) => z.ZodObject<{
804
- uid: z.ZodString;
805
- }, z.core.$catchall<T>>;
806
- passthrough: () => z.ZodObject<{
807
- uid: z.ZodString;
808
- }, z.core.$loose>;
809
- loose: () => z.ZodObject<{
810
- uid: z.ZodString;
811
- }, z.core.$loose>;
812
- strict: () => z.ZodObject<{
813
- uid: z.ZodString;
814
- }, z.core.$strict>;
815
- strip: () => z.ZodObject<{
816
- uid: z.ZodString;
817
- }, z.core.$strip>;
818
- extend: <U extends z.core.$ZodLooseShape>(shape: U) => z.ZodObject<("uid" & keyof U extends never ? {
819
- uid: z.ZodString;
820
- } & U : ({
821
- uid: z.ZodString;
822
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
823
- safeExtend: <U extends z.core.$ZodLooseShape>(shape: z.SafeExtendShape<{
824
- uid: z.ZodString;
825
- }, U> & Partial<Record<"uid", z.core.SomeType>>) => z.ZodObject<("uid" & keyof U extends never ? {
826
- uid: z.ZodString;
827
- } & U : ({
828
- uid: z.ZodString;
829
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
830
- merge: <U extends z.ZodObject>(other: U) => z.ZodObject<("uid" & keyof U["shape"] extends never ? {
831
- uid: z.ZodString;
832
- } & U["shape"] : ({
833
- uid: z.ZodString;
834
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U["shape"] ? never : K]: T_1[K]; } : never) & (U["shape"] extends infer T_2 extends z.core.util.SomeObject ? { [K_1 in keyof T_2]: T_2[K_1]; } : never)) extends infer T ? { [k in keyof T]: T[k]; } : never, U["_zod"]["config"]>;
835
- pick: <M extends z.core.util.Mask<"uid">>(mask: M) => z.ZodObject<Pick<{
836
- uid: z.ZodString;
837
- }, Extract<"uid", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
838
- omit: <M extends z.core.util.Mask<"uid">>(mask: M) => z.ZodObject<Omit<{
839
- uid: z.ZodString;
840
- }, Extract<"uid", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
841
- partial: {
842
- (): z.ZodObject<{
843
- uid: z.ZodOptional<z.ZodString>;
844
- }, z.core.$strip>;
845
- <M extends z.core.util.Mask<"uid">>(mask: M): z.ZodObject<{
846
- uid: "uid" extends infer T ? T extends "uid" ? T extends keyof M ? z.ZodOptional<{
847
- uid: z.ZodString;
848
- }[T]> : {
849
- uid: z.ZodString;
850
- }[T] : never : never;
851
- }, z.core.$strip>;
852
- };
853
- required: {
854
- (): z.ZodObject<{
855
- uid: z.ZodNonOptional<z.ZodString>;
856
- }, z.core.$strip>;
857
- <M extends z.core.util.Mask<"uid">>(mask: M): z.ZodObject<{
858
- uid: "uid" extends infer T ? T extends "uid" ? T extends keyof M ? z.ZodNonOptional<{
859
- uid: z.ZodString;
860
- }[T]> : {
861
- uid: z.ZodString;
862
- }[T] : never : never;
863
- }, z.core.$strip>;
864
- };
865
- def: z.core.$ZodObjectDef<{
866
- uid: z.ZodString;
867
- }>;
868
- type: "object";
869
- _def: z.core.$ZodObjectDef<{
870
- uid: z.ZodString;
871
- }>;
872
- _output: {
873
- uid: string;
874
- };
875
- _input: {
876
- uid: string;
877
- };
878
- toJSONSchema: (params?: z.core.ToJSONSchemaParams) => z.core.ZodStandardJSONSchemaPayload<{
879
- name: z.ZodRecord<z.ZodEnum<{
880
- first: "first";
881
- last: "last";
882
- }>, z.ZodString>;
883
- photoUrl: z.ZodOptional<z.ZodString>;
884
- email: z.ZodEmail;
885
- phoneNumber: z.ZodString;
886
- } & z.ZodObject<{
887
- uid: z.ZodString;
888
- }, z.core.$strip>>;
889
- check: (...checks: (z.core.CheckFn<{
890
- uid: string;
891
- }> | z.core.$ZodCheck<{
892
- uid: string;
893
- }>)[]) => {
894
- name: z.ZodRecord<z.ZodEnum<{
895
- first: "first";
896
- last: "last";
897
- }>, z.ZodString>;
898
- photoUrl: z.ZodOptional<z.ZodString>;
899
- email: z.ZodEmail;
900
- phoneNumber: z.ZodString;
901
- } & z.ZodObject<{
902
- uid: z.ZodString;
903
- }, z.core.$strip>;
904
- clone: (def?: z.core.$ZodObjectDef<{
905
- uid: z.ZodString;
906
- }> | undefined, params?: {
907
- parent: boolean;
908
- } | undefined) => {
909
- name: z.ZodRecord<z.ZodEnum<{
910
- first: "first";
911
- last: "last";
912
- }>, z.ZodString>;
913
- photoUrl: z.ZodOptional<z.ZodString>;
914
- email: z.ZodEmail;
915
- phoneNumber: z.ZodString;
916
- } & z.ZodObject<{
917
- uid: z.ZodString;
918
- }, z.core.$strip>;
919
- register: <R extends z.core.$ZodRegistry>(registry: R, ...meta: {
920
- name: z.ZodRecord<z.ZodEnum<{
921
- first: "first";
922
- last: "last";
923
- }>, z.ZodString>;
924
- photoUrl: z.ZodOptional<z.ZodString>;
925
- email: z.ZodEmail;
926
- phoneNumber: z.ZodString;
927
- } & z.ZodObject<{
928
- uid: z.ZodString;
929
- }, z.core.$strip> extends infer T ? T extends {
930
- name: z.ZodRecord<z.ZodEnum<{
931
- first: "first";
932
- last: "last";
933
- }>, z.ZodString>;
934
- photoUrl: z.ZodOptional<z.ZodString>;
935
- email: z.ZodEmail;
936
- phoneNumber: z.ZodString;
937
- } & z.ZodObject<{
938
- uid: z.ZodString;
939
- }, z.core.$strip> ? T extends R["_schema"] ? undefined extends R["_meta"] ? [(z.core.$replace<R["_meta"], R["_schema"] & {
940
- name: z.ZodRecord<z.ZodEnum<{
941
- first: "first";
942
- last: "last";
943
- }>, z.ZodString>;
944
- photoUrl: z.ZodOptional<z.ZodString>;
945
- email: z.ZodEmail;
946
- phoneNumber: z.ZodString;
947
- } & z.ZodObject<{
948
- uid: z.ZodString;
949
- }, z.core.$strip>> | undefined)?] : [z.core.$replace<R["_meta"], R["_schema"] & {
950
- name: z.ZodRecord<z.ZodEnum<{
951
- first: "first";
952
- last: "last";
953
- }>, z.ZodString>;
954
- photoUrl: z.ZodOptional<z.ZodString>;
955
- email: z.ZodEmail;
956
- phoneNumber: z.ZodString;
957
- } & z.ZodObject<{
958
- uid: z.ZodString;
959
- }, z.core.$strip>>] : ["Incompatible schema"] : never : never) => {
960
- name: z.ZodRecord<z.ZodEnum<{
961
- first: "first";
962
- last: "last";
963
- }>, z.ZodString>;
964
- photoUrl: z.ZodOptional<z.ZodString>;
965
- email: z.ZodEmail;
966
- phoneNumber: z.ZodString;
967
- } & z.ZodObject<{
968
- uid: z.ZodString;
969
- }, z.core.$strip>;
970
- brand: <T extends PropertyKey = PropertyKey>(value?: T | undefined) => PropertyKey extends T ? {
971
- name: z.ZodRecord<z.ZodEnum<{
972
- first: "first";
973
- last: "last";
974
- }>, z.ZodString>;
975
- photoUrl: z.ZodOptional<z.ZodString>;
976
- email: z.ZodEmail;
977
- phoneNumber: z.ZodString;
978
- } & z.ZodObject<{
979
- uid: z.ZodString;
980
- }, z.core.$strip> : z.core.$ZodBranded<{
981
- name: z.ZodRecord<z.ZodEnum<{
982
- first: "first";
983
- last: "last";
984
- }>, z.ZodString>;
985
- photoUrl: z.ZodOptional<z.ZodString>;
986
- email: z.ZodEmail;
987
- phoneNumber: z.ZodString;
988
- } & z.ZodObject<{
989
- uid: z.ZodString;
990
- }, z.core.$strip>, T>;
991
- parse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
992
- uid: string;
993
- };
994
- safeParse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
995
- uid: string;
996
- }>;
997
- parseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
998
- uid: string;
999
- }>;
1000
- safeParseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1001
- uid: string;
1002
- }>>;
1003
- spa: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1004
- uid: string;
1005
- }>>;
1006
- encode: (data: {
1007
- uid: string;
1008
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
1009
- uid: string;
1010
- };
1011
- decode: (data: {
1012
- uid: string;
1013
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
1014
- uid: string;
1015
- };
1016
- encodeAsync: (data: {
1017
- uid: string;
1018
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
1019
- uid: string;
1020
- }>;
1021
- decodeAsync: (data: {
1022
- uid: string;
1023
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
1024
- uid: string;
1025
- }>;
1026
- safeEncode: (data: {
1027
- uid: string;
1028
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
1029
- uid: string;
1030
- }>;
1031
- safeDecode: (data: {
1032
- uid: string;
1033
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
1034
- uid: string;
1035
- }>;
1036
- safeEncodeAsync: (data: {
1037
- uid: string;
1038
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1039
- uid: string;
1040
- }>>;
1041
- safeDecodeAsync: (data: {
1042
- uid: string;
1043
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1044
- uid: string;
1045
- }>>;
1046
- refine: (check: (arg: {
1047
- uid: string;
1048
- }) => unknown | Promise<unknown>, params?: string | {
1049
- path?: PropertyKey[] | undefined | undefined;
1050
- abort?: boolean | undefined | undefined;
1051
- when?: ((payload: z.core.ParsePayload) => boolean) | undefined | undefined;
1052
- params?: Record<string, any> | undefined;
1053
- error?: string | z.core.$ZodErrorMap<NonNullable<z.core.$ZodIssue>> | undefined;
1054
- message?: string | undefined | undefined;
1055
- } | undefined) => {
1056
- name: z.ZodRecord<z.ZodEnum<{
1057
- first: "first";
1058
- last: "last";
1059
- }>, z.ZodString>;
1060
- photoUrl: z.ZodOptional<z.ZodString>;
1061
- email: z.ZodEmail;
1062
- phoneNumber: z.ZodString;
1063
- } & z.ZodObject<{
1064
- uid: z.ZodString;
1065
- }, z.core.$strip>;
1066
- superRefine: (refinement: (arg: {
1067
- uid: string;
1068
- }, ctx: z.core.$RefinementCtx<{
1069
- uid: string;
1070
- }>) => void | Promise<void>) => {
1071
- name: z.ZodRecord<z.ZodEnum<{
1072
- first: "first";
1073
- last: "last";
1074
- }>, z.ZodString>;
1075
- photoUrl: z.ZodOptional<z.ZodString>;
1076
- email: z.ZodEmail;
1077
- phoneNumber: z.ZodString;
1078
- } & z.ZodObject<{
1079
- uid: z.ZodString;
1080
- }, z.core.$strip>;
1081
- overwrite: (fn: (x: {
1082
- uid: string;
1083
- }) => {
1084
- uid: string;
1085
- }) => {
1086
- name: z.ZodRecord<z.ZodEnum<{
1087
- first: "first";
1088
- last: "last";
1089
- }>, z.ZodString>;
1090
- photoUrl: z.ZodOptional<z.ZodString>;
1091
- email: z.ZodEmail;
1092
- phoneNumber: z.ZodString;
1093
- } & z.ZodObject<{
1094
- uid: z.ZodString;
1095
- }, z.core.$strip>;
1096
- optional: () => z.ZodOptional<{
1097
- name: z.ZodRecord<z.ZodEnum<{
1098
- first: "first";
1099
- last: "last";
1100
- }>, z.ZodString>;
1101
- photoUrl: z.ZodOptional<z.ZodString>;
1102
- email: z.ZodEmail;
1103
- phoneNumber: z.ZodString;
1104
- } & z.ZodObject<{
1105
- uid: z.ZodString;
1106
- }, z.core.$strip>>;
1107
- nonoptional: (params?: string | z.core.$ZodNonOptionalParams) => z.ZodNonOptional<{
1108
- name: z.ZodRecord<z.ZodEnum<{
1109
- first: "first";
1110
- last: "last";
1111
- }>, z.ZodString>;
1112
- photoUrl: z.ZodOptional<z.ZodString>;
1113
- email: z.ZodEmail;
1114
- phoneNumber: z.ZodString;
1115
- } & z.ZodObject<{
1116
- uid: z.ZodString;
1117
- }, z.core.$strip>>;
1118
- nullable: () => z.ZodNullable<{
1119
- name: z.ZodRecord<z.ZodEnum<{
1120
- first: "first";
1121
- last: "last";
1122
- }>, z.ZodString>;
1123
- photoUrl: z.ZodOptional<z.ZodString>;
1124
- email: z.ZodEmail;
1125
- phoneNumber: z.ZodString;
1126
- } & z.ZodObject<{
1127
- uid: z.ZodString;
1128
- }, z.core.$strip>>;
1129
- nullish: () => z.ZodOptional<z.ZodNullable<{
1130
- name: z.ZodRecord<z.ZodEnum<{
1131
- first: "first";
1132
- last: "last";
1133
- }>, z.ZodString>;
1134
- photoUrl: z.ZodOptional<z.ZodString>;
1135
- email: z.ZodEmail;
1136
- phoneNumber: z.ZodString;
1137
- } & z.ZodObject<{
1138
- uid: z.ZodString;
1139
- }, z.core.$strip>>>;
1140
- default: {
1141
- (def: {
1142
- uid: string;
1143
- }): z.ZodDefault<{
1144
- name: z.ZodRecord<z.ZodEnum<{
1145
- first: "first";
1146
- last: "last";
1147
- }>, z.ZodString>;
1148
- photoUrl: z.ZodOptional<z.ZodString>;
1149
- email: z.ZodEmail;
1150
- phoneNumber: z.ZodString;
1151
- } & z.ZodObject<{
1152
- uid: z.ZodString;
1153
- }, z.core.$strip>>;
1154
- (def: () => {
1155
- uid: string;
1156
- }): z.ZodDefault<{
1157
- name: z.ZodRecord<z.ZodEnum<{
1158
- first: "first";
1159
- last: "last";
1160
- }>, z.ZodString>;
1161
- photoUrl: z.ZodOptional<z.ZodString>;
1162
- email: z.ZodEmail;
1163
- phoneNumber: z.ZodString;
1164
- } & z.ZodObject<{
1165
- uid: z.ZodString;
1166
- }, z.core.$strip>>;
1167
- };
1168
- prefault: {
1169
- (def: () => {
1170
- uid: string;
1171
- }): z.ZodPrefault<{
1172
- name: z.ZodRecord<z.ZodEnum<{
1173
- first: "first";
1174
- last: "last";
1175
- }>, z.ZodString>;
1176
- photoUrl: z.ZodOptional<z.ZodString>;
1177
- email: z.ZodEmail;
1178
- phoneNumber: z.ZodString;
1179
- } & z.ZodObject<{
1180
- uid: z.ZodString;
1181
- }, z.core.$strip>>;
1182
- (def: {
1183
- uid: string;
1184
- }): z.ZodPrefault<{
1185
- name: z.ZodRecord<z.ZodEnum<{
1186
- first: "first";
1187
- last: "last";
1188
- }>, z.ZodString>;
1189
- photoUrl: z.ZodOptional<z.ZodString>;
1190
- email: z.ZodEmail;
1191
- phoneNumber: z.ZodString;
1192
- } & z.ZodObject<{
1193
- uid: z.ZodString;
1194
- }, z.core.$strip>>;
1195
- };
1196
- array: () => z.ZodArray<{
1197
- name: z.ZodRecord<z.ZodEnum<{
1198
- first: "first";
1199
- last: "last";
1200
- }>, z.ZodString>;
1201
- photoUrl: z.ZodOptional<z.ZodString>;
1202
- email: z.ZodEmail;
1203
- phoneNumber: z.ZodString;
1204
- } & z.ZodObject<{
1205
- uid: z.ZodString;
1206
- }, z.core.$strip>>;
1207
- or: <T extends z.core.SomeType>(option: T) => z.ZodUnion<[{
1208
- name: z.ZodRecord<z.ZodEnum<{
1209
- first: "first";
1210
- last: "last";
1211
- }>, z.ZodString>;
1212
- photoUrl: z.ZodOptional<z.ZodString>;
1213
- email: z.ZodEmail;
1214
- phoneNumber: z.ZodString;
1215
- } & z.ZodObject<{
1216
- uid: z.ZodString;
1217
- }, z.core.$strip>, T]>;
1218
- and: <T extends z.core.SomeType>(incoming: T) => z.ZodIntersection<{
1219
- name: z.ZodRecord<z.ZodEnum<{
1220
- first: "first";
1221
- last: "last";
1222
- }>, z.ZodString>;
1223
- photoUrl: z.ZodOptional<z.ZodString>;
1224
- email: z.ZodEmail;
1225
- phoneNumber: z.ZodString;
1226
- } & z.ZodObject<{
1227
- uid: z.ZodString;
1228
- }, z.core.$strip>, T>;
1229
- transform: <NewOut>(transform: (arg: {
1230
- uid: string;
1231
- }, ctx: z.core.$RefinementCtx<{
1232
- uid: string;
1233
- }>) => NewOut | Promise<NewOut>) => z.ZodPipe<{
1234
- name: z.ZodRecord<z.ZodEnum<{
1235
- first: "first";
1236
- last: "last";
1237
- }>, z.ZodString>;
1238
- photoUrl: z.ZodOptional<z.ZodString>;
1239
- email: z.ZodEmail;
1240
- phoneNumber: z.ZodString;
1241
- } & z.ZodObject<{
1242
- uid: z.ZodString;
1243
- }, z.core.$strip>, z.ZodTransform<Awaited<NewOut>, {
1244
- uid: string;
1245
- }>>;
1246
- catch: {
1247
- (def: {
1248
- uid: string;
1249
- }): z.ZodCatch<{
1250
- name: z.ZodRecord<z.ZodEnum<{
1251
- first: "first";
1252
- last: "last";
1253
- }>, z.ZodString>;
1254
- photoUrl: z.ZodOptional<z.ZodString>;
1255
- email: z.ZodEmail;
1256
- phoneNumber: z.ZodString;
1257
- } & z.ZodObject<{
1258
- uid: z.ZodString;
1259
- }, z.core.$strip>>;
1260
- (def: (ctx: z.core.$ZodCatchCtx) => {
1261
- uid: string;
1262
- }): z.ZodCatch<{
1263
- name: z.ZodRecord<z.ZodEnum<{
1264
- first: "first";
1265
- last: "last";
1266
- }>, z.ZodString>;
1267
- photoUrl: z.ZodOptional<z.ZodString>;
1268
- email: z.ZodEmail;
1269
- phoneNumber: z.ZodString;
1270
- } & z.ZodObject<{
1271
- uid: z.ZodString;
1272
- }, z.core.$strip>>;
1273
- };
1274
- pipe: <T extends z.core.$ZodType<any, {
1275
- uid: string;
1276
- }, z.core.$ZodTypeInternals<any, {
1277
- uid: string;
1278
- }>>>(target: T | z.core.$ZodType<any, {
1279
- uid: string;
1280
- }, z.core.$ZodTypeInternals<any, {
1281
- uid: string;
1282
- }>>) => z.ZodPipe<{
1283
- name: z.ZodRecord<z.ZodEnum<{
1284
- first: "first";
1285
- last: "last";
1286
- }>, z.ZodString>;
1287
- photoUrl: z.ZodOptional<z.ZodString>;
1288
- email: z.ZodEmail;
1289
- phoneNumber: z.ZodString;
1290
- } & z.ZodObject<{
1291
- uid: z.ZodString;
1292
- }, z.core.$strip>, T>;
1293
- readonly: () => z.ZodReadonly<{
1294
- name: z.ZodRecord<z.ZodEnum<{
1295
- first: "first";
1296
- last: "last";
1297
- }>, z.ZodString>;
1298
- photoUrl: z.ZodOptional<z.ZodString>;
1299
- email: z.ZodEmail;
1300
- phoneNumber: z.ZodString;
1301
- } & z.ZodObject<{
1302
- uid: z.ZodString;
1303
- }, z.core.$strip>>;
1304
- describe: (description: string) => {
1305
- name: z.ZodRecord<z.ZodEnum<{
1306
- first: "first";
1307
- last: "last";
1308
- }>, z.ZodString>;
1309
- photoUrl: z.ZodOptional<z.ZodString>;
1310
- email: z.ZodEmail;
1311
- phoneNumber: z.ZodString;
1312
- } & z.ZodObject<{
1313
- uid: z.ZodString;
1314
- }, z.core.$strip>;
1315
- description?: string | undefined | undefined;
1316
- meta: {
1317
- (): {
1318
- [x: string]: unknown;
1319
- id?: string | undefined | undefined;
1320
- title?: string | undefined | undefined;
1321
- description?: string | undefined | undefined;
1322
- deprecated?: boolean | undefined | undefined;
1323
- } | undefined;
1324
- (data: {
1325
- [x: string]: unknown;
1326
- id?: string | undefined | undefined;
1327
- title?: string | undefined | undefined;
1328
- description?: string | undefined | undefined;
1329
- deprecated?: boolean | undefined | undefined;
1330
- }): {
1331
- name: z.ZodRecord<z.ZodEnum<{
1332
- first: "first";
1333
- last: "last";
1334
- }>, z.ZodString>;
1335
- photoUrl: z.ZodOptional<z.ZodString>;
1336
- email: z.ZodEmail;
1337
- phoneNumber: z.ZodString;
1338
- } & z.ZodObject<{
1339
- uid: z.ZodString;
1340
- }, z.core.$strip>;
1341
- };
1342
- isOptional: () => boolean;
1343
- isNullable: () => boolean;
1344
- _zod: z.core.$ZodObjectInternals<{
1345
- uid: z.ZodString;
1346
- }, z.core.$strip>;
231
+ phoneNumber: z.ZodOptional<z.ZodString>;
232
+ uid: z.ZodString;
1347
233
  }, z.core.$strip>;
1348
234
  type CompanyUser = z.infer<typeof CompanyUser>;
1349
235
  declare const CompanyUsersOverviewDTO: z.ZodObject<{
1350
236
  users: z.ZodArray<z.ZodObject<{
1351
- createdAt: z.ZodNumber;
1352
- lastModified: z.ZodNumber;
237
+ createdAt: z.ZodReadonly<z.ZodNumber>;
238
+ lastModified: z.ZodNullable<z.ZodNumber>;
1353
239
  lastActive: z.ZodNumber;
1354
240
  status: z.ZodEnum<{
1355
241
  inviteSent: "inviteSent";
@@ -1370,568 +256,8 @@ declare const CompanyUsersOverviewDTO: z.ZodObject<{
1370
256
  }>, z.ZodString>;
1371
257
  photoUrl: z.ZodOptional<z.ZodString>;
1372
258
  email: z.ZodEmail;
1373
- phoneNumber: z.ZodString;
1374
- "~standard": z.ZodStandardSchemaWithJSON<{
1375
- name: z.ZodRecord<z.ZodEnum<{
1376
- first: "first";
1377
- last: "last";
1378
- }>, z.ZodString>;
1379
- photoUrl: z.ZodOptional<z.ZodString>;
1380
- email: z.ZodEmail;
1381
- phoneNumber: z.ZodString;
1382
- } & z.ZodObject<{
1383
- uid: z.ZodString;
1384
- }, z.core.$strip>>;
1385
- shape: {
1386
- uid: z.ZodString;
1387
- };
1388
- keyof: () => z.ZodEnum<{
1389
- uid: "uid";
1390
- }>;
1391
- catchall: <T extends z.core.SomeType>(schema: T) => z.ZodObject<{
1392
- uid: z.ZodString;
1393
- }, z.core.$catchall<T>>;
1394
- passthrough: () => z.ZodObject<{
1395
- uid: z.ZodString;
1396
- }, z.core.$loose>;
1397
- loose: () => z.ZodObject<{
1398
- uid: z.ZodString;
1399
- }, z.core.$loose>;
1400
- strict: () => z.ZodObject<{
1401
- uid: z.ZodString;
1402
- }, z.core.$strict>;
1403
- strip: () => z.ZodObject<{
1404
- uid: z.ZodString;
1405
- }, z.core.$strip>;
1406
- extend: <U extends z.core.$ZodLooseShape>(shape: U) => z.ZodObject<("uid" & keyof U extends never ? {
1407
- uid: z.ZodString;
1408
- } & U : ({
1409
- uid: z.ZodString;
1410
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
1411
- safeExtend: <U extends z.core.$ZodLooseShape>(shape: z.SafeExtendShape<{
1412
- uid: z.ZodString;
1413
- }, U> & Partial<Record<"uid", z.core.SomeType>>) => z.ZodObject<("uid" & keyof U extends never ? {
1414
- uid: z.ZodString;
1415
- } & U : ({
1416
- uid: z.ZodString;
1417
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
1418
- merge: <U extends z.ZodObject>(other: U) => z.ZodObject<("uid" & keyof U["shape"] extends never ? {
1419
- uid: z.ZodString;
1420
- } & U["shape"] : ({
1421
- uid: z.ZodString;
1422
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U["shape"] ? never : K]: T_1[K]; } : never) & (U["shape"] extends infer T_2 extends z.core.util.SomeObject ? { [K_1 in keyof T_2]: T_2[K_1]; } : never)) extends infer T ? { [k in keyof T]: T[k]; } : never, U["_zod"]["config"]>;
1423
- pick: <M extends z.core.util.Mask<"uid">>(mask: M) => z.ZodObject<Pick<{
1424
- uid: z.ZodString;
1425
- }, Extract<"uid", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
1426
- omit: <M extends z.core.util.Mask<"uid">>(mask: M) => z.ZodObject<Omit<{
1427
- uid: z.ZodString;
1428
- }, Extract<"uid", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
1429
- partial: {
1430
- (): z.ZodObject<{
1431
- uid: z.ZodOptional<z.ZodString>;
1432
- }, z.core.$strip>;
1433
- <M extends z.core.util.Mask<"uid">>(mask: M): z.ZodObject<{
1434
- uid: "uid" extends infer T ? T extends "uid" ? T extends keyof M ? z.ZodOptional<{
1435
- uid: z.ZodString;
1436
- }[T]> : {
1437
- uid: z.ZodString;
1438
- }[T] : never : never;
1439
- }, z.core.$strip>;
1440
- };
1441
- required: {
1442
- (): z.ZodObject<{
1443
- uid: z.ZodNonOptional<z.ZodString>;
1444
- }, z.core.$strip>;
1445
- <M extends z.core.util.Mask<"uid">>(mask: M): z.ZodObject<{
1446
- uid: "uid" extends infer T ? T extends "uid" ? T extends keyof M ? z.ZodNonOptional<{
1447
- uid: z.ZodString;
1448
- }[T]> : {
1449
- uid: z.ZodString;
1450
- }[T] : never : never;
1451
- }, z.core.$strip>;
1452
- };
1453
- def: z.core.$ZodObjectDef<{
1454
- uid: z.ZodString;
1455
- }>;
1456
- type: "object";
1457
- _def: z.core.$ZodObjectDef<{
1458
- uid: z.ZodString;
1459
- }>;
1460
- _output: {
1461
- uid: string;
1462
- };
1463
- _input: {
1464
- uid: string;
1465
- };
1466
- toJSONSchema: (params?: z.core.ToJSONSchemaParams) => z.core.ZodStandardJSONSchemaPayload<{
1467
- name: z.ZodRecord<z.ZodEnum<{
1468
- first: "first";
1469
- last: "last";
1470
- }>, z.ZodString>;
1471
- photoUrl: z.ZodOptional<z.ZodString>;
1472
- email: z.ZodEmail;
1473
- phoneNumber: z.ZodString;
1474
- } & z.ZodObject<{
1475
- uid: z.ZodString;
1476
- }, z.core.$strip>>;
1477
- check: (...checks: (z.core.CheckFn<{
1478
- uid: string;
1479
- }> | z.core.$ZodCheck<{
1480
- uid: string;
1481
- }>)[]) => {
1482
- name: z.ZodRecord<z.ZodEnum<{
1483
- first: "first";
1484
- last: "last";
1485
- }>, z.ZodString>;
1486
- photoUrl: z.ZodOptional<z.ZodString>;
1487
- email: z.ZodEmail;
1488
- phoneNumber: z.ZodString;
1489
- } & z.ZodObject<{
1490
- uid: z.ZodString;
1491
- }, z.core.$strip>;
1492
- clone: (def?: z.core.$ZodObjectDef<{
1493
- uid: z.ZodString;
1494
- }> | undefined, params?: {
1495
- parent: boolean;
1496
- } | undefined) => {
1497
- name: z.ZodRecord<z.ZodEnum<{
1498
- first: "first";
1499
- last: "last";
1500
- }>, z.ZodString>;
1501
- photoUrl: z.ZodOptional<z.ZodString>;
1502
- email: z.ZodEmail;
1503
- phoneNumber: z.ZodString;
1504
- } & z.ZodObject<{
1505
- uid: z.ZodString;
1506
- }, z.core.$strip>;
1507
- register: <R extends z.core.$ZodRegistry>(registry: R, ...meta: {
1508
- name: z.ZodRecord<z.ZodEnum<{
1509
- first: "first";
1510
- last: "last";
1511
- }>, z.ZodString>;
1512
- photoUrl: z.ZodOptional<z.ZodString>;
1513
- email: z.ZodEmail;
1514
- phoneNumber: z.ZodString;
1515
- } & z.ZodObject<{
1516
- uid: z.ZodString;
1517
- }, z.core.$strip> extends infer T ? T extends {
1518
- name: z.ZodRecord<z.ZodEnum<{
1519
- first: "first";
1520
- last: "last";
1521
- }>, z.ZodString>;
1522
- photoUrl: z.ZodOptional<z.ZodString>;
1523
- email: z.ZodEmail;
1524
- phoneNumber: z.ZodString;
1525
- } & z.ZodObject<{
1526
- uid: z.ZodString;
1527
- }, z.core.$strip> ? T extends R["_schema"] ? undefined extends R["_meta"] ? [(z.core.$replace<R["_meta"], R["_schema"] & {
1528
- name: z.ZodRecord<z.ZodEnum<{
1529
- first: "first";
1530
- last: "last";
1531
- }>, z.ZodString>;
1532
- photoUrl: z.ZodOptional<z.ZodString>;
1533
- email: z.ZodEmail;
1534
- phoneNumber: z.ZodString;
1535
- } & z.ZodObject<{
1536
- uid: z.ZodString;
1537
- }, z.core.$strip>> | undefined)?] : [z.core.$replace<R["_meta"], R["_schema"] & {
1538
- name: z.ZodRecord<z.ZodEnum<{
1539
- first: "first";
1540
- last: "last";
1541
- }>, z.ZodString>;
1542
- photoUrl: z.ZodOptional<z.ZodString>;
1543
- email: z.ZodEmail;
1544
- phoneNumber: z.ZodString;
1545
- } & z.ZodObject<{
1546
- uid: z.ZodString;
1547
- }, z.core.$strip>>] : ["Incompatible schema"] : never : never) => {
1548
- name: z.ZodRecord<z.ZodEnum<{
1549
- first: "first";
1550
- last: "last";
1551
- }>, z.ZodString>;
1552
- photoUrl: z.ZodOptional<z.ZodString>;
1553
- email: z.ZodEmail;
1554
- phoneNumber: z.ZodString;
1555
- } & z.ZodObject<{
1556
- uid: z.ZodString;
1557
- }, z.core.$strip>;
1558
- brand: <T extends PropertyKey = PropertyKey>(value?: T | undefined) => PropertyKey extends T ? {
1559
- name: z.ZodRecord<z.ZodEnum<{
1560
- first: "first";
1561
- last: "last";
1562
- }>, z.ZodString>;
1563
- photoUrl: z.ZodOptional<z.ZodString>;
1564
- email: z.ZodEmail;
1565
- phoneNumber: z.ZodString;
1566
- } & z.ZodObject<{
1567
- uid: z.ZodString;
1568
- }, z.core.$strip> : z.core.$ZodBranded<{
1569
- name: z.ZodRecord<z.ZodEnum<{
1570
- first: "first";
1571
- last: "last";
1572
- }>, z.ZodString>;
1573
- photoUrl: z.ZodOptional<z.ZodString>;
1574
- email: z.ZodEmail;
1575
- phoneNumber: z.ZodString;
1576
- } & z.ZodObject<{
1577
- uid: z.ZodString;
1578
- }, z.core.$strip>, T>;
1579
- parse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
1580
- uid: string;
1581
- };
1582
- safeParse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
1583
- uid: string;
1584
- }>;
1585
- parseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
1586
- uid: string;
1587
- }>;
1588
- safeParseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1589
- uid: string;
1590
- }>>;
1591
- spa: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1592
- uid: string;
1593
- }>>;
1594
- encode: (data: {
1595
- uid: string;
1596
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
1597
- uid: string;
1598
- };
1599
- decode: (data: {
1600
- uid: string;
1601
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
1602
- uid: string;
1603
- };
1604
- encodeAsync: (data: {
1605
- uid: string;
1606
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
1607
- uid: string;
1608
- }>;
1609
- decodeAsync: (data: {
1610
- uid: string;
1611
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
1612
- uid: string;
1613
- }>;
1614
- safeEncode: (data: {
1615
- uid: string;
1616
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
1617
- uid: string;
1618
- }>;
1619
- safeDecode: (data: {
1620
- uid: string;
1621
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
1622
- uid: string;
1623
- }>;
1624
- safeEncodeAsync: (data: {
1625
- uid: string;
1626
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1627
- uid: string;
1628
- }>>;
1629
- safeDecodeAsync: (data: {
1630
- uid: string;
1631
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
1632
- uid: string;
1633
- }>>;
1634
- refine: (check: (arg: {
1635
- uid: string;
1636
- }) => unknown | Promise<unknown>, params?: string | {
1637
- path?: PropertyKey[] | undefined | undefined;
1638
- abort?: boolean | undefined | undefined;
1639
- when?: ((payload: z.core.ParsePayload) => boolean) | undefined | undefined;
1640
- params?: Record<string, any> | undefined;
1641
- error?: string | z.core.$ZodErrorMap<NonNullable<z.core.$ZodIssue>> | undefined;
1642
- message?: string | undefined | undefined;
1643
- } | undefined) => {
1644
- name: z.ZodRecord<z.ZodEnum<{
1645
- first: "first";
1646
- last: "last";
1647
- }>, z.ZodString>;
1648
- photoUrl: z.ZodOptional<z.ZodString>;
1649
- email: z.ZodEmail;
1650
- phoneNumber: z.ZodString;
1651
- } & z.ZodObject<{
1652
- uid: z.ZodString;
1653
- }, z.core.$strip>;
1654
- superRefine: (refinement: (arg: {
1655
- uid: string;
1656
- }, ctx: z.core.$RefinementCtx<{
1657
- uid: string;
1658
- }>) => void | Promise<void>) => {
1659
- name: z.ZodRecord<z.ZodEnum<{
1660
- first: "first";
1661
- last: "last";
1662
- }>, z.ZodString>;
1663
- photoUrl: z.ZodOptional<z.ZodString>;
1664
- email: z.ZodEmail;
1665
- phoneNumber: z.ZodString;
1666
- } & z.ZodObject<{
1667
- uid: z.ZodString;
1668
- }, z.core.$strip>;
1669
- overwrite: (fn: (x: {
1670
- uid: string;
1671
- }) => {
1672
- uid: string;
1673
- }) => {
1674
- name: z.ZodRecord<z.ZodEnum<{
1675
- first: "first";
1676
- last: "last";
1677
- }>, z.ZodString>;
1678
- photoUrl: z.ZodOptional<z.ZodString>;
1679
- email: z.ZodEmail;
1680
- phoneNumber: z.ZodString;
1681
- } & z.ZodObject<{
1682
- uid: z.ZodString;
1683
- }, z.core.$strip>;
1684
- optional: () => z.ZodOptional<{
1685
- name: z.ZodRecord<z.ZodEnum<{
1686
- first: "first";
1687
- last: "last";
1688
- }>, z.ZodString>;
1689
- photoUrl: z.ZodOptional<z.ZodString>;
1690
- email: z.ZodEmail;
1691
- phoneNumber: z.ZodString;
1692
- } & z.ZodObject<{
1693
- uid: z.ZodString;
1694
- }, z.core.$strip>>;
1695
- nonoptional: (params?: string | z.core.$ZodNonOptionalParams) => z.ZodNonOptional<{
1696
- name: z.ZodRecord<z.ZodEnum<{
1697
- first: "first";
1698
- last: "last";
1699
- }>, z.ZodString>;
1700
- photoUrl: z.ZodOptional<z.ZodString>;
1701
- email: z.ZodEmail;
1702
- phoneNumber: z.ZodString;
1703
- } & z.ZodObject<{
1704
- uid: z.ZodString;
1705
- }, z.core.$strip>>;
1706
- nullable: () => z.ZodNullable<{
1707
- name: z.ZodRecord<z.ZodEnum<{
1708
- first: "first";
1709
- last: "last";
1710
- }>, z.ZodString>;
1711
- photoUrl: z.ZodOptional<z.ZodString>;
1712
- email: z.ZodEmail;
1713
- phoneNumber: z.ZodString;
1714
- } & z.ZodObject<{
1715
- uid: z.ZodString;
1716
- }, z.core.$strip>>;
1717
- nullish: () => z.ZodOptional<z.ZodNullable<{
1718
- name: z.ZodRecord<z.ZodEnum<{
1719
- first: "first";
1720
- last: "last";
1721
- }>, z.ZodString>;
1722
- photoUrl: z.ZodOptional<z.ZodString>;
1723
- email: z.ZodEmail;
1724
- phoneNumber: z.ZodString;
1725
- } & z.ZodObject<{
1726
- uid: z.ZodString;
1727
- }, z.core.$strip>>>;
1728
- default: {
1729
- (def: {
1730
- uid: string;
1731
- }): z.ZodDefault<{
1732
- name: z.ZodRecord<z.ZodEnum<{
1733
- first: "first";
1734
- last: "last";
1735
- }>, z.ZodString>;
1736
- photoUrl: z.ZodOptional<z.ZodString>;
1737
- email: z.ZodEmail;
1738
- phoneNumber: z.ZodString;
1739
- } & z.ZodObject<{
1740
- uid: z.ZodString;
1741
- }, z.core.$strip>>;
1742
- (def: () => {
1743
- uid: string;
1744
- }): z.ZodDefault<{
1745
- name: z.ZodRecord<z.ZodEnum<{
1746
- first: "first";
1747
- last: "last";
1748
- }>, z.ZodString>;
1749
- photoUrl: z.ZodOptional<z.ZodString>;
1750
- email: z.ZodEmail;
1751
- phoneNumber: z.ZodString;
1752
- } & z.ZodObject<{
1753
- uid: z.ZodString;
1754
- }, z.core.$strip>>;
1755
- };
1756
- prefault: {
1757
- (def: () => {
1758
- uid: string;
1759
- }): z.ZodPrefault<{
1760
- name: z.ZodRecord<z.ZodEnum<{
1761
- first: "first";
1762
- last: "last";
1763
- }>, z.ZodString>;
1764
- photoUrl: z.ZodOptional<z.ZodString>;
1765
- email: z.ZodEmail;
1766
- phoneNumber: z.ZodString;
1767
- } & z.ZodObject<{
1768
- uid: z.ZodString;
1769
- }, z.core.$strip>>;
1770
- (def: {
1771
- uid: string;
1772
- }): z.ZodPrefault<{
1773
- name: z.ZodRecord<z.ZodEnum<{
1774
- first: "first";
1775
- last: "last";
1776
- }>, z.ZodString>;
1777
- photoUrl: z.ZodOptional<z.ZodString>;
1778
- email: z.ZodEmail;
1779
- phoneNumber: z.ZodString;
1780
- } & z.ZodObject<{
1781
- uid: z.ZodString;
1782
- }, z.core.$strip>>;
1783
- };
1784
- array: () => z.ZodArray<{
1785
- name: z.ZodRecord<z.ZodEnum<{
1786
- first: "first";
1787
- last: "last";
1788
- }>, z.ZodString>;
1789
- photoUrl: z.ZodOptional<z.ZodString>;
1790
- email: z.ZodEmail;
1791
- phoneNumber: z.ZodString;
1792
- } & z.ZodObject<{
1793
- uid: z.ZodString;
1794
- }, z.core.$strip>>;
1795
- or: <T extends z.core.SomeType>(option: T) => z.ZodUnion<[{
1796
- name: z.ZodRecord<z.ZodEnum<{
1797
- first: "first";
1798
- last: "last";
1799
- }>, z.ZodString>;
1800
- photoUrl: z.ZodOptional<z.ZodString>;
1801
- email: z.ZodEmail;
1802
- phoneNumber: z.ZodString;
1803
- } & z.ZodObject<{
1804
- uid: z.ZodString;
1805
- }, z.core.$strip>, T]>;
1806
- and: <T extends z.core.SomeType>(incoming: T) => z.ZodIntersection<{
1807
- name: z.ZodRecord<z.ZodEnum<{
1808
- first: "first";
1809
- last: "last";
1810
- }>, z.ZodString>;
1811
- photoUrl: z.ZodOptional<z.ZodString>;
1812
- email: z.ZodEmail;
1813
- phoneNumber: z.ZodString;
1814
- } & z.ZodObject<{
1815
- uid: z.ZodString;
1816
- }, z.core.$strip>, T>;
1817
- transform: <NewOut>(transform: (arg: {
1818
- uid: string;
1819
- }, ctx: z.core.$RefinementCtx<{
1820
- uid: string;
1821
- }>) => NewOut | Promise<NewOut>) => z.ZodPipe<{
1822
- name: z.ZodRecord<z.ZodEnum<{
1823
- first: "first";
1824
- last: "last";
1825
- }>, z.ZodString>;
1826
- photoUrl: z.ZodOptional<z.ZodString>;
1827
- email: z.ZodEmail;
1828
- phoneNumber: z.ZodString;
1829
- } & z.ZodObject<{
1830
- uid: z.ZodString;
1831
- }, z.core.$strip>, z.ZodTransform<Awaited<NewOut>, {
1832
- uid: string;
1833
- }>>;
1834
- catch: {
1835
- (def: {
1836
- uid: string;
1837
- }): z.ZodCatch<{
1838
- name: z.ZodRecord<z.ZodEnum<{
1839
- first: "first";
1840
- last: "last";
1841
- }>, z.ZodString>;
1842
- photoUrl: z.ZodOptional<z.ZodString>;
1843
- email: z.ZodEmail;
1844
- phoneNumber: z.ZodString;
1845
- } & z.ZodObject<{
1846
- uid: z.ZodString;
1847
- }, z.core.$strip>>;
1848
- (def: (ctx: z.core.$ZodCatchCtx) => {
1849
- uid: string;
1850
- }): z.ZodCatch<{
1851
- name: z.ZodRecord<z.ZodEnum<{
1852
- first: "first";
1853
- last: "last";
1854
- }>, z.ZodString>;
1855
- photoUrl: z.ZodOptional<z.ZodString>;
1856
- email: z.ZodEmail;
1857
- phoneNumber: z.ZodString;
1858
- } & z.ZodObject<{
1859
- uid: z.ZodString;
1860
- }, z.core.$strip>>;
1861
- };
1862
- pipe: <T extends z.core.$ZodType<any, {
1863
- uid: string;
1864
- }, z.core.$ZodTypeInternals<any, {
1865
- uid: string;
1866
- }>>>(target: T | z.core.$ZodType<any, {
1867
- uid: string;
1868
- }, z.core.$ZodTypeInternals<any, {
1869
- uid: string;
1870
- }>>) => z.ZodPipe<{
1871
- name: z.ZodRecord<z.ZodEnum<{
1872
- first: "first";
1873
- last: "last";
1874
- }>, z.ZodString>;
1875
- photoUrl: z.ZodOptional<z.ZodString>;
1876
- email: z.ZodEmail;
1877
- phoneNumber: z.ZodString;
1878
- } & z.ZodObject<{
1879
- uid: z.ZodString;
1880
- }, z.core.$strip>, T>;
1881
- readonly: () => z.ZodReadonly<{
1882
- name: z.ZodRecord<z.ZodEnum<{
1883
- first: "first";
1884
- last: "last";
1885
- }>, z.ZodString>;
1886
- photoUrl: z.ZodOptional<z.ZodString>;
1887
- email: z.ZodEmail;
1888
- phoneNumber: z.ZodString;
1889
- } & z.ZodObject<{
1890
- uid: z.ZodString;
1891
- }, z.core.$strip>>;
1892
- describe: (description: string) => {
1893
- name: z.ZodRecord<z.ZodEnum<{
1894
- first: "first";
1895
- last: "last";
1896
- }>, z.ZodString>;
1897
- photoUrl: z.ZodOptional<z.ZodString>;
1898
- email: z.ZodEmail;
1899
- phoneNumber: z.ZodString;
1900
- } & z.ZodObject<{
1901
- uid: z.ZodString;
1902
- }, z.core.$strip>;
1903
- description?: string | undefined | undefined;
1904
- meta: {
1905
- (): {
1906
- [x: string]: unknown;
1907
- id?: string | undefined | undefined;
1908
- title?: string | undefined | undefined;
1909
- description?: string | undefined | undefined;
1910
- deprecated?: boolean | undefined | undefined;
1911
- } | undefined;
1912
- (data: {
1913
- [x: string]: unknown;
1914
- id?: string | undefined | undefined;
1915
- title?: string | undefined | undefined;
1916
- description?: string | undefined | undefined;
1917
- deprecated?: boolean | undefined | undefined;
1918
- }): {
1919
- name: z.ZodRecord<z.ZodEnum<{
1920
- first: "first";
1921
- last: "last";
1922
- }>, z.ZodString>;
1923
- photoUrl: z.ZodOptional<z.ZodString>;
1924
- email: z.ZodEmail;
1925
- phoneNumber: z.ZodString;
1926
- } & z.ZodObject<{
1927
- uid: z.ZodString;
1928
- }, z.core.$strip>;
1929
- };
1930
- isOptional: () => boolean;
1931
- isNullable: () => boolean;
1932
- _zod: z.core.$ZodObjectInternals<{
1933
- uid: z.ZodString;
1934
- }, z.core.$strip>;
259
+ phoneNumber: z.ZodOptional<z.ZodString>;
260
+ uid: z.ZodString;
1935
261
  }, z.core.$strip>>;
1936
262
  partnerMap: z.ZodRecord<z.ZodEmail, z.ZodArray<z.ZodEmail>>;
1937
263
  }, z.core.$strip>;
@@ -1949,8 +275,8 @@ declare const employeeRoles: z.ZodEnum<{
1949
275
  }>;
1950
276
 
1951
277
  declare const TimeLog: z.ZodObject<{
1952
- createdAt: z.ZodNumber;
1953
- lastModified: z.ZodNumber;
278
+ createdAt: z.ZodReadonly<z.ZodNumber>;
279
+ lastModified: z.ZodNullable<z.ZodNumber>;
1954
280
  }, z.core.$strip>;
1955
281
  type TimeLog = z.infer<typeof TimeLog>;
1956
282
  declare const Time: z.ZodString;