@opencrvs/toolkit 1.9.16-rc.5b72bdc → 1.9.16-rc.8c14625

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.
@@ -9,7 +9,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9
9
  } | {
10
10
  type: "system";
11
11
  id: string;
12
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
12
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
13
13
  primaryOfficeId?: undefined;
14
14
  signature?: undefined;
15
15
  };
@@ -30,7 +30,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
30
30
  } | {
31
31
  type: "system";
32
32
  id: string;
33
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
33
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
34
34
  primaryOfficeId?: undefined;
35
35
  signature?: undefined;
36
36
  };
@@ -51,7 +51,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
51
51
  } | {
52
52
  type: "system";
53
53
  id: string;
54
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
54
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
55
55
  primaryOfficeId?: undefined;
56
56
  signature?: undefined;
57
57
  };
@@ -75,6 +75,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
75
75
  fields: import("../commons").FieldConfig[];
76
76
  requireCompletionToContinue: boolean;
77
77
  conditional?: import("../commons").JSONSchema | undefined;
78
+ showClearButton?: boolean | undefined;
78
79
  }[];
79
80
  };
80
81
  actions: ({
@@ -141,6 +142,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
141
142
  fields: import("../commons").FieldConfig[];
142
143
  requireCompletionToContinue: boolean;
143
144
  conditional?: import("../commons").JSONSchema | undefined;
145
+ showClearButton?: boolean | undefined;
144
146
  } | {
145
147
  type: "VERIFICATION";
146
148
  id: string;
@@ -160,6 +162,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
160
162
  fields: import("../commons").FieldConfig[];
161
163
  requireCompletionToContinue: boolean;
162
164
  conditional?: import("../commons").JSONSchema | undefined;
165
+ showClearButton?: boolean | undefined;
163
166
  })[];
164
167
  };
165
168
  } | {
@@ -174,6 +177,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
174
177
  fields: import("../commons").FieldConfig[];
175
178
  requireCompletionToContinue: boolean;
176
179
  conditional?: import("../commons").JSONSchema | undefined;
180
+ showClearButton?: boolean | undefined;
177
181
  } | {
178
182
  type: "VERIFICATION";
179
183
  id: string;
@@ -193,6 +197,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
193
197
  fields: import("../commons").FieldConfig[];
194
198
  requireCompletionToContinue: boolean;
195
199
  conditional?: import("../commons").JSONSchema | undefined;
200
+ showClearButton?: boolean | undefined;
196
201
  })[];
197
202
  };
198
203
  } | {
@@ -328,9 +333,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
328
333
  createdByUserType: "system" | "user";
329
334
  createdAt: string;
330
335
  createdBy: string;
331
- createdByRole: string;
332
336
  declaration: Record<string, import("../commons").FieldUpdateValue>;
333
337
  assignedTo: string;
338
+ createdByRole?: string | undefined;
334
339
  createdBySignature?: string | null | undefined;
335
340
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
336
341
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -343,8 +348,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
343
348
  createdByUserType: "system" | "user";
344
349
  createdAt: string;
345
350
  createdBy: string;
346
- createdByRole: string;
347
351
  declaration: Record<string, import("../commons").FieldUpdateValue>;
352
+ createdByRole?: string | undefined;
348
353
  createdBySignature?: string | null | undefined;
349
354
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
350
355
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -357,8 +362,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
357
362
  createdByUserType: "system" | "user";
358
363
  createdAt: string;
359
364
  createdBy: string;
360
- createdByRole: string;
361
365
  declaration: Record<string, import("../commons").FieldUpdateValue>;
366
+ createdByRole?: string | undefined;
362
367
  createdBySignature?: string | null | undefined;
363
368
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
364
369
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -372,8 +377,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
372
377
  createdByUserType: "system" | "user";
373
378
  createdAt: string;
374
379
  createdBy: string;
375
- createdByRole: string;
376
380
  declaration: Record<string, import("../commons").FieldUpdateValue>;
381
+ createdByRole?: string | undefined;
377
382
  createdBySignature?: string | null | undefined;
378
383
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
379
384
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -386,8 +391,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
386
391
  createdByUserType: "system" | "user";
387
392
  createdAt: string;
388
393
  createdBy: string;
389
- createdByRole: string;
390
394
  declaration: Record<string, import("../commons").FieldUpdateValue>;
395
+ createdByRole?: string | undefined;
391
396
  createdBySignature?: string | null | undefined;
392
397
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
393
398
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -403,8 +408,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
403
408
  createdByUserType: "system" | "user";
404
409
  createdAt: string;
405
410
  createdBy: string;
406
- createdByRole: string;
407
411
  declaration: Record<string, import("../commons").FieldUpdateValue>;
412
+ createdByRole?: string | undefined;
408
413
  createdBySignature?: string | null | undefined;
409
414
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
410
415
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -423,8 +428,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
423
428
  createdByUserType: "system" | "user";
424
429
  createdAt: string;
425
430
  createdBy: string;
426
- createdByRole: string;
427
431
  declaration: Record<string, import("../commons").FieldUpdateValue>;
432
+ createdByRole?: string | undefined;
428
433
  createdBySignature?: string | null | undefined;
429
434
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
430
435
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -437,8 +442,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
437
442
  createdByUserType: "system" | "user";
438
443
  createdAt: string;
439
444
  createdBy: string;
440
- createdByRole: string;
441
445
  declaration: Record<string, import("../commons").FieldUpdateValue>;
446
+ createdByRole?: string | undefined;
442
447
  createdBySignature?: string | null | undefined;
443
448
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
444
449
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -451,11 +456,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
451
456
  createdByUserType: "system" | "user";
452
457
  createdAt: string;
453
458
  createdBy: string;
454
- createdByRole: string;
455
459
  declaration: Record<string, import("../commons").FieldUpdateValue>;
456
460
  content?: {
457
461
  duplicateOf: string & import("zod").BRAND<"UUID">;
458
462
  } | undefined;
463
+ createdByRole?: string | undefined;
459
464
  createdBySignature?: string | null | undefined;
460
465
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
461
466
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -471,8 +476,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
471
476
  createdByUserType: "system" | "user";
472
477
  createdAt: string;
473
478
  createdBy: string;
474
- createdByRole: string;
475
479
  declaration: Record<string, import("../commons").FieldUpdateValue>;
480
+ createdByRole?: string | undefined;
476
481
  createdBySignature?: string | null | undefined;
477
482
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
478
483
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -485,8 +490,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
485
490
  createdByUserType: "system" | "user";
486
491
  createdAt: string;
487
492
  createdBy: string;
488
- createdByRole: string;
489
493
  declaration: Record<string, import("../commons").FieldUpdateValue>;
494
+ createdByRole?: string | undefined;
490
495
  createdBySignature?: string | null | undefined;
491
496
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
492
497
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -499,8 +504,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
499
504
  createdByUserType: "system" | "user";
500
505
  createdAt: string;
501
506
  createdBy: string;
502
- createdByRole: string;
503
507
  declaration: Record<string, import("../commons").FieldUpdateValue>;
508
+ createdByRole?: string | undefined;
504
509
  createdBySignature?: string | null | undefined;
505
510
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
506
511
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -513,11 +518,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
513
518
  createdByUserType: "system" | "user";
514
519
  createdAt: string;
515
520
  createdBy: string;
516
- createdByRole: string;
517
521
  declaration: Record<string, import("../commons").FieldUpdateValue>;
518
522
  content?: {
519
523
  templateId?: string | undefined;
520
524
  } | null | undefined;
525
+ createdByRole?: string | undefined;
521
526
  createdBySignature?: string | null | undefined;
522
527
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
523
528
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -530,8 +535,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
530
535
  createdByUserType: "system" | "user";
531
536
  createdAt: string;
532
537
  createdBy: string;
533
- createdByRole: string;
534
538
  declaration: Record<string, import("../commons").FieldUpdateValue>;
539
+ createdByRole?: string | undefined;
535
540
  createdBySignature?: string | null | undefined;
536
541
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
537
542
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -544,9 +549,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
544
549
  createdByUserType: "system" | "user";
545
550
  createdAt: string;
546
551
  createdBy: string;
547
- createdByRole: string;
548
552
  declaration: Record<string, import("../commons").FieldUpdateValue>;
549
553
  requestId: string;
554
+ createdByRole?: string | undefined;
550
555
  createdBySignature?: string | null | undefined;
551
556
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
552
557
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -562,9 +567,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
562
567
  createdByUserType: "system" | "user";
563
568
  createdAt: string;
564
569
  createdBy: string;
565
- createdByRole: string;
566
570
  declaration: Record<string, import("../commons").FieldUpdateValue>;
567
571
  requestId: string;
572
+ createdByRole?: string | undefined;
568
573
  createdBySignature?: string | null | undefined;
569
574
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
570
575
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -577,8 +582,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
577
582
  createdByUserType: "system" | "user";
578
583
  createdAt: string;
579
584
  createdBy: string;
580
- createdByRole: string;
581
585
  declaration: Record<string, import("../commons").FieldUpdateValue>;
586
+ createdByRole?: string | undefined;
582
587
  createdBySignature?: string | null | undefined;
583
588
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
584
589
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -591,7 +596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
591
596
  createdByUserType: "system" | "user";
592
597
  createdAt: string;
593
598
  createdBy: string;
594
- createdByRole: string;
599
+ createdByRole?: string | undefined;
595
600
  createdBySignature?: string | null | undefined;
596
601
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
597
602
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -615,9 +620,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
615
620
  createdByUserType: "system" | "user";
616
621
  createdAt: string;
617
622
  createdBy: string;
618
- createdByRole: string;
619
623
  declaration: Record<string, import("../commons").FieldUpdateValue>;
620
624
  assignedTo: string;
625
+ createdByRole?: string | undefined;
621
626
  createdBySignature?: string | null | undefined;
622
627
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
623
628
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -630,8 +635,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
630
635
  createdByUserType: "system" | "user";
631
636
  createdAt: string;
632
637
  createdBy: string;
633
- createdByRole: string;
634
638
  declaration: Record<string, import("../commons").FieldUpdateValue>;
639
+ createdByRole?: string | undefined;
635
640
  createdBySignature?: string | null | undefined;
636
641
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
637
642
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -644,8 +649,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
644
649
  createdByUserType: "system" | "user";
645
650
  createdAt: string;
646
651
  createdBy: string;
647
- createdByRole: string;
648
652
  declaration: Record<string, import("../commons").FieldUpdateValue>;
653
+ createdByRole?: string | undefined;
649
654
  createdBySignature?: string | null | undefined;
650
655
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
651
656
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -659,8 +664,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
659
664
  createdByUserType: "system" | "user";
660
665
  createdAt: string;
661
666
  createdBy: string;
662
- createdByRole: string;
663
667
  declaration: Record<string, import("../commons").FieldUpdateValue>;
668
+ createdByRole?: string | undefined;
664
669
  createdBySignature?: string | null | undefined;
665
670
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
666
671
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -673,8 +678,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
673
678
  createdByUserType: "system" | "user";
674
679
  createdAt: string;
675
680
  createdBy: string;
676
- createdByRole: string;
677
681
  declaration: Record<string, import("../commons").FieldUpdateValue>;
682
+ createdByRole?: string | undefined;
678
683
  createdBySignature?: string | null | undefined;
679
684
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
680
685
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -690,8 +695,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
690
695
  createdByUserType: "system" | "user";
691
696
  createdAt: string;
692
697
  createdBy: string;
693
- createdByRole: string;
694
698
  declaration: Record<string, import("../commons").FieldUpdateValue>;
699
+ createdByRole?: string | undefined;
695
700
  createdBySignature?: string | null | undefined;
696
701
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
697
702
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -710,8 +715,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
710
715
  createdByUserType: "system" | "user";
711
716
  createdAt: string;
712
717
  createdBy: string;
713
- createdByRole: string;
714
718
  declaration: Record<string, import("../commons").FieldUpdateValue>;
719
+ createdByRole?: string | undefined;
715
720
  createdBySignature?: string | null | undefined;
716
721
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
717
722
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -724,8 +729,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
724
729
  createdByUserType: "system" | "user";
725
730
  createdAt: string;
726
731
  createdBy: string;
727
- createdByRole: string;
728
732
  declaration: Record<string, import("../commons").FieldUpdateValue>;
733
+ createdByRole?: string | undefined;
729
734
  createdBySignature?: string | null | undefined;
730
735
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
731
736
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -738,11 +743,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
738
743
  createdByUserType: "system" | "user";
739
744
  createdAt: string;
740
745
  createdBy: string;
741
- createdByRole: string;
742
746
  declaration: Record<string, import("../commons").FieldUpdateValue>;
743
747
  content?: {
744
748
  duplicateOf: string & import("zod").BRAND<"UUID">;
745
749
  } | undefined;
750
+ createdByRole?: string | undefined;
746
751
  createdBySignature?: string | null | undefined;
747
752
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
748
753
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -758,8 +763,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
758
763
  createdByUserType: "system" | "user";
759
764
  createdAt: string;
760
765
  createdBy: string;
761
- createdByRole: string;
762
766
  declaration: Record<string, import("../commons").FieldUpdateValue>;
767
+ createdByRole?: string | undefined;
763
768
  createdBySignature?: string | null | undefined;
764
769
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
765
770
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -772,8 +777,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
772
777
  createdByUserType: "system" | "user";
773
778
  createdAt: string;
774
779
  createdBy: string;
775
- createdByRole: string;
776
780
  declaration: Record<string, import("../commons").FieldUpdateValue>;
781
+ createdByRole?: string | undefined;
777
782
  createdBySignature?: string | null | undefined;
778
783
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
779
784
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -786,8 +791,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
786
791
  createdByUserType: "system" | "user";
787
792
  createdAt: string;
788
793
  createdBy: string;
789
- createdByRole: string;
790
794
  declaration: Record<string, import("../commons").FieldUpdateValue>;
795
+ createdByRole?: string | undefined;
791
796
  createdBySignature?: string | null | undefined;
792
797
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
793
798
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -800,11 +805,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
800
805
  createdByUserType: "system" | "user";
801
806
  createdAt: string;
802
807
  createdBy: string;
803
- createdByRole: string;
804
808
  declaration: Record<string, import("../commons").FieldUpdateValue>;
805
809
  content?: {
806
810
  templateId?: string | undefined;
807
811
  } | null | undefined;
812
+ createdByRole?: string | undefined;
808
813
  createdBySignature?: string | null | undefined;
809
814
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
810
815
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -817,8 +822,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
817
822
  createdByUserType: "system" | "user";
818
823
  createdAt: string;
819
824
  createdBy: string;
820
- createdByRole: string;
821
825
  declaration: Record<string, import("../commons").FieldUpdateValue>;
826
+ createdByRole?: string | undefined;
822
827
  createdBySignature?: string | null | undefined;
823
828
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
824
829
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -831,9 +836,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
831
836
  createdByUserType: "system" | "user";
832
837
  createdAt: string;
833
838
  createdBy: string;
834
- createdByRole: string;
835
839
  declaration: Record<string, import("../commons").FieldUpdateValue>;
836
840
  requestId: string;
841
+ createdByRole?: string | undefined;
837
842
  createdBySignature?: string | null | undefined;
838
843
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
839
844
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -849,9 +854,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
849
854
  createdByUserType: "system" | "user";
850
855
  createdAt: string;
851
856
  createdBy: string;
852
- createdByRole: string;
853
857
  declaration: Record<string, import("../commons").FieldUpdateValue>;
854
858
  requestId: string;
859
+ createdByRole?: string | undefined;
855
860
  createdBySignature?: string | null | undefined;
856
861
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
857
862
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -864,8 +869,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
864
869
  createdByUserType: "system" | "user";
865
870
  createdAt: string;
866
871
  createdBy: string;
867
- createdByRole: string;
868
872
  declaration: Record<string, import("../commons").FieldUpdateValue>;
873
+ createdByRole?: string | undefined;
869
874
  createdBySignature?: string | null | undefined;
870
875
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
871
876
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -878,7 +883,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
878
883
  createdByUserType: "system" | "user";
879
884
  createdAt: string;
880
885
  createdBy: string;
881
- createdByRole: string;
886
+ createdByRole?: string | undefined;
882
887
  createdBySignature?: string | null | undefined;
883
888
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
884
889
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -904,9 +909,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
904
909
  createdByUserType: "system" | "user";
905
910
  createdAt: string;
906
911
  createdBy: string;
907
- createdByRole: string;
908
912
  declaration: Record<string, import("../commons").FieldUpdateValue>;
909
913
  assignedTo: string;
914
+ createdByRole?: string | undefined;
910
915
  createdBySignature?: string | null | undefined;
911
916
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
912
917
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -919,8 +924,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
919
924
  createdByUserType: "system" | "user";
920
925
  createdAt: string;
921
926
  createdBy: string;
922
- createdByRole: string;
923
927
  declaration: Record<string, import("../commons").FieldUpdateValue>;
928
+ createdByRole?: string | undefined;
924
929
  createdBySignature?: string | null | undefined;
925
930
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
926
931
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -933,8 +938,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
933
938
  createdByUserType: "system" | "user";
934
939
  createdAt: string;
935
940
  createdBy: string;
936
- createdByRole: string;
937
941
  declaration: Record<string, import("../commons").FieldUpdateValue>;
942
+ createdByRole?: string | undefined;
938
943
  createdBySignature?: string | null | undefined;
939
944
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
940
945
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -948,8 +953,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
948
953
  createdByUserType: "system" | "user";
949
954
  createdAt: string;
950
955
  createdBy: string;
951
- createdByRole: string;
952
956
  declaration: Record<string, import("../commons").FieldUpdateValue>;
957
+ createdByRole?: string | undefined;
953
958
  createdBySignature?: string | null | undefined;
954
959
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
955
960
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -962,8 +967,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
962
967
  createdByUserType: "system" | "user";
963
968
  createdAt: string;
964
969
  createdBy: string;
965
- createdByRole: string;
966
970
  declaration: Record<string, import("../commons").FieldUpdateValue>;
971
+ createdByRole?: string | undefined;
967
972
  createdBySignature?: string | null | undefined;
968
973
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
969
974
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -979,8 +984,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
979
984
  createdByUserType: "system" | "user";
980
985
  createdAt: string;
981
986
  createdBy: string;
982
- createdByRole: string;
983
987
  declaration: Record<string, import("../commons").FieldUpdateValue>;
988
+ createdByRole?: string | undefined;
984
989
  createdBySignature?: string | null | undefined;
985
990
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
986
991
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -999,8 +1004,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
999
1004
  createdByUserType: "system" | "user";
1000
1005
  createdAt: string;
1001
1006
  createdBy: string;
1002
- createdByRole: string;
1003
1007
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1008
+ createdByRole?: string | undefined;
1004
1009
  createdBySignature?: string | null | undefined;
1005
1010
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1006
1011
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1013,8 +1018,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1013
1018
  createdByUserType: "system" | "user";
1014
1019
  createdAt: string;
1015
1020
  createdBy: string;
1016
- createdByRole: string;
1017
1021
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1022
+ createdByRole?: string | undefined;
1018
1023
  createdBySignature?: string | null | undefined;
1019
1024
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1020
1025
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1027,11 +1032,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1027
1032
  createdByUserType: "system" | "user";
1028
1033
  createdAt: string;
1029
1034
  createdBy: string;
1030
- createdByRole: string;
1031
1035
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1032
1036
  content?: {
1033
1037
  duplicateOf: string & import("zod").BRAND<"UUID">;
1034
1038
  } | undefined;
1039
+ createdByRole?: string | undefined;
1035
1040
  createdBySignature?: string | null | undefined;
1036
1041
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1037
1042
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1047,8 +1052,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1047
1052
  createdByUserType: "system" | "user";
1048
1053
  createdAt: string;
1049
1054
  createdBy: string;
1050
- createdByRole: string;
1051
1055
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1056
+ createdByRole?: string | undefined;
1052
1057
  createdBySignature?: string | null | undefined;
1053
1058
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1054
1059
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1061,8 +1066,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1061
1066
  createdByUserType: "system" | "user";
1062
1067
  createdAt: string;
1063
1068
  createdBy: string;
1064
- createdByRole: string;
1065
1069
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1070
+ createdByRole?: string | undefined;
1066
1071
  createdBySignature?: string | null | undefined;
1067
1072
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1068
1073
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1075,8 +1080,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1075
1080
  createdByUserType: "system" | "user";
1076
1081
  createdAt: string;
1077
1082
  createdBy: string;
1078
- createdByRole: string;
1079
1083
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1084
+ createdByRole?: string | undefined;
1080
1085
  createdBySignature?: string | null | undefined;
1081
1086
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1082
1087
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1089,11 +1094,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1089
1094
  createdByUserType: "system" | "user";
1090
1095
  createdAt: string;
1091
1096
  createdBy: string;
1092
- createdByRole: string;
1093
1097
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1094
1098
  content?: {
1095
1099
  templateId?: string | undefined;
1096
1100
  } | null | undefined;
1101
+ createdByRole?: string | undefined;
1097
1102
  createdBySignature?: string | null | undefined;
1098
1103
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1099
1104
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1106,8 +1111,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1106
1111
  createdByUserType: "system" | "user";
1107
1112
  createdAt: string;
1108
1113
  createdBy: string;
1109
- createdByRole: string;
1110
1114
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1115
+ createdByRole?: string | undefined;
1111
1116
  createdBySignature?: string | null | undefined;
1112
1117
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1113
1118
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1120,9 +1125,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1120
1125
  createdByUserType: "system" | "user";
1121
1126
  createdAt: string;
1122
1127
  createdBy: string;
1123
- createdByRole: string;
1124
1128
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1125
1129
  requestId: string;
1130
+ createdByRole?: string | undefined;
1126
1131
  createdBySignature?: string | null | undefined;
1127
1132
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1128
1133
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1138,9 +1143,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1138
1143
  createdByUserType: "system" | "user";
1139
1144
  createdAt: string;
1140
1145
  createdBy: string;
1141
- createdByRole: string;
1142
1146
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1143
1147
  requestId: string;
1148
+ createdByRole?: string | undefined;
1144
1149
  createdBySignature?: string | null | undefined;
1145
1150
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1146
1151
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1153,8 +1158,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1153
1158
  createdByUserType: "system" | "user";
1154
1159
  createdAt: string;
1155
1160
  createdBy: string;
1156
- createdByRole: string;
1157
1161
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1162
+ createdByRole?: string | undefined;
1158
1163
  createdBySignature?: string | null | undefined;
1159
1164
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1160
1165
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1167,7 +1172,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1167
1172
  createdByUserType: "system" | "user";
1168
1173
  createdAt: string;
1169
1174
  createdBy: string;
1170
- createdByRole: string;
1175
+ createdByRole?: string | undefined;
1171
1176
  createdBySignature?: string | null | undefined;
1172
1177
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1173
1178
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1195,7 +1200,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1195
1200
  } | {
1196
1201
  type: "system";
1197
1202
  id: string;
1198
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1203
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1199
1204
  primaryOfficeId?: undefined;
1200
1205
  signature?: undefined;
1201
1206
  };
@@ -1219,8 +1224,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1219
1224
  createdByUserType: "system" | "user";
1220
1225
  createdAt: string;
1221
1226
  createdBy: string;
1222
- createdByRole: string;
1223
1227
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1228
+ createdByRole?: string | undefined;
1224
1229
  createdBySignature?: string | null | undefined;
1225
1230
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1226
1231
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1254,8 +1259,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1254
1259
  createdByUserType: "system" | "user";
1255
1260
  createdAt: string;
1256
1261
  createdBy: string;
1257
- createdByRole: string;
1258
1262
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1263
+ createdByRole?: string | undefined;
1259
1264
  createdBySignature?: string | null | undefined;
1260
1265
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1261
1266
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1275,7 +1280,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1275
1280
  } | {
1276
1281
  type: "system";
1277
1282
  id: string;
1278
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1283
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1279
1284
  primaryOfficeId?: undefined;
1280
1285
  signature?: undefined;
1281
1286
  };
@@ -1296,7 +1301,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1296
1301
  } | {
1297
1302
  type: "system";
1298
1303
  id: string;
1299
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1304
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1300
1305
  primaryOfficeId?: undefined;
1301
1306
  signature?: undefined;
1302
1307
  };
@@ -1570,7 +1575,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1570
1575
  } | {
1571
1576
  type: "system";
1572
1577
  id: string;
1573
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1578
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1574
1579
  primaryOfficeId?: undefined;
1575
1580
  signature?: undefined;
1576
1581
  };
@@ -1607,9 +1612,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1607
1612
  createdByUserType: "system" | "user";
1608
1613
  createdAt: string;
1609
1614
  createdBy: string;
1610
- createdByRole: string;
1611
1615
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1612
1616
  assignedTo: string;
1617
+ createdByRole?: string | undefined;
1613
1618
  createdBySignature?: string | null | undefined;
1614
1619
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1615
1620
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1622,8 +1627,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1622
1627
  createdByUserType: "system" | "user";
1623
1628
  createdAt: string;
1624
1629
  createdBy: string;
1625
- createdByRole: string;
1626
1630
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1631
+ createdByRole?: string | undefined;
1627
1632
  createdBySignature?: string | null | undefined;
1628
1633
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1629
1634
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1636,8 +1641,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1636
1641
  createdByUserType: "system" | "user";
1637
1642
  createdAt: string;
1638
1643
  createdBy: string;
1639
- createdByRole: string;
1640
1644
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1645
+ createdByRole?: string | undefined;
1641
1646
  createdBySignature?: string | null | undefined;
1642
1647
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1643
1648
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1651,8 +1656,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1651
1656
  createdByUserType: "system" | "user";
1652
1657
  createdAt: string;
1653
1658
  createdBy: string;
1654
- createdByRole: string;
1655
1659
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1660
+ createdByRole?: string | undefined;
1656
1661
  createdBySignature?: string | null | undefined;
1657
1662
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1658
1663
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1665,8 +1670,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1665
1670
  createdByUserType: "system" | "user";
1666
1671
  createdAt: string;
1667
1672
  createdBy: string;
1668
- createdByRole: string;
1669
1673
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1674
+ createdByRole?: string | undefined;
1670
1675
  createdBySignature?: string | null | undefined;
1671
1676
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1672
1677
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1682,8 +1687,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1682
1687
  createdByUserType: "system" | "user";
1683
1688
  createdAt: string;
1684
1689
  createdBy: string;
1685
- createdByRole: string;
1686
1690
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1691
+ createdByRole?: string | undefined;
1687
1692
  createdBySignature?: string | null | undefined;
1688
1693
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1689
1694
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1702,8 +1707,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1702
1707
  createdByUserType: "system" | "user";
1703
1708
  createdAt: string;
1704
1709
  createdBy: string;
1705
- createdByRole: string;
1706
1710
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1711
+ createdByRole?: string | undefined;
1707
1712
  createdBySignature?: string | null | undefined;
1708
1713
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1709
1714
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1716,8 +1721,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1716
1721
  createdByUserType: "system" | "user";
1717
1722
  createdAt: string;
1718
1723
  createdBy: string;
1719
- createdByRole: string;
1720
1724
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1725
+ createdByRole?: string | undefined;
1721
1726
  createdBySignature?: string | null | undefined;
1722
1727
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1723
1728
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1730,11 +1735,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1730
1735
  createdByUserType: "system" | "user";
1731
1736
  createdAt: string;
1732
1737
  createdBy: string;
1733
- createdByRole: string;
1734
1738
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1735
1739
  content?: {
1736
1740
  duplicateOf: string & import("zod").BRAND<"UUID">;
1737
1741
  } | undefined;
1742
+ createdByRole?: string | undefined;
1738
1743
  createdBySignature?: string | null | undefined;
1739
1744
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1740
1745
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1750,8 +1755,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1750
1755
  createdByUserType: "system" | "user";
1751
1756
  createdAt: string;
1752
1757
  createdBy: string;
1753
- createdByRole: string;
1754
1758
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1759
+ createdByRole?: string | undefined;
1755
1760
  createdBySignature?: string | null | undefined;
1756
1761
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1757
1762
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1764,8 +1769,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1764
1769
  createdByUserType: "system" | "user";
1765
1770
  createdAt: string;
1766
1771
  createdBy: string;
1767
- createdByRole: string;
1768
1772
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1773
+ createdByRole?: string | undefined;
1769
1774
  createdBySignature?: string | null | undefined;
1770
1775
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1771
1776
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1778,8 +1783,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1778
1783
  createdByUserType: "system" | "user";
1779
1784
  createdAt: string;
1780
1785
  createdBy: string;
1781
- createdByRole: string;
1782
1786
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1787
+ createdByRole?: string | undefined;
1783
1788
  createdBySignature?: string | null | undefined;
1784
1789
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1785
1790
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1792,11 +1797,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1792
1797
  createdByUserType: "system" | "user";
1793
1798
  createdAt: string;
1794
1799
  createdBy: string;
1795
- createdByRole: string;
1796
1800
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1797
1801
  content?: {
1798
1802
  templateId?: string | undefined;
1799
1803
  } | null | undefined;
1804
+ createdByRole?: string | undefined;
1800
1805
  createdBySignature?: string | null | undefined;
1801
1806
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1802
1807
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1809,8 +1814,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1809
1814
  createdByUserType: "system" | "user";
1810
1815
  createdAt: string;
1811
1816
  createdBy: string;
1812
- createdByRole: string;
1813
1817
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1818
+ createdByRole?: string | undefined;
1814
1819
  createdBySignature?: string | null | undefined;
1815
1820
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1816
1821
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1823,9 +1828,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1823
1828
  createdByUserType: "system" | "user";
1824
1829
  createdAt: string;
1825
1830
  createdBy: string;
1826
- createdByRole: string;
1827
1831
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1828
1832
  requestId: string;
1833
+ createdByRole?: string | undefined;
1829
1834
  createdBySignature?: string | null | undefined;
1830
1835
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1831
1836
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1841,9 +1846,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1841
1846
  createdByUserType: "system" | "user";
1842
1847
  createdAt: string;
1843
1848
  createdBy: string;
1844
- createdByRole: string;
1845
1849
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1846
1850
  requestId: string;
1851
+ createdByRole?: string | undefined;
1847
1852
  createdBySignature?: string | null | undefined;
1848
1853
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1849
1854
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1856,8 +1861,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1856
1861
  createdByUserType: "system" | "user";
1857
1862
  createdAt: string;
1858
1863
  createdBy: string;
1859
- createdByRole: string;
1860
1864
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1865
+ createdByRole?: string | undefined;
1861
1866
  createdBySignature?: string | null | undefined;
1862
1867
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1863
1868
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1870,7 +1875,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1870
1875
  createdByUserType: "system" | "user";
1871
1876
  createdAt: string;
1872
1877
  createdBy: string;
1873
- createdByRole: string;
1878
+ createdByRole?: string | undefined;
1874
1879
  createdBySignature?: string | null | undefined;
1875
1880
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1876
1881
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -2137,7 +2142,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2137
2142
  } | {
2138
2143
  type: "system";
2139
2144
  id: string;
2140
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2145
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2141
2146
  primaryOfficeId?: undefined;
2142
2147
  signature?: undefined;
2143
2148
  };
@@ -2411,7 +2416,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2411
2416
  } | {
2412
2417
  type: "system";
2413
2418
  id: string;
2414
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2419
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2415
2420
  primaryOfficeId?: undefined;
2416
2421
  signature?: undefined;
2417
2422
  };
@@ -2685,7 +2690,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2685
2690
  } | {
2686
2691
  type: "system";
2687
2692
  id: string;
2688
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2693
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2689
2694
  primaryOfficeId?: undefined;
2690
2695
  signature?: undefined;
2691
2696
  };
@@ -2959,7 +2964,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2959
2964
  } | {
2960
2965
  type: "system";
2961
2966
  id: string;
2962
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2967
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2963
2968
  primaryOfficeId?: undefined;
2964
2969
  signature?: undefined;
2965
2970
  };
@@ -3233,7 +3238,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3233
3238
  } | {
3234
3239
  type: "system";
3235
3240
  id: string;
3236
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
3241
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
3237
3242
  primaryOfficeId?: undefined;
3238
3243
  signature?: undefined;
3239
3244
  };
@@ -3507,7 +3512,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3507
3512
  } | {
3508
3513
  type: "system";
3509
3514
  id: string;
3510
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
3515
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
3511
3516
  primaryOfficeId?: undefined;
3512
3517
  signature?: undefined;
3513
3518
  };
@@ -3545,9 +3550,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3545
3550
  createdByUserType: "system" | "user";
3546
3551
  createdAt: string;
3547
3552
  createdBy: string;
3548
- createdByRole: string;
3549
3553
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3550
3554
  assignedTo: string;
3555
+ createdByRole?: string | undefined;
3551
3556
  createdBySignature?: string | null | undefined;
3552
3557
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3553
3558
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3560,8 +3565,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3560
3565
  createdByUserType: "system" | "user";
3561
3566
  createdAt: string;
3562
3567
  createdBy: string;
3563
- createdByRole: string;
3564
3568
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3569
+ createdByRole?: string | undefined;
3565
3570
  createdBySignature?: string | null | undefined;
3566
3571
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3567
3572
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3574,8 +3579,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3574
3579
  createdByUserType: "system" | "user";
3575
3580
  createdAt: string;
3576
3581
  createdBy: string;
3577
- createdByRole: string;
3578
3582
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3583
+ createdByRole?: string | undefined;
3579
3584
  createdBySignature?: string | null | undefined;
3580
3585
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3581
3586
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3589,8 +3594,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3589
3594
  createdByUserType: "system" | "user";
3590
3595
  createdAt: string;
3591
3596
  createdBy: string;
3592
- createdByRole: string;
3593
3597
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3598
+ createdByRole?: string | undefined;
3594
3599
  createdBySignature?: string | null | undefined;
3595
3600
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3596
3601
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3603,8 +3608,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3603
3608
  createdByUserType: "system" | "user";
3604
3609
  createdAt: string;
3605
3610
  createdBy: string;
3606
- createdByRole: string;
3607
3611
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3612
+ createdByRole?: string | undefined;
3608
3613
  createdBySignature?: string | null | undefined;
3609
3614
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3610
3615
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3620,8 +3625,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3620
3625
  createdByUserType: "system" | "user";
3621
3626
  createdAt: string;
3622
3627
  createdBy: string;
3623
- createdByRole: string;
3624
3628
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3629
+ createdByRole?: string | undefined;
3625
3630
  createdBySignature?: string | null | undefined;
3626
3631
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3627
3632
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3640,8 +3645,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3640
3645
  createdByUserType: "system" | "user";
3641
3646
  createdAt: string;
3642
3647
  createdBy: string;
3643
- createdByRole: string;
3644
3648
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3649
+ createdByRole?: string | undefined;
3645
3650
  createdBySignature?: string | null | undefined;
3646
3651
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3647
3652
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3654,8 +3659,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3654
3659
  createdByUserType: "system" | "user";
3655
3660
  createdAt: string;
3656
3661
  createdBy: string;
3657
- createdByRole: string;
3658
3662
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3663
+ createdByRole?: string | undefined;
3659
3664
  createdBySignature?: string | null | undefined;
3660
3665
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3661
3666
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3668,11 +3673,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3668
3673
  createdByUserType: "system" | "user";
3669
3674
  createdAt: string;
3670
3675
  createdBy: string;
3671
- createdByRole: string;
3672
3676
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3673
3677
  content?: {
3674
3678
  duplicateOf: string & import("zod").BRAND<"UUID">;
3675
3679
  } | undefined;
3680
+ createdByRole?: string | undefined;
3676
3681
  createdBySignature?: string | null | undefined;
3677
3682
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3678
3683
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3688,8 +3693,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3688
3693
  createdByUserType: "system" | "user";
3689
3694
  createdAt: string;
3690
3695
  createdBy: string;
3691
- createdByRole: string;
3692
3696
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3697
+ createdByRole?: string | undefined;
3693
3698
  createdBySignature?: string | null | undefined;
3694
3699
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3695
3700
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3702,8 +3707,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3702
3707
  createdByUserType: "system" | "user";
3703
3708
  createdAt: string;
3704
3709
  createdBy: string;
3705
- createdByRole: string;
3706
3710
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3711
+ createdByRole?: string | undefined;
3707
3712
  createdBySignature?: string | null | undefined;
3708
3713
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3709
3714
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3716,8 +3721,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3716
3721
  createdByUserType: "system" | "user";
3717
3722
  createdAt: string;
3718
3723
  createdBy: string;
3719
- createdByRole: string;
3720
3724
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3725
+ createdByRole?: string | undefined;
3721
3726
  createdBySignature?: string | null | undefined;
3722
3727
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3723
3728
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3730,11 +3735,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3730
3735
  createdByUserType: "system" | "user";
3731
3736
  createdAt: string;
3732
3737
  createdBy: string;
3733
- createdByRole: string;
3734
3738
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3735
3739
  content?: {
3736
3740
  templateId?: string | undefined;
3737
3741
  } | null | undefined;
3742
+ createdByRole?: string | undefined;
3738
3743
  createdBySignature?: string | null | undefined;
3739
3744
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3740
3745
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3747,8 +3752,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3747
3752
  createdByUserType: "system" | "user";
3748
3753
  createdAt: string;
3749
3754
  createdBy: string;
3750
- createdByRole: string;
3751
3755
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3756
+ createdByRole?: string | undefined;
3752
3757
  createdBySignature?: string | null | undefined;
3753
3758
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3754
3759
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3761,9 +3766,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3761
3766
  createdByUserType: "system" | "user";
3762
3767
  createdAt: string;
3763
3768
  createdBy: string;
3764
- createdByRole: string;
3765
3769
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3766
3770
  requestId: string;
3771
+ createdByRole?: string | undefined;
3767
3772
  createdBySignature?: string | null | undefined;
3768
3773
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3769
3774
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3779,9 +3784,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3779
3784
  createdByUserType: "system" | "user";
3780
3785
  createdAt: string;
3781
3786
  createdBy: string;
3782
- createdByRole: string;
3783
3787
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3784
3788
  requestId: string;
3789
+ createdByRole?: string | undefined;
3785
3790
  createdBySignature?: string | null | undefined;
3786
3791
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3787
3792
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3794,8 +3799,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3794
3799
  createdByUserType: "system" | "user";
3795
3800
  createdAt: string;
3796
3801
  createdBy: string;
3797
- createdByRole: string;
3798
3802
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3803
+ createdByRole?: string | undefined;
3799
3804
  createdBySignature?: string | null | undefined;
3800
3805
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3801
3806
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3808,7 +3813,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3808
3813
  createdByUserType: "system" | "user";
3809
3814
  createdAt: string;
3810
3815
  createdBy: string;
3811
- createdByRole: string;
3816
+ createdByRole?: string | undefined;
3812
3817
  createdBySignature?: string | null | undefined;
3813
3818
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3814
3819
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -3844,9 +3849,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3844
3849
  createdByUserType: "system" | "user";
3845
3850
  createdAt: string;
3846
3851
  createdBy: string;
3847
- createdByRole: string;
3848
3852
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3849
3853
  assignedTo: string;
3854
+ createdByRole?: string | undefined;
3850
3855
  createdBySignature?: string | null | undefined;
3851
3856
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3852
3857
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3859,8 +3864,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3859
3864
  createdByUserType: "system" | "user";
3860
3865
  createdAt: string;
3861
3866
  createdBy: string;
3862
- createdByRole: string;
3863
3867
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3868
+ createdByRole?: string | undefined;
3864
3869
  createdBySignature?: string | null | undefined;
3865
3870
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3866
3871
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3873,8 +3878,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3873
3878
  createdByUserType: "system" | "user";
3874
3879
  createdAt: string;
3875
3880
  createdBy: string;
3876
- createdByRole: string;
3877
3881
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3882
+ createdByRole?: string | undefined;
3878
3883
  createdBySignature?: string | null | undefined;
3879
3884
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3880
3885
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3888,8 +3893,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3888
3893
  createdByUserType: "system" | "user";
3889
3894
  createdAt: string;
3890
3895
  createdBy: string;
3891
- createdByRole: string;
3892
3896
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3897
+ createdByRole?: string | undefined;
3893
3898
  createdBySignature?: string | null | undefined;
3894
3899
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3895
3900
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3902,8 +3907,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3902
3907
  createdByUserType: "system" | "user";
3903
3908
  createdAt: string;
3904
3909
  createdBy: string;
3905
- createdByRole: string;
3906
3910
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3911
+ createdByRole?: string | undefined;
3907
3912
  createdBySignature?: string | null | undefined;
3908
3913
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3909
3914
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3919,8 +3924,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3919
3924
  createdByUserType: "system" | "user";
3920
3925
  createdAt: string;
3921
3926
  createdBy: string;
3922
- createdByRole: string;
3923
3927
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3928
+ createdByRole?: string | undefined;
3924
3929
  createdBySignature?: string | null | undefined;
3925
3930
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3926
3931
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3939,8 +3944,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3939
3944
  createdByUserType: "system" | "user";
3940
3945
  createdAt: string;
3941
3946
  createdBy: string;
3942
- createdByRole: string;
3943
3947
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3948
+ createdByRole?: string | undefined;
3944
3949
  createdBySignature?: string | null | undefined;
3945
3950
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3946
3951
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3953,8 +3958,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3953
3958
  createdByUserType: "system" | "user";
3954
3959
  createdAt: string;
3955
3960
  createdBy: string;
3956
- createdByRole: string;
3957
3961
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3962
+ createdByRole?: string | undefined;
3958
3963
  createdBySignature?: string | null | undefined;
3959
3964
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3960
3965
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3967,11 +3972,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3967
3972
  createdByUserType: "system" | "user";
3968
3973
  createdAt: string;
3969
3974
  createdBy: string;
3970
- createdByRole: string;
3971
3975
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3972
3976
  content?: {
3973
3977
  duplicateOf: string & import("zod").BRAND<"UUID">;
3974
3978
  } | undefined;
3979
+ createdByRole?: string | undefined;
3975
3980
  createdBySignature?: string | null | undefined;
3976
3981
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3977
3982
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3987,8 +3992,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3987
3992
  createdByUserType: "system" | "user";
3988
3993
  createdAt: string;
3989
3994
  createdBy: string;
3990
- createdByRole: string;
3991
3995
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3996
+ createdByRole?: string | undefined;
3992
3997
  createdBySignature?: string | null | undefined;
3993
3998
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3994
3999
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4001,8 +4006,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4001
4006
  createdByUserType: "system" | "user";
4002
4007
  createdAt: string;
4003
4008
  createdBy: string;
4004
- createdByRole: string;
4005
4009
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4010
+ createdByRole?: string | undefined;
4006
4011
  createdBySignature?: string | null | undefined;
4007
4012
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4008
4013
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4015,8 +4020,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4015
4020
  createdByUserType: "system" | "user";
4016
4021
  createdAt: string;
4017
4022
  createdBy: string;
4018
- createdByRole: string;
4019
4023
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4024
+ createdByRole?: string | undefined;
4020
4025
  createdBySignature?: string | null | undefined;
4021
4026
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4022
4027
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4029,11 +4034,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4029
4034
  createdByUserType: "system" | "user";
4030
4035
  createdAt: string;
4031
4036
  createdBy: string;
4032
- createdByRole: string;
4033
4037
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4034
4038
  content?: {
4035
4039
  templateId?: string | undefined;
4036
4040
  } | null | undefined;
4041
+ createdByRole?: string | undefined;
4037
4042
  createdBySignature?: string | null | undefined;
4038
4043
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4039
4044
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4046,8 +4051,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4046
4051
  createdByUserType: "system" | "user";
4047
4052
  createdAt: string;
4048
4053
  createdBy: string;
4049
- createdByRole: string;
4050
4054
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4055
+ createdByRole?: string | undefined;
4051
4056
  createdBySignature?: string | null | undefined;
4052
4057
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4053
4058
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4060,9 +4065,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4060
4065
  createdByUserType: "system" | "user";
4061
4066
  createdAt: string;
4062
4067
  createdBy: string;
4063
- createdByRole: string;
4064
4068
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4065
4069
  requestId: string;
4070
+ createdByRole?: string | undefined;
4066
4071
  createdBySignature?: string | null | undefined;
4067
4072
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4068
4073
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4078,9 +4083,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4078
4083
  createdByUserType: "system" | "user";
4079
4084
  createdAt: string;
4080
4085
  createdBy: string;
4081
- createdByRole: string;
4082
4086
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4083
4087
  requestId: string;
4088
+ createdByRole?: string | undefined;
4084
4089
  createdBySignature?: string | null | undefined;
4085
4090
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4086
4091
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4093,8 +4098,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4093
4098
  createdByUserType: "system" | "user";
4094
4099
  createdAt: string;
4095
4100
  createdBy: string;
4096
- createdByRole: string;
4097
4101
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4102
+ createdByRole?: string | undefined;
4098
4103
  createdBySignature?: string | null | undefined;
4099
4104
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4100
4105
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4107,7 +4112,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4107
4112
  createdByUserType: "system" | "user";
4108
4113
  createdAt: string;
4109
4114
  createdBy: string;
4110
- createdByRole: string;
4115
+ createdByRole?: string | undefined;
4111
4116
  createdBySignature?: string | null | undefined;
4112
4117
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4113
4118
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -4127,7 +4132,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4127
4132
  } | {
4128
4133
  type: "system";
4129
4134
  id: string;
4130
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4135
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4131
4136
  primaryOfficeId?: undefined;
4132
4137
  signature?: undefined;
4133
4138
  };
@@ -4148,7 +4153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4148
4153
  } | {
4149
4154
  type: "system";
4150
4155
  id: string;
4151
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4156
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4152
4157
  primaryOfficeId?: undefined;
4153
4158
  signature?: undefined;
4154
4159
  };
@@ -4422,7 +4427,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4422
4427
  } | {
4423
4428
  type: "system";
4424
4429
  id: string;
4425
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4430
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4426
4431
  primaryOfficeId?: undefined;
4427
4432
  signature?: undefined;
4428
4433
  };
@@ -4696,7 +4701,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4696
4701
  } | {
4697
4702
  type: "system";
4698
4703
  id: string;
4699
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4704
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4700
4705
  primaryOfficeId?: undefined;
4701
4706
  signature?: undefined;
4702
4707
  };
@@ -4971,7 +4976,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4971
4976
  } | {
4972
4977
  type: "system";
4973
4978
  id: string;
4974
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4979
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4975
4980
  primaryOfficeId?: undefined;
4976
4981
  signature?: undefined;
4977
4982
  };
@@ -5011,9 +5016,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5011
5016
  createdByUserType: "system" | "user";
5012
5017
  createdAt: string;
5013
5018
  createdBy: string;
5014
- createdByRole: string;
5015
5019
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5016
5020
  assignedTo: string;
5021
+ createdByRole?: string | undefined;
5017
5022
  createdBySignature?: string | null | undefined;
5018
5023
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5019
5024
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5026,8 +5031,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5026
5031
  createdByUserType: "system" | "user";
5027
5032
  createdAt: string;
5028
5033
  createdBy: string;
5029
- createdByRole: string;
5030
5034
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5035
+ createdByRole?: string | undefined;
5031
5036
  createdBySignature?: string | null | undefined;
5032
5037
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5033
5038
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5040,8 +5045,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5040
5045
  createdByUserType: "system" | "user";
5041
5046
  createdAt: string;
5042
5047
  createdBy: string;
5043
- createdByRole: string;
5044
5048
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5049
+ createdByRole?: string | undefined;
5045
5050
  createdBySignature?: string | null | undefined;
5046
5051
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5047
5052
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5055,8 +5060,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5055
5060
  createdByUserType: "system" | "user";
5056
5061
  createdAt: string;
5057
5062
  createdBy: string;
5058
- createdByRole: string;
5059
5063
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5064
+ createdByRole?: string | undefined;
5060
5065
  createdBySignature?: string | null | undefined;
5061
5066
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5062
5067
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5069,8 +5074,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5069
5074
  createdByUserType: "system" | "user";
5070
5075
  createdAt: string;
5071
5076
  createdBy: string;
5072
- createdByRole: string;
5073
5077
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5078
+ createdByRole?: string | undefined;
5074
5079
  createdBySignature?: string | null | undefined;
5075
5080
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5076
5081
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5086,8 +5091,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5086
5091
  createdByUserType: "system" | "user";
5087
5092
  createdAt: string;
5088
5093
  createdBy: string;
5089
- createdByRole: string;
5090
5094
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5095
+ createdByRole?: string | undefined;
5091
5096
  createdBySignature?: string | null | undefined;
5092
5097
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5093
5098
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5106,8 +5111,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5106
5111
  createdByUserType: "system" | "user";
5107
5112
  createdAt: string;
5108
5113
  createdBy: string;
5109
- createdByRole: string;
5110
5114
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5115
+ createdByRole?: string | undefined;
5111
5116
  createdBySignature?: string | null | undefined;
5112
5117
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5113
5118
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5120,8 +5125,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5120
5125
  createdByUserType: "system" | "user";
5121
5126
  createdAt: string;
5122
5127
  createdBy: string;
5123
- createdByRole: string;
5124
5128
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5129
+ createdByRole?: string | undefined;
5125
5130
  createdBySignature?: string | null | undefined;
5126
5131
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5127
5132
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5134,11 +5139,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5134
5139
  createdByUserType: "system" | "user";
5135
5140
  createdAt: string;
5136
5141
  createdBy: string;
5137
- createdByRole: string;
5138
5142
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5139
5143
  content?: {
5140
5144
  duplicateOf: string & import("zod").BRAND<"UUID">;
5141
5145
  } | undefined;
5146
+ createdByRole?: string | undefined;
5142
5147
  createdBySignature?: string | null | undefined;
5143
5148
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5144
5149
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5154,8 +5159,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5154
5159
  createdByUserType: "system" | "user";
5155
5160
  createdAt: string;
5156
5161
  createdBy: string;
5157
- createdByRole: string;
5158
5162
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5163
+ createdByRole?: string | undefined;
5159
5164
  createdBySignature?: string | null | undefined;
5160
5165
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5161
5166
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5168,8 +5173,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5168
5173
  createdByUserType: "system" | "user";
5169
5174
  createdAt: string;
5170
5175
  createdBy: string;
5171
- createdByRole: string;
5172
5176
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5177
+ createdByRole?: string | undefined;
5173
5178
  createdBySignature?: string | null | undefined;
5174
5179
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5175
5180
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5182,8 +5187,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5182
5187
  createdByUserType: "system" | "user";
5183
5188
  createdAt: string;
5184
5189
  createdBy: string;
5185
- createdByRole: string;
5186
5190
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5191
+ createdByRole?: string | undefined;
5187
5192
  createdBySignature?: string | null | undefined;
5188
5193
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5189
5194
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5196,11 +5201,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5196
5201
  createdByUserType: "system" | "user";
5197
5202
  createdAt: string;
5198
5203
  createdBy: string;
5199
- createdByRole: string;
5200
5204
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5201
5205
  content?: {
5202
5206
  templateId?: string | undefined;
5203
5207
  } | null | undefined;
5208
+ createdByRole?: string | undefined;
5204
5209
  createdBySignature?: string | null | undefined;
5205
5210
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5206
5211
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5213,8 +5218,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5213
5218
  createdByUserType: "system" | "user";
5214
5219
  createdAt: string;
5215
5220
  createdBy: string;
5216
- createdByRole: string;
5217
5221
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5222
+ createdByRole?: string | undefined;
5218
5223
  createdBySignature?: string | null | undefined;
5219
5224
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5220
5225
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5227,9 +5232,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5227
5232
  createdByUserType: "system" | "user";
5228
5233
  createdAt: string;
5229
5234
  createdBy: string;
5230
- createdByRole: string;
5231
5235
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5232
5236
  requestId: string;
5237
+ createdByRole?: string | undefined;
5233
5238
  createdBySignature?: string | null | undefined;
5234
5239
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5235
5240
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5245,9 +5250,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5245
5250
  createdByUserType: "system" | "user";
5246
5251
  createdAt: string;
5247
5252
  createdBy: string;
5248
- createdByRole: string;
5249
5253
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5250
5254
  requestId: string;
5255
+ createdByRole?: string | undefined;
5251
5256
  createdBySignature?: string | null | undefined;
5252
5257
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5253
5258
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5260,8 +5265,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5260
5265
  createdByUserType: "system" | "user";
5261
5266
  createdAt: string;
5262
5267
  createdBy: string;
5263
- createdByRole: string;
5264
5268
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5269
+ createdByRole?: string | undefined;
5265
5270
  createdBySignature?: string | null | undefined;
5266
5271
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5267
5272
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5274,7 +5279,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5274
5279
  createdByUserType: "system" | "user";
5275
5280
  createdAt: string;
5276
5281
  createdBy: string;
5277
- createdByRole: string;
5282
+ createdByRole?: string | undefined;
5278
5283
  createdBySignature?: string | null | undefined;
5279
5284
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5280
5285
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -5309,9 +5314,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5309
5314
  createdByUserType: "system" | "user";
5310
5315
  createdAt: string;
5311
5316
  createdBy: string;
5312
- createdByRole: string;
5313
5317
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5314
5318
  assignedTo: string;
5319
+ createdByRole?: string | undefined;
5315
5320
  createdBySignature?: string | null | undefined;
5316
5321
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5317
5322
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5324,8 +5329,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5324
5329
  createdByUserType: "system" | "user";
5325
5330
  createdAt: string;
5326
5331
  createdBy: string;
5327
- createdByRole: string;
5328
5332
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5333
+ createdByRole?: string | undefined;
5329
5334
  createdBySignature?: string | null | undefined;
5330
5335
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5331
5336
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5338,8 +5343,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5338
5343
  createdByUserType: "system" | "user";
5339
5344
  createdAt: string;
5340
5345
  createdBy: string;
5341
- createdByRole: string;
5342
5346
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5347
+ createdByRole?: string | undefined;
5343
5348
  createdBySignature?: string | null | undefined;
5344
5349
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5345
5350
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5353,8 +5358,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5353
5358
  createdByUserType: "system" | "user";
5354
5359
  createdAt: string;
5355
5360
  createdBy: string;
5356
- createdByRole: string;
5357
5361
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5362
+ createdByRole?: string | undefined;
5358
5363
  createdBySignature?: string | null | undefined;
5359
5364
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5360
5365
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5367,8 +5372,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5367
5372
  createdByUserType: "system" | "user";
5368
5373
  createdAt: string;
5369
5374
  createdBy: string;
5370
- createdByRole: string;
5371
5375
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5376
+ createdByRole?: string | undefined;
5372
5377
  createdBySignature?: string | null | undefined;
5373
5378
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5374
5379
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5384,8 +5389,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5384
5389
  createdByUserType: "system" | "user";
5385
5390
  createdAt: string;
5386
5391
  createdBy: string;
5387
- createdByRole: string;
5388
5392
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5393
+ createdByRole?: string | undefined;
5389
5394
  createdBySignature?: string | null | undefined;
5390
5395
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5391
5396
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5404,8 +5409,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5404
5409
  createdByUserType: "system" | "user";
5405
5410
  createdAt: string;
5406
5411
  createdBy: string;
5407
- createdByRole: string;
5408
5412
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5413
+ createdByRole?: string | undefined;
5409
5414
  createdBySignature?: string | null | undefined;
5410
5415
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5411
5416
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5418,8 +5423,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5418
5423
  createdByUserType: "system" | "user";
5419
5424
  createdAt: string;
5420
5425
  createdBy: string;
5421
- createdByRole: string;
5422
5426
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5427
+ createdByRole?: string | undefined;
5423
5428
  createdBySignature?: string | null | undefined;
5424
5429
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5425
5430
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5432,11 +5437,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5432
5437
  createdByUserType: "system" | "user";
5433
5438
  createdAt: string;
5434
5439
  createdBy: string;
5435
- createdByRole: string;
5436
5440
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5437
5441
  content?: {
5438
5442
  duplicateOf: string & import("zod").BRAND<"UUID">;
5439
5443
  } | undefined;
5444
+ createdByRole?: string | undefined;
5440
5445
  createdBySignature?: string | null | undefined;
5441
5446
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5442
5447
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5452,8 +5457,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5452
5457
  createdByUserType: "system" | "user";
5453
5458
  createdAt: string;
5454
5459
  createdBy: string;
5455
- createdByRole: string;
5456
5460
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5461
+ createdByRole?: string | undefined;
5457
5462
  createdBySignature?: string | null | undefined;
5458
5463
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5459
5464
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5466,8 +5471,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5466
5471
  createdByUserType: "system" | "user";
5467
5472
  createdAt: string;
5468
5473
  createdBy: string;
5469
- createdByRole: string;
5470
5474
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5475
+ createdByRole?: string | undefined;
5471
5476
  createdBySignature?: string | null | undefined;
5472
5477
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5473
5478
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5480,8 +5485,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5480
5485
  createdByUserType: "system" | "user";
5481
5486
  createdAt: string;
5482
5487
  createdBy: string;
5483
- createdByRole: string;
5484
5488
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5489
+ createdByRole?: string | undefined;
5485
5490
  createdBySignature?: string | null | undefined;
5486
5491
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5487
5492
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5494,11 +5499,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5494
5499
  createdByUserType: "system" | "user";
5495
5500
  createdAt: string;
5496
5501
  createdBy: string;
5497
- createdByRole: string;
5498
5502
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5499
5503
  content?: {
5500
5504
  templateId?: string | undefined;
5501
5505
  } | null | undefined;
5506
+ createdByRole?: string | undefined;
5502
5507
  createdBySignature?: string | null | undefined;
5503
5508
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5504
5509
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5511,8 +5516,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5511
5516
  createdByUserType: "system" | "user";
5512
5517
  createdAt: string;
5513
5518
  createdBy: string;
5514
- createdByRole: string;
5515
5519
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5520
+ createdByRole?: string | undefined;
5516
5521
  createdBySignature?: string | null | undefined;
5517
5522
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5518
5523
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5525,9 +5530,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5525
5530
  createdByUserType: "system" | "user";
5526
5531
  createdAt: string;
5527
5532
  createdBy: string;
5528
- createdByRole: string;
5529
5533
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5530
5534
  requestId: string;
5535
+ createdByRole?: string | undefined;
5531
5536
  createdBySignature?: string | null | undefined;
5532
5537
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5533
5538
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5543,9 +5548,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5543
5548
  createdByUserType: "system" | "user";
5544
5549
  createdAt: string;
5545
5550
  createdBy: string;
5546
- createdByRole: string;
5547
5551
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5548
5552
  requestId: string;
5553
+ createdByRole?: string | undefined;
5549
5554
  createdBySignature?: string | null | undefined;
5550
5555
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5551
5556
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5558,8 +5563,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5558
5563
  createdByUserType: "system" | "user";
5559
5564
  createdAt: string;
5560
5565
  createdBy: string;
5561
- createdByRole: string;
5562
5566
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5567
+ createdByRole?: string | undefined;
5563
5568
  createdBySignature?: string | null | undefined;
5564
5569
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5565
5570
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5572,7 +5577,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5572
5577
  createdByUserType: "system" | "user";
5573
5578
  createdAt: string;
5574
5579
  createdBy: string;
5575
- createdByRole: string;
5580
+ createdByRole?: string | undefined;
5576
5581
  createdBySignature?: string | null | undefined;
5577
5582
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5578
5583
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -5604,24 +5609,23 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5604
5609
  DECLARED?: {
5605
5610
  createdAt: string;
5606
5611
  createdBy: string;
5607
- createdByRole: string;
5608
5612
  acceptedAt: string;
5609
5613
  createdByUserType?: "system" | "user" | null | undefined;
5614
+ createdByRole?: string | undefined;
5610
5615
  createdBySignature?: string | null | undefined;
5611
5616
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5612
5617
  } | null | undefined;
5613
5618
  REGISTERED?: {
5614
5619
  createdAt: string;
5615
5620
  createdBy: string;
5616
- createdByRole: string;
5617
5621
  registrationNumber: string;
5618
5622
  acceptedAt: string;
5619
5623
  createdByUserType?: "system" | "user" | null | undefined;
5624
+ createdByRole?: string | undefined;
5620
5625
  createdBySignature?: string | null | undefined;
5621
5626
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5622
5627
  } | null | undefined;
5623
5628
  };
5624
- updatedByUserRole: string;
5625
5629
  potentialDuplicates: {
5626
5630
  id: string & import("zod").BRAND<"UUID">;
5627
5631
  trackingId: string;
@@ -5632,6 +5636,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5632
5636
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5633
5637
  assignedTo?: string | null | undefined;
5634
5638
  dateOfEvent?: string | null | undefined;
5639
+ updatedByUserRole?: string | undefined;
5635
5640
  updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5636
5641
  updatedBy?: string | null | undefined;
5637
5642
  }[];
@@ -5653,9 +5658,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5653
5658
  createdByUserType: "system" | "user";
5654
5659
  createdAt: string;
5655
5660
  createdBy: string;
5656
- createdByRole: string;
5657
5661
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5658
5662
  assignedTo: string;
5663
+ createdByRole?: string | undefined;
5659
5664
  createdBySignature?: string | null | undefined;
5660
5665
  createdAtLocation?: string | null | undefined;
5661
5666
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5668,8 +5673,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5668
5673
  createdByUserType: "system" | "user";
5669
5674
  createdAt: string;
5670
5675
  createdBy: string;
5671
- createdByRole: string;
5672
5676
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5677
+ createdByRole?: string | undefined;
5673
5678
  createdBySignature?: string | null | undefined;
5674
5679
  createdAtLocation?: string | null | undefined;
5675
5680
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5682,8 +5687,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5682
5687
  createdByUserType: "system" | "user";
5683
5688
  createdAt: string;
5684
5689
  createdBy: string;
5685
- createdByRole: string;
5686
5690
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5691
+ createdByRole?: string | undefined;
5687
5692
  createdBySignature?: string | null | undefined;
5688
5693
  createdAtLocation?: string | null | undefined;
5689
5694
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5697,8 +5702,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5697
5702
  createdByUserType: "system" | "user";
5698
5703
  createdAt: string;
5699
5704
  createdBy: string;
5700
- createdByRole: string;
5701
5705
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5706
+ createdByRole?: string | undefined;
5702
5707
  createdBySignature?: string | null | undefined;
5703
5708
  createdAtLocation?: string | null | undefined;
5704
5709
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5711,8 +5716,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5711
5716
  createdByUserType: "system" | "user";
5712
5717
  createdAt: string;
5713
5718
  createdBy: string;
5714
- createdByRole: string;
5715
5719
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5720
+ createdByRole?: string | undefined;
5716
5721
  createdBySignature?: string | null | undefined;
5717
5722
  createdAtLocation?: string | null | undefined;
5718
5723
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5728,8 +5733,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5728
5733
  createdByUserType: "system" | "user";
5729
5734
  createdAt: string;
5730
5735
  createdBy: string;
5731
- createdByRole: string;
5732
5736
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5737
+ createdByRole?: string | undefined;
5733
5738
  createdBySignature?: string | null | undefined;
5734
5739
  createdAtLocation?: string | null | undefined;
5735
5740
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5748,8 +5753,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5748
5753
  createdByUserType: "system" | "user";
5749
5754
  createdAt: string;
5750
5755
  createdBy: string;
5751
- createdByRole: string;
5752
5756
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5757
+ createdByRole?: string | undefined;
5753
5758
  createdBySignature?: string | null | undefined;
5754
5759
  createdAtLocation?: string | null | undefined;
5755
5760
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5762,8 +5767,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5762
5767
  createdByUserType: "system" | "user";
5763
5768
  createdAt: string;
5764
5769
  createdBy: string;
5765
- createdByRole: string;
5766
5770
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5771
+ createdByRole?: string | undefined;
5767
5772
  createdBySignature?: string | null | undefined;
5768
5773
  createdAtLocation?: string | null | undefined;
5769
5774
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5776,11 +5781,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5776
5781
  createdByUserType: "system" | "user";
5777
5782
  createdAt: string;
5778
5783
  createdBy: string;
5779
- createdByRole: string;
5780
5784
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5781
5785
  content?: {
5782
5786
  duplicateOf: string;
5783
5787
  } | undefined;
5788
+ createdByRole?: string | undefined;
5784
5789
  createdBySignature?: string | null | undefined;
5785
5790
  createdAtLocation?: string | null | undefined;
5786
5791
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5796,8 +5801,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5796
5801
  createdByUserType: "system" | "user";
5797
5802
  createdAt: string;
5798
5803
  createdBy: string;
5799
- createdByRole: string;
5800
5804
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5805
+ createdByRole?: string | undefined;
5801
5806
  createdBySignature?: string | null | undefined;
5802
5807
  createdAtLocation?: string | null | undefined;
5803
5808
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5810,8 +5815,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5810
5815
  createdByUserType: "system" | "user";
5811
5816
  createdAt: string;
5812
5817
  createdBy: string;
5813
- createdByRole: string;
5814
5818
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5819
+ createdByRole?: string | undefined;
5815
5820
  createdBySignature?: string | null | undefined;
5816
5821
  createdAtLocation?: string | null | undefined;
5817
5822
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5824,8 +5829,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5824
5829
  createdByUserType: "system" | "user";
5825
5830
  createdAt: string;
5826
5831
  createdBy: string;
5827
- createdByRole: string;
5828
5832
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5833
+ createdByRole?: string | undefined;
5829
5834
  createdBySignature?: string | null | undefined;
5830
5835
  createdAtLocation?: string | null | undefined;
5831
5836
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5838,11 +5843,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5838
5843
  createdByUserType: "system" | "user";
5839
5844
  createdAt: string;
5840
5845
  createdBy: string;
5841
- createdByRole: string;
5842
5846
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5843
5847
  content?: {
5844
5848
  templateId?: string | undefined;
5845
5849
  } | null | undefined;
5850
+ createdByRole?: string | undefined;
5846
5851
  createdBySignature?: string | null | undefined;
5847
5852
  createdAtLocation?: string | null | undefined;
5848
5853
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5855,8 +5860,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5855
5860
  createdByUserType: "system" | "user";
5856
5861
  createdAt: string;
5857
5862
  createdBy: string;
5858
- createdByRole: string;
5859
5863
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5864
+ createdByRole?: string | undefined;
5860
5865
  createdBySignature?: string | null | undefined;
5861
5866
  createdAtLocation?: string | null | undefined;
5862
5867
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5869,9 +5874,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5869
5874
  createdByUserType: "system" | "user";
5870
5875
  createdAt: string;
5871
5876
  createdBy: string;
5872
- createdByRole: string;
5873
5877
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5874
5878
  requestId: string;
5879
+ createdByRole?: string | undefined;
5875
5880
  createdBySignature?: string | null | undefined;
5876
5881
  createdAtLocation?: string | null | undefined;
5877
5882
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5887,9 +5892,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5887
5892
  createdByUserType: "system" | "user";
5888
5893
  createdAt: string;
5889
5894
  createdBy: string;
5890
- createdByRole: string;
5891
5895
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5892
5896
  requestId: string;
5897
+ createdByRole?: string | undefined;
5893
5898
  createdBySignature?: string | null | undefined;
5894
5899
  createdAtLocation?: string | null | undefined;
5895
5900
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5902,8 +5907,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5902
5907
  createdByUserType: "system" | "user";
5903
5908
  createdAt: string;
5904
5909
  createdBy: string;
5905
- createdByRole: string;
5906
5910
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5911
+ createdByRole?: string | undefined;
5907
5912
  createdBySignature?: string | null | undefined;
5908
5913
  createdAtLocation?: string | null | undefined;
5909
5914
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5916,7 +5921,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5916
5921
  createdByUserType: "system" | "user";
5917
5922
  createdAt: string;
5918
5923
  createdBy: string;
5919
- createdByRole: string;
5924
+ createdByRole?: string | undefined;
5920
5925
  createdBySignature?: string | null | undefined;
5921
5926
  createdAtLocation?: string | null | undefined;
5922
5927
  originalActionId?: string | null | undefined;
@@ -5936,7 +5941,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5936
5941
  } | {
5937
5942
  type: "system";
5938
5943
  id: string;
5939
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
5944
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
5940
5945
  primaryOfficeId?: undefined;
5941
5946
  signature?: undefined;
5942
5947
  };
@@ -5980,7 +5985,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5980
5985
  } | {
5981
5986
  type: "system";
5982
5987
  id: string;
5983
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
5988
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
5984
5989
  primaryOfficeId?: undefined;
5985
5990
  signature?: undefined;
5986
5991
  };
@@ -6010,8 +6015,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6010
6015
  type: "system";
6011
6016
  id: string;
6012
6017
  name: string;
6013
- role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6014
6018
  signature?: undefined;
6019
+ role?: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6015
6020
  fullHonorificName?: string | undefined;
6016
6021
  primaryOfficeId?: undefined;
6017
6022
  avatar?: undefined;
@@ -6038,8 +6043,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6038
6043
  type: "system";
6039
6044
  id: string;
6040
6045
  name: string;
6041
- role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6042
6046
  signature?: undefined;
6047
+ role?: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6043
6048
  fullHonorificName?: string | undefined;
6044
6049
  primaryOfficeId?: undefined;
6045
6050
  avatar?: undefined;
@@ -6068,7 +6073,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6068
6073
  declaration: Record<string, any>;
6069
6074
  annotation: Record<string, any> | null;
6070
6075
  createdBy: string;
6071
- createdByRole: string;
6076
+ createdByRole: string | null;
6072
6077
  createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
6073
6078
  createdBySignature: string | null;
6074
6079
  createdAtLocation: (string & import("zod").BRAND<"UUID">) | null;
@@ -6095,7 +6100,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6095
6100
  } | {
6096
6101
  type: "system";
6097
6102
  id: string;
6098
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6103
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6099
6104
  primaryOfficeId?: undefined;
6100
6105
  signature?: undefined;
6101
6106
  };
@@ -6148,7 +6153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6148
6153
  } | {
6149
6154
  type: "system";
6150
6155
  id: string;
6151
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6156
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6152
6157
  primaryOfficeId?: undefined;
6153
6158
  signature?: undefined;
6154
6159
  };
@@ -6169,7 +6174,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6169
6174
  } | {
6170
6175
  type: "system";
6171
6176
  id: string;
6172
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6177
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6173
6178
  primaryOfficeId?: undefined;
6174
6179
  signature?: undefined;
6175
6180
  };