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

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