@opencrvs/toolkit 1.9.16-rc.a94059f → 1.9.16-rc.b34f706

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
  };
@@ -328,9 +328,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
328
328
  createdByUserType: "system" | "user";
329
329
  createdAt: string;
330
330
  createdBy: string;
331
- createdByRole: string;
332
331
  declaration: Record<string, import("../commons").FieldUpdateValue>;
333
332
  assignedTo: string;
333
+ createdByRole?: string | undefined;
334
334
  createdBySignature?: string | null | undefined;
335
335
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
336
336
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -343,8 +343,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
343
343
  createdByUserType: "system" | "user";
344
344
  createdAt: string;
345
345
  createdBy: string;
346
- createdByRole: string;
347
346
  declaration: Record<string, import("../commons").FieldUpdateValue>;
347
+ createdByRole?: string | undefined;
348
348
  createdBySignature?: string | null | undefined;
349
349
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
350
350
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -357,8 +357,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
357
357
  createdByUserType: "system" | "user";
358
358
  createdAt: string;
359
359
  createdBy: string;
360
- createdByRole: string;
361
360
  declaration: Record<string, import("../commons").FieldUpdateValue>;
361
+ createdByRole?: string | undefined;
362
362
  createdBySignature?: string | null | undefined;
363
363
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
364
364
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -372,8 +372,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
372
372
  createdByUserType: "system" | "user";
373
373
  createdAt: string;
374
374
  createdBy: string;
375
- createdByRole: string;
376
375
  declaration: Record<string, import("../commons").FieldUpdateValue>;
376
+ createdByRole?: string | undefined;
377
377
  createdBySignature?: string | null | undefined;
378
378
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
379
379
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -386,8 +386,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
386
386
  createdByUserType: "system" | "user";
387
387
  createdAt: string;
388
388
  createdBy: string;
389
- createdByRole: string;
390
389
  declaration: Record<string, import("../commons").FieldUpdateValue>;
390
+ createdByRole?: string | undefined;
391
391
  createdBySignature?: string | null | undefined;
392
392
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
393
393
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -403,8 +403,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
403
403
  createdByUserType: "system" | "user";
404
404
  createdAt: string;
405
405
  createdBy: string;
406
- createdByRole: string;
407
406
  declaration: Record<string, import("../commons").FieldUpdateValue>;
407
+ createdByRole?: string | undefined;
408
408
  createdBySignature?: string | null | undefined;
409
409
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
410
410
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -423,8 +423,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
423
423
  createdByUserType: "system" | "user";
424
424
  createdAt: string;
425
425
  createdBy: string;
426
- createdByRole: string;
427
426
  declaration: Record<string, import("../commons").FieldUpdateValue>;
427
+ createdByRole?: string | undefined;
428
428
  createdBySignature?: string | null | undefined;
429
429
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
430
430
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -437,8 +437,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
437
437
  createdByUserType: "system" | "user";
438
438
  createdAt: string;
439
439
  createdBy: string;
440
- createdByRole: string;
441
440
  declaration: Record<string, import("../commons").FieldUpdateValue>;
441
+ createdByRole?: string | undefined;
442
442
  createdBySignature?: string | null | undefined;
443
443
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
444
444
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -451,11 +451,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
451
451
  createdByUserType: "system" | "user";
452
452
  createdAt: string;
453
453
  createdBy: string;
454
- createdByRole: string;
455
454
  declaration: Record<string, import("../commons").FieldUpdateValue>;
456
455
  content?: {
457
456
  duplicateOf: string & import("zod").BRAND<"UUID">;
458
457
  } | undefined;
458
+ createdByRole?: string | undefined;
459
459
  createdBySignature?: string | null | undefined;
460
460
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
461
461
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -471,8 +471,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
471
471
  createdByUserType: "system" | "user";
472
472
  createdAt: string;
473
473
  createdBy: string;
474
- createdByRole: string;
475
474
  declaration: Record<string, import("../commons").FieldUpdateValue>;
475
+ createdByRole?: string | undefined;
476
476
  createdBySignature?: string | null | undefined;
477
477
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
478
478
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -485,8 +485,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
485
485
  createdByUserType: "system" | "user";
486
486
  createdAt: string;
487
487
  createdBy: string;
488
- createdByRole: string;
489
488
  declaration: Record<string, import("../commons").FieldUpdateValue>;
489
+ createdByRole?: string | undefined;
490
490
  createdBySignature?: string | null | undefined;
491
491
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
492
492
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -499,8 +499,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
499
499
  createdByUserType: "system" | "user";
500
500
  createdAt: string;
501
501
  createdBy: string;
502
- createdByRole: string;
503
502
  declaration: Record<string, import("../commons").FieldUpdateValue>;
503
+ createdByRole?: string | undefined;
504
504
  createdBySignature?: string | null | undefined;
505
505
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
506
506
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -513,11 +513,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
513
513
  createdByUserType: "system" | "user";
514
514
  createdAt: string;
515
515
  createdBy: string;
516
- createdByRole: string;
517
516
  declaration: Record<string, import("../commons").FieldUpdateValue>;
518
517
  content?: {
519
518
  templateId?: string | undefined;
520
519
  } | null | undefined;
520
+ createdByRole?: string | undefined;
521
521
  createdBySignature?: string | null | undefined;
522
522
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
523
523
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -530,8 +530,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
530
530
  createdByUserType: "system" | "user";
531
531
  createdAt: string;
532
532
  createdBy: string;
533
- createdByRole: string;
534
533
  declaration: Record<string, import("../commons").FieldUpdateValue>;
534
+ createdByRole?: string | undefined;
535
535
  createdBySignature?: string | null | undefined;
536
536
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
537
537
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -544,9 +544,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
544
544
  createdByUserType: "system" | "user";
545
545
  createdAt: string;
546
546
  createdBy: string;
547
- createdByRole: string;
548
547
  declaration: Record<string, import("../commons").FieldUpdateValue>;
549
548
  requestId: string;
549
+ createdByRole?: string | undefined;
550
550
  createdBySignature?: string | null | undefined;
551
551
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
552
552
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -562,9 +562,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
562
562
  createdByUserType: "system" | "user";
563
563
  createdAt: string;
564
564
  createdBy: string;
565
- createdByRole: string;
566
565
  declaration: Record<string, import("../commons").FieldUpdateValue>;
567
566
  requestId: string;
567
+ createdByRole?: string | undefined;
568
568
  createdBySignature?: string | null | undefined;
569
569
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
570
570
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -577,8 +577,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
577
577
  createdByUserType: "system" | "user";
578
578
  createdAt: string;
579
579
  createdBy: string;
580
- createdByRole: string;
581
580
  declaration: Record<string, import("../commons").FieldUpdateValue>;
581
+ createdByRole?: string | undefined;
582
582
  createdBySignature?: string | null | undefined;
583
583
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
584
584
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -591,7 +591,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
591
591
  createdByUserType: "system" | "user";
592
592
  createdAt: string;
593
593
  createdBy: string;
594
- createdByRole: string;
594
+ createdByRole?: string | undefined;
595
595
  createdBySignature?: string | null | undefined;
596
596
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
597
597
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -615,9 +615,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
615
615
  createdByUserType: "system" | "user";
616
616
  createdAt: string;
617
617
  createdBy: string;
618
- createdByRole: string;
619
618
  declaration: Record<string, import("../commons").FieldUpdateValue>;
620
619
  assignedTo: string;
620
+ createdByRole?: string | undefined;
621
621
  createdBySignature?: string | null | undefined;
622
622
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
623
623
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -630,8 +630,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
630
630
  createdByUserType: "system" | "user";
631
631
  createdAt: string;
632
632
  createdBy: string;
633
- createdByRole: string;
634
633
  declaration: Record<string, import("../commons").FieldUpdateValue>;
634
+ createdByRole?: string | undefined;
635
635
  createdBySignature?: string | null | undefined;
636
636
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
637
637
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -644,8 +644,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
644
644
  createdByUserType: "system" | "user";
645
645
  createdAt: string;
646
646
  createdBy: string;
647
- createdByRole: string;
648
647
  declaration: Record<string, import("../commons").FieldUpdateValue>;
648
+ createdByRole?: string | undefined;
649
649
  createdBySignature?: string | null | undefined;
650
650
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
651
651
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -659,8 +659,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
659
659
  createdByUserType: "system" | "user";
660
660
  createdAt: string;
661
661
  createdBy: string;
662
- createdByRole: string;
663
662
  declaration: Record<string, import("../commons").FieldUpdateValue>;
663
+ createdByRole?: string | undefined;
664
664
  createdBySignature?: string | null | undefined;
665
665
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
666
666
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -673,8 +673,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
673
673
  createdByUserType: "system" | "user";
674
674
  createdAt: string;
675
675
  createdBy: string;
676
- createdByRole: string;
677
676
  declaration: Record<string, import("../commons").FieldUpdateValue>;
677
+ createdByRole?: string | undefined;
678
678
  createdBySignature?: string | null | undefined;
679
679
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
680
680
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -690,8 +690,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
690
690
  createdByUserType: "system" | "user";
691
691
  createdAt: string;
692
692
  createdBy: string;
693
- createdByRole: string;
694
693
  declaration: Record<string, import("../commons").FieldUpdateValue>;
694
+ createdByRole?: string | undefined;
695
695
  createdBySignature?: string | null | undefined;
696
696
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
697
697
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -710,8 +710,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
710
710
  createdByUserType: "system" | "user";
711
711
  createdAt: string;
712
712
  createdBy: string;
713
- createdByRole: string;
714
713
  declaration: Record<string, import("../commons").FieldUpdateValue>;
714
+ createdByRole?: string | undefined;
715
715
  createdBySignature?: string | null | undefined;
716
716
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
717
717
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -724,8 +724,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
724
724
  createdByUserType: "system" | "user";
725
725
  createdAt: string;
726
726
  createdBy: string;
727
- createdByRole: string;
728
727
  declaration: Record<string, import("../commons").FieldUpdateValue>;
728
+ createdByRole?: string | undefined;
729
729
  createdBySignature?: string | null | undefined;
730
730
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
731
731
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -738,11 +738,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
738
738
  createdByUserType: "system" | "user";
739
739
  createdAt: string;
740
740
  createdBy: string;
741
- createdByRole: string;
742
741
  declaration: Record<string, import("../commons").FieldUpdateValue>;
743
742
  content?: {
744
743
  duplicateOf: string & import("zod").BRAND<"UUID">;
745
744
  } | undefined;
745
+ createdByRole?: string | undefined;
746
746
  createdBySignature?: string | null | undefined;
747
747
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
748
748
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -758,8 +758,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
758
758
  createdByUserType: "system" | "user";
759
759
  createdAt: string;
760
760
  createdBy: string;
761
- createdByRole: string;
762
761
  declaration: Record<string, import("../commons").FieldUpdateValue>;
762
+ createdByRole?: string | undefined;
763
763
  createdBySignature?: string | null | undefined;
764
764
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
765
765
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -772,8 +772,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
772
772
  createdByUserType: "system" | "user";
773
773
  createdAt: string;
774
774
  createdBy: string;
775
- createdByRole: string;
776
775
  declaration: Record<string, import("../commons").FieldUpdateValue>;
776
+ createdByRole?: string | undefined;
777
777
  createdBySignature?: string | null | undefined;
778
778
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
779
779
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -786,8 +786,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
786
786
  createdByUserType: "system" | "user";
787
787
  createdAt: string;
788
788
  createdBy: string;
789
- createdByRole: string;
790
789
  declaration: Record<string, import("../commons").FieldUpdateValue>;
790
+ createdByRole?: string | undefined;
791
791
  createdBySignature?: string | null | undefined;
792
792
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
793
793
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -800,11 +800,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
800
800
  createdByUserType: "system" | "user";
801
801
  createdAt: string;
802
802
  createdBy: string;
803
- createdByRole: string;
804
803
  declaration: Record<string, import("../commons").FieldUpdateValue>;
805
804
  content?: {
806
805
  templateId?: string | undefined;
807
806
  } | null | undefined;
807
+ createdByRole?: string | undefined;
808
808
  createdBySignature?: string | null | undefined;
809
809
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
810
810
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -817,8 +817,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
817
817
  createdByUserType: "system" | "user";
818
818
  createdAt: string;
819
819
  createdBy: string;
820
- createdByRole: string;
821
820
  declaration: Record<string, import("../commons").FieldUpdateValue>;
821
+ createdByRole?: string | undefined;
822
822
  createdBySignature?: string | null | undefined;
823
823
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
824
824
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -831,9 +831,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
831
831
  createdByUserType: "system" | "user";
832
832
  createdAt: string;
833
833
  createdBy: string;
834
- createdByRole: string;
835
834
  declaration: Record<string, import("../commons").FieldUpdateValue>;
836
835
  requestId: string;
836
+ createdByRole?: string | undefined;
837
837
  createdBySignature?: string | null | undefined;
838
838
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
839
839
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -849,9 +849,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
849
849
  createdByUserType: "system" | "user";
850
850
  createdAt: string;
851
851
  createdBy: string;
852
- createdByRole: string;
853
852
  declaration: Record<string, import("../commons").FieldUpdateValue>;
854
853
  requestId: string;
854
+ createdByRole?: string | undefined;
855
855
  createdBySignature?: string | null | undefined;
856
856
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
857
857
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -864,8 +864,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
864
864
  createdByUserType: "system" | "user";
865
865
  createdAt: string;
866
866
  createdBy: string;
867
- createdByRole: string;
868
867
  declaration: Record<string, import("../commons").FieldUpdateValue>;
868
+ createdByRole?: string | undefined;
869
869
  createdBySignature?: string | null | undefined;
870
870
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
871
871
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -878,7 +878,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
878
878
  createdByUserType: "system" | "user";
879
879
  createdAt: string;
880
880
  createdBy: string;
881
- createdByRole: string;
881
+ createdByRole?: string | undefined;
882
882
  createdBySignature?: string | null | undefined;
883
883
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
884
884
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -904,9 +904,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
904
904
  createdByUserType: "system" | "user";
905
905
  createdAt: string;
906
906
  createdBy: string;
907
- createdByRole: string;
908
907
  declaration: Record<string, import("../commons").FieldUpdateValue>;
909
908
  assignedTo: string;
909
+ createdByRole?: string | undefined;
910
910
  createdBySignature?: string | null | undefined;
911
911
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
912
912
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -919,8 +919,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
919
919
  createdByUserType: "system" | "user";
920
920
  createdAt: string;
921
921
  createdBy: string;
922
- createdByRole: string;
923
922
  declaration: Record<string, import("../commons").FieldUpdateValue>;
923
+ createdByRole?: string | undefined;
924
924
  createdBySignature?: string | null | undefined;
925
925
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
926
926
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -933,8 +933,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
933
933
  createdByUserType: "system" | "user";
934
934
  createdAt: string;
935
935
  createdBy: string;
936
- createdByRole: string;
937
936
  declaration: Record<string, import("../commons").FieldUpdateValue>;
937
+ createdByRole?: string | undefined;
938
938
  createdBySignature?: string | null | undefined;
939
939
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
940
940
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -948,8 +948,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
948
948
  createdByUserType: "system" | "user";
949
949
  createdAt: string;
950
950
  createdBy: string;
951
- createdByRole: string;
952
951
  declaration: Record<string, import("../commons").FieldUpdateValue>;
952
+ createdByRole?: string | undefined;
953
953
  createdBySignature?: string | null | undefined;
954
954
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
955
955
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -962,8 +962,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
962
962
  createdByUserType: "system" | "user";
963
963
  createdAt: string;
964
964
  createdBy: string;
965
- createdByRole: string;
966
965
  declaration: Record<string, import("../commons").FieldUpdateValue>;
966
+ createdByRole?: string | undefined;
967
967
  createdBySignature?: string | null | undefined;
968
968
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
969
969
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -979,8 +979,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
979
979
  createdByUserType: "system" | "user";
980
980
  createdAt: string;
981
981
  createdBy: string;
982
- createdByRole: string;
983
982
  declaration: Record<string, import("../commons").FieldUpdateValue>;
983
+ createdByRole?: string | undefined;
984
984
  createdBySignature?: string | null | undefined;
985
985
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
986
986
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -999,8 +999,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
999
999
  createdByUserType: "system" | "user";
1000
1000
  createdAt: string;
1001
1001
  createdBy: string;
1002
- createdByRole: string;
1003
1002
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1003
+ createdByRole?: string | undefined;
1004
1004
  createdBySignature?: string | null | undefined;
1005
1005
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1006
1006
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1013,8 +1013,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1013
1013
  createdByUserType: "system" | "user";
1014
1014
  createdAt: string;
1015
1015
  createdBy: string;
1016
- createdByRole: string;
1017
1016
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1017
+ createdByRole?: string | undefined;
1018
1018
  createdBySignature?: string | null | undefined;
1019
1019
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1020
1020
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1027,11 +1027,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1027
1027
  createdByUserType: "system" | "user";
1028
1028
  createdAt: string;
1029
1029
  createdBy: string;
1030
- createdByRole: string;
1031
1030
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1032
1031
  content?: {
1033
1032
  duplicateOf: string & import("zod").BRAND<"UUID">;
1034
1033
  } | undefined;
1034
+ createdByRole?: string | undefined;
1035
1035
  createdBySignature?: string | null | undefined;
1036
1036
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1037
1037
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1047,8 +1047,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1047
1047
  createdByUserType: "system" | "user";
1048
1048
  createdAt: string;
1049
1049
  createdBy: string;
1050
- createdByRole: string;
1051
1050
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1051
+ createdByRole?: string | undefined;
1052
1052
  createdBySignature?: string | null | undefined;
1053
1053
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1054
1054
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1061,8 +1061,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1061
1061
  createdByUserType: "system" | "user";
1062
1062
  createdAt: string;
1063
1063
  createdBy: string;
1064
- createdByRole: string;
1065
1064
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1065
+ createdByRole?: string | undefined;
1066
1066
  createdBySignature?: string | null | undefined;
1067
1067
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1068
1068
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1075,8 +1075,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1075
1075
  createdByUserType: "system" | "user";
1076
1076
  createdAt: string;
1077
1077
  createdBy: string;
1078
- createdByRole: string;
1079
1078
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1079
+ createdByRole?: string | undefined;
1080
1080
  createdBySignature?: string | null | undefined;
1081
1081
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1082
1082
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1089,11 +1089,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1089
1089
  createdByUserType: "system" | "user";
1090
1090
  createdAt: string;
1091
1091
  createdBy: string;
1092
- createdByRole: string;
1093
1092
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1094
1093
  content?: {
1095
1094
  templateId?: string | undefined;
1096
1095
  } | null | undefined;
1096
+ createdByRole?: string | undefined;
1097
1097
  createdBySignature?: string | null | undefined;
1098
1098
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1099
1099
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1106,8 +1106,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1106
1106
  createdByUserType: "system" | "user";
1107
1107
  createdAt: string;
1108
1108
  createdBy: string;
1109
- createdByRole: string;
1110
1109
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1110
+ createdByRole?: string | undefined;
1111
1111
  createdBySignature?: string | null | undefined;
1112
1112
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1113
1113
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1120,9 +1120,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1120
1120
  createdByUserType: "system" | "user";
1121
1121
  createdAt: string;
1122
1122
  createdBy: string;
1123
- createdByRole: string;
1124
1123
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1125
1124
  requestId: string;
1125
+ createdByRole?: string | undefined;
1126
1126
  createdBySignature?: string | null | undefined;
1127
1127
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1128
1128
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1138,9 +1138,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1138
1138
  createdByUserType: "system" | "user";
1139
1139
  createdAt: string;
1140
1140
  createdBy: string;
1141
- createdByRole: string;
1142
1141
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1143
1142
  requestId: string;
1143
+ createdByRole?: string | undefined;
1144
1144
  createdBySignature?: string | null | undefined;
1145
1145
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1146
1146
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1153,8 +1153,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1153
1153
  createdByUserType: "system" | "user";
1154
1154
  createdAt: string;
1155
1155
  createdBy: string;
1156
- createdByRole: string;
1157
1156
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1157
+ createdByRole?: string | undefined;
1158
1158
  createdBySignature?: string | null | undefined;
1159
1159
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1160
1160
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1167,7 +1167,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1167
1167
  createdByUserType: "system" | "user";
1168
1168
  createdAt: string;
1169
1169
  createdBy: string;
1170
- createdByRole: string;
1170
+ createdByRole?: string | undefined;
1171
1171
  createdBySignature?: string | null | undefined;
1172
1172
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1173
1173
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1195,7 +1195,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1195
1195
  } | {
1196
1196
  type: "system";
1197
1197
  id: string;
1198
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1198
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1199
1199
  primaryOfficeId?: undefined;
1200
1200
  signature?: undefined;
1201
1201
  };
@@ -1219,8 +1219,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1219
1219
  createdByUserType: "system" | "user";
1220
1220
  createdAt: string;
1221
1221
  createdBy: string;
1222
- createdByRole: string;
1223
1222
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1223
+ createdByRole?: string | undefined;
1224
1224
  createdBySignature?: string | null | undefined;
1225
1225
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1226
1226
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1254,8 +1254,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1254
1254
  createdByUserType: "system" | "user";
1255
1255
  createdAt: string;
1256
1256
  createdBy: string;
1257
- createdByRole: string;
1258
1257
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1258
+ createdByRole?: string | undefined;
1259
1259
  createdBySignature?: string | null | undefined;
1260
1260
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1261
1261
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1275,7 +1275,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1275
1275
  } | {
1276
1276
  type: "system";
1277
1277
  id: string;
1278
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1278
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1279
1279
  primaryOfficeId?: undefined;
1280
1280
  signature?: undefined;
1281
1281
  };
@@ -1296,7 +1296,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1296
1296
  } | {
1297
1297
  type: "system";
1298
1298
  id: string;
1299
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1299
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1300
1300
  primaryOfficeId?: undefined;
1301
1301
  signature?: undefined;
1302
1302
  };
@@ -1570,7 +1570,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1570
1570
  } | {
1571
1571
  type: "system";
1572
1572
  id: string;
1573
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1573
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1574
1574
  primaryOfficeId?: undefined;
1575
1575
  signature?: undefined;
1576
1576
  };
@@ -1607,9 +1607,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1607
1607
  createdByUserType: "system" | "user";
1608
1608
  createdAt: string;
1609
1609
  createdBy: string;
1610
- createdByRole: string;
1611
1610
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1612
1611
  assignedTo: string;
1612
+ createdByRole?: string | undefined;
1613
1613
  createdBySignature?: string | null | undefined;
1614
1614
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1615
1615
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1622,8 +1622,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1622
1622
  createdByUserType: "system" | "user";
1623
1623
  createdAt: string;
1624
1624
  createdBy: string;
1625
- createdByRole: string;
1626
1625
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1626
+ createdByRole?: string | undefined;
1627
1627
  createdBySignature?: string | null | undefined;
1628
1628
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1629
1629
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1636,8 +1636,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1636
1636
  createdByUserType: "system" | "user";
1637
1637
  createdAt: string;
1638
1638
  createdBy: string;
1639
- createdByRole: string;
1640
1639
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1640
+ createdByRole?: string | undefined;
1641
1641
  createdBySignature?: string | null | undefined;
1642
1642
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1643
1643
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1651,8 +1651,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1651
1651
  createdByUserType: "system" | "user";
1652
1652
  createdAt: string;
1653
1653
  createdBy: string;
1654
- createdByRole: string;
1655
1654
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1655
+ createdByRole?: string | undefined;
1656
1656
  createdBySignature?: string | null | undefined;
1657
1657
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1658
1658
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1665,8 +1665,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1665
1665
  createdByUserType: "system" | "user";
1666
1666
  createdAt: string;
1667
1667
  createdBy: string;
1668
- createdByRole: string;
1669
1668
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1669
+ createdByRole?: string | undefined;
1670
1670
  createdBySignature?: string | null | undefined;
1671
1671
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1672
1672
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1682,8 +1682,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1682
1682
  createdByUserType: "system" | "user";
1683
1683
  createdAt: string;
1684
1684
  createdBy: string;
1685
- createdByRole: string;
1686
1685
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1686
+ createdByRole?: string | undefined;
1687
1687
  createdBySignature?: string | null | undefined;
1688
1688
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1689
1689
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1702,8 +1702,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1702
1702
  createdByUserType: "system" | "user";
1703
1703
  createdAt: string;
1704
1704
  createdBy: string;
1705
- createdByRole: string;
1706
1705
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1706
+ createdByRole?: string | undefined;
1707
1707
  createdBySignature?: string | null | undefined;
1708
1708
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1709
1709
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1716,8 +1716,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1716
1716
  createdByUserType: "system" | "user";
1717
1717
  createdAt: string;
1718
1718
  createdBy: string;
1719
- createdByRole: string;
1720
1719
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1720
+ createdByRole?: string | undefined;
1721
1721
  createdBySignature?: string | null | undefined;
1722
1722
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1723
1723
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1730,11 +1730,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1730
1730
  createdByUserType: "system" | "user";
1731
1731
  createdAt: string;
1732
1732
  createdBy: string;
1733
- createdByRole: string;
1734
1733
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1735
1734
  content?: {
1736
1735
  duplicateOf: string & import("zod").BRAND<"UUID">;
1737
1736
  } | undefined;
1737
+ createdByRole?: string | undefined;
1738
1738
  createdBySignature?: string | null | undefined;
1739
1739
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1740
1740
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1750,8 +1750,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1750
1750
  createdByUserType: "system" | "user";
1751
1751
  createdAt: string;
1752
1752
  createdBy: string;
1753
- createdByRole: string;
1754
1753
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1754
+ createdByRole?: string | undefined;
1755
1755
  createdBySignature?: string | null | undefined;
1756
1756
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1757
1757
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1764,8 +1764,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1764
1764
  createdByUserType: "system" | "user";
1765
1765
  createdAt: string;
1766
1766
  createdBy: string;
1767
- createdByRole: string;
1768
1767
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1768
+ createdByRole?: string | undefined;
1769
1769
  createdBySignature?: string | null | undefined;
1770
1770
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1771
1771
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1778,8 +1778,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1778
1778
  createdByUserType: "system" | "user";
1779
1779
  createdAt: string;
1780
1780
  createdBy: string;
1781
- createdByRole: string;
1782
1781
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1782
+ createdByRole?: string | undefined;
1783
1783
  createdBySignature?: string | null | undefined;
1784
1784
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1785
1785
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1792,11 +1792,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1792
1792
  createdByUserType: "system" | "user";
1793
1793
  createdAt: string;
1794
1794
  createdBy: string;
1795
- createdByRole: string;
1796
1795
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1797
1796
  content?: {
1798
1797
  templateId?: string | undefined;
1799
1798
  } | null | undefined;
1799
+ createdByRole?: string | undefined;
1800
1800
  createdBySignature?: string | null | undefined;
1801
1801
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1802
1802
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1809,8 +1809,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1809
1809
  createdByUserType: "system" | "user";
1810
1810
  createdAt: string;
1811
1811
  createdBy: string;
1812
- createdByRole: string;
1813
1812
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1813
+ createdByRole?: string | undefined;
1814
1814
  createdBySignature?: string | null | undefined;
1815
1815
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1816
1816
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1823,9 +1823,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1823
1823
  createdByUserType: "system" | "user";
1824
1824
  createdAt: string;
1825
1825
  createdBy: string;
1826
- createdByRole: string;
1827
1826
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1828
1827
  requestId: string;
1828
+ createdByRole?: string | undefined;
1829
1829
  createdBySignature?: string | null | undefined;
1830
1830
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1831
1831
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1841,9 +1841,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1841
1841
  createdByUserType: "system" | "user";
1842
1842
  createdAt: string;
1843
1843
  createdBy: string;
1844
- createdByRole: string;
1845
1844
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1846
1845
  requestId: string;
1846
+ createdByRole?: string | undefined;
1847
1847
  createdBySignature?: string | null | undefined;
1848
1848
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1849
1849
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1856,8 +1856,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1856
1856
  createdByUserType: "system" | "user";
1857
1857
  createdAt: string;
1858
1858
  createdBy: string;
1859
- createdByRole: string;
1860
1859
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1860
+ createdByRole?: string | undefined;
1861
1861
  createdBySignature?: string | null | undefined;
1862
1862
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1863
1863
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1870,7 +1870,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1870
1870
  createdByUserType: "system" | "user";
1871
1871
  createdAt: string;
1872
1872
  createdBy: string;
1873
- createdByRole: string;
1873
+ createdByRole?: string | undefined;
1874
1874
  createdBySignature?: string | null | undefined;
1875
1875
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1876
1876
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -2137,7 +2137,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2137
2137
  } | {
2138
2138
  type: "system";
2139
2139
  id: string;
2140
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2140
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2141
2141
  primaryOfficeId?: undefined;
2142
2142
  signature?: undefined;
2143
2143
  };
@@ -2411,7 +2411,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2411
2411
  } | {
2412
2412
  type: "system";
2413
2413
  id: string;
2414
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2414
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2415
2415
  primaryOfficeId?: undefined;
2416
2416
  signature?: undefined;
2417
2417
  };
@@ -2685,7 +2685,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2685
2685
  } | {
2686
2686
  type: "system";
2687
2687
  id: string;
2688
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2688
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2689
2689
  primaryOfficeId?: undefined;
2690
2690
  signature?: undefined;
2691
2691
  };
@@ -2959,7 +2959,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2959
2959
  } | {
2960
2960
  type: "system";
2961
2961
  id: string;
2962
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2962
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2963
2963
  primaryOfficeId?: undefined;
2964
2964
  signature?: undefined;
2965
2965
  };
@@ -3233,7 +3233,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3233
3233
  } | {
3234
3234
  type: "system";
3235
3235
  id: string;
3236
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
3236
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
3237
3237
  primaryOfficeId?: undefined;
3238
3238
  signature?: undefined;
3239
3239
  };
@@ -3507,7 +3507,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3507
3507
  } | {
3508
3508
  type: "system";
3509
3509
  id: string;
3510
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
3510
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
3511
3511
  primaryOfficeId?: undefined;
3512
3512
  signature?: undefined;
3513
3513
  };
@@ -3545,9 +3545,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3545
3545
  createdByUserType: "system" | "user";
3546
3546
  createdAt: string;
3547
3547
  createdBy: string;
3548
- createdByRole: string;
3549
3548
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3550
3549
  assignedTo: string;
3550
+ createdByRole?: string | undefined;
3551
3551
  createdBySignature?: string | null | undefined;
3552
3552
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3553
3553
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3560,8 +3560,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3560
3560
  createdByUserType: "system" | "user";
3561
3561
  createdAt: string;
3562
3562
  createdBy: string;
3563
- createdByRole: string;
3564
3563
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3564
+ createdByRole?: string | undefined;
3565
3565
  createdBySignature?: string | null | undefined;
3566
3566
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3567
3567
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3574,8 +3574,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3574
3574
  createdByUserType: "system" | "user";
3575
3575
  createdAt: string;
3576
3576
  createdBy: string;
3577
- createdByRole: string;
3578
3577
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3578
+ createdByRole?: string | undefined;
3579
3579
  createdBySignature?: string | null | undefined;
3580
3580
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3581
3581
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3589,8 +3589,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3589
3589
  createdByUserType: "system" | "user";
3590
3590
  createdAt: string;
3591
3591
  createdBy: string;
3592
- createdByRole: string;
3593
3592
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3593
+ createdByRole?: string | undefined;
3594
3594
  createdBySignature?: string | null | undefined;
3595
3595
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3596
3596
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3603,8 +3603,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3603
3603
  createdByUserType: "system" | "user";
3604
3604
  createdAt: string;
3605
3605
  createdBy: string;
3606
- createdByRole: string;
3607
3606
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3607
+ createdByRole?: string | undefined;
3608
3608
  createdBySignature?: string | null | undefined;
3609
3609
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3610
3610
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3620,8 +3620,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3620
3620
  createdByUserType: "system" | "user";
3621
3621
  createdAt: string;
3622
3622
  createdBy: string;
3623
- createdByRole: string;
3624
3623
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3624
+ createdByRole?: string | undefined;
3625
3625
  createdBySignature?: string | null | undefined;
3626
3626
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3627
3627
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3640,8 +3640,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3640
3640
  createdByUserType: "system" | "user";
3641
3641
  createdAt: string;
3642
3642
  createdBy: string;
3643
- createdByRole: string;
3644
3643
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3644
+ createdByRole?: string | undefined;
3645
3645
  createdBySignature?: string | null | undefined;
3646
3646
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3647
3647
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3654,8 +3654,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3654
3654
  createdByUserType: "system" | "user";
3655
3655
  createdAt: string;
3656
3656
  createdBy: string;
3657
- createdByRole: string;
3658
3657
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3658
+ createdByRole?: string | undefined;
3659
3659
  createdBySignature?: string | null | undefined;
3660
3660
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3661
3661
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3668,11 +3668,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3668
3668
  createdByUserType: "system" | "user";
3669
3669
  createdAt: string;
3670
3670
  createdBy: string;
3671
- createdByRole: string;
3672
3671
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3673
3672
  content?: {
3674
3673
  duplicateOf: string & import("zod").BRAND<"UUID">;
3675
3674
  } | undefined;
3675
+ createdByRole?: string | undefined;
3676
3676
  createdBySignature?: string | null | undefined;
3677
3677
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3678
3678
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3688,8 +3688,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3688
3688
  createdByUserType: "system" | "user";
3689
3689
  createdAt: string;
3690
3690
  createdBy: string;
3691
- createdByRole: string;
3692
3691
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3692
+ createdByRole?: string | undefined;
3693
3693
  createdBySignature?: string | null | undefined;
3694
3694
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3695
3695
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3702,8 +3702,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3702
3702
  createdByUserType: "system" | "user";
3703
3703
  createdAt: string;
3704
3704
  createdBy: string;
3705
- createdByRole: string;
3706
3705
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3706
+ createdByRole?: string | undefined;
3707
3707
  createdBySignature?: string | null | undefined;
3708
3708
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3709
3709
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3716,8 +3716,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3716
3716
  createdByUserType: "system" | "user";
3717
3717
  createdAt: string;
3718
3718
  createdBy: string;
3719
- createdByRole: string;
3720
3719
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3720
+ createdByRole?: string | undefined;
3721
3721
  createdBySignature?: string | null | undefined;
3722
3722
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3723
3723
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3730,11 +3730,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3730
3730
  createdByUserType: "system" | "user";
3731
3731
  createdAt: string;
3732
3732
  createdBy: string;
3733
- createdByRole: string;
3734
3733
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3735
3734
  content?: {
3736
3735
  templateId?: string | undefined;
3737
3736
  } | null | undefined;
3737
+ createdByRole?: string | undefined;
3738
3738
  createdBySignature?: string | null | undefined;
3739
3739
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3740
3740
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3747,8 +3747,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3747
3747
  createdByUserType: "system" | "user";
3748
3748
  createdAt: string;
3749
3749
  createdBy: string;
3750
- createdByRole: string;
3751
3750
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3751
+ createdByRole?: string | undefined;
3752
3752
  createdBySignature?: string | null | undefined;
3753
3753
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3754
3754
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3761,9 +3761,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3761
3761
  createdByUserType: "system" | "user";
3762
3762
  createdAt: string;
3763
3763
  createdBy: string;
3764
- createdByRole: string;
3765
3764
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3766
3765
  requestId: string;
3766
+ createdByRole?: string | undefined;
3767
3767
  createdBySignature?: string | null | undefined;
3768
3768
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3769
3769
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3779,9 +3779,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3779
3779
  createdByUserType: "system" | "user";
3780
3780
  createdAt: string;
3781
3781
  createdBy: string;
3782
- createdByRole: string;
3783
3782
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3784
3783
  requestId: string;
3784
+ createdByRole?: string | undefined;
3785
3785
  createdBySignature?: string | null | undefined;
3786
3786
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3787
3787
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3794,8 +3794,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3794
3794
  createdByUserType: "system" | "user";
3795
3795
  createdAt: string;
3796
3796
  createdBy: string;
3797
- createdByRole: string;
3798
3797
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3798
+ createdByRole?: string | undefined;
3799
3799
  createdBySignature?: string | null | undefined;
3800
3800
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3801
3801
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3808,7 +3808,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3808
3808
  createdByUserType: "system" | "user";
3809
3809
  createdAt: string;
3810
3810
  createdBy: string;
3811
- createdByRole: string;
3811
+ createdByRole?: string | undefined;
3812
3812
  createdBySignature?: string | null | undefined;
3813
3813
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3814
3814
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -3844,9 +3844,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3844
3844
  createdByUserType: "system" | "user";
3845
3845
  createdAt: string;
3846
3846
  createdBy: string;
3847
- createdByRole: string;
3848
3847
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3849
3848
  assignedTo: string;
3849
+ createdByRole?: string | undefined;
3850
3850
  createdBySignature?: string | null | undefined;
3851
3851
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3852
3852
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3859,8 +3859,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3859
3859
  createdByUserType: "system" | "user";
3860
3860
  createdAt: string;
3861
3861
  createdBy: string;
3862
- createdByRole: string;
3863
3862
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3863
+ createdByRole?: string | undefined;
3864
3864
  createdBySignature?: string | null | undefined;
3865
3865
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3866
3866
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3873,8 +3873,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3873
3873
  createdByUserType: "system" | "user";
3874
3874
  createdAt: string;
3875
3875
  createdBy: string;
3876
- createdByRole: string;
3877
3876
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3877
+ createdByRole?: string | undefined;
3878
3878
  createdBySignature?: string | null | undefined;
3879
3879
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3880
3880
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3888,8 +3888,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3888
3888
  createdByUserType: "system" | "user";
3889
3889
  createdAt: string;
3890
3890
  createdBy: string;
3891
- createdByRole: string;
3892
3891
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3892
+ createdByRole?: string | undefined;
3893
3893
  createdBySignature?: string | null | undefined;
3894
3894
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3895
3895
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3902,8 +3902,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3902
3902
  createdByUserType: "system" | "user";
3903
3903
  createdAt: string;
3904
3904
  createdBy: string;
3905
- createdByRole: string;
3906
3905
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3906
+ createdByRole?: string | undefined;
3907
3907
  createdBySignature?: string | null | undefined;
3908
3908
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3909
3909
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3919,8 +3919,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3919
3919
  createdByUserType: "system" | "user";
3920
3920
  createdAt: string;
3921
3921
  createdBy: string;
3922
- createdByRole: string;
3923
3922
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3923
+ createdByRole?: string | undefined;
3924
3924
  createdBySignature?: string | null | undefined;
3925
3925
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3926
3926
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3939,8 +3939,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3939
3939
  createdByUserType: "system" | "user";
3940
3940
  createdAt: string;
3941
3941
  createdBy: string;
3942
- createdByRole: string;
3943
3942
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3943
+ createdByRole?: string | undefined;
3944
3944
  createdBySignature?: string | null | undefined;
3945
3945
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3946
3946
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3953,8 +3953,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3953
3953
  createdByUserType: "system" | "user";
3954
3954
  createdAt: string;
3955
3955
  createdBy: string;
3956
- createdByRole: string;
3957
3956
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3957
+ createdByRole?: string | undefined;
3958
3958
  createdBySignature?: string | null | undefined;
3959
3959
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3960
3960
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3967,11 +3967,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3967
3967
  createdByUserType: "system" | "user";
3968
3968
  createdAt: string;
3969
3969
  createdBy: string;
3970
- createdByRole: string;
3971
3970
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3972
3971
  content?: {
3973
3972
  duplicateOf: string & import("zod").BRAND<"UUID">;
3974
3973
  } | undefined;
3974
+ createdByRole?: string | undefined;
3975
3975
  createdBySignature?: string | null | undefined;
3976
3976
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3977
3977
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3987,8 +3987,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3987
3987
  createdByUserType: "system" | "user";
3988
3988
  createdAt: string;
3989
3989
  createdBy: string;
3990
- createdByRole: string;
3991
3990
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3991
+ createdByRole?: string | undefined;
3992
3992
  createdBySignature?: string | null | undefined;
3993
3993
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3994
3994
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4001,8 +4001,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4001
4001
  createdByUserType: "system" | "user";
4002
4002
  createdAt: string;
4003
4003
  createdBy: string;
4004
- createdByRole: string;
4005
4004
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4005
+ createdByRole?: string | undefined;
4006
4006
  createdBySignature?: string | null | undefined;
4007
4007
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4008
4008
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4015,8 +4015,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4015
4015
  createdByUserType: "system" | "user";
4016
4016
  createdAt: string;
4017
4017
  createdBy: string;
4018
- createdByRole: string;
4019
4018
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4019
+ createdByRole?: string | undefined;
4020
4020
  createdBySignature?: string | null | undefined;
4021
4021
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4022
4022
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4029,11 +4029,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4029
4029
  createdByUserType: "system" | "user";
4030
4030
  createdAt: string;
4031
4031
  createdBy: string;
4032
- createdByRole: string;
4033
4032
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4034
4033
  content?: {
4035
4034
  templateId?: string | undefined;
4036
4035
  } | null | undefined;
4036
+ createdByRole?: string | undefined;
4037
4037
  createdBySignature?: string | null | undefined;
4038
4038
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4039
4039
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4046,8 +4046,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4046
4046
  createdByUserType: "system" | "user";
4047
4047
  createdAt: string;
4048
4048
  createdBy: string;
4049
- createdByRole: string;
4050
4049
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4050
+ createdByRole?: string | undefined;
4051
4051
  createdBySignature?: string | null | undefined;
4052
4052
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4053
4053
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4060,9 +4060,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4060
4060
  createdByUserType: "system" | "user";
4061
4061
  createdAt: string;
4062
4062
  createdBy: string;
4063
- createdByRole: string;
4064
4063
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4065
4064
  requestId: string;
4065
+ createdByRole?: string | undefined;
4066
4066
  createdBySignature?: string | null | undefined;
4067
4067
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4068
4068
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4078,9 +4078,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4078
4078
  createdByUserType: "system" | "user";
4079
4079
  createdAt: string;
4080
4080
  createdBy: string;
4081
- createdByRole: string;
4082
4081
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4083
4082
  requestId: string;
4083
+ createdByRole?: string | undefined;
4084
4084
  createdBySignature?: string | null | undefined;
4085
4085
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4086
4086
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4093,8 +4093,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4093
4093
  createdByUserType: "system" | "user";
4094
4094
  createdAt: string;
4095
4095
  createdBy: string;
4096
- createdByRole: string;
4097
4096
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4097
+ createdByRole?: string | undefined;
4098
4098
  createdBySignature?: string | null | undefined;
4099
4099
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4100
4100
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4107,7 +4107,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4107
4107
  createdByUserType: "system" | "user";
4108
4108
  createdAt: string;
4109
4109
  createdBy: string;
4110
- createdByRole: string;
4110
+ createdByRole?: string | undefined;
4111
4111
  createdBySignature?: string | null | undefined;
4112
4112
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4113
4113
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -4127,7 +4127,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4127
4127
  } | {
4128
4128
  type: "system";
4129
4129
  id: string;
4130
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4130
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4131
4131
  primaryOfficeId?: undefined;
4132
4132
  signature?: undefined;
4133
4133
  };
@@ -4148,7 +4148,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4148
4148
  } | {
4149
4149
  type: "system";
4150
4150
  id: string;
4151
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4151
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4152
4152
  primaryOfficeId?: undefined;
4153
4153
  signature?: undefined;
4154
4154
  };
@@ -4422,7 +4422,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4422
4422
  } | {
4423
4423
  type: "system";
4424
4424
  id: string;
4425
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4425
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4426
4426
  primaryOfficeId?: undefined;
4427
4427
  signature?: undefined;
4428
4428
  };
@@ -4696,7 +4696,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4696
4696
  } | {
4697
4697
  type: "system";
4698
4698
  id: string;
4699
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4699
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4700
4700
  primaryOfficeId?: undefined;
4701
4701
  signature?: undefined;
4702
4702
  };
@@ -4971,7 +4971,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4971
4971
  } | {
4972
4972
  type: "system";
4973
4973
  id: string;
4974
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4974
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4975
4975
  primaryOfficeId?: undefined;
4976
4976
  signature?: undefined;
4977
4977
  };
@@ -5011,9 +5011,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5011
5011
  createdByUserType: "system" | "user";
5012
5012
  createdAt: string;
5013
5013
  createdBy: string;
5014
- createdByRole: string;
5015
5014
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5016
5015
  assignedTo: string;
5016
+ createdByRole?: string | undefined;
5017
5017
  createdBySignature?: string | null | undefined;
5018
5018
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5019
5019
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5026,8 +5026,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5026
5026
  createdByUserType: "system" | "user";
5027
5027
  createdAt: string;
5028
5028
  createdBy: string;
5029
- createdByRole: string;
5030
5029
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5030
+ createdByRole?: string | undefined;
5031
5031
  createdBySignature?: string | null | undefined;
5032
5032
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5033
5033
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5040,8 +5040,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5040
5040
  createdByUserType: "system" | "user";
5041
5041
  createdAt: string;
5042
5042
  createdBy: string;
5043
- createdByRole: string;
5044
5043
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5044
+ createdByRole?: string | undefined;
5045
5045
  createdBySignature?: string | null | undefined;
5046
5046
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5047
5047
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5055,8 +5055,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5055
5055
  createdByUserType: "system" | "user";
5056
5056
  createdAt: string;
5057
5057
  createdBy: string;
5058
- createdByRole: string;
5059
5058
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5059
+ createdByRole?: string | undefined;
5060
5060
  createdBySignature?: string | null | undefined;
5061
5061
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5062
5062
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5069,8 +5069,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5069
5069
  createdByUserType: "system" | "user";
5070
5070
  createdAt: string;
5071
5071
  createdBy: string;
5072
- createdByRole: string;
5073
5072
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5073
+ createdByRole?: string | undefined;
5074
5074
  createdBySignature?: string | null | undefined;
5075
5075
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5076
5076
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5086,8 +5086,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5086
5086
  createdByUserType: "system" | "user";
5087
5087
  createdAt: string;
5088
5088
  createdBy: string;
5089
- createdByRole: string;
5090
5089
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5090
+ createdByRole?: string | undefined;
5091
5091
  createdBySignature?: string | null | undefined;
5092
5092
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5093
5093
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5106,8 +5106,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5106
5106
  createdByUserType: "system" | "user";
5107
5107
  createdAt: string;
5108
5108
  createdBy: string;
5109
- createdByRole: string;
5110
5109
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5110
+ createdByRole?: string | undefined;
5111
5111
  createdBySignature?: string | null | undefined;
5112
5112
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5113
5113
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5120,8 +5120,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5120
5120
  createdByUserType: "system" | "user";
5121
5121
  createdAt: string;
5122
5122
  createdBy: string;
5123
- createdByRole: string;
5124
5123
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5124
+ createdByRole?: string | undefined;
5125
5125
  createdBySignature?: string | null | undefined;
5126
5126
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5127
5127
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5134,11 +5134,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5134
5134
  createdByUserType: "system" | "user";
5135
5135
  createdAt: string;
5136
5136
  createdBy: string;
5137
- createdByRole: string;
5138
5137
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5139
5138
  content?: {
5140
5139
  duplicateOf: string & import("zod").BRAND<"UUID">;
5141
5140
  } | undefined;
5141
+ createdByRole?: string | undefined;
5142
5142
  createdBySignature?: string | null | undefined;
5143
5143
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5144
5144
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5154,8 +5154,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5154
5154
  createdByUserType: "system" | "user";
5155
5155
  createdAt: string;
5156
5156
  createdBy: string;
5157
- createdByRole: string;
5158
5157
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5158
+ createdByRole?: string | undefined;
5159
5159
  createdBySignature?: string | null | undefined;
5160
5160
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5161
5161
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5168,8 +5168,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5168
5168
  createdByUserType: "system" | "user";
5169
5169
  createdAt: string;
5170
5170
  createdBy: string;
5171
- createdByRole: string;
5172
5171
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5172
+ createdByRole?: string | undefined;
5173
5173
  createdBySignature?: string | null | undefined;
5174
5174
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5175
5175
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5182,8 +5182,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5182
5182
  createdByUserType: "system" | "user";
5183
5183
  createdAt: string;
5184
5184
  createdBy: string;
5185
- createdByRole: string;
5186
5185
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5186
+ createdByRole?: string | undefined;
5187
5187
  createdBySignature?: string | null | undefined;
5188
5188
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5189
5189
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5196,11 +5196,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5196
5196
  createdByUserType: "system" | "user";
5197
5197
  createdAt: string;
5198
5198
  createdBy: string;
5199
- createdByRole: string;
5200
5199
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5201
5200
  content?: {
5202
5201
  templateId?: string | undefined;
5203
5202
  } | null | undefined;
5203
+ createdByRole?: string | undefined;
5204
5204
  createdBySignature?: string | null | undefined;
5205
5205
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5206
5206
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5213,8 +5213,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5213
5213
  createdByUserType: "system" | "user";
5214
5214
  createdAt: string;
5215
5215
  createdBy: string;
5216
- createdByRole: string;
5217
5216
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5217
+ createdByRole?: string | undefined;
5218
5218
  createdBySignature?: string | null | undefined;
5219
5219
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5220
5220
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5227,9 +5227,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5227
5227
  createdByUserType: "system" | "user";
5228
5228
  createdAt: string;
5229
5229
  createdBy: string;
5230
- createdByRole: string;
5231
5230
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5232
5231
  requestId: string;
5232
+ createdByRole?: string | undefined;
5233
5233
  createdBySignature?: string | null | undefined;
5234
5234
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5235
5235
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5245,9 +5245,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5245
5245
  createdByUserType: "system" | "user";
5246
5246
  createdAt: string;
5247
5247
  createdBy: string;
5248
- createdByRole: string;
5249
5248
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5250
5249
  requestId: string;
5250
+ createdByRole?: string | undefined;
5251
5251
  createdBySignature?: string | null | undefined;
5252
5252
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5253
5253
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5260,8 +5260,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5260
5260
  createdByUserType: "system" | "user";
5261
5261
  createdAt: string;
5262
5262
  createdBy: string;
5263
- createdByRole: string;
5264
5263
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5264
+ createdByRole?: string | undefined;
5265
5265
  createdBySignature?: string | null | undefined;
5266
5266
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5267
5267
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5274,7 +5274,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5274
5274
  createdByUserType: "system" | "user";
5275
5275
  createdAt: string;
5276
5276
  createdBy: string;
5277
- createdByRole: string;
5277
+ createdByRole?: string | undefined;
5278
5278
  createdBySignature?: string | null | undefined;
5279
5279
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5280
5280
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -5309,9 +5309,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5309
5309
  createdByUserType: "system" | "user";
5310
5310
  createdAt: string;
5311
5311
  createdBy: string;
5312
- createdByRole: string;
5313
5312
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5314
5313
  assignedTo: string;
5314
+ createdByRole?: string | undefined;
5315
5315
  createdBySignature?: string | null | undefined;
5316
5316
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5317
5317
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5324,8 +5324,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5324
5324
  createdByUserType: "system" | "user";
5325
5325
  createdAt: string;
5326
5326
  createdBy: string;
5327
- createdByRole: string;
5328
5327
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5328
+ createdByRole?: string | undefined;
5329
5329
  createdBySignature?: string | null | undefined;
5330
5330
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5331
5331
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5338,8 +5338,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5338
5338
  createdByUserType: "system" | "user";
5339
5339
  createdAt: string;
5340
5340
  createdBy: string;
5341
- createdByRole: string;
5342
5341
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5342
+ createdByRole?: string | undefined;
5343
5343
  createdBySignature?: string | null | undefined;
5344
5344
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5345
5345
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5353,8 +5353,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5353
5353
  createdByUserType: "system" | "user";
5354
5354
  createdAt: string;
5355
5355
  createdBy: string;
5356
- createdByRole: string;
5357
5356
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5357
+ createdByRole?: string | undefined;
5358
5358
  createdBySignature?: string | null | undefined;
5359
5359
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5360
5360
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5367,8 +5367,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5367
5367
  createdByUserType: "system" | "user";
5368
5368
  createdAt: string;
5369
5369
  createdBy: string;
5370
- createdByRole: string;
5371
5370
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5371
+ createdByRole?: string | undefined;
5372
5372
  createdBySignature?: string | null | undefined;
5373
5373
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5374
5374
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5384,8 +5384,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5384
5384
  createdByUserType: "system" | "user";
5385
5385
  createdAt: string;
5386
5386
  createdBy: string;
5387
- createdByRole: string;
5388
5387
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5388
+ createdByRole?: string | undefined;
5389
5389
  createdBySignature?: string | null | undefined;
5390
5390
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5391
5391
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5404,8 +5404,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5404
5404
  createdByUserType: "system" | "user";
5405
5405
  createdAt: string;
5406
5406
  createdBy: string;
5407
- createdByRole: string;
5408
5407
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5408
+ createdByRole?: string | undefined;
5409
5409
  createdBySignature?: string | null | undefined;
5410
5410
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5411
5411
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5418,8 +5418,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5418
5418
  createdByUserType: "system" | "user";
5419
5419
  createdAt: string;
5420
5420
  createdBy: string;
5421
- createdByRole: string;
5422
5421
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5422
+ createdByRole?: string | undefined;
5423
5423
  createdBySignature?: string | null | undefined;
5424
5424
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5425
5425
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5432,11 +5432,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5432
5432
  createdByUserType: "system" | "user";
5433
5433
  createdAt: string;
5434
5434
  createdBy: string;
5435
- createdByRole: string;
5436
5435
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5437
5436
  content?: {
5438
5437
  duplicateOf: string & import("zod").BRAND<"UUID">;
5439
5438
  } | undefined;
5439
+ createdByRole?: string | undefined;
5440
5440
  createdBySignature?: string | null | undefined;
5441
5441
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5442
5442
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5452,8 +5452,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5452
5452
  createdByUserType: "system" | "user";
5453
5453
  createdAt: string;
5454
5454
  createdBy: string;
5455
- createdByRole: string;
5456
5455
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5456
+ createdByRole?: string | undefined;
5457
5457
  createdBySignature?: string | null | undefined;
5458
5458
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5459
5459
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5466,8 +5466,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5466
5466
  createdByUserType: "system" | "user";
5467
5467
  createdAt: string;
5468
5468
  createdBy: string;
5469
- createdByRole: string;
5470
5469
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5470
+ createdByRole?: string | undefined;
5471
5471
  createdBySignature?: string | null | undefined;
5472
5472
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5473
5473
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5480,8 +5480,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5480
5480
  createdByUserType: "system" | "user";
5481
5481
  createdAt: string;
5482
5482
  createdBy: string;
5483
- createdByRole: string;
5484
5483
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5484
+ createdByRole?: string | undefined;
5485
5485
  createdBySignature?: string | null | undefined;
5486
5486
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5487
5487
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5494,11 +5494,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5494
5494
  createdByUserType: "system" | "user";
5495
5495
  createdAt: string;
5496
5496
  createdBy: string;
5497
- createdByRole: string;
5498
5497
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5499
5498
  content?: {
5500
5499
  templateId?: string | undefined;
5501
5500
  } | null | undefined;
5501
+ createdByRole?: string | undefined;
5502
5502
  createdBySignature?: string | null | undefined;
5503
5503
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5504
5504
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5511,8 +5511,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5511
5511
  createdByUserType: "system" | "user";
5512
5512
  createdAt: string;
5513
5513
  createdBy: string;
5514
- createdByRole: string;
5515
5514
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5515
+ createdByRole?: string | undefined;
5516
5516
  createdBySignature?: string | null | undefined;
5517
5517
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5518
5518
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5525,9 +5525,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5525
5525
  createdByUserType: "system" | "user";
5526
5526
  createdAt: string;
5527
5527
  createdBy: string;
5528
- createdByRole: string;
5529
5528
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5530
5529
  requestId: string;
5530
+ createdByRole?: string | undefined;
5531
5531
  createdBySignature?: string | null | undefined;
5532
5532
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5533
5533
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5543,9 +5543,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5543
5543
  createdByUserType: "system" | "user";
5544
5544
  createdAt: string;
5545
5545
  createdBy: string;
5546
- createdByRole: string;
5547
5546
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5548
5547
  requestId: string;
5548
+ createdByRole?: string | undefined;
5549
5549
  createdBySignature?: string | null | undefined;
5550
5550
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5551
5551
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5558,8 +5558,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5558
5558
  createdByUserType: "system" | "user";
5559
5559
  createdAt: string;
5560
5560
  createdBy: string;
5561
- createdByRole: string;
5562
5561
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5562
+ createdByRole?: string | undefined;
5563
5563
  createdBySignature?: string | null | undefined;
5564
5564
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5565
5565
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5572,7 +5572,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5572
5572
  createdByUserType: "system" | "user";
5573
5573
  createdAt: string;
5574
5574
  createdBy: string;
5575
- createdByRole: string;
5575
+ createdByRole?: string | undefined;
5576
5576
  createdBySignature?: string | null | undefined;
5577
5577
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5578
5578
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -5604,24 +5604,23 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5604
5604
  DECLARED?: {
5605
5605
  createdAt: string;
5606
5606
  createdBy: string;
5607
- createdByRole: string;
5608
5607
  acceptedAt: string;
5609
5608
  createdByUserType?: "system" | "user" | null | undefined;
5609
+ createdByRole?: string | undefined;
5610
5610
  createdBySignature?: string | null | undefined;
5611
5611
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5612
5612
  } | null | undefined;
5613
5613
  REGISTERED?: {
5614
5614
  createdAt: string;
5615
5615
  createdBy: string;
5616
- createdByRole: string;
5617
5616
  registrationNumber: string;
5618
5617
  acceptedAt: string;
5619
5618
  createdByUserType?: "system" | "user" | null | undefined;
5619
+ createdByRole?: string | undefined;
5620
5620
  createdBySignature?: string | null | undefined;
5621
5621
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5622
5622
  } | null | undefined;
5623
5623
  };
5624
- updatedByUserRole: string;
5625
5624
  potentialDuplicates: {
5626
5625
  id: string & import("zod").BRAND<"UUID">;
5627
5626
  trackingId: string;
@@ -5632,6 +5631,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5632
5631
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5633
5632
  assignedTo?: string | null | undefined;
5634
5633
  dateOfEvent?: string | null | undefined;
5634
+ updatedByUserRole?: string | undefined;
5635
5635
  updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5636
5636
  updatedBy?: string | null | undefined;
5637
5637
  }[];
@@ -5653,9 +5653,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5653
5653
  createdByUserType: "system" | "user";
5654
5654
  createdAt: string;
5655
5655
  createdBy: string;
5656
- createdByRole: string;
5657
5656
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5658
5657
  assignedTo: string;
5658
+ createdByRole?: string | undefined;
5659
5659
  createdBySignature?: string | null | undefined;
5660
5660
  createdAtLocation?: string | null | undefined;
5661
5661
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5668,8 +5668,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5668
5668
  createdByUserType: "system" | "user";
5669
5669
  createdAt: string;
5670
5670
  createdBy: string;
5671
- createdByRole: string;
5672
5671
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5672
+ createdByRole?: string | undefined;
5673
5673
  createdBySignature?: string | null | undefined;
5674
5674
  createdAtLocation?: string | null | undefined;
5675
5675
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5682,8 +5682,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5682
5682
  createdByUserType: "system" | "user";
5683
5683
  createdAt: string;
5684
5684
  createdBy: string;
5685
- createdByRole: string;
5686
5685
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5686
+ createdByRole?: string | undefined;
5687
5687
  createdBySignature?: string | null | undefined;
5688
5688
  createdAtLocation?: string | null | undefined;
5689
5689
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5697,8 +5697,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5697
5697
  createdByUserType: "system" | "user";
5698
5698
  createdAt: string;
5699
5699
  createdBy: string;
5700
- createdByRole: string;
5701
5700
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5701
+ createdByRole?: string | undefined;
5702
5702
  createdBySignature?: string | null | undefined;
5703
5703
  createdAtLocation?: string | null | undefined;
5704
5704
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5711,8 +5711,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5711
5711
  createdByUserType: "system" | "user";
5712
5712
  createdAt: string;
5713
5713
  createdBy: string;
5714
- createdByRole: string;
5715
5714
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5715
+ createdByRole?: string | undefined;
5716
5716
  createdBySignature?: string | null | undefined;
5717
5717
  createdAtLocation?: string | null | undefined;
5718
5718
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5728,8 +5728,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5728
5728
  createdByUserType: "system" | "user";
5729
5729
  createdAt: string;
5730
5730
  createdBy: string;
5731
- createdByRole: string;
5732
5731
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5732
+ createdByRole?: string | undefined;
5733
5733
  createdBySignature?: string | null | undefined;
5734
5734
  createdAtLocation?: string | null | undefined;
5735
5735
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5748,8 +5748,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5748
5748
  createdByUserType: "system" | "user";
5749
5749
  createdAt: string;
5750
5750
  createdBy: string;
5751
- createdByRole: string;
5752
5751
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5752
+ createdByRole?: string | undefined;
5753
5753
  createdBySignature?: string | null | undefined;
5754
5754
  createdAtLocation?: string | null | undefined;
5755
5755
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5762,8 +5762,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5762
5762
  createdByUserType: "system" | "user";
5763
5763
  createdAt: string;
5764
5764
  createdBy: string;
5765
- createdByRole: string;
5766
5765
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5766
+ createdByRole?: string | undefined;
5767
5767
  createdBySignature?: string | null | undefined;
5768
5768
  createdAtLocation?: string | null | undefined;
5769
5769
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5776,11 +5776,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5776
5776
  createdByUserType: "system" | "user";
5777
5777
  createdAt: string;
5778
5778
  createdBy: string;
5779
- createdByRole: string;
5780
5779
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5781
5780
  content?: {
5782
5781
  duplicateOf: string;
5783
5782
  } | undefined;
5783
+ createdByRole?: string | undefined;
5784
5784
  createdBySignature?: string | null | undefined;
5785
5785
  createdAtLocation?: string | null | undefined;
5786
5786
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5796,8 +5796,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5796
5796
  createdByUserType: "system" | "user";
5797
5797
  createdAt: string;
5798
5798
  createdBy: string;
5799
- createdByRole: string;
5800
5799
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5800
+ createdByRole?: string | undefined;
5801
5801
  createdBySignature?: string | null | undefined;
5802
5802
  createdAtLocation?: string | null | undefined;
5803
5803
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5810,8 +5810,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5810
5810
  createdByUserType: "system" | "user";
5811
5811
  createdAt: string;
5812
5812
  createdBy: string;
5813
- createdByRole: string;
5814
5813
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5814
+ createdByRole?: string | undefined;
5815
5815
  createdBySignature?: string | null | undefined;
5816
5816
  createdAtLocation?: string | null | undefined;
5817
5817
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5824,8 +5824,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5824
5824
  createdByUserType: "system" | "user";
5825
5825
  createdAt: string;
5826
5826
  createdBy: string;
5827
- createdByRole: string;
5828
5827
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5828
+ createdByRole?: string | undefined;
5829
5829
  createdBySignature?: string | null | undefined;
5830
5830
  createdAtLocation?: string | null | undefined;
5831
5831
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5838,11 +5838,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5838
5838
  createdByUserType: "system" | "user";
5839
5839
  createdAt: string;
5840
5840
  createdBy: string;
5841
- createdByRole: string;
5842
5841
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5843
5842
  content?: {
5844
5843
  templateId?: string | undefined;
5845
5844
  } | null | undefined;
5845
+ createdByRole?: string | undefined;
5846
5846
  createdBySignature?: string | null | undefined;
5847
5847
  createdAtLocation?: string | null | undefined;
5848
5848
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5855,8 +5855,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5855
5855
  createdByUserType: "system" | "user";
5856
5856
  createdAt: string;
5857
5857
  createdBy: string;
5858
- createdByRole: string;
5859
5858
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5859
+ createdByRole?: string | undefined;
5860
5860
  createdBySignature?: string | null | undefined;
5861
5861
  createdAtLocation?: string | null | undefined;
5862
5862
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5869,9 +5869,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5869
5869
  createdByUserType: "system" | "user";
5870
5870
  createdAt: string;
5871
5871
  createdBy: string;
5872
- createdByRole: string;
5873
5872
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5874
5873
  requestId: string;
5874
+ createdByRole?: string | undefined;
5875
5875
  createdBySignature?: string | null | undefined;
5876
5876
  createdAtLocation?: string | null | undefined;
5877
5877
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5887,9 +5887,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5887
5887
  createdByUserType: "system" | "user";
5888
5888
  createdAt: string;
5889
5889
  createdBy: string;
5890
- createdByRole: string;
5891
5890
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5892
5891
  requestId: string;
5892
+ createdByRole?: string | undefined;
5893
5893
  createdBySignature?: string | null | undefined;
5894
5894
  createdAtLocation?: string | null | undefined;
5895
5895
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5902,8 +5902,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5902
5902
  createdByUserType: "system" | "user";
5903
5903
  createdAt: string;
5904
5904
  createdBy: string;
5905
- createdByRole: string;
5906
5905
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5906
+ createdByRole?: string | undefined;
5907
5907
  createdBySignature?: string | null | undefined;
5908
5908
  createdAtLocation?: string | null | undefined;
5909
5909
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5916,7 +5916,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5916
5916
  createdByUserType: "system" | "user";
5917
5917
  createdAt: string;
5918
5918
  createdBy: string;
5919
- createdByRole: string;
5919
+ createdByRole?: string | undefined;
5920
5920
  createdBySignature?: string | null | undefined;
5921
5921
  createdAtLocation?: string | null | undefined;
5922
5922
  originalActionId?: string | null | undefined;
@@ -5936,7 +5936,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5936
5936
  } | {
5937
5937
  type: "system";
5938
5938
  id: string;
5939
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
5939
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
5940
5940
  primaryOfficeId?: undefined;
5941
5941
  signature?: undefined;
5942
5942
  };
@@ -5980,7 +5980,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5980
5980
  } | {
5981
5981
  type: "system";
5982
5982
  id: string;
5983
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
5983
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
5984
5984
  primaryOfficeId?: undefined;
5985
5985
  signature?: undefined;
5986
5986
  };
@@ -6010,8 +6010,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6010
6010
  type: "system";
6011
6011
  id: string;
6012
6012
  name: string;
6013
- role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6014
6013
  signature?: undefined;
6014
+ role?: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6015
6015
  fullHonorificName?: string | undefined;
6016
6016
  primaryOfficeId?: undefined;
6017
6017
  avatar?: undefined;
@@ -6038,8 +6038,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6038
6038
  type: "system";
6039
6039
  id: string;
6040
6040
  name: string;
6041
- role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6042
6041
  signature?: undefined;
6042
+ role?: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6043
6043
  fullHonorificName?: string | undefined;
6044
6044
  primaryOfficeId?: undefined;
6045
6045
  avatar?: undefined;
@@ -6068,7 +6068,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6068
6068
  declaration: Record<string, any>;
6069
6069
  annotation: Record<string, any> | null;
6070
6070
  createdBy: string;
6071
- createdByRole: string;
6071
+ createdByRole: string | null;
6072
6072
  createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
6073
6073
  createdBySignature: string | null;
6074
6074
  createdAtLocation: (string & import("zod").BRAND<"UUID">) | null;
@@ -6095,7 +6095,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6095
6095
  } | {
6096
6096
  type: "system";
6097
6097
  id: string;
6098
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6098
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6099
6099
  primaryOfficeId?: undefined;
6100
6100
  signature?: undefined;
6101
6101
  };
@@ -6148,7 +6148,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6148
6148
  } | {
6149
6149
  type: "system";
6150
6150
  id: string;
6151
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6151
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6152
6152
  primaryOfficeId?: undefined;
6153
6153
  signature?: undefined;
6154
6154
  };
@@ -6169,7 +6169,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6169
6169
  } | {
6170
6170
  type: "system";
6171
6171
  id: string;
6172
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6172
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6173
6173
  primaryOfficeId?: undefined;
6174
6174
  signature?: undefined;
6175
6175
  };