@opencrvs/toolkit 1.9.16-rc.c7acc1a → 1.9.16-rc.d141bab

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
  };
@@ -333,9 +333,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
333
333
  createdByUserType: "system" | "user";
334
334
  createdAt: string;
335
335
  createdBy: string;
336
- createdByRole: string;
337
336
  declaration: Record<string, import("../commons").FieldUpdateValue>;
338
337
  assignedTo: string;
338
+ createdByRole?: string | undefined;
339
339
  createdBySignature?: string | null | undefined;
340
340
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
341
341
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -348,8 +348,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
348
348
  createdByUserType: "system" | "user";
349
349
  createdAt: string;
350
350
  createdBy: string;
351
- createdByRole: string;
352
351
  declaration: Record<string, import("../commons").FieldUpdateValue>;
352
+ createdByRole?: string | undefined;
353
353
  createdBySignature?: string | null | undefined;
354
354
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
355
355
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -362,8 +362,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
362
362
  createdByUserType: "system" | "user";
363
363
  createdAt: string;
364
364
  createdBy: string;
365
- createdByRole: string;
366
365
  declaration: Record<string, import("../commons").FieldUpdateValue>;
366
+ createdByRole?: string | undefined;
367
367
  createdBySignature?: string | null | undefined;
368
368
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
369
369
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -377,8 +377,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
377
377
  createdByUserType: "system" | "user";
378
378
  createdAt: string;
379
379
  createdBy: string;
380
- createdByRole: string;
381
380
  declaration: Record<string, import("../commons").FieldUpdateValue>;
381
+ createdByRole?: string | undefined;
382
382
  createdBySignature?: string | null | undefined;
383
383
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
384
384
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -391,8 +391,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
391
391
  createdByUserType: "system" | "user";
392
392
  createdAt: string;
393
393
  createdBy: string;
394
- createdByRole: string;
395
394
  declaration: Record<string, import("../commons").FieldUpdateValue>;
395
+ createdByRole?: string | undefined;
396
396
  createdBySignature?: string | null | undefined;
397
397
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
398
398
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -408,8 +408,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
408
408
  createdByUserType: "system" | "user";
409
409
  createdAt: string;
410
410
  createdBy: string;
411
- createdByRole: string;
412
411
  declaration: Record<string, import("../commons").FieldUpdateValue>;
412
+ createdByRole?: string | undefined;
413
413
  createdBySignature?: string | null | undefined;
414
414
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
415
415
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -428,8 +428,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
428
428
  createdByUserType: "system" | "user";
429
429
  createdAt: string;
430
430
  createdBy: string;
431
- createdByRole: string;
432
431
  declaration: Record<string, import("../commons").FieldUpdateValue>;
432
+ createdByRole?: string | undefined;
433
433
  createdBySignature?: string | null | undefined;
434
434
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
435
435
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -442,8 +442,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
442
442
  createdByUserType: "system" | "user";
443
443
  createdAt: string;
444
444
  createdBy: string;
445
- createdByRole: string;
446
445
  declaration: Record<string, import("../commons").FieldUpdateValue>;
446
+ createdByRole?: string | undefined;
447
447
  createdBySignature?: string | null | undefined;
448
448
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
449
449
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -456,11 +456,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
456
456
  createdByUserType: "system" | "user";
457
457
  createdAt: string;
458
458
  createdBy: string;
459
- createdByRole: string;
460
459
  declaration: Record<string, import("../commons").FieldUpdateValue>;
461
460
  content?: {
462
461
  duplicateOf: string & import("zod").BRAND<"UUID">;
463
462
  } | undefined;
463
+ createdByRole?: string | undefined;
464
464
  createdBySignature?: string | null | undefined;
465
465
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
466
466
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -476,8 +476,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
476
476
  createdByUserType: "system" | "user";
477
477
  createdAt: string;
478
478
  createdBy: string;
479
- createdByRole: string;
480
479
  declaration: Record<string, import("../commons").FieldUpdateValue>;
480
+ createdByRole?: string | undefined;
481
481
  createdBySignature?: string | null | undefined;
482
482
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
483
483
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -490,8 +490,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
490
490
  createdByUserType: "system" | "user";
491
491
  createdAt: string;
492
492
  createdBy: string;
493
- createdByRole: string;
494
493
  declaration: Record<string, import("../commons").FieldUpdateValue>;
494
+ createdByRole?: string | undefined;
495
495
  createdBySignature?: string | null | undefined;
496
496
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
497
497
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -504,8 +504,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
504
504
  createdByUserType: "system" | "user";
505
505
  createdAt: string;
506
506
  createdBy: string;
507
- createdByRole: string;
508
507
  declaration: Record<string, import("../commons").FieldUpdateValue>;
508
+ createdByRole?: string | undefined;
509
509
  createdBySignature?: string | null | undefined;
510
510
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
511
511
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -518,11 +518,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
518
518
  createdByUserType: "system" | "user";
519
519
  createdAt: string;
520
520
  createdBy: string;
521
- createdByRole: string;
522
521
  declaration: Record<string, import("../commons").FieldUpdateValue>;
523
522
  content?: {
524
523
  templateId?: string | undefined;
525
524
  } | null | undefined;
525
+ createdByRole?: string | undefined;
526
526
  createdBySignature?: string | null | undefined;
527
527
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
528
528
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -535,8 +535,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
535
535
  createdByUserType: "system" | "user";
536
536
  createdAt: string;
537
537
  createdBy: string;
538
- createdByRole: string;
539
538
  declaration: Record<string, import("../commons").FieldUpdateValue>;
539
+ createdByRole?: string | undefined;
540
540
  createdBySignature?: string | null | undefined;
541
541
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
542
542
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -549,9 +549,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
549
549
  createdByUserType: "system" | "user";
550
550
  createdAt: string;
551
551
  createdBy: string;
552
- createdByRole: string;
553
552
  declaration: Record<string, import("../commons").FieldUpdateValue>;
554
553
  requestId: string;
554
+ createdByRole?: string | undefined;
555
555
  createdBySignature?: string | null | undefined;
556
556
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
557
557
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -567,9 +567,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
567
567
  createdByUserType: "system" | "user";
568
568
  createdAt: string;
569
569
  createdBy: string;
570
- createdByRole: string;
571
570
  declaration: Record<string, import("../commons").FieldUpdateValue>;
572
571
  requestId: string;
572
+ createdByRole?: string | undefined;
573
573
  createdBySignature?: string | null | undefined;
574
574
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
575
575
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -582,8 +582,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
582
582
  createdByUserType: "system" | "user";
583
583
  createdAt: string;
584
584
  createdBy: string;
585
- createdByRole: string;
586
585
  declaration: Record<string, import("../commons").FieldUpdateValue>;
586
+ createdByRole?: string | undefined;
587
587
  createdBySignature?: string | null | undefined;
588
588
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
589
589
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -596,7 +596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
596
596
  createdByUserType: "system" | "user";
597
597
  createdAt: string;
598
598
  createdBy: string;
599
- createdByRole: string;
599
+ createdByRole?: string | undefined;
600
600
  createdBySignature?: string | null | undefined;
601
601
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
602
602
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -620,9 +620,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
620
620
  createdByUserType: "system" | "user";
621
621
  createdAt: string;
622
622
  createdBy: string;
623
- createdByRole: string;
624
623
  declaration: Record<string, import("../commons").FieldUpdateValue>;
625
624
  assignedTo: string;
625
+ createdByRole?: string | undefined;
626
626
  createdBySignature?: string | null | undefined;
627
627
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
628
628
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -635,8 +635,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
635
635
  createdByUserType: "system" | "user";
636
636
  createdAt: string;
637
637
  createdBy: string;
638
- createdByRole: string;
639
638
  declaration: Record<string, import("../commons").FieldUpdateValue>;
639
+ createdByRole?: string | undefined;
640
640
  createdBySignature?: string | null | undefined;
641
641
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
642
642
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -649,8 +649,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
649
649
  createdByUserType: "system" | "user";
650
650
  createdAt: string;
651
651
  createdBy: string;
652
- createdByRole: string;
653
652
  declaration: Record<string, import("../commons").FieldUpdateValue>;
653
+ createdByRole?: string | undefined;
654
654
  createdBySignature?: string | null | undefined;
655
655
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
656
656
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -664,8 +664,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
664
664
  createdByUserType: "system" | "user";
665
665
  createdAt: string;
666
666
  createdBy: string;
667
- createdByRole: string;
668
667
  declaration: Record<string, import("../commons").FieldUpdateValue>;
668
+ createdByRole?: string | undefined;
669
669
  createdBySignature?: string | null | undefined;
670
670
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
671
671
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -678,8 +678,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
678
678
  createdByUserType: "system" | "user";
679
679
  createdAt: string;
680
680
  createdBy: string;
681
- createdByRole: string;
682
681
  declaration: Record<string, import("../commons").FieldUpdateValue>;
682
+ createdByRole?: string | undefined;
683
683
  createdBySignature?: string | null | undefined;
684
684
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
685
685
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -695,8 +695,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
695
695
  createdByUserType: "system" | "user";
696
696
  createdAt: string;
697
697
  createdBy: string;
698
- createdByRole: string;
699
698
  declaration: Record<string, import("../commons").FieldUpdateValue>;
699
+ createdByRole?: string | undefined;
700
700
  createdBySignature?: string | null | undefined;
701
701
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
702
702
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -715,8 +715,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
715
715
  createdByUserType: "system" | "user";
716
716
  createdAt: string;
717
717
  createdBy: string;
718
- createdByRole: string;
719
718
  declaration: Record<string, import("../commons").FieldUpdateValue>;
719
+ createdByRole?: string | undefined;
720
720
  createdBySignature?: string | null | undefined;
721
721
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
722
722
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -729,8 +729,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
729
729
  createdByUserType: "system" | "user";
730
730
  createdAt: string;
731
731
  createdBy: string;
732
- createdByRole: string;
733
732
  declaration: Record<string, import("../commons").FieldUpdateValue>;
733
+ createdByRole?: string | undefined;
734
734
  createdBySignature?: string | null | undefined;
735
735
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
736
736
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -743,11 +743,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
743
743
  createdByUserType: "system" | "user";
744
744
  createdAt: string;
745
745
  createdBy: string;
746
- createdByRole: string;
747
746
  declaration: Record<string, import("../commons").FieldUpdateValue>;
748
747
  content?: {
749
748
  duplicateOf: string & import("zod").BRAND<"UUID">;
750
749
  } | undefined;
750
+ createdByRole?: string | undefined;
751
751
  createdBySignature?: string | null | undefined;
752
752
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
753
753
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -763,8 +763,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
763
763
  createdByUserType: "system" | "user";
764
764
  createdAt: string;
765
765
  createdBy: string;
766
- createdByRole: string;
767
766
  declaration: Record<string, import("../commons").FieldUpdateValue>;
767
+ createdByRole?: string | undefined;
768
768
  createdBySignature?: string | null | undefined;
769
769
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
770
770
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -777,8 +777,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
777
777
  createdByUserType: "system" | "user";
778
778
  createdAt: string;
779
779
  createdBy: string;
780
- createdByRole: string;
781
780
  declaration: Record<string, import("../commons").FieldUpdateValue>;
781
+ createdByRole?: string | undefined;
782
782
  createdBySignature?: string | null | undefined;
783
783
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
784
784
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -791,8 +791,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
791
791
  createdByUserType: "system" | "user";
792
792
  createdAt: string;
793
793
  createdBy: string;
794
- createdByRole: string;
795
794
  declaration: Record<string, import("../commons").FieldUpdateValue>;
795
+ createdByRole?: string | undefined;
796
796
  createdBySignature?: string | null | undefined;
797
797
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
798
798
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -805,11 +805,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
805
805
  createdByUserType: "system" | "user";
806
806
  createdAt: string;
807
807
  createdBy: string;
808
- createdByRole: string;
809
808
  declaration: Record<string, import("../commons").FieldUpdateValue>;
810
809
  content?: {
811
810
  templateId?: string | undefined;
812
811
  } | null | undefined;
812
+ createdByRole?: string | undefined;
813
813
  createdBySignature?: string | null | undefined;
814
814
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
815
815
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -822,8 +822,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
822
822
  createdByUserType: "system" | "user";
823
823
  createdAt: string;
824
824
  createdBy: string;
825
- createdByRole: string;
826
825
  declaration: Record<string, import("../commons").FieldUpdateValue>;
826
+ createdByRole?: string | undefined;
827
827
  createdBySignature?: string | null | undefined;
828
828
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
829
829
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -836,9 +836,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
836
836
  createdByUserType: "system" | "user";
837
837
  createdAt: string;
838
838
  createdBy: string;
839
- createdByRole: string;
840
839
  declaration: Record<string, import("../commons").FieldUpdateValue>;
841
840
  requestId: string;
841
+ createdByRole?: string | undefined;
842
842
  createdBySignature?: string | null | undefined;
843
843
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
844
844
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -854,9 +854,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
854
854
  createdByUserType: "system" | "user";
855
855
  createdAt: string;
856
856
  createdBy: string;
857
- createdByRole: string;
858
857
  declaration: Record<string, import("../commons").FieldUpdateValue>;
859
858
  requestId: string;
859
+ createdByRole?: string | undefined;
860
860
  createdBySignature?: string | null | undefined;
861
861
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
862
862
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -869,8 +869,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
869
869
  createdByUserType: "system" | "user";
870
870
  createdAt: string;
871
871
  createdBy: string;
872
- createdByRole: string;
873
872
  declaration: Record<string, import("../commons").FieldUpdateValue>;
873
+ createdByRole?: string | undefined;
874
874
  createdBySignature?: string | null | undefined;
875
875
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
876
876
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -883,7 +883,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
883
883
  createdByUserType: "system" | "user";
884
884
  createdAt: string;
885
885
  createdBy: string;
886
- createdByRole: string;
886
+ createdByRole?: string | undefined;
887
887
  createdBySignature?: string | null | undefined;
888
888
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
889
889
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -909,9 +909,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
909
909
  createdByUserType: "system" | "user";
910
910
  createdAt: string;
911
911
  createdBy: string;
912
- createdByRole: string;
913
912
  declaration: Record<string, import("../commons").FieldUpdateValue>;
914
913
  assignedTo: string;
914
+ createdByRole?: string | undefined;
915
915
  createdBySignature?: string | null | undefined;
916
916
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
917
917
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -924,8 +924,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
924
924
  createdByUserType: "system" | "user";
925
925
  createdAt: string;
926
926
  createdBy: string;
927
- createdByRole: string;
928
927
  declaration: Record<string, import("../commons").FieldUpdateValue>;
928
+ createdByRole?: string | undefined;
929
929
  createdBySignature?: string | null | undefined;
930
930
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
931
931
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -938,8 +938,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
938
938
  createdByUserType: "system" | "user";
939
939
  createdAt: string;
940
940
  createdBy: string;
941
- createdByRole: string;
942
941
  declaration: Record<string, import("../commons").FieldUpdateValue>;
942
+ createdByRole?: string | undefined;
943
943
  createdBySignature?: string | null | undefined;
944
944
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
945
945
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -953,8 +953,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
953
953
  createdByUserType: "system" | "user";
954
954
  createdAt: string;
955
955
  createdBy: string;
956
- createdByRole: string;
957
956
  declaration: Record<string, import("../commons").FieldUpdateValue>;
957
+ createdByRole?: string | undefined;
958
958
  createdBySignature?: string | null | undefined;
959
959
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
960
960
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -967,8 +967,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
967
967
  createdByUserType: "system" | "user";
968
968
  createdAt: string;
969
969
  createdBy: string;
970
- createdByRole: string;
971
970
  declaration: Record<string, import("../commons").FieldUpdateValue>;
971
+ createdByRole?: string | undefined;
972
972
  createdBySignature?: string | null | undefined;
973
973
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
974
974
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -984,8 +984,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
984
984
  createdByUserType: "system" | "user";
985
985
  createdAt: string;
986
986
  createdBy: string;
987
- createdByRole: string;
988
987
  declaration: Record<string, import("../commons").FieldUpdateValue>;
988
+ createdByRole?: string | undefined;
989
989
  createdBySignature?: string | null | undefined;
990
990
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
991
991
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1004,8 +1004,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1004
1004
  createdByUserType: "system" | "user";
1005
1005
  createdAt: string;
1006
1006
  createdBy: string;
1007
- createdByRole: string;
1008
1007
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1008
+ createdByRole?: string | undefined;
1009
1009
  createdBySignature?: string | null | undefined;
1010
1010
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1011
1011
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1018,8 +1018,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1018
1018
  createdByUserType: "system" | "user";
1019
1019
  createdAt: string;
1020
1020
  createdBy: string;
1021
- createdByRole: string;
1022
1021
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1022
+ createdByRole?: string | undefined;
1023
1023
  createdBySignature?: string | null | undefined;
1024
1024
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1025
1025
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1032,11 +1032,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1032
1032
  createdByUserType: "system" | "user";
1033
1033
  createdAt: string;
1034
1034
  createdBy: string;
1035
- createdByRole: string;
1036
1035
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1037
1036
  content?: {
1038
1037
  duplicateOf: string & import("zod").BRAND<"UUID">;
1039
1038
  } | undefined;
1039
+ createdByRole?: string | undefined;
1040
1040
  createdBySignature?: string | null | undefined;
1041
1041
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1042
1042
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1052,8 +1052,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1052
1052
  createdByUserType: "system" | "user";
1053
1053
  createdAt: string;
1054
1054
  createdBy: string;
1055
- createdByRole: string;
1056
1055
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1056
+ createdByRole?: string | undefined;
1057
1057
  createdBySignature?: string | null | undefined;
1058
1058
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1059
1059
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1066,8 +1066,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1066
1066
  createdByUserType: "system" | "user";
1067
1067
  createdAt: string;
1068
1068
  createdBy: string;
1069
- createdByRole: string;
1070
1069
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1070
+ createdByRole?: string | undefined;
1071
1071
  createdBySignature?: string | null | undefined;
1072
1072
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1073
1073
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1080,8 +1080,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1080
1080
  createdByUserType: "system" | "user";
1081
1081
  createdAt: string;
1082
1082
  createdBy: string;
1083
- createdByRole: string;
1084
1083
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1084
+ createdByRole?: string | undefined;
1085
1085
  createdBySignature?: string | null | undefined;
1086
1086
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1087
1087
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1094,11 +1094,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1094
1094
  createdByUserType: "system" | "user";
1095
1095
  createdAt: string;
1096
1096
  createdBy: string;
1097
- createdByRole: string;
1098
1097
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1099
1098
  content?: {
1100
1099
  templateId?: string | undefined;
1101
1100
  } | null | undefined;
1101
+ createdByRole?: string | undefined;
1102
1102
  createdBySignature?: string | null | undefined;
1103
1103
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1104
1104
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1111,8 +1111,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1111
1111
  createdByUserType: "system" | "user";
1112
1112
  createdAt: string;
1113
1113
  createdBy: string;
1114
- createdByRole: string;
1115
1114
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1115
+ createdByRole?: string | undefined;
1116
1116
  createdBySignature?: string | null | undefined;
1117
1117
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1118
1118
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1125,9 +1125,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1125
1125
  createdByUserType: "system" | "user";
1126
1126
  createdAt: string;
1127
1127
  createdBy: string;
1128
- createdByRole: string;
1129
1128
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1130
1129
  requestId: string;
1130
+ createdByRole?: string | undefined;
1131
1131
  createdBySignature?: string | null | undefined;
1132
1132
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1133
1133
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1143,9 +1143,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1143
1143
  createdByUserType: "system" | "user";
1144
1144
  createdAt: string;
1145
1145
  createdBy: string;
1146
- createdByRole: string;
1147
1146
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1148
1147
  requestId: string;
1148
+ createdByRole?: string | undefined;
1149
1149
  createdBySignature?: string | null | undefined;
1150
1150
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1151
1151
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1158,8 +1158,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1158
1158
  createdByUserType: "system" | "user";
1159
1159
  createdAt: string;
1160
1160
  createdBy: string;
1161
- createdByRole: string;
1162
1161
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1162
+ createdByRole?: string | undefined;
1163
1163
  createdBySignature?: string | null | undefined;
1164
1164
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1165
1165
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1172,7 +1172,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1172
1172
  createdByUserType: "system" | "user";
1173
1173
  createdAt: string;
1174
1174
  createdBy: string;
1175
- createdByRole: string;
1175
+ createdByRole?: string | undefined;
1176
1176
  createdBySignature?: string | null | undefined;
1177
1177
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1178
1178
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1200,7 +1200,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1200
1200
  } | {
1201
1201
  type: "system";
1202
1202
  id: string;
1203
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1203
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1204
1204
  primaryOfficeId?: undefined;
1205
1205
  signature?: undefined;
1206
1206
  };
@@ -1224,8 +1224,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1224
1224
  createdByUserType: "system" | "user";
1225
1225
  createdAt: string;
1226
1226
  createdBy: string;
1227
- createdByRole: string;
1228
1227
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1228
+ createdByRole?: string | undefined;
1229
1229
  createdBySignature?: string | null | undefined;
1230
1230
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1231
1231
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1259,8 +1259,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1259
1259
  createdByUserType: "system" | "user";
1260
1260
  createdAt: string;
1261
1261
  createdBy: string;
1262
- createdByRole: string;
1263
1262
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1263
+ createdByRole?: string | undefined;
1264
1264
  createdBySignature?: string | null | undefined;
1265
1265
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1266
1266
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -1280,7 +1280,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1280
1280
  } | {
1281
1281
  type: "system";
1282
1282
  id: string;
1283
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1283
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1284
1284
  primaryOfficeId?: undefined;
1285
1285
  signature?: undefined;
1286
1286
  };
@@ -1301,7 +1301,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1301
1301
  } | {
1302
1302
  type: "system";
1303
1303
  id: string;
1304
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1304
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1305
1305
  primaryOfficeId?: undefined;
1306
1306
  signature?: undefined;
1307
1307
  };
@@ -1575,7 +1575,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1575
1575
  } | {
1576
1576
  type: "system";
1577
1577
  id: string;
1578
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
1578
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
1579
1579
  primaryOfficeId?: undefined;
1580
1580
  signature?: undefined;
1581
1581
  };
@@ -1612,9 +1612,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1612
1612
  createdByUserType: "system" | "user";
1613
1613
  createdAt: string;
1614
1614
  createdBy: string;
1615
- createdByRole: string;
1616
1615
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1617
1616
  assignedTo: string;
1617
+ createdByRole?: string | undefined;
1618
1618
  createdBySignature?: string | null | undefined;
1619
1619
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1620
1620
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1627,8 +1627,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1627
1627
  createdByUserType: "system" | "user";
1628
1628
  createdAt: string;
1629
1629
  createdBy: string;
1630
- createdByRole: string;
1631
1630
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1631
+ createdByRole?: string | undefined;
1632
1632
  createdBySignature?: string | null | undefined;
1633
1633
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1634
1634
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1641,8 +1641,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1641
1641
  createdByUserType: "system" | "user";
1642
1642
  createdAt: string;
1643
1643
  createdBy: string;
1644
- createdByRole: string;
1645
1644
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1645
+ createdByRole?: string | undefined;
1646
1646
  createdBySignature?: string | null | undefined;
1647
1647
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1648
1648
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1656,8 +1656,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1656
1656
  createdByUserType: "system" | "user";
1657
1657
  createdAt: string;
1658
1658
  createdBy: string;
1659
- createdByRole: string;
1660
1659
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1660
+ createdByRole?: string | undefined;
1661
1661
  createdBySignature?: string | null | undefined;
1662
1662
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1663
1663
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1670,8 +1670,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1670
1670
  createdByUserType: "system" | "user";
1671
1671
  createdAt: string;
1672
1672
  createdBy: string;
1673
- createdByRole: string;
1674
1673
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1674
+ createdByRole?: string | undefined;
1675
1675
  createdBySignature?: string | null | undefined;
1676
1676
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1677
1677
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1687,8 +1687,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1687
1687
  createdByUserType: "system" | "user";
1688
1688
  createdAt: string;
1689
1689
  createdBy: string;
1690
- createdByRole: string;
1691
1690
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1691
+ createdByRole?: string | undefined;
1692
1692
  createdBySignature?: string | null | undefined;
1693
1693
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1694
1694
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1707,8 +1707,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1707
1707
  createdByUserType: "system" | "user";
1708
1708
  createdAt: string;
1709
1709
  createdBy: string;
1710
- createdByRole: string;
1711
1710
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1711
+ createdByRole?: string | undefined;
1712
1712
  createdBySignature?: string | null | undefined;
1713
1713
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1714
1714
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1721,8 +1721,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1721
1721
  createdByUserType: "system" | "user";
1722
1722
  createdAt: string;
1723
1723
  createdBy: string;
1724
- createdByRole: string;
1725
1724
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1725
+ createdByRole?: string | undefined;
1726
1726
  createdBySignature?: string | null | undefined;
1727
1727
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1728
1728
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1735,11 +1735,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1735
1735
  createdByUserType: "system" | "user";
1736
1736
  createdAt: string;
1737
1737
  createdBy: string;
1738
- createdByRole: string;
1739
1738
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1740
1739
  content?: {
1741
1740
  duplicateOf: string & import("zod").BRAND<"UUID">;
1742
1741
  } | undefined;
1742
+ createdByRole?: string | undefined;
1743
1743
  createdBySignature?: string | null | undefined;
1744
1744
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1745
1745
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1755,8 +1755,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1755
1755
  createdByUserType: "system" | "user";
1756
1756
  createdAt: string;
1757
1757
  createdBy: string;
1758
- createdByRole: string;
1759
1758
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1759
+ createdByRole?: string | undefined;
1760
1760
  createdBySignature?: string | null | undefined;
1761
1761
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1762
1762
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1769,8 +1769,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1769
1769
  createdByUserType: "system" | "user";
1770
1770
  createdAt: string;
1771
1771
  createdBy: string;
1772
- createdByRole: string;
1773
1772
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1773
+ createdByRole?: string | undefined;
1774
1774
  createdBySignature?: string | null | undefined;
1775
1775
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1776
1776
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1783,8 +1783,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1783
1783
  createdByUserType: "system" | "user";
1784
1784
  createdAt: string;
1785
1785
  createdBy: string;
1786
- createdByRole: string;
1787
1786
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1787
+ createdByRole?: string | undefined;
1788
1788
  createdBySignature?: string | null | undefined;
1789
1789
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1790
1790
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1797,11 +1797,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1797
1797
  createdByUserType: "system" | "user";
1798
1798
  createdAt: string;
1799
1799
  createdBy: string;
1800
- createdByRole: string;
1801
1800
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1802
1801
  content?: {
1803
1802
  templateId?: string | undefined;
1804
1803
  } | null | undefined;
1804
+ createdByRole?: string | undefined;
1805
1805
  createdBySignature?: string | null | undefined;
1806
1806
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1807
1807
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1814,8 +1814,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1814
1814
  createdByUserType: "system" | "user";
1815
1815
  createdAt: string;
1816
1816
  createdBy: string;
1817
- createdByRole: string;
1818
1817
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1818
+ createdByRole?: string | undefined;
1819
1819
  createdBySignature?: string | null | undefined;
1820
1820
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1821
1821
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1828,9 +1828,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1828
1828
  createdByUserType: "system" | "user";
1829
1829
  createdAt: string;
1830
1830
  createdBy: string;
1831
- createdByRole: string;
1832
1831
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1833
1832
  requestId: string;
1833
+ createdByRole?: string | undefined;
1834
1834
  createdBySignature?: string | null | undefined;
1835
1835
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1836
1836
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1846,9 +1846,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1846
1846
  createdByUserType: "system" | "user";
1847
1847
  createdAt: string;
1848
1848
  createdBy: string;
1849
- createdByRole: string;
1850
1849
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1851
1850
  requestId: string;
1851
+ createdByRole?: string | undefined;
1852
1852
  createdBySignature?: string | null | undefined;
1853
1853
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1854
1854
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1861,8 +1861,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1861
1861
  createdByUserType: "system" | "user";
1862
1862
  createdAt: string;
1863
1863
  createdBy: string;
1864
- createdByRole: string;
1865
1864
  declaration: Record<string, import("../commons").FieldUpdateValue>;
1865
+ createdByRole?: string | undefined;
1866
1866
  createdBySignature?: string | null | undefined;
1867
1867
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1868
1868
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -1875,7 +1875,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1875
1875
  createdByUserType: "system" | "user";
1876
1876
  createdAt: string;
1877
1877
  createdBy: string;
1878
- createdByRole: string;
1878
+ createdByRole?: string | undefined;
1879
1879
  createdBySignature?: string | null | undefined;
1880
1880
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1881
1881
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -2142,7 +2142,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2142
2142
  } | {
2143
2143
  type: "system";
2144
2144
  id: string;
2145
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2145
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2146
2146
  primaryOfficeId?: undefined;
2147
2147
  signature?: undefined;
2148
2148
  };
@@ -2416,7 +2416,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2416
2416
  } | {
2417
2417
  type: "system";
2418
2418
  id: string;
2419
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2419
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2420
2420
  primaryOfficeId?: undefined;
2421
2421
  signature?: undefined;
2422
2422
  };
@@ -2690,7 +2690,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2690
2690
  } | {
2691
2691
  type: "system";
2692
2692
  id: string;
2693
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2693
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2694
2694
  primaryOfficeId?: undefined;
2695
2695
  signature?: undefined;
2696
2696
  };
@@ -2964,7 +2964,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2964
2964
  } | {
2965
2965
  type: "system";
2966
2966
  id: string;
2967
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
2967
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
2968
2968
  primaryOfficeId?: undefined;
2969
2969
  signature?: undefined;
2970
2970
  };
@@ -3238,7 +3238,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3238
3238
  } | {
3239
3239
  type: "system";
3240
3240
  id: string;
3241
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
3241
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
3242
3242
  primaryOfficeId?: undefined;
3243
3243
  signature?: undefined;
3244
3244
  };
@@ -3512,7 +3512,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3512
3512
  } | {
3513
3513
  type: "system";
3514
3514
  id: string;
3515
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
3515
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
3516
3516
  primaryOfficeId?: undefined;
3517
3517
  signature?: undefined;
3518
3518
  };
@@ -3550,9 +3550,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3550
3550
  createdByUserType: "system" | "user";
3551
3551
  createdAt: string;
3552
3552
  createdBy: string;
3553
- createdByRole: string;
3554
3553
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3555
3554
  assignedTo: string;
3555
+ createdByRole?: string | undefined;
3556
3556
  createdBySignature?: string | null | undefined;
3557
3557
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3558
3558
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3565,8 +3565,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3565
3565
  createdByUserType: "system" | "user";
3566
3566
  createdAt: string;
3567
3567
  createdBy: string;
3568
- createdByRole: string;
3569
3568
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3569
+ createdByRole?: string | undefined;
3570
3570
  createdBySignature?: string | null | undefined;
3571
3571
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3572
3572
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3579,8 +3579,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3579
3579
  createdByUserType: "system" | "user";
3580
3580
  createdAt: string;
3581
3581
  createdBy: string;
3582
- createdByRole: string;
3583
3582
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3583
+ createdByRole?: string | undefined;
3584
3584
  createdBySignature?: string | null | undefined;
3585
3585
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3586
3586
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3594,8 +3594,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3594
3594
  createdByUserType: "system" | "user";
3595
3595
  createdAt: string;
3596
3596
  createdBy: string;
3597
- createdByRole: string;
3598
3597
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3598
+ createdByRole?: string | undefined;
3599
3599
  createdBySignature?: string | null | undefined;
3600
3600
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3601
3601
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3608,8 +3608,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3608
3608
  createdByUserType: "system" | "user";
3609
3609
  createdAt: string;
3610
3610
  createdBy: string;
3611
- createdByRole: string;
3612
3611
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3612
+ createdByRole?: string | undefined;
3613
3613
  createdBySignature?: string | null | undefined;
3614
3614
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3615
3615
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3625,8 +3625,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3625
3625
  createdByUserType: "system" | "user";
3626
3626
  createdAt: string;
3627
3627
  createdBy: string;
3628
- createdByRole: string;
3629
3628
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3629
+ createdByRole?: string | undefined;
3630
3630
  createdBySignature?: string | null | undefined;
3631
3631
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3632
3632
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3645,8 +3645,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3645
3645
  createdByUserType: "system" | "user";
3646
3646
  createdAt: string;
3647
3647
  createdBy: string;
3648
- createdByRole: string;
3649
3648
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3649
+ createdByRole?: string | undefined;
3650
3650
  createdBySignature?: string | null | undefined;
3651
3651
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3652
3652
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3659,8 +3659,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3659
3659
  createdByUserType: "system" | "user";
3660
3660
  createdAt: string;
3661
3661
  createdBy: string;
3662
- createdByRole: string;
3663
3662
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3663
+ createdByRole?: string | undefined;
3664
3664
  createdBySignature?: string | null | undefined;
3665
3665
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3666
3666
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3673,11 +3673,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3673
3673
  createdByUserType: "system" | "user";
3674
3674
  createdAt: string;
3675
3675
  createdBy: string;
3676
- createdByRole: string;
3677
3676
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3678
3677
  content?: {
3679
3678
  duplicateOf: string & import("zod").BRAND<"UUID">;
3680
3679
  } | undefined;
3680
+ createdByRole?: string | undefined;
3681
3681
  createdBySignature?: string | null | undefined;
3682
3682
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3683
3683
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3693,8 +3693,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3693
3693
  createdByUserType: "system" | "user";
3694
3694
  createdAt: string;
3695
3695
  createdBy: string;
3696
- createdByRole: string;
3697
3696
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3697
+ createdByRole?: string | undefined;
3698
3698
  createdBySignature?: string | null | undefined;
3699
3699
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3700
3700
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3707,8 +3707,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3707
3707
  createdByUserType: "system" | "user";
3708
3708
  createdAt: string;
3709
3709
  createdBy: string;
3710
- createdByRole: string;
3711
3710
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3711
+ createdByRole?: string | undefined;
3712
3712
  createdBySignature?: string | null | undefined;
3713
3713
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3714
3714
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3721,8 +3721,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3721
3721
  createdByUserType: "system" | "user";
3722
3722
  createdAt: string;
3723
3723
  createdBy: string;
3724
- createdByRole: string;
3725
3724
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3725
+ createdByRole?: string | undefined;
3726
3726
  createdBySignature?: string | null | undefined;
3727
3727
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3728
3728
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3735,11 +3735,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3735
3735
  createdByUserType: "system" | "user";
3736
3736
  createdAt: string;
3737
3737
  createdBy: string;
3738
- createdByRole: string;
3739
3738
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3740
3739
  content?: {
3741
3740
  templateId?: string | undefined;
3742
3741
  } | null | undefined;
3742
+ createdByRole?: string | undefined;
3743
3743
  createdBySignature?: string | null | undefined;
3744
3744
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3745
3745
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3752,8 +3752,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3752
3752
  createdByUserType: "system" | "user";
3753
3753
  createdAt: string;
3754
3754
  createdBy: string;
3755
- createdByRole: string;
3756
3755
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3756
+ createdByRole?: string | undefined;
3757
3757
  createdBySignature?: string | null | undefined;
3758
3758
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3759
3759
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3766,9 +3766,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3766
3766
  createdByUserType: "system" | "user";
3767
3767
  createdAt: string;
3768
3768
  createdBy: string;
3769
- createdByRole: string;
3770
3769
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3771
3770
  requestId: string;
3771
+ createdByRole?: string | undefined;
3772
3772
  createdBySignature?: string | null | undefined;
3773
3773
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3774
3774
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3784,9 +3784,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3784
3784
  createdByUserType: "system" | "user";
3785
3785
  createdAt: string;
3786
3786
  createdBy: string;
3787
- createdByRole: string;
3788
3787
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3789
3788
  requestId: string;
3789
+ createdByRole?: string | undefined;
3790
3790
  createdBySignature?: string | null | undefined;
3791
3791
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3792
3792
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3799,8 +3799,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3799
3799
  createdByUserType: "system" | "user";
3800
3800
  createdAt: string;
3801
3801
  createdBy: string;
3802
- createdByRole: string;
3803
3802
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3803
+ createdByRole?: string | undefined;
3804
3804
  createdBySignature?: string | null | undefined;
3805
3805
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3806
3806
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3813,7 +3813,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3813
3813
  createdByUserType: "system" | "user";
3814
3814
  createdAt: string;
3815
3815
  createdBy: string;
3816
- createdByRole: string;
3816
+ createdByRole?: string | undefined;
3817
3817
  createdBySignature?: string | null | undefined;
3818
3818
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3819
3819
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -3849,9 +3849,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3849
3849
  createdByUserType: "system" | "user";
3850
3850
  createdAt: string;
3851
3851
  createdBy: string;
3852
- createdByRole: string;
3853
3852
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3854
3853
  assignedTo: string;
3854
+ createdByRole?: string | undefined;
3855
3855
  createdBySignature?: string | null | undefined;
3856
3856
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3857
3857
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3864,8 +3864,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3864
3864
  createdByUserType: "system" | "user";
3865
3865
  createdAt: string;
3866
3866
  createdBy: string;
3867
- createdByRole: string;
3868
3867
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3868
+ createdByRole?: string | undefined;
3869
3869
  createdBySignature?: string | null | undefined;
3870
3870
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3871
3871
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3878,8 +3878,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3878
3878
  createdByUserType: "system" | "user";
3879
3879
  createdAt: string;
3880
3880
  createdBy: string;
3881
- createdByRole: string;
3882
3881
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3882
+ createdByRole?: string | undefined;
3883
3883
  createdBySignature?: string | null | undefined;
3884
3884
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3885
3885
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3893,8 +3893,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3893
3893
  createdByUserType: "system" | "user";
3894
3894
  createdAt: string;
3895
3895
  createdBy: string;
3896
- createdByRole: string;
3897
3896
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3897
+ createdByRole?: string | undefined;
3898
3898
  createdBySignature?: string | null | undefined;
3899
3899
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3900
3900
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3907,8 +3907,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3907
3907
  createdByUserType: "system" | "user";
3908
3908
  createdAt: string;
3909
3909
  createdBy: string;
3910
- createdByRole: string;
3911
3910
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3911
+ createdByRole?: string | undefined;
3912
3912
  createdBySignature?: string | null | undefined;
3913
3913
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3914
3914
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3924,8 +3924,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3924
3924
  createdByUserType: "system" | "user";
3925
3925
  createdAt: string;
3926
3926
  createdBy: string;
3927
- createdByRole: string;
3928
3927
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3928
+ createdByRole?: string | undefined;
3929
3929
  createdBySignature?: string | null | undefined;
3930
3930
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3931
3931
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3944,8 +3944,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3944
3944
  createdByUserType: "system" | "user";
3945
3945
  createdAt: string;
3946
3946
  createdBy: string;
3947
- createdByRole: string;
3948
3947
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3948
+ createdByRole?: string | undefined;
3949
3949
  createdBySignature?: string | null | undefined;
3950
3950
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3951
3951
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3958,8 +3958,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3958
3958
  createdByUserType: "system" | "user";
3959
3959
  createdAt: string;
3960
3960
  createdBy: string;
3961
- createdByRole: string;
3962
3961
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3962
+ createdByRole?: string | undefined;
3963
3963
  createdBySignature?: string | null | undefined;
3964
3964
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3965
3965
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3972,11 +3972,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3972
3972
  createdByUserType: "system" | "user";
3973
3973
  createdAt: string;
3974
3974
  createdBy: string;
3975
- createdByRole: string;
3976
3975
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3977
3976
  content?: {
3978
3977
  duplicateOf: string & import("zod").BRAND<"UUID">;
3979
3978
  } | undefined;
3979
+ createdByRole?: string | undefined;
3980
3980
  createdBySignature?: string | null | undefined;
3981
3981
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3982
3982
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -3992,8 +3992,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3992
3992
  createdByUserType: "system" | "user";
3993
3993
  createdAt: string;
3994
3994
  createdBy: string;
3995
- createdByRole: string;
3996
3995
  declaration: Record<string, import("../commons").FieldUpdateValue>;
3996
+ createdByRole?: string | undefined;
3997
3997
  createdBySignature?: string | null | undefined;
3998
3998
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
3999
3999
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4006,8 +4006,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4006
4006
  createdByUserType: "system" | "user";
4007
4007
  createdAt: string;
4008
4008
  createdBy: string;
4009
- createdByRole: string;
4010
4009
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4010
+ createdByRole?: string | undefined;
4011
4011
  createdBySignature?: string | null | undefined;
4012
4012
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4013
4013
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4020,8 +4020,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4020
4020
  createdByUserType: "system" | "user";
4021
4021
  createdAt: string;
4022
4022
  createdBy: string;
4023
- createdByRole: string;
4024
4023
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4024
+ createdByRole?: string | undefined;
4025
4025
  createdBySignature?: string | null | undefined;
4026
4026
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4027
4027
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4034,11 +4034,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4034
4034
  createdByUserType: "system" | "user";
4035
4035
  createdAt: string;
4036
4036
  createdBy: string;
4037
- createdByRole: string;
4038
4037
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4039
4038
  content?: {
4040
4039
  templateId?: string | undefined;
4041
4040
  } | null | undefined;
4041
+ createdByRole?: string | undefined;
4042
4042
  createdBySignature?: string | null | undefined;
4043
4043
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4044
4044
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4051,8 +4051,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4051
4051
  createdByUserType: "system" | "user";
4052
4052
  createdAt: string;
4053
4053
  createdBy: string;
4054
- createdByRole: string;
4055
4054
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4055
+ createdByRole?: string | undefined;
4056
4056
  createdBySignature?: string | null | undefined;
4057
4057
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4058
4058
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4065,9 +4065,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4065
4065
  createdByUserType: "system" | "user";
4066
4066
  createdAt: string;
4067
4067
  createdBy: string;
4068
- createdByRole: string;
4069
4068
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4070
4069
  requestId: string;
4070
+ createdByRole?: string | undefined;
4071
4071
  createdBySignature?: string | null | undefined;
4072
4072
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4073
4073
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4083,9 +4083,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4083
4083
  createdByUserType: "system" | "user";
4084
4084
  createdAt: string;
4085
4085
  createdBy: string;
4086
- createdByRole: string;
4087
4086
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4088
4087
  requestId: string;
4088
+ createdByRole?: string | undefined;
4089
4089
  createdBySignature?: string | null | undefined;
4090
4090
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4091
4091
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4098,8 +4098,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4098
4098
  createdByUserType: "system" | "user";
4099
4099
  createdAt: string;
4100
4100
  createdBy: string;
4101
- createdByRole: string;
4102
4101
  declaration: Record<string, import("../commons").FieldUpdateValue>;
4102
+ createdByRole?: string | undefined;
4103
4103
  createdBySignature?: string | null | undefined;
4104
4104
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4105
4105
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -4112,7 +4112,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4112
4112
  createdByUserType: "system" | "user";
4113
4113
  createdAt: string;
4114
4114
  createdBy: string;
4115
- createdByRole: string;
4115
+ createdByRole?: string | undefined;
4116
4116
  createdBySignature?: string | null | undefined;
4117
4117
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
4118
4118
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -4132,7 +4132,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4132
4132
  } | {
4133
4133
  type: "system";
4134
4134
  id: string;
4135
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4135
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4136
4136
  primaryOfficeId?: undefined;
4137
4137
  signature?: undefined;
4138
4138
  };
@@ -4153,7 +4153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4153
4153
  } | {
4154
4154
  type: "system";
4155
4155
  id: string;
4156
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4156
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4157
4157
  primaryOfficeId?: undefined;
4158
4158
  signature?: undefined;
4159
4159
  };
@@ -4427,7 +4427,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4427
4427
  } | {
4428
4428
  type: "system";
4429
4429
  id: string;
4430
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4430
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4431
4431
  primaryOfficeId?: undefined;
4432
4432
  signature?: undefined;
4433
4433
  };
@@ -4701,7 +4701,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4701
4701
  } | {
4702
4702
  type: "system";
4703
4703
  id: string;
4704
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4704
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4705
4705
  primaryOfficeId?: undefined;
4706
4706
  signature?: undefined;
4707
4707
  };
@@ -4976,7 +4976,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4976
4976
  } | {
4977
4977
  type: "system";
4978
4978
  id: string;
4979
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
4979
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
4980
4980
  primaryOfficeId?: undefined;
4981
4981
  signature?: undefined;
4982
4982
  };
@@ -5016,9 +5016,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5016
5016
  createdByUserType: "system" | "user";
5017
5017
  createdAt: string;
5018
5018
  createdBy: string;
5019
- createdByRole: string;
5020
5019
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5021
5020
  assignedTo: string;
5021
+ createdByRole?: string | undefined;
5022
5022
  createdBySignature?: string | null | undefined;
5023
5023
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5024
5024
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5031,8 +5031,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5031
5031
  createdByUserType: "system" | "user";
5032
5032
  createdAt: string;
5033
5033
  createdBy: string;
5034
- createdByRole: string;
5035
5034
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5035
+ createdByRole?: string | undefined;
5036
5036
  createdBySignature?: string | null | undefined;
5037
5037
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5038
5038
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5045,8 +5045,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5045
5045
  createdByUserType: "system" | "user";
5046
5046
  createdAt: string;
5047
5047
  createdBy: string;
5048
- createdByRole: string;
5049
5048
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5049
+ createdByRole?: string | undefined;
5050
5050
  createdBySignature?: string | null | undefined;
5051
5051
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5052
5052
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5060,8 +5060,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5060
5060
  createdByUserType: "system" | "user";
5061
5061
  createdAt: string;
5062
5062
  createdBy: string;
5063
- createdByRole: string;
5064
5063
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5064
+ createdByRole?: string | undefined;
5065
5065
  createdBySignature?: string | null | undefined;
5066
5066
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5067
5067
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5074,8 +5074,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5074
5074
  createdByUserType: "system" | "user";
5075
5075
  createdAt: string;
5076
5076
  createdBy: string;
5077
- createdByRole: string;
5078
5077
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5078
+ createdByRole?: string | undefined;
5079
5079
  createdBySignature?: string | null | undefined;
5080
5080
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5081
5081
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5091,8 +5091,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5091
5091
  createdByUserType: "system" | "user";
5092
5092
  createdAt: string;
5093
5093
  createdBy: string;
5094
- createdByRole: string;
5095
5094
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5095
+ createdByRole?: string | undefined;
5096
5096
  createdBySignature?: string | null | undefined;
5097
5097
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5098
5098
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5111,8 +5111,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5111
5111
  createdByUserType: "system" | "user";
5112
5112
  createdAt: string;
5113
5113
  createdBy: string;
5114
- createdByRole: string;
5115
5114
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5115
+ createdByRole?: string | undefined;
5116
5116
  createdBySignature?: string | null | undefined;
5117
5117
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5118
5118
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5125,8 +5125,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5125
5125
  createdByUserType: "system" | "user";
5126
5126
  createdAt: string;
5127
5127
  createdBy: string;
5128
- createdByRole: string;
5129
5128
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5129
+ createdByRole?: string | undefined;
5130
5130
  createdBySignature?: string | null | undefined;
5131
5131
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5132
5132
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5139,11 +5139,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5139
5139
  createdByUserType: "system" | "user";
5140
5140
  createdAt: string;
5141
5141
  createdBy: string;
5142
- createdByRole: string;
5143
5142
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5144
5143
  content?: {
5145
5144
  duplicateOf: string & import("zod").BRAND<"UUID">;
5146
5145
  } | undefined;
5146
+ createdByRole?: string | undefined;
5147
5147
  createdBySignature?: string | null | undefined;
5148
5148
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5149
5149
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5159,8 +5159,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5159
5159
  createdByUserType: "system" | "user";
5160
5160
  createdAt: string;
5161
5161
  createdBy: string;
5162
- createdByRole: string;
5163
5162
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5163
+ createdByRole?: string | undefined;
5164
5164
  createdBySignature?: string | null | undefined;
5165
5165
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5166
5166
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5173,8 +5173,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5173
5173
  createdByUserType: "system" | "user";
5174
5174
  createdAt: string;
5175
5175
  createdBy: string;
5176
- createdByRole: string;
5177
5176
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5177
+ createdByRole?: string | undefined;
5178
5178
  createdBySignature?: string | null | undefined;
5179
5179
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5180
5180
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5187,8 +5187,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5187
5187
  createdByUserType: "system" | "user";
5188
5188
  createdAt: string;
5189
5189
  createdBy: string;
5190
- createdByRole: string;
5191
5190
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5191
+ createdByRole?: string | undefined;
5192
5192
  createdBySignature?: string | null | undefined;
5193
5193
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5194
5194
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5201,11 +5201,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5201
5201
  createdByUserType: "system" | "user";
5202
5202
  createdAt: string;
5203
5203
  createdBy: string;
5204
- createdByRole: string;
5205
5204
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5206
5205
  content?: {
5207
5206
  templateId?: string | undefined;
5208
5207
  } | null | undefined;
5208
+ createdByRole?: string | undefined;
5209
5209
  createdBySignature?: string | null | undefined;
5210
5210
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5211
5211
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5218,8 +5218,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5218
5218
  createdByUserType: "system" | "user";
5219
5219
  createdAt: string;
5220
5220
  createdBy: string;
5221
- createdByRole: string;
5222
5221
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5222
+ createdByRole?: string | undefined;
5223
5223
  createdBySignature?: string | null | undefined;
5224
5224
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5225
5225
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5232,9 +5232,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5232
5232
  createdByUserType: "system" | "user";
5233
5233
  createdAt: string;
5234
5234
  createdBy: string;
5235
- createdByRole: string;
5236
5235
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5237
5236
  requestId: string;
5237
+ createdByRole?: string | undefined;
5238
5238
  createdBySignature?: string | null | undefined;
5239
5239
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5240
5240
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5250,9 +5250,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5250
5250
  createdByUserType: "system" | "user";
5251
5251
  createdAt: string;
5252
5252
  createdBy: string;
5253
- createdByRole: string;
5254
5253
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5255
5254
  requestId: string;
5255
+ createdByRole?: string | undefined;
5256
5256
  createdBySignature?: string | null | undefined;
5257
5257
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5258
5258
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5265,8 +5265,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5265
5265
  createdByUserType: "system" | "user";
5266
5266
  createdAt: string;
5267
5267
  createdBy: string;
5268
- createdByRole: string;
5269
5268
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5269
+ createdByRole?: string | undefined;
5270
5270
  createdBySignature?: string | null | undefined;
5271
5271
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5272
5272
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5279,7 +5279,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5279
5279
  createdByUserType: "system" | "user";
5280
5280
  createdAt: string;
5281
5281
  createdBy: string;
5282
- createdByRole: string;
5282
+ createdByRole?: string | undefined;
5283
5283
  createdBySignature?: string | null | undefined;
5284
5284
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5285
5285
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -5314,9 +5314,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5314
5314
  createdByUserType: "system" | "user";
5315
5315
  createdAt: string;
5316
5316
  createdBy: string;
5317
- createdByRole: string;
5318
5317
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5319
5318
  assignedTo: string;
5319
+ createdByRole?: string | undefined;
5320
5320
  createdBySignature?: string | null | undefined;
5321
5321
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5322
5322
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5329,8 +5329,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5329
5329
  createdByUserType: "system" | "user";
5330
5330
  createdAt: string;
5331
5331
  createdBy: string;
5332
- createdByRole: string;
5333
5332
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5333
+ createdByRole?: string | undefined;
5334
5334
  createdBySignature?: string | null | undefined;
5335
5335
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5336
5336
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5343,8 +5343,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5343
5343
  createdByUserType: "system" | "user";
5344
5344
  createdAt: string;
5345
5345
  createdBy: string;
5346
- createdByRole: string;
5347
5346
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5347
+ createdByRole?: string | undefined;
5348
5348
  createdBySignature?: string | null | undefined;
5349
5349
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5350
5350
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5358,8 +5358,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5358
5358
  createdByUserType: "system" | "user";
5359
5359
  createdAt: string;
5360
5360
  createdBy: string;
5361
- createdByRole: string;
5362
5361
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5362
+ createdByRole?: string | undefined;
5363
5363
  createdBySignature?: string | null | undefined;
5364
5364
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5365
5365
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5372,8 +5372,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5372
5372
  createdByUserType: "system" | "user";
5373
5373
  createdAt: string;
5374
5374
  createdBy: string;
5375
- createdByRole: string;
5376
5375
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5376
+ createdByRole?: string | undefined;
5377
5377
  createdBySignature?: string | null | undefined;
5378
5378
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5379
5379
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5389,8 +5389,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5389
5389
  createdByUserType: "system" | "user";
5390
5390
  createdAt: string;
5391
5391
  createdBy: string;
5392
- createdByRole: string;
5393
5392
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5393
+ createdByRole?: string | undefined;
5394
5394
  createdBySignature?: string | null | undefined;
5395
5395
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5396
5396
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5409,8 +5409,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5409
5409
  createdByUserType: "system" | "user";
5410
5410
  createdAt: string;
5411
5411
  createdBy: string;
5412
- createdByRole: string;
5413
5412
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5413
+ createdByRole?: string | undefined;
5414
5414
  createdBySignature?: string | null | undefined;
5415
5415
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5416
5416
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5423,8 +5423,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5423
5423
  createdByUserType: "system" | "user";
5424
5424
  createdAt: string;
5425
5425
  createdBy: string;
5426
- createdByRole: string;
5427
5426
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5427
+ createdByRole?: string | undefined;
5428
5428
  createdBySignature?: string | null | undefined;
5429
5429
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5430
5430
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5437,11 +5437,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5437
5437
  createdByUserType: "system" | "user";
5438
5438
  createdAt: string;
5439
5439
  createdBy: string;
5440
- createdByRole: string;
5441
5440
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5442
5441
  content?: {
5443
5442
  duplicateOf: string & import("zod").BRAND<"UUID">;
5444
5443
  } | undefined;
5444
+ createdByRole?: string | undefined;
5445
5445
  createdBySignature?: string | null | undefined;
5446
5446
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5447
5447
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5457,8 +5457,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5457
5457
  createdByUserType: "system" | "user";
5458
5458
  createdAt: string;
5459
5459
  createdBy: string;
5460
- createdByRole: string;
5461
5460
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5461
+ createdByRole?: string | undefined;
5462
5462
  createdBySignature?: string | null | undefined;
5463
5463
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5464
5464
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5471,8 +5471,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5471
5471
  createdByUserType: "system" | "user";
5472
5472
  createdAt: string;
5473
5473
  createdBy: string;
5474
- createdByRole: string;
5475
5474
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5475
+ createdByRole?: string | undefined;
5476
5476
  createdBySignature?: string | null | undefined;
5477
5477
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5478
5478
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5485,8 +5485,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5485
5485
  createdByUserType: "system" | "user";
5486
5486
  createdAt: string;
5487
5487
  createdBy: string;
5488
- createdByRole: string;
5489
5488
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5489
+ createdByRole?: string | undefined;
5490
5490
  createdBySignature?: string | null | undefined;
5491
5491
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5492
5492
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5499,11 +5499,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5499
5499
  createdByUserType: "system" | "user";
5500
5500
  createdAt: string;
5501
5501
  createdBy: string;
5502
- createdByRole: string;
5503
5502
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5504
5503
  content?: {
5505
5504
  templateId?: string | undefined;
5506
5505
  } | null | undefined;
5506
+ createdByRole?: string | undefined;
5507
5507
  createdBySignature?: string | null | undefined;
5508
5508
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5509
5509
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5516,8 +5516,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5516
5516
  createdByUserType: "system" | "user";
5517
5517
  createdAt: string;
5518
5518
  createdBy: string;
5519
- createdByRole: string;
5520
5519
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5520
+ createdByRole?: string | undefined;
5521
5521
  createdBySignature?: string | null | undefined;
5522
5522
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5523
5523
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5530,9 +5530,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5530
5530
  createdByUserType: "system" | "user";
5531
5531
  createdAt: string;
5532
5532
  createdBy: string;
5533
- createdByRole: string;
5534
5533
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5535
5534
  requestId: string;
5535
+ createdByRole?: string | undefined;
5536
5536
  createdBySignature?: string | null | undefined;
5537
5537
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5538
5538
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5548,9 +5548,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5548
5548
  createdByUserType: "system" | "user";
5549
5549
  createdAt: string;
5550
5550
  createdBy: string;
5551
- createdByRole: string;
5552
5551
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5553
5552
  requestId: string;
5553
+ createdByRole?: string | undefined;
5554
5554
  createdBySignature?: string | null | undefined;
5555
5555
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5556
5556
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5563,8 +5563,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5563
5563
  createdByUserType: "system" | "user";
5564
5564
  createdAt: string;
5565
5565
  createdBy: string;
5566
- createdByRole: string;
5567
5566
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5567
+ createdByRole?: string | undefined;
5568
5568
  createdBySignature?: string | null | undefined;
5569
5569
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5570
5570
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5577,7 +5577,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5577
5577
  createdByUserType: "system" | "user";
5578
5578
  createdAt: string;
5579
5579
  createdBy: string;
5580
- createdByRole: string;
5580
+ createdByRole?: string | undefined;
5581
5581
  createdBySignature?: string | null | undefined;
5582
5582
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5583
5583
  originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
@@ -5609,24 +5609,23 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5609
5609
  DECLARED?: {
5610
5610
  createdAt: string;
5611
5611
  createdBy: string;
5612
- createdByRole: string;
5613
5612
  acceptedAt: string;
5614
5613
  createdByUserType?: "system" | "user" | null | undefined;
5614
+ createdByRole?: string | undefined;
5615
5615
  createdBySignature?: string | null | undefined;
5616
5616
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5617
5617
  } | null | undefined;
5618
5618
  REGISTERED?: {
5619
5619
  createdAt: string;
5620
5620
  createdBy: string;
5621
- createdByRole: string;
5622
5621
  registrationNumber: string;
5623
5622
  acceptedAt: string;
5624
5623
  createdByUserType?: "system" | "user" | null | undefined;
5624
+ createdByRole?: string | undefined;
5625
5625
  createdBySignature?: string | null | undefined;
5626
5626
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5627
5627
  } | null | undefined;
5628
5628
  };
5629
- updatedByUserRole: string;
5630
5629
  potentialDuplicates: {
5631
5630
  id: string & import("zod").BRAND<"UUID">;
5632
5631
  trackingId: string;
@@ -5637,6 +5636,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5637
5636
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5638
5637
  assignedTo?: string | null | undefined;
5639
5638
  dateOfEvent?: string | null | undefined;
5639
+ updatedByUserRole?: string | undefined;
5640
5640
  updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5641
5641
  updatedBy?: string | null | undefined;
5642
5642
  }[];
@@ -5658,9 +5658,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5658
5658
  createdByUserType: "system" | "user";
5659
5659
  createdAt: string;
5660
5660
  createdBy: string;
5661
- createdByRole: string;
5662
5661
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5663
5662
  assignedTo: string;
5663
+ createdByRole?: string | undefined;
5664
5664
  createdBySignature?: string | null | undefined;
5665
5665
  createdAtLocation?: string | null | undefined;
5666
5666
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5673,8 +5673,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5673
5673
  createdByUserType: "system" | "user";
5674
5674
  createdAt: string;
5675
5675
  createdBy: string;
5676
- createdByRole: string;
5677
5676
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5677
+ createdByRole?: string | undefined;
5678
5678
  createdBySignature?: string | null | undefined;
5679
5679
  createdAtLocation?: string | null | undefined;
5680
5680
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5687,8 +5687,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5687
5687
  createdByUserType: "system" | "user";
5688
5688
  createdAt: string;
5689
5689
  createdBy: string;
5690
- createdByRole: string;
5691
5690
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5691
+ createdByRole?: string | undefined;
5692
5692
  createdBySignature?: string | null | undefined;
5693
5693
  createdAtLocation?: string | null | undefined;
5694
5694
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5702,8 +5702,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5702
5702
  createdByUserType: "system" | "user";
5703
5703
  createdAt: string;
5704
5704
  createdBy: string;
5705
- createdByRole: string;
5706
5705
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5706
+ createdByRole?: string | undefined;
5707
5707
  createdBySignature?: string | null | undefined;
5708
5708
  createdAtLocation?: string | null | undefined;
5709
5709
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5716,8 +5716,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5716
5716
  createdByUserType: "system" | "user";
5717
5717
  createdAt: string;
5718
5718
  createdBy: string;
5719
- createdByRole: string;
5720
5719
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5720
+ createdByRole?: string | undefined;
5721
5721
  createdBySignature?: string | null | undefined;
5722
5722
  createdAtLocation?: string | null | undefined;
5723
5723
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5733,8 +5733,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5733
5733
  createdByUserType: "system" | "user";
5734
5734
  createdAt: string;
5735
5735
  createdBy: string;
5736
- createdByRole: string;
5737
5736
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5737
+ createdByRole?: string | undefined;
5738
5738
  createdBySignature?: string | null | undefined;
5739
5739
  createdAtLocation?: string | null | undefined;
5740
5740
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5753,8 +5753,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5753
5753
  createdByUserType: "system" | "user";
5754
5754
  createdAt: string;
5755
5755
  createdBy: string;
5756
- createdByRole: string;
5757
5756
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5757
+ createdByRole?: string | undefined;
5758
5758
  createdBySignature?: string | null | undefined;
5759
5759
  createdAtLocation?: string | null | undefined;
5760
5760
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5767,8 +5767,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5767
5767
  createdByUserType: "system" | "user";
5768
5768
  createdAt: string;
5769
5769
  createdBy: string;
5770
- createdByRole: string;
5771
5770
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5771
+ createdByRole?: string | undefined;
5772
5772
  createdBySignature?: string | null | undefined;
5773
5773
  createdAtLocation?: string | null | undefined;
5774
5774
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5781,11 +5781,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5781
5781
  createdByUserType: "system" | "user";
5782
5782
  createdAt: string;
5783
5783
  createdBy: string;
5784
- createdByRole: string;
5785
5784
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5786
5785
  content?: {
5787
5786
  duplicateOf: string;
5788
5787
  } | undefined;
5788
+ createdByRole?: string | undefined;
5789
5789
  createdBySignature?: string | null | undefined;
5790
5790
  createdAtLocation?: string | null | undefined;
5791
5791
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5801,8 +5801,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5801
5801
  createdByUserType: "system" | "user";
5802
5802
  createdAt: string;
5803
5803
  createdBy: string;
5804
- createdByRole: string;
5805
5804
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5805
+ createdByRole?: string | undefined;
5806
5806
  createdBySignature?: string | null | undefined;
5807
5807
  createdAtLocation?: string | null | undefined;
5808
5808
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5815,8 +5815,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5815
5815
  createdByUserType: "system" | "user";
5816
5816
  createdAt: string;
5817
5817
  createdBy: string;
5818
- createdByRole: string;
5819
5818
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5819
+ createdByRole?: string | undefined;
5820
5820
  createdBySignature?: string | null | undefined;
5821
5821
  createdAtLocation?: string | null | undefined;
5822
5822
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5829,8 +5829,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5829
5829
  createdByUserType: "system" | "user";
5830
5830
  createdAt: string;
5831
5831
  createdBy: string;
5832
- createdByRole: string;
5833
5832
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5833
+ createdByRole?: string | undefined;
5834
5834
  createdBySignature?: string | null | undefined;
5835
5835
  createdAtLocation?: string | null | undefined;
5836
5836
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5843,11 +5843,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5843
5843
  createdByUserType: "system" | "user";
5844
5844
  createdAt: string;
5845
5845
  createdBy: string;
5846
- createdByRole: string;
5847
5846
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5848
5847
  content?: {
5849
5848
  templateId?: string | undefined;
5850
5849
  } | null | undefined;
5850
+ createdByRole?: string | undefined;
5851
5851
  createdBySignature?: string | null | undefined;
5852
5852
  createdAtLocation?: string | null | undefined;
5853
5853
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5860,8 +5860,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5860
5860
  createdByUserType: "system" | "user";
5861
5861
  createdAt: string;
5862
5862
  createdBy: string;
5863
- createdByRole: string;
5864
5863
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5864
+ createdByRole?: string | undefined;
5865
5865
  createdBySignature?: string | null | undefined;
5866
5866
  createdAtLocation?: string | null | undefined;
5867
5867
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5874,9 +5874,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5874
5874
  createdByUserType: "system" | "user";
5875
5875
  createdAt: string;
5876
5876
  createdBy: string;
5877
- createdByRole: string;
5878
5877
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5879
5878
  requestId: string;
5879
+ createdByRole?: string | undefined;
5880
5880
  createdBySignature?: string | null | undefined;
5881
5881
  createdAtLocation?: string | null | undefined;
5882
5882
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5892,9 +5892,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5892
5892
  createdByUserType: "system" | "user";
5893
5893
  createdAt: string;
5894
5894
  createdBy: string;
5895
- createdByRole: string;
5896
5895
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5897
5896
  requestId: string;
5897
+ createdByRole?: string | undefined;
5898
5898
  createdBySignature?: string | null | undefined;
5899
5899
  createdAtLocation?: string | null | undefined;
5900
5900
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5907,8 +5907,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5907
5907
  createdByUserType: "system" | "user";
5908
5908
  createdAt: string;
5909
5909
  createdBy: string;
5910
- createdByRole: string;
5911
5910
  declaration: Record<string, import("../commons").FieldUpdateValue>;
5911
+ createdByRole?: string | undefined;
5912
5912
  createdBySignature?: string | null | undefined;
5913
5913
  createdAtLocation?: string | null | undefined;
5914
5914
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
@@ -5921,7 +5921,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5921
5921
  createdByUserType: "system" | "user";
5922
5922
  createdAt: string;
5923
5923
  createdBy: string;
5924
- createdByRole: string;
5924
+ createdByRole?: string | undefined;
5925
5925
  createdBySignature?: string | null | undefined;
5926
5926
  createdAtLocation?: string | null | undefined;
5927
5927
  originalActionId?: string | null | undefined;
@@ -5941,7 +5941,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5941
5941
  } | {
5942
5942
  type: "system";
5943
5943
  id: string;
5944
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
5944
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
5945
5945
  primaryOfficeId?: undefined;
5946
5946
  signature?: undefined;
5947
5947
  };
@@ -5985,7 +5985,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5985
5985
  } | {
5986
5986
  type: "system";
5987
5987
  id: string;
5988
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
5988
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
5989
5989
  primaryOfficeId?: undefined;
5990
5990
  signature?: undefined;
5991
5991
  };
@@ -6015,8 +6015,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6015
6015
  type: "system";
6016
6016
  id: string;
6017
6017
  name: string;
6018
- role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6019
6018
  signature?: undefined;
6019
+ role?: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6020
6020
  fullHonorificName?: string | undefined;
6021
6021
  primaryOfficeId?: undefined;
6022
6022
  avatar?: undefined;
@@ -6043,8 +6043,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6043
6043
  type: "system";
6044
6044
  id: string;
6045
6045
  name: string;
6046
- role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6047
6046
  signature?: undefined;
6047
+ role?: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6048
6048
  fullHonorificName?: string | undefined;
6049
6049
  primaryOfficeId?: undefined;
6050
6050
  avatar?: undefined;
@@ -6073,7 +6073,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6073
6073
  declaration: Record<string, any>;
6074
6074
  annotation: Record<string, any> | null;
6075
6075
  createdBy: string;
6076
- createdByRole: string;
6076
+ createdByRole: string | null;
6077
6077
  createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
6078
6078
  createdBySignature: string | null;
6079
6079
  createdAtLocation: (string & import("zod").BRAND<"UUID">) | null;
@@ -6100,7 +6100,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6100
6100
  } | {
6101
6101
  type: "system";
6102
6102
  id: string;
6103
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6103
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6104
6104
  primaryOfficeId?: undefined;
6105
6105
  signature?: undefined;
6106
6106
  };
@@ -6153,7 +6153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6153
6153
  } | {
6154
6154
  type: "system";
6155
6155
  id: string;
6156
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6156
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6157
6157
  primaryOfficeId?: undefined;
6158
6158
  signature?: undefined;
6159
6159
  };
@@ -6174,7 +6174,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6174
6174
  } | {
6175
6175
  type: "system";
6176
6176
  id: string;
6177
- role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
6177
+ role?: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT" | undefined;
6178
6178
  primaryOfficeId?: undefined;
6179
6179
  signature?: undefined;
6180
6180
  };