@centricare/contract 0.0.0-stage → 0.1.1

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 (42) hide show
  1. package/README.md +99 -2
  2. package/dist/commons/api-response.d.ts +178 -0
  3. package/dist/commons/api-response.d.ts.map +1 -0
  4. package/dist/commons/api-response.js +49 -0
  5. package/dist/commons/api-response.js.map +1 -0
  6. package/dist/commons/coded-concept.d.ts +28 -0
  7. package/dist/commons/coded-concept.d.ts.map +1 -0
  8. package/dist/commons/coded-concept.js +20 -0
  9. package/dist/commons/coded-concept.js.map +1 -0
  10. package/dist/commons/index.d.ts +9 -0
  11. package/dist/commons/index.d.ts.map +1 -0
  12. package/dist/commons/index.js +9 -0
  13. package/dist/commons/index.js.map +1 -0
  14. package/dist/commons/setting-option.d.ts +37 -0
  15. package/dist/commons/setting-option.d.ts.map +1 -0
  16. package/dist/commons/setting-option.js +27 -0
  17. package/dist/commons/setting-option.js.map +1 -0
  18. package/dist/commons/timestamp.d.ts +7 -0
  19. package/dist/commons/timestamp.d.ts.map +1 -0
  20. package/dist/commons/timestamp.js +9 -0
  21. package/dist/commons/timestamp.js.map +1 -0
  22. package/dist/example.test.d.ts +6 -0
  23. package/dist/example.test.d.ts.map +1 -0
  24. package/dist/example.test.js +147 -0
  25. package/dist/example.test.js.map +1 -0
  26. package/dist/index.d.ts +7 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/index.js +7 -0
  29. package/dist/index.js.map +1 -0
  30. package/dist/models/index.d.ts +6 -0
  31. package/dist/models/index.d.ts.map +1 -0
  32. package/dist/models/index.js +6 -0
  33. package/dist/models/index.js.map +1 -0
  34. package/dist/models/settings.d.ts +189 -0
  35. package/dist/models/settings.d.ts.map +1 -0
  36. package/dist/models/settings.js +34 -0
  37. package/dist/models/settings.js.map +1 -0
  38. package/dist/models/user.d.ts +1110 -0
  39. package/dist/models/user.d.ts.map +1 -0
  40. package/dist/models/user.js +59 -0
  41. package/dist/models/user.js.map +1 -0
  42. package/package.json +47 -4
@@ -0,0 +1,1110 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Demographic information nested inside a User record.
4
+ *
5
+ * Based on /Docs/Data/Data+Model/User
6
+ */
7
+ export declare const demographicSchema: z.ZodObject<{
8
+ sex: z.ZodObject<{
9
+ system: z.ZodString;
10
+ value: z.ZodString;
11
+ display: z.ZodOptional<z.ZodString>;
12
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
13
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ value: string;
16
+ system: string;
17
+ valid?: string | undefined;
18
+ display?: string | undefined;
19
+ tags?: string[] | undefined;
20
+ }, {
21
+ value: string;
22
+ system: string;
23
+ valid?: string | undefined;
24
+ display?: string | undefined;
25
+ tags?: string[] | undefined;
26
+ }>;
27
+ religion: z.ZodObject<{
28
+ system: z.ZodString;
29
+ value: z.ZodString;
30
+ display: z.ZodOptional<z.ZodString>;
31
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
32
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ value: string;
35
+ system: string;
36
+ valid?: string | undefined;
37
+ display?: string | undefined;
38
+ tags?: string[] | undefined;
39
+ }, {
40
+ value: string;
41
+ system: string;
42
+ valid?: string | undefined;
43
+ display?: string | undefined;
44
+ tags?: string[] | undefined;
45
+ }>;
46
+ ethnicity: z.ZodOptional<z.ZodString>;
47
+ marital_status: z.ZodObject<{
48
+ system: z.ZodString;
49
+ value: z.ZodString;
50
+ display: z.ZodOptional<z.ZodString>;
51
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
52
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ value: string;
55
+ system: string;
56
+ valid?: string | undefined;
57
+ display?: string | undefined;
58
+ tags?: string[] | undefined;
59
+ }, {
60
+ value: string;
61
+ system: string;
62
+ valid?: string | undefined;
63
+ display?: string | undefined;
64
+ tags?: string[] | undefined;
65
+ }>;
66
+ date_of_birth: z.ZodString;
67
+ place_of_birth: z.ZodOptional<z.ZodString>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ sex: {
70
+ value: string;
71
+ system: string;
72
+ valid?: string | undefined;
73
+ display?: string | undefined;
74
+ tags?: string[] | undefined;
75
+ };
76
+ religion: {
77
+ value: string;
78
+ system: string;
79
+ valid?: string | undefined;
80
+ display?: string | undefined;
81
+ tags?: string[] | undefined;
82
+ };
83
+ marital_status: {
84
+ value: string;
85
+ system: string;
86
+ valid?: string | undefined;
87
+ display?: string | undefined;
88
+ tags?: string[] | undefined;
89
+ };
90
+ date_of_birth: string;
91
+ ethnicity?: string | undefined;
92
+ place_of_birth?: string | undefined;
93
+ }, {
94
+ sex: {
95
+ value: string;
96
+ system: string;
97
+ valid?: string | undefined;
98
+ display?: string | undefined;
99
+ tags?: string[] | undefined;
100
+ };
101
+ religion: {
102
+ value: string;
103
+ system: string;
104
+ valid?: string | undefined;
105
+ display?: string | undefined;
106
+ tags?: string[] | undefined;
107
+ };
108
+ marital_status: {
109
+ value: string;
110
+ system: string;
111
+ valid?: string | undefined;
112
+ display?: string | undefined;
113
+ tags?: string[] | undefined;
114
+ };
115
+ date_of_birth: string;
116
+ ethnicity?: string | undefined;
117
+ place_of_birth?: string | undefined;
118
+ }>;
119
+ export type Demographic = z.infer<typeof demographicSchema>;
120
+ /**
121
+ * Full user record schema.
122
+ *
123
+ * Based on /Docs/Data/Data+Model/User
124
+ * Auto-generated fields: id, created_at, updated_at (by Better Auth)
125
+ */
126
+ export declare const userSchema: z.ZodObject<{
127
+ id: z.ZodString;
128
+ full_name: z.ZodString;
129
+ first_name: z.ZodString;
130
+ middle_name: z.ZodOptional<z.ZodString>;
131
+ last_name: z.ZodString;
132
+ salutation: z.ZodOptional<z.ZodString>;
133
+ title: z.ZodOptional<z.ZodString>;
134
+ email: z.ZodString;
135
+ email_verified: z.ZodBoolean;
136
+ image: z.ZodOptional<z.ZodString>;
137
+ statuses: z.ZodArray<z.ZodObject<{
138
+ system: z.ZodString;
139
+ value: z.ZodString;
140
+ display: z.ZodOptional<z.ZodString>;
141
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
142
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ value: string;
145
+ system: string;
146
+ valid?: string | undefined;
147
+ display?: string | undefined;
148
+ tags?: string[] | undefined;
149
+ }, {
150
+ value: string;
151
+ system: string;
152
+ valid?: string | undefined;
153
+ display?: string | undefined;
154
+ tags?: string[] | undefined;
155
+ }>, "atleastone">;
156
+ identifiers: z.ZodArray<z.ZodObject<{
157
+ system: z.ZodString;
158
+ value: z.ZodString;
159
+ display: z.ZodOptional<z.ZodString>;
160
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
161
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ value: string;
164
+ system: string;
165
+ valid?: string | undefined;
166
+ display?: string | undefined;
167
+ tags?: string[] | undefined;
168
+ }, {
169
+ value: string;
170
+ system: string;
171
+ valid?: string | undefined;
172
+ display?: string | undefined;
173
+ tags?: string[] | undefined;
174
+ }>, "atleastone">;
175
+ demographic: z.ZodObject<{
176
+ sex: z.ZodObject<{
177
+ system: z.ZodString;
178
+ value: z.ZodString;
179
+ display: z.ZodOptional<z.ZodString>;
180
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
181
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ value: string;
184
+ system: string;
185
+ valid?: string | undefined;
186
+ display?: string | undefined;
187
+ tags?: string[] | undefined;
188
+ }, {
189
+ value: string;
190
+ system: string;
191
+ valid?: string | undefined;
192
+ display?: string | undefined;
193
+ tags?: string[] | undefined;
194
+ }>;
195
+ religion: z.ZodObject<{
196
+ system: z.ZodString;
197
+ value: z.ZodString;
198
+ display: z.ZodOptional<z.ZodString>;
199
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
200
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ value: string;
203
+ system: string;
204
+ valid?: string | undefined;
205
+ display?: string | undefined;
206
+ tags?: string[] | undefined;
207
+ }, {
208
+ value: string;
209
+ system: string;
210
+ valid?: string | undefined;
211
+ display?: string | undefined;
212
+ tags?: string[] | undefined;
213
+ }>;
214
+ ethnicity: z.ZodOptional<z.ZodString>;
215
+ marital_status: z.ZodObject<{
216
+ system: z.ZodString;
217
+ value: z.ZodString;
218
+ display: z.ZodOptional<z.ZodString>;
219
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
220
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ value: string;
223
+ system: string;
224
+ valid?: string | undefined;
225
+ display?: string | undefined;
226
+ tags?: string[] | undefined;
227
+ }, {
228
+ value: string;
229
+ system: string;
230
+ valid?: string | undefined;
231
+ display?: string | undefined;
232
+ tags?: string[] | undefined;
233
+ }>;
234
+ date_of_birth: z.ZodString;
235
+ place_of_birth: z.ZodOptional<z.ZodString>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ sex: {
238
+ value: string;
239
+ system: string;
240
+ valid?: string | undefined;
241
+ display?: string | undefined;
242
+ tags?: string[] | undefined;
243
+ };
244
+ religion: {
245
+ value: string;
246
+ system: string;
247
+ valid?: string | undefined;
248
+ display?: string | undefined;
249
+ tags?: string[] | undefined;
250
+ };
251
+ marital_status: {
252
+ value: string;
253
+ system: string;
254
+ valid?: string | undefined;
255
+ display?: string | undefined;
256
+ tags?: string[] | undefined;
257
+ };
258
+ date_of_birth: string;
259
+ ethnicity?: string | undefined;
260
+ place_of_birth?: string | undefined;
261
+ }, {
262
+ sex: {
263
+ value: string;
264
+ system: string;
265
+ valid?: string | undefined;
266
+ display?: string | undefined;
267
+ tags?: string[] | undefined;
268
+ };
269
+ religion: {
270
+ value: string;
271
+ system: string;
272
+ valid?: string | undefined;
273
+ display?: string | undefined;
274
+ tags?: string[] | undefined;
275
+ };
276
+ marital_status: {
277
+ value: string;
278
+ system: string;
279
+ valid?: string | undefined;
280
+ display?: string | undefined;
281
+ tags?: string[] | undefined;
282
+ };
283
+ date_of_birth: string;
284
+ ethnicity?: string | undefined;
285
+ place_of_birth?: string | undefined;
286
+ }>;
287
+ contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
288
+ system: z.ZodString;
289
+ value: z.ZodString;
290
+ display: z.ZodOptional<z.ZodString>;
291
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
292
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ value: string;
295
+ system: string;
296
+ valid?: string | undefined;
297
+ display?: string | undefined;
298
+ tags?: string[] | undefined;
299
+ }, {
300
+ value: string;
301
+ system: string;
302
+ valid?: string | undefined;
303
+ display?: string | undefined;
304
+ tags?: string[] | undefined;
305
+ }>, "many">>;
306
+ settings_id: z.ZodString;
307
+ created_at: z.ZodString;
308
+ updated_at: z.ZodString;
309
+ }, "strip", z.ZodTypeAny, {
310
+ id: string;
311
+ full_name: string;
312
+ first_name: string;
313
+ last_name: string;
314
+ email: string;
315
+ email_verified: boolean;
316
+ statuses: [{
317
+ value: string;
318
+ system: string;
319
+ valid?: string | undefined;
320
+ display?: string | undefined;
321
+ tags?: string[] | undefined;
322
+ }, ...{
323
+ value: string;
324
+ system: string;
325
+ valid?: string | undefined;
326
+ display?: string | undefined;
327
+ tags?: string[] | undefined;
328
+ }[]];
329
+ identifiers: [{
330
+ value: string;
331
+ system: string;
332
+ valid?: string | undefined;
333
+ display?: string | undefined;
334
+ tags?: string[] | undefined;
335
+ }, ...{
336
+ value: string;
337
+ system: string;
338
+ valid?: string | undefined;
339
+ display?: string | undefined;
340
+ tags?: string[] | undefined;
341
+ }[]];
342
+ demographic: {
343
+ sex: {
344
+ value: string;
345
+ system: string;
346
+ valid?: string | undefined;
347
+ display?: string | undefined;
348
+ tags?: string[] | undefined;
349
+ };
350
+ religion: {
351
+ value: string;
352
+ system: string;
353
+ valid?: string | undefined;
354
+ display?: string | undefined;
355
+ tags?: string[] | undefined;
356
+ };
357
+ marital_status: {
358
+ value: string;
359
+ system: string;
360
+ valid?: string | undefined;
361
+ display?: string | undefined;
362
+ tags?: string[] | undefined;
363
+ };
364
+ date_of_birth: string;
365
+ ethnicity?: string | undefined;
366
+ place_of_birth?: string | undefined;
367
+ };
368
+ settings_id: string;
369
+ created_at: string;
370
+ updated_at: string;
371
+ middle_name?: string | undefined;
372
+ salutation?: string | undefined;
373
+ title?: string | undefined;
374
+ image?: string | undefined;
375
+ contacts?: {
376
+ value: string;
377
+ system: string;
378
+ valid?: string | undefined;
379
+ display?: string | undefined;
380
+ tags?: string[] | undefined;
381
+ }[] | undefined;
382
+ }, {
383
+ id: string;
384
+ full_name: string;
385
+ first_name: string;
386
+ last_name: string;
387
+ email: string;
388
+ email_verified: boolean;
389
+ statuses: [{
390
+ value: string;
391
+ system: string;
392
+ valid?: string | undefined;
393
+ display?: string | undefined;
394
+ tags?: string[] | undefined;
395
+ }, ...{
396
+ value: string;
397
+ system: string;
398
+ valid?: string | undefined;
399
+ display?: string | undefined;
400
+ tags?: string[] | undefined;
401
+ }[]];
402
+ identifiers: [{
403
+ value: string;
404
+ system: string;
405
+ valid?: string | undefined;
406
+ display?: string | undefined;
407
+ tags?: string[] | undefined;
408
+ }, ...{
409
+ value: string;
410
+ system: string;
411
+ valid?: string | undefined;
412
+ display?: string | undefined;
413
+ tags?: string[] | undefined;
414
+ }[]];
415
+ demographic: {
416
+ sex: {
417
+ value: string;
418
+ system: string;
419
+ valid?: string | undefined;
420
+ display?: string | undefined;
421
+ tags?: string[] | undefined;
422
+ };
423
+ religion: {
424
+ value: string;
425
+ system: string;
426
+ valid?: string | undefined;
427
+ display?: string | undefined;
428
+ tags?: string[] | undefined;
429
+ };
430
+ marital_status: {
431
+ value: string;
432
+ system: string;
433
+ valid?: string | undefined;
434
+ display?: string | undefined;
435
+ tags?: string[] | undefined;
436
+ };
437
+ date_of_birth: string;
438
+ ethnicity?: string | undefined;
439
+ place_of_birth?: string | undefined;
440
+ };
441
+ settings_id: string;
442
+ created_at: string;
443
+ updated_at: string;
444
+ middle_name?: string | undefined;
445
+ salutation?: string | undefined;
446
+ title?: string | undefined;
447
+ image?: string | undefined;
448
+ contacts?: {
449
+ value: string;
450
+ system: string;
451
+ valid?: string | undefined;
452
+ display?: string | undefined;
453
+ tags?: string[] | undefined;
454
+ }[] | undefined;
455
+ }>;
456
+ export type User = z.infer<typeof userSchema>;
457
+ /**
458
+ * Schema for creating a new user (auto-generated fields omitted).
459
+ */
460
+ export declare const createUserSchema: z.ZodObject<Omit<{
461
+ id: z.ZodString;
462
+ full_name: z.ZodString;
463
+ first_name: z.ZodString;
464
+ middle_name: z.ZodOptional<z.ZodString>;
465
+ last_name: z.ZodString;
466
+ salutation: z.ZodOptional<z.ZodString>;
467
+ title: z.ZodOptional<z.ZodString>;
468
+ email: z.ZodString;
469
+ email_verified: z.ZodBoolean;
470
+ image: z.ZodOptional<z.ZodString>;
471
+ statuses: z.ZodArray<z.ZodObject<{
472
+ system: z.ZodString;
473
+ value: z.ZodString;
474
+ display: z.ZodOptional<z.ZodString>;
475
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
476
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
477
+ }, "strip", z.ZodTypeAny, {
478
+ value: string;
479
+ system: string;
480
+ valid?: string | undefined;
481
+ display?: string | undefined;
482
+ tags?: string[] | undefined;
483
+ }, {
484
+ value: string;
485
+ system: string;
486
+ valid?: string | undefined;
487
+ display?: string | undefined;
488
+ tags?: string[] | undefined;
489
+ }>, "atleastone">;
490
+ identifiers: z.ZodArray<z.ZodObject<{
491
+ system: z.ZodString;
492
+ value: z.ZodString;
493
+ display: z.ZodOptional<z.ZodString>;
494
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
495
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
496
+ }, "strip", z.ZodTypeAny, {
497
+ value: string;
498
+ system: string;
499
+ valid?: string | undefined;
500
+ display?: string | undefined;
501
+ tags?: string[] | undefined;
502
+ }, {
503
+ value: string;
504
+ system: string;
505
+ valid?: string | undefined;
506
+ display?: string | undefined;
507
+ tags?: string[] | undefined;
508
+ }>, "atleastone">;
509
+ demographic: z.ZodObject<{
510
+ sex: z.ZodObject<{
511
+ system: z.ZodString;
512
+ value: z.ZodString;
513
+ display: z.ZodOptional<z.ZodString>;
514
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
515
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
516
+ }, "strip", z.ZodTypeAny, {
517
+ value: string;
518
+ system: string;
519
+ valid?: string | undefined;
520
+ display?: string | undefined;
521
+ tags?: string[] | undefined;
522
+ }, {
523
+ value: string;
524
+ system: string;
525
+ valid?: string | undefined;
526
+ display?: string | undefined;
527
+ tags?: string[] | undefined;
528
+ }>;
529
+ religion: z.ZodObject<{
530
+ system: z.ZodString;
531
+ value: z.ZodString;
532
+ display: z.ZodOptional<z.ZodString>;
533
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
534
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
535
+ }, "strip", z.ZodTypeAny, {
536
+ value: string;
537
+ system: string;
538
+ valid?: string | undefined;
539
+ display?: string | undefined;
540
+ tags?: string[] | undefined;
541
+ }, {
542
+ value: string;
543
+ system: string;
544
+ valid?: string | undefined;
545
+ display?: string | undefined;
546
+ tags?: string[] | undefined;
547
+ }>;
548
+ ethnicity: z.ZodOptional<z.ZodString>;
549
+ marital_status: z.ZodObject<{
550
+ system: z.ZodString;
551
+ value: z.ZodString;
552
+ display: z.ZodOptional<z.ZodString>;
553
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
554
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ value: string;
557
+ system: string;
558
+ valid?: string | undefined;
559
+ display?: string | undefined;
560
+ tags?: string[] | undefined;
561
+ }, {
562
+ value: string;
563
+ system: string;
564
+ valid?: string | undefined;
565
+ display?: string | undefined;
566
+ tags?: string[] | undefined;
567
+ }>;
568
+ date_of_birth: z.ZodString;
569
+ place_of_birth: z.ZodOptional<z.ZodString>;
570
+ }, "strip", z.ZodTypeAny, {
571
+ sex: {
572
+ value: string;
573
+ system: string;
574
+ valid?: string | undefined;
575
+ display?: string | undefined;
576
+ tags?: string[] | undefined;
577
+ };
578
+ religion: {
579
+ value: string;
580
+ system: string;
581
+ valid?: string | undefined;
582
+ display?: string | undefined;
583
+ tags?: string[] | undefined;
584
+ };
585
+ marital_status: {
586
+ value: string;
587
+ system: string;
588
+ valid?: string | undefined;
589
+ display?: string | undefined;
590
+ tags?: string[] | undefined;
591
+ };
592
+ date_of_birth: string;
593
+ ethnicity?: string | undefined;
594
+ place_of_birth?: string | undefined;
595
+ }, {
596
+ sex: {
597
+ value: string;
598
+ system: string;
599
+ valid?: string | undefined;
600
+ display?: string | undefined;
601
+ tags?: string[] | undefined;
602
+ };
603
+ religion: {
604
+ value: string;
605
+ system: string;
606
+ valid?: string | undefined;
607
+ display?: string | undefined;
608
+ tags?: string[] | undefined;
609
+ };
610
+ marital_status: {
611
+ value: string;
612
+ system: string;
613
+ valid?: string | undefined;
614
+ display?: string | undefined;
615
+ tags?: string[] | undefined;
616
+ };
617
+ date_of_birth: string;
618
+ ethnicity?: string | undefined;
619
+ place_of_birth?: string | undefined;
620
+ }>;
621
+ contacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
622
+ system: z.ZodString;
623
+ value: z.ZodString;
624
+ display: z.ZodOptional<z.ZodString>;
625
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
626
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
627
+ }, "strip", z.ZodTypeAny, {
628
+ value: string;
629
+ system: string;
630
+ valid?: string | undefined;
631
+ display?: string | undefined;
632
+ tags?: string[] | undefined;
633
+ }, {
634
+ value: string;
635
+ system: string;
636
+ valid?: string | undefined;
637
+ display?: string | undefined;
638
+ tags?: string[] | undefined;
639
+ }>, "many">>;
640
+ settings_id: z.ZodString;
641
+ created_at: z.ZodString;
642
+ updated_at: z.ZodString;
643
+ }, "id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
644
+ full_name: string;
645
+ first_name: string;
646
+ last_name: string;
647
+ email: string;
648
+ email_verified: boolean;
649
+ statuses: [{
650
+ value: string;
651
+ system: string;
652
+ valid?: string | undefined;
653
+ display?: string | undefined;
654
+ tags?: string[] | undefined;
655
+ }, ...{
656
+ value: string;
657
+ system: string;
658
+ valid?: string | undefined;
659
+ display?: string | undefined;
660
+ tags?: string[] | undefined;
661
+ }[]];
662
+ identifiers: [{
663
+ value: string;
664
+ system: string;
665
+ valid?: string | undefined;
666
+ display?: string | undefined;
667
+ tags?: string[] | undefined;
668
+ }, ...{
669
+ value: string;
670
+ system: string;
671
+ valid?: string | undefined;
672
+ display?: string | undefined;
673
+ tags?: string[] | undefined;
674
+ }[]];
675
+ demographic: {
676
+ sex: {
677
+ value: string;
678
+ system: string;
679
+ valid?: string | undefined;
680
+ display?: string | undefined;
681
+ tags?: string[] | undefined;
682
+ };
683
+ religion: {
684
+ value: string;
685
+ system: string;
686
+ valid?: string | undefined;
687
+ display?: string | undefined;
688
+ tags?: string[] | undefined;
689
+ };
690
+ marital_status: {
691
+ value: string;
692
+ system: string;
693
+ valid?: string | undefined;
694
+ display?: string | undefined;
695
+ tags?: string[] | undefined;
696
+ };
697
+ date_of_birth: string;
698
+ ethnicity?: string | undefined;
699
+ place_of_birth?: string | undefined;
700
+ };
701
+ settings_id: string;
702
+ middle_name?: string | undefined;
703
+ salutation?: string | undefined;
704
+ title?: string | undefined;
705
+ image?: string | undefined;
706
+ contacts?: {
707
+ value: string;
708
+ system: string;
709
+ valid?: string | undefined;
710
+ display?: string | undefined;
711
+ tags?: string[] | undefined;
712
+ }[] | undefined;
713
+ }, {
714
+ full_name: string;
715
+ first_name: string;
716
+ last_name: string;
717
+ email: string;
718
+ email_verified: boolean;
719
+ statuses: [{
720
+ value: string;
721
+ system: string;
722
+ valid?: string | undefined;
723
+ display?: string | undefined;
724
+ tags?: string[] | undefined;
725
+ }, ...{
726
+ value: string;
727
+ system: string;
728
+ valid?: string | undefined;
729
+ display?: string | undefined;
730
+ tags?: string[] | undefined;
731
+ }[]];
732
+ identifiers: [{
733
+ value: string;
734
+ system: string;
735
+ valid?: string | undefined;
736
+ display?: string | undefined;
737
+ tags?: string[] | undefined;
738
+ }, ...{
739
+ value: string;
740
+ system: string;
741
+ valid?: string | undefined;
742
+ display?: string | undefined;
743
+ tags?: string[] | undefined;
744
+ }[]];
745
+ demographic: {
746
+ sex: {
747
+ value: string;
748
+ system: string;
749
+ valid?: string | undefined;
750
+ display?: string | undefined;
751
+ tags?: string[] | undefined;
752
+ };
753
+ religion: {
754
+ value: string;
755
+ system: string;
756
+ valid?: string | undefined;
757
+ display?: string | undefined;
758
+ tags?: string[] | undefined;
759
+ };
760
+ marital_status: {
761
+ value: string;
762
+ system: string;
763
+ valid?: string | undefined;
764
+ display?: string | undefined;
765
+ tags?: string[] | undefined;
766
+ };
767
+ date_of_birth: string;
768
+ ethnicity?: string | undefined;
769
+ place_of_birth?: string | undefined;
770
+ };
771
+ settings_id: string;
772
+ middle_name?: string | undefined;
773
+ salutation?: string | undefined;
774
+ title?: string | undefined;
775
+ image?: string | undefined;
776
+ contacts?: {
777
+ value: string;
778
+ system: string;
779
+ valid?: string | undefined;
780
+ display?: string | undefined;
781
+ tags?: string[] | undefined;
782
+ }[] | undefined;
783
+ }>;
784
+ export type CreateUserInput = z.infer<typeof createUserSchema>;
785
+ /**
786
+ * Schema for updating an existing user (auto-generated fields omitted, others optional).
787
+ */
788
+ export declare const updateUserSchema: z.ZodObject<{
789
+ full_name: z.ZodOptional<z.ZodString>;
790
+ first_name: z.ZodOptional<z.ZodString>;
791
+ middle_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
792
+ last_name: z.ZodOptional<z.ZodString>;
793
+ salutation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
794
+ title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
795
+ email: z.ZodOptional<z.ZodString>;
796
+ email_verified: z.ZodOptional<z.ZodBoolean>;
797
+ image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
798
+ statuses: z.ZodOptional<z.ZodArray<z.ZodObject<{
799
+ system: z.ZodString;
800
+ value: z.ZodString;
801
+ display: z.ZodOptional<z.ZodString>;
802
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
803
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
804
+ }, "strip", z.ZodTypeAny, {
805
+ value: string;
806
+ system: string;
807
+ valid?: string | undefined;
808
+ display?: string | undefined;
809
+ tags?: string[] | undefined;
810
+ }, {
811
+ value: string;
812
+ system: string;
813
+ valid?: string | undefined;
814
+ display?: string | undefined;
815
+ tags?: string[] | undefined;
816
+ }>, "atleastone">>;
817
+ identifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
818
+ system: z.ZodString;
819
+ value: z.ZodString;
820
+ display: z.ZodOptional<z.ZodString>;
821
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
822
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
823
+ }, "strip", z.ZodTypeAny, {
824
+ value: string;
825
+ system: string;
826
+ valid?: string | undefined;
827
+ display?: string | undefined;
828
+ tags?: string[] | undefined;
829
+ }, {
830
+ value: string;
831
+ system: string;
832
+ valid?: string | undefined;
833
+ display?: string | undefined;
834
+ tags?: string[] | undefined;
835
+ }>, "atleastone">>;
836
+ demographic: z.ZodOptional<z.ZodObject<{
837
+ sex: z.ZodObject<{
838
+ system: z.ZodString;
839
+ value: z.ZodString;
840
+ display: z.ZodOptional<z.ZodString>;
841
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
842
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
843
+ }, "strip", z.ZodTypeAny, {
844
+ value: string;
845
+ system: string;
846
+ valid?: string | undefined;
847
+ display?: string | undefined;
848
+ tags?: string[] | undefined;
849
+ }, {
850
+ value: string;
851
+ system: string;
852
+ valid?: string | undefined;
853
+ display?: string | undefined;
854
+ tags?: string[] | undefined;
855
+ }>;
856
+ religion: z.ZodObject<{
857
+ system: z.ZodString;
858
+ value: z.ZodString;
859
+ display: z.ZodOptional<z.ZodString>;
860
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
861
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ value: string;
864
+ system: string;
865
+ valid?: string | undefined;
866
+ display?: string | undefined;
867
+ tags?: string[] | undefined;
868
+ }, {
869
+ value: string;
870
+ system: string;
871
+ valid?: string | undefined;
872
+ display?: string | undefined;
873
+ tags?: string[] | undefined;
874
+ }>;
875
+ ethnicity: z.ZodOptional<z.ZodString>;
876
+ marital_status: z.ZodObject<{
877
+ system: z.ZodString;
878
+ value: z.ZodString;
879
+ display: z.ZodOptional<z.ZodString>;
880
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
881
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
882
+ }, "strip", z.ZodTypeAny, {
883
+ value: string;
884
+ system: string;
885
+ valid?: string | undefined;
886
+ display?: string | undefined;
887
+ tags?: string[] | undefined;
888
+ }, {
889
+ value: string;
890
+ system: string;
891
+ valid?: string | undefined;
892
+ display?: string | undefined;
893
+ tags?: string[] | undefined;
894
+ }>;
895
+ date_of_birth: z.ZodString;
896
+ place_of_birth: z.ZodOptional<z.ZodString>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ sex: {
899
+ value: string;
900
+ system: string;
901
+ valid?: string | undefined;
902
+ display?: string | undefined;
903
+ tags?: string[] | undefined;
904
+ };
905
+ religion: {
906
+ value: string;
907
+ system: string;
908
+ valid?: string | undefined;
909
+ display?: string | undefined;
910
+ tags?: string[] | undefined;
911
+ };
912
+ marital_status: {
913
+ value: string;
914
+ system: string;
915
+ valid?: string | undefined;
916
+ display?: string | undefined;
917
+ tags?: string[] | undefined;
918
+ };
919
+ date_of_birth: string;
920
+ ethnicity?: string | undefined;
921
+ place_of_birth?: string | undefined;
922
+ }, {
923
+ sex: {
924
+ value: string;
925
+ system: string;
926
+ valid?: string | undefined;
927
+ display?: string | undefined;
928
+ tags?: string[] | undefined;
929
+ };
930
+ religion: {
931
+ value: string;
932
+ system: string;
933
+ valid?: string | undefined;
934
+ display?: string | undefined;
935
+ tags?: string[] | undefined;
936
+ };
937
+ marital_status: {
938
+ value: string;
939
+ system: string;
940
+ valid?: string | undefined;
941
+ display?: string | undefined;
942
+ tags?: string[] | undefined;
943
+ };
944
+ date_of_birth: string;
945
+ ethnicity?: string | undefined;
946
+ place_of_birth?: string | undefined;
947
+ }>>;
948
+ contacts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
949
+ system: z.ZodString;
950
+ value: z.ZodString;
951
+ display: z.ZodOptional<z.ZodString>;
952
+ valid: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
953
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
954
+ }, "strip", z.ZodTypeAny, {
955
+ value: string;
956
+ system: string;
957
+ valid?: string | undefined;
958
+ display?: string | undefined;
959
+ tags?: string[] | undefined;
960
+ }, {
961
+ value: string;
962
+ system: string;
963
+ valid?: string | undefined;
964
+ display?: string | undefined;
965
+ tags?: string[] | undefined;
966
+ }>, "many">>>;
967
+ settings_id: z.ZodOptional<z.ZodString>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ full_name?: string | undefined;
970
+ first_name?: string | undefined;
971
+ middle_name?: string | undefined;
972
+ last_name?: string | undefined;
973
+ salutation?: string | undefined;
974
+ title?: string | undefined;
975
+ email?: string | undefined;
976
+ email_verified?: boolean | undefined;
977
+ image?: string | undefined;
978
+ statuses?: [{
979
+ value: string;
980
+ system: string;
981
+ valid?: string | undefined;
982
+ display?: string | undefined;
983
+ tags?: string[] | undefined;
984
+ }, ...{
985
+ value: string;
986
+ system: string;
987
+ valid?: string | undefined;
988
+ display?: string | undefined;
989
+ tags?: string[] | undefined;
990
+ }[]] | undefined;
991
+ identifiers?: [{
992
+ value: string;
993
+ system: string;
994
+ valid?: string | undefined;
995
+ display?: string | undefined;
996
+ tags?: string[] | undefined;
997
+ }, ...{
998
+ value: string;
999
+ system: string;
1000
+ valid?: string | undefined;
1001
+ display?: string | undefined;
1002
+ tags?: string[] | undefined;
1003
+ }[]] | undefined;
1004
+ demographic?: {
1005
+ sex: {
1006
+ value: string;
1007
+ system: string;
1008
+ valid?: string | undefined;
1009
+ display?: string | undefined;
1010
+ tags?: string[] | undefined;
1011
+ };
1012
+ religion: {
1013
+ value: string;
1014
+ system: string;
1015
+ valid?: string | undefined;
1016
+ display?: string | undefined;
1017
+ tags?: string[] | undefined;
1018
+ };
1019
+ marital_status: {
1020
+ value: string;
1021
+ system: string;
1022
+ valid?: string | undefined;
1023
+ display?: string | undefined;
1024
+ tags?: string[] | undefined;
1025
+ };
1026
+ date_of_birth: string;
1027
+ ethnicity?: string | undefined;
1028
+ place_of_birth?: string | undefined;
1029
+ } | undefined;
1030
+ contacts?: {
1031
+ value: string;
1032
+ system: string;
1033
+ valid?: string | undefined;
1034
+ display?: string | undefined;
1035
+ tags?: string[] | undefined;
1036
+ }[] | undefined;
1037
+ settings_id?: string | undefined;
1038
+ }, {
1039
+ full_name?: string | undefined;
1040
+ first_name?: string | undefined;
1041
+ middle_name?: string | undefined;
1042
+ last_name?: string | undefined;
1043
+ salutation?: string | undefined;
1044
+ title?: string | undefined;
1045
+ email?: string | undefined;
1046
+ email_verified?: boolean | undefined;
1047
+ image?: string | undefined;
1048
+ statuses?: [{
1049
+ value: string;
1050
+ system: string;
1051
+ valid?: string | undefined;
1052
+ display?: string | undefined;
1053
+ tags?: string[] | undefined;
1054
+ }, ...{
1055
+ value: string;
1056
+ system: string;
1057
+ valid?: string | undefined;
1058
+ display?: string | undefined;
1059
+ tags?: string[] | undefined;
1060
+ }[]] | undefined;
1061
+ identifiers?: [{
1062
+ value: string;
1063
+ system: string;
1064
+ valid?: string | undefined;
1065
+ display?: string | undefined;
1066
+ tags?: string[] | undefined;
1067
+ }, ...{
1068
+ value: string;
1069
+ system: string;
1070
+ valid?: string | undefined;
1071
+ display?: string | undefined;
1072
+ tags?: string[] | undefined;
1073
+ }[]] | undefined;
1074
+ demographic?: {
1075
+ sex: {
1076
+ value: string;
1077
+ system: string;
1078
+ valid?: string | undefined;
1079
+ display?: string | undefined;
1080
+ tags?: string[] | undefined;
1081
+ };
1082
+ religion: {
1083
+ value: string;
1084
+ system: string;
1085
+ valid?: string | undefined;
1086
+ display?: string | undefined;
1087
+ tags?: string[] | undefined;
1088
+ };
1089
+ marital_status: {
1090
+ value: string;
1091
+ system: string;
1092
+ valid?: string | undefined;
1093
+ display?: string | undefined;
1094
+ tags?: string[] | undefined;
1095
+ };
1096
+ date_of_birth: string;
1097
+ ethnicity?: string | undefined;
1098
+ place_of_birth?: string | undefined;
1099
+ } | undefined;
1100
+ contacts?: {
1101
+ value: string;
1102
+ system: string;
1103
+ valid?: string | undefined;
1104
+ display?: string | undefined;
1105
+ tags?: string[] | undefined;
1106
+ }[] | undefined;
1107
+ settings_id?: string | undefined;
1108
+ }>;
1109
+ export type UpdateUserInput = z.infer<typeof updateUserSchema>;
1110
+ //# sourceMappingURL=user.d.ts.map