@opencrvs/toolkit 1.9.2-rc.cb144d0 → 1.9.2-rc.f1d7235

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.
@@ -1,5 +1,5 @@
1
1
  export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2
- ctx: {
2
+ ctx: Partial<{
3
3
  token: `Bearer ${string}`;
4
4
  user: {
5
5
  type: "user";
@@ -14,13 +14,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
14
14
  signature?: undefined;
15
15
  primaryOfficeId?: undefined;
16
16
  };
17
- };
17
+ }>;
18
18
  meta: import("trpc-to-openapi").OpenApiMeta;
19
19
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
20
20
  transformer: true;
21
21
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
22
22
  event: import("@trpc/server").TRPCBuiltRouter<{
23
- ctx: {
23
+ ctx: Partial<{
24
24
  token: `Bearer ${string}`;
25
25
  user: {
26
26
  type: "user";
@@ -35,13 +35,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
35
35
  signature?: undefined;
36
36
  primaryOfficeId?: undefined;
37
37
  };
38
- };
38
+ }>;
39
39
  meta: import("trpc-to-openapi").OpenApiMeta;
40
40
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
41
41
  transformer: true;
42
42
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
43
43
  config: import("@trpc/server").TRPCBuiltRouter<{
44
- ctx: {
44
+ ctx: Partial<{
45
45
  token: `Bearer ${string}`;
46
46
  user: {
47
47
  type: "user";
@@ -56,7 +56,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
56
56
  signature?: undefined;
57
57
  primaryOfficeId?: undefined;
58
58
  };
59
- };
59
+ }>;
60
60
  meta: import("trpc-to-openapi").OpenApiMeta;
61
61
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
62
62
  transformer: true;
@@ -3158,6 +3158,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3158
3158
  message: string;
3159
3159
  } | null | undefined;
3160
3160
  } | undefined;
3161
+ } | {
3162
+ id: string;
3163
+ label: {
3164
+ id: string;
3165
+ defaultMessage: string;
3166
+ description: string;
3167
+ };
3168
+ type: "HIDDEN";
3169
+ parent?: {
3170
+ $$field: string;
3171
+ $$subfield?: string[] | undefined;
3172
+ } | {
3173
+ $$field: string;
3174
+ $$subfield?: string[] | undefined;
3175
+ }[] | undefined;
3176
+ conditionals?: ({
3177
+ type: "SHOW";
3178
+ conditional: any;
3179
+ } | {
3180
+ type: "ENABLE";
3181
+ conditional: any;
3182
+ } | {
3183
+ type: "DISPLAY_ON_REVIEW";
3184
+ conditional: any;
3185
+ })[] | undefined;
3186
+ secured?: boolean | undefined;
3187
+ placeholder?: {
3188
+ id: string;
3189
+ defaultMessage: string;
3190
+ description: string;
3191
+ } | undefined;
3192
+ validation?: {
3193
+ validator: any;
3194
+ message: {
3195
+ id: string;
3196
+ defaultMessage: string;
3197
+ description: string;
3198
+ };
3199
+ }[] | undefined;
3200
+ helperText?: {
3201
+ id: string;
3202
+ defaultMessage: string;
3203
+ description: string;
3204
+ } | undefined;
3205
+ hideLabel?: boolean | undefined;
3206
+ uncorrectable?: boolean | undefined;
3207
+ value?: {
3208
+ $$field: string;
3209
+ $$subfield?: string[] | undefined;
3210
+ } | {
3211
+ $$field: string;
3212
+ $$subfield?: string[] | undefined;
3213
+ }[] | undefined;
3214
+ analytics?: boolean | undefined;
3215
+ required?: false | undefined;
3161
3216
  })[];
3162
3217
  };
3163
3218
  auditHistoryLabel?: {
@@ -6215,6 +6270,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6215
6270
  message: string;
6216
6271
  } | null | undefined;
6217
6272
  } | undefined;
6273
+ } | {
6274
+ id: string;
6275
+ label: {
6276
+ id: string;
6277
+ defaultMessage: string;
6278
+ description: string;
6279
+ };
6280
+ type: "HIDDEN";
6281
+ parent?: {
6282
+ $$field: string;
6283
+ $$subfield?: string[] | undefined;
6284
+ } | {
6285
+ $$field: string;
6286
+ $$subfield?: string[] | undefined;
6287
+ }[] | undefined;
6288
+ conditionals?: ({
6289
+ type: "SHOW";
6290
+ conditional: any;
6291
+ } | {
6292
+ type: "ENABLE";
6293
+ conditional: any;
6294
+ } | {
6295
+ type: "DISPLAY_ON_REVIEW";
6296
+ conditional: any;
6297
+ })[] | undefined;
6298
+ secured?: boolean | undefined;
6299
+ placeholder?: {
6300
+ id: string;
6301
+ defaultMessage: string;
6302
+ description: string;
6303
+ } | undefined;
6304
+ validation?: {
6305
+ validator: any;
6306
+ message: {
6307
+ id: string;
6308
+ defaultMessage: string;
6309
+ description: string;
6310
+ };
6311
+ }[] | undefined;
6312
+ helperText?: {
6313
+ id: string;
6314
+ defaultMessage: string;
6315
+ description: string;
6316
+ } | undefined;
6317
+ hideLabel?: boolean | undefined;
6318
+ uncorrectable?: boolean | undefined;
6319
+ value?: {
6320
+ $$field: string;
6321
+ $$subfield?: string[] | undefined;
6322
+ } | {
6323
+ $$field: string;
6324
+ $$subfield?: string[] | undefined;
6325
+ }[] | undefined;
6326
+ analytics?: boolean | undefined;
6327
+ required?: false | undefined;
6218
6328
  })[];
6219
6329
  };
6220
6330
  auditHistoryLabel?: {
@@ -9402,6 +9512,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
9402
9512
  message: string;
9403
9513
  } | null | undefined;
9404
9514
  } | undefined;
9515
+ } | {
9516
+ id: string;
9517
+ label: {
9518
+ id: string;
9519
+ defaultMessage: string;
9520
+ description: string;
9521
+ };
9522
+ type: "HIDDEN";
9523
+ parent?: {
9524
+ $$field: string;
9525
+ $$subfield?: string[] | undefined;
9526
+ } | {
9527
+ $$field: string;
9528
+ $$subfield?: string[] | undefined;
9529
+ }[] | undefined;
9530
+ conditionals?: ({
9531
+ type: "SHOW";
9532
+ conditional: any;
9533
+ } | {
9534
+ type: "ENABLE";
9535
+ conditional: any;
9536
+ } | {
9537
+ type: "DISPLAY_ON_REVIEW";
9538
+ conditional: any;
9539
+ })[] | undefined;
9540
+ secured?: boolean | undefined;
9541
+ placeholder?: {
9542
+ id: string;
9543
+ defaultMessage: string;
9544
+ description: string;
9545
+ } | undefined;
9546
+ validation?: {
9547
+ validator: any;
9548
+ message: {
9549
+ id: string;
9550
+ defaultMessage: string;
9551
+ description: string;
9552
+ };
9553
+ }[] | undefined;
9554
+ helperText?: {
9555
+ id: string;
9556
+ defaultMessage: string;
9557
+ description: string;
9558
+ } | undefined;
9559
+ hideLabel?: boolean | undefined;
9560
+ uncorrectable?: boolean | undefined;
9561
+ value?: {
9562
+ $$field: string;
9563
+ $$subfield?: string[] | undefined;
9564
+ } | {
9565
+ $$field: string;
9566
+ $$subfield?: string[] | undefined;
9567
+ }[] | undefined;
9568
+ analytics?: boolean | undefined;
9569
+ required?: false | undefined;
9405
9570
  })[];
9406
9571
  type: "FORM";
9407
9572
  conditional?: any;
@@ -12437,6 +12602,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
12437
12602
  message: string;
12438
12603
  } | null | undefined;
12439
12604
  } | undefined;
12605
+ } | {
12606
+ id: string;
12607
+ label: {
12608
+ id: string;
12609
+ defaultMessage: string;
12610
+ description: string;
12611
+ };
12612
+ type: "HIDDEN";
12613
+ parent?: {
12614
+ $$field: string;
12615
+ $$subfield?: string[] | undefined;
12616
+ } | {
12617
+ $$field: string;
12618
+ $$subfield?: string[] | undefined;
12619
+ }[] | undefined;
12620
+ conditionals?: ({
12621
+ type: "SHOW";
12622
+ conditional: any;
12623
+ } | {
12624
+ type: "ENABLE";
12625
+ conditional: any;
12626
+ } | {
12627
+ type: "DISPLAY_ON_REVIEW";
12628
+ conditional: any;
12629
+ })[] | undefined;
12630
+ secured?: boolean | undefined;
12631
+ placeholder?: {
12632
+ id: string;
12633
+ defaultMessage: string;
12634
+ description: string;
12635
+ } | undefined;
12636
+ validation?: {
12637
+ validator: any;
12638
+ message: {
12639
+ id: string;
12640
+ defaultMessage: string;
12641
+ description: string;
12642
+ };
12643
+ }[] | undefined;
12644
+ helperText?: {
12645
+ id: string;
12646
+ defaultMessage: string;
12647
+ description: string;
12648
+ } | undefined;
12649
+ hideLabel?: boolean | undefined;
12650
+ uncorrectable?: boolean | undefined;
12651
+ value?: {
12652
+ $$field: string;
12653
+ $$subfield?: string[] | undefined;
12654
+ } | {
12655
+ $$field: string;
12656
+ $$subfield?: string[] | undefined;
12657
+ }[] | undefined;
12658
+ analytics?: boolean | undefined;
12659
+ required?: false | undefined;
12440
12660
  })[];
12441
12661
  type: "VERIFICATION";
12442
12662
  actions: {
@@ -15538,6 +15758,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
15538
15758
  message: string;
15539
15759
  } | null | undefined;
15540
15760
  } | undefined;
15761
+ } | {
15762
+ id: string;
15763
+ label: {
15764
+ id: string;
15765
+ defaultMessage: string;
15766
+ description: string;
15767
+ };
15768
+ type: "HIDDEN";
15769
+ parent?: {
15770
+ $$field: string;
15771
+ $$subfield?: string[] | undefined;
15772
+ } | {
15773
+ $$field: string;
15774
+ $$subfield?: string[] | undefined;
15775
+ }[] | undefined;
15776
+ conditionals?: ({
15777
+ type: "SHOW";
15778
+ conditional: any;
15779
+ } | {
15780
+ type: "ENABLE";
15781
+ conditional: any;
15782
+ } | {
15783
+ type: "DISPLAY_ON_REVIEW";
15784
+ conditional: any;
15785
+ })[] | undefined;
15786
+ secured?: boolean | undefined;
15787
+ placeholder?: {
15788
+ id: string;
15789
+ defaultMessage: string;
15790
+ description: string;
15791
+ } | undefined;
15792
+ validation?: {
15793
+ validator: any;
15794
+ message: {
15795
+ id: string;
15796
+ defaultMessage: string;
15797
+ description: string;
15798
+ };
15799
+ }[] | undefined;
15800
+ helperText?: {
15801
+ id: string;
15802
+ defaultMessage: string;
15803
+ description: string;
15804
+ } | undefined;
15805
+ hideLabel?: boolean | undefined;
15806
+ uncorrectable?: boolean | undefined;
15807
+ value?: {
15808
+ $$field: string;
15809
+ $$subfield?: string[] | undefined;
15810
+ } | {
15811
+ $$field: string;
15812
+ $$subfield?: string[] | undefined;
15813
+ }[] | undefined;
15814
+ analytics?: boolean | undefined;
15815
+ required?: false | undefined;
15541
15816
  })[];
15542
15817
  type: "FORM";
15543
15818
  conditional?: any;
@@ -18573,6 +18848,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
18573
18848
  message: string;
18574
18849
  } | null | undefined;
18575
18850
  } | undefined;
18851
+ } | {
18852
+ id: string;
18853
+ label: {
18854
+ id: string;
18855
+ defaultMessage: string;
18856
+ description: string;
18857
+ };
18858
+ type: "HIDDEN";
18859
+ parent?: {
18860
+ $$field: string;
18861
+ $$subfield?: string[] | undefined;
18862
+ } | {
18863
+ $$field: string;
18864
+ $$subfield?: string[] | undefined;
18865
+ }[] | undefined;
18866
+ conditionals?: ({
18867
+ type: "SHOW";
18868
+ conditional: any;
18869
+ } | {
18870
+ type: "ENABLE";
18871
+ conditional: any;
18872
+ } | {
18873
+ type: "DISPLAY_ON_REVIEW";
18874
+ conditional: any;
18875
+ })[] | undefined;
18876
+ secured?: boolean | undefined;
18877
+ placeholder?: {
18878
+ id: string;
18879
+ defaultMessage: string;
18880
+ description: string;
18881
+ } | undefined;
18882
+ validation?: {
18883
+ validator: any;
18884
+ message: {
18885
+ id: string;
18886
+ defaultMessage: string;
18887
+ description: string;
18888
+ };
18889
+ }[] | undefined;
18890
+ helperText?: {
18891
+ id: string;
18892
+ defaultMessage: string;
18893
+ description: string;
18894
+ } | undefined;
18895
+ hideLabel?: boolean | undefined;
18896
+ uncorrectable?: boolean | undefined;
18897
+ value?: {
18898
+ $$field: string;
18899
+ $$subfield?: string[] | undefined;
18900
+ } | {
18901
+ $$field: string;
18902
+ $$subfield?: string[] | undefined;
18903
+ }[] | undefined;
18904
+ analytics?: boolean | undefined;
18905
+ required?: false | undefined;
18576
18906
  })[];
18577
18907
  type: "VERIFICATION";
18578
18908
  actions: {
@@ -21662,6 +21992,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
21662
21992
  message: string;
21663
21993
  } | null | undefined;
21664
21994
  } | undefined;
21995
+ } | {
21996
+ id: string;
21997
+ label: {
21998
+ id: string;
21999
+ defaultMessage: string;
22000
+ description: string;
22001
+ };
22002
+ type: "HIDDEN";
22003
+ parent?: {
22004
+ $$field: string;
22005
+ $$subfield?: string[] | undefined;
22006
+ } | {
22007
+ $$field: string;
22008
+ $$subfield?: string[] | undefined;
22009
+ }[] | undefined;
22010
+ conditionals?: ({
22011
+ type: "SHOW";
22012
+ conditional: any;
22013
+ } | {
22014
+ type: "ENABLE";
22015
+ conditional: any;
22016
+ } | {
22017
+ type: "DISPLAY_ON_REVIEW";
22018
+ conditional: any;
22019
+ })[] | undefined;
22020
+ secured?: boolean | undefined;
22021
+ placeholder?: {
22022
+ id: string;
22023
+ defaultMessage: string;
22024
+ description: string;
22025
+ } | undefined;
22026
+ validation?: {
22027
+ validator: any;
22028
+ message: {
22029
+ id: string;
22030
+ defaultMessage: string;
22031
+ description: string;
22032
+ };
22033
+ }[] | undefined;
22034
+ helperText?: {
22035
+ id: string;
22036
+ defaultMessage: string;
22037
+ description: string;
22038
+ } | undefined;
22039
+ hideLabel?: boolean | undefined;
22040
+ uncorrectable?: boolean | undefined;
22041
+ value?: {
22042
+ $$field: string;
22043
+ $$subfield?: string[] | undefined;
22044
+ } | {
22045
+ $$field: string;
22046
+ $$subfield?: string[] | undefined;
22047
+ }[] | undefined;
22048
+ analytics?: boolean | undefined;
22049
+ required?: false | undefined;
21665
22050
  })[];
21666
22051
  auditHistoryLabel?: {
21667
22052
  id: string;
@@ -24720,6 +25105,61 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24720
25105
  message: string;
24721
25106
  } | null | undefined;
24722
25107
  } | undefined;
25108
+ } | {
25109
+ id: string;
25110
+ label: {
25111
+ id: string;
25112
+ defaultMessage: string;
25113
+ description: string;
25114
+ };
25115
+ type: "HIDDEN";
25116
+ parent?: {
25117
+ $$field: string;
25118
+ $$subfield?: string[] | undefined;
25119
+ } | {
25120
+ $$field: string;
25121
+ $$subfield?: string[] | undefined;
25122
+ }[] | undefined;
25123
+ conditionals?: ({
25124
+ type: "SHOW";
25125
+ conditional: any;
25126
+ } | {
25127
+ type: "ENABLE";
25128
+ conditional: any;
25129
+ } | {
25130
+ type: "DISPLAY_ON_REVIEW";
25131
+ conditional: any;
25132
+ })[] | undefined;
25133
+ secured?: boolean | undefined;
25134
+ placeholder?: {
25135
+ id: string;
25136
+ defaultMessage: string;
25137
+ description: string;
25138
+ } | undefined;
25139
+ validation?: {
25140
+ validator: any;
25141
+ message: {
25142
+ id: string;
25143
+ defaultMessage: string;
25144
+ description: string;
25145
+ };
25146
+ }[] | undefined;
25147
+ helperText?: {
25148
+ id: string;
25149
+ defaultMessage: string;
25150
+ description: string;
25151
+ } | undefined;
25152
+ hideLabel?: boolean | undefined;
25153
+ uncorrectable?: boolean | undefined;
25154
+ value?: {
25155
+ $$field: string;
25156
+ $$subfield?: string[] | undefined;
25157
+ } | {
25158
+ $$field: string;
25159
+ $$subfield?: string[] | undefined;
25160
+ }[] | undefined;
25161
+ analytics?: boolean | undefined;
25162
+ required?: false | undefined;
24723
25163
  })[];
24724
25164
  type: "FORM";
24725
25165
  conditional?: any;
@@ -24738,7 +25178,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24738
25178
  };
24739
25179
  fieldId: string;
24740
25180
  fieldType: "field";
24741
- type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
25181
+ type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | "HIDDEN" | undefined;
24742
25182
  label?: {
24743
25183
  id: string;
24744
25184
  defaultMessage: string;
@@ -24780,9 +25220,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24780
25220
  type: "fuzzy" | "exact" | "range" | "within";
24781
25221
  searchFields?: string[] | undefined;
24782
25222
  };
24783
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
25223
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
24784
25224
  fieldType: "event";
24785
- type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | undefined;
25225
+ type?: "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "AGE" | "DATE" | "TIME" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "PAGE_HEADER" | "SELECT" | "NAME" | "PHONE" | "ID" | "CHECKBOX" | "FILE" | "COUNTRY" | "ADMINISTRATIVE_AREA" | "DIVIDER" | "LOCATION" | "FACILITY" | "OFFICE" | "SIGNATURE" | "EMAIL" | "FILE_WITH_OPTIONS" | "DATA" | "BUTTON" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QR_READER" | "ID_READER" | "QUERY_PARAM_READER" | "LOADER" | "SEARCH" | "HIDDEN" | undefined;
24786
25226
  label?: {
24787
25227
  id: string;
24788
25228
  defaultMessage: string;
@@ -24834,6 +25274,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
24834
25274
  $$field: string;
24835
25275
  $$subfield?: string[] | undefined;
24836
25276
  } | undefined;
25277
+ placeOfEvent?: {
25278
+ $$field: string;
25279
+ $$subfield?: string[] | undefined;
25280
+ } | undefined;
24837
25281
  fallbackTitle?: {
24838
25282
  id: string;
24839
25283
  defaultMessage: string;
@@ -25764,7 +26208,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25764
26208
  meta: import("trpc-to-openapi").OpenApiMeta;
25765
26209
  }>;
25766
26210
  draft: import("@trpc/server").TRPCBuiltRouter<{
25767
- ctx: {
26211
+ ctx: Partial<{
25768
26212
  token: `Bearer ${string}`;
25769
26213
  user: {
25770
26214
  type: "user";
@@ -25779,7 +26223,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25779
26223
  signature?: undefined;
25780
26224
  primaryOfficeId?: undefined;
25781
26225
  };
25782
- };
26226
+ }>;
25783
26227
  meta: import("trpc-to-openapi").OpenApiMeta;
25784
26228
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25785
26229
  transformer: true;
@@ -25842,7 +26286,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25842
26286
  }>;
25843
26287
  }>>;
25844
26288
  actions: import("@trpc/server").TRPCBuiltRouter<{
25845
- ctx: {
26289
+ ctx: Partial<{
25846
26290
  token: `Bearer ${string}`;
25847
26291
  user: {
25848
26292
  type: "user";
@@ -25857,13 +26301,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25857
26301
  signature?: undefined;
25858
26302
  primaryOfficeId?: undefined;
25859
26303
  };
25860
- };
26304
+ }>;
25861
26305
  meta: import("trpc-to-openapi").OpenApiMeta;
25862
26306
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25863
26307
  transformer: true;
25864
26308
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
25865
26309
  notify: import("@trpc/server").TRPCBuiltRouter<{
25866
- ctx: {
26310
+ ctx: Partial<{
25867
26311
  token: `Bearer ${string}`;
25868
26312
  user: {
25869
26313
  type: "user";
@@ -25878,7 +26322,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25878
26322
  signature?: undefined;
25879
26323
  primaryOfficeId?: undefined;
25880
26324
  };
25881
- };
26325
+ }>;
25882
26326
  meta: import("trpc-to-openapi").OpenApiMeta;
25883
26327
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25884
26328
  transformer: true;
@@ -25906,7 +26350,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25906
26350
  }>;
25907
26351
  }>>;
25908
26352
  declare: import("@trpc/server").TRPCBuiltRouter<{
25909
- ctx: {
26353
+ ctx: Partial<{
25910
26354
  token: `Bearer ${string}`;
25911
26355
  user: {
25912
26356
  type: "user";
@@ -25921,7 +26365,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
25921
26365
  signature?: undefined;
25922
26366
  primaryOfficeId?: undefined;
25923
26367
  };
25924
- };
26368
+ }>;
25925
26369
  meta: import("trpc-to-openapi").OpenApiMeta;
25926
26370
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
25927
26371
  transformer: true;
@@ -26255,7 +26699,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26255
26699
  }>;
26256
26700
  }>>;
26257
26701
  validate: import("@trpc/server").TRPCBuiltRouter<{
26258
- ctx: {
26702
+ ctx: Partial<{
26259
26703
  token: `Bearer ${string}`;
26260
26704
  user: {
26261
26705
  type: "user";
@@ -26270,7 +26714,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26270
26714
  signature?: undefined;
26271
26715
  primaryOfficeId?: undefined;
26272
26716
  };
26273
- };
26717
+ }>;
26274
26718
  meta: import("trpc-to-openapi").OpenApiMeta;
26275
26719
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26276
26720
  transformer: true;
@@ -26298,7 +26742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26298
26742
  }>;
26299
26743
  }>>;
26300
26744
  reject: import("@trpc/server").TRPCBuiltRouter<{
26301
- ctx: {
26745
+ ctx: Partial<{
26302
26746
  token: `Bearer ${string}`;
26303
26747
  user: {
26304
26748
  type: "user";
@@ -26313,7 +26757,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26313
26757
  signature?: undefined;
26314
26758
  primaryOfficeId?: undefined;
26315
26759
  };
26316
- };
26760
+ }>;
26317
26761
  meta: import("trpc-to-openapi").OpenApiMeta;
26318
26762
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26319
26763
  transformer: true;
@@ -26341,7 +26785,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26341
26785
  }>;
26342
26786
  }>>;
26343
26787
  archive: import("@trpc/server").TRPCBuiltRouter<{
26344
- ctx: {
26788
+ ctx: Partial<{
26345
26789
  token: `Bearer ${string}`;
26346
26790
  user: {
26347
26791
  type: "user";
@@ -26356,7 +26800,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26356
26800
  signature?: undefined;
26357
26801
  primaryOfficeId?: undefined;
26358
26802
  };
26359
- };
26803
+ }>;
26360
26804
  meta: import("trpc-to-openapi").OpenApiMeta;
26361
26805
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26362
26806
  transformer: true;
@@ -26384,7 +26828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26384
26828
  }>;
26385
26829
  }>>;
26386
26830
  register: import("@trpc/server").TRPCBuiltRouter<{
26387
- ctx: {
26831
+ ctx: Partial<{
26388
26832
  token: `Bearer ${string}`;
26389
26833
  user: {
26390
26834
  type: "user";
@@ -26399,7 +26843,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26399
26843
  signature?: undefined;
26400
26844
  primaryOfficeId?: undefined;
26401
26845
  };
26402
- };
26846
+ }>;
26403
26847
  meta: import("trpc-to-openapi").OpenApiMeta;
26404
26848
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26405
26849
  transformer: true;
@@ -26427,7 +26871,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26427
26871
  }>;
26428
26872
  }>>;
26429
26873
  printCertificate: import("@trpc/server").TRPCBuiltRouter<{
26430
- ctx: {
26874
+ ctx: Partial<{
26431
26875
  token: `Bearer ${string}`;
26432
26876
  user: {
26433
26877
  type: "user";
@@ -26442,7 +26886,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26442
26886
  signature?: undefined;
26443
26887
  primaryOfficeId?: undefined;
26444
26888
  };
26445
- };
26889
+ }>;
26446
26890
  meta: import("trpc-to-openapi").OpenApiMeta;
26447
26891
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26448
26892
  transformer: true;
@@ -26470,7 +26914,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26470
26914
  }>;
26471
26915
  }>>;
26472
26916
  custom: import("@trpc/server").TRPCBuiltRouter<{
26473
- ctx: {
26917
+ ctx: Partial<{
26474
26918
  token: `Bearer ${string}`;
26475
26919
  user: {
26476
26920
  type: "user";
@@ -26485,7 +26929,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26485
26929
  signature?: undefined;
26486
26930
  primaryOfficeId?: undefined;
26487
26931
  };
26488
- };
26932
+ }>;
26489
26933
  meta: import("trpc-to-openapi").OpenApiMeta;
26490
26934
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26491
26935
  transformer: true;
@@ -26820,7 +27264,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26820
27264
  }>;
26821
27265
  }>>;
26822
27266
  assignment: import("@trpc/server").TRPCBuiltRouter<{
26823
- ctx: {
27267
+ ctx: Partial<{
26824
27268
  token: `Bearer ${string}`;
26825
27269
  user: {
26826
27270
  type: "user";
@@ -26835,7 +27279,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
26835
27279
  signature?: undefined;
26836
27280
  primaryOfficeId?: undefined;
26837
27281
  };
26838
- };
27282
+ }>;
26839
27283
  meta: import("trpc-to-openapi").OpenApiMeta;
26840
27284
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
26841
27285
  transformer: true;
@@ -27466,7 +27910,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27466
27910
  }>;
27467
27911
  }>>;
27468
27912
  correction: import("@trpc/server").TRPCBuiltRouter<{
27469
- ctx: {
27913
+ ctx: Partial<{
27470
27914
  token: `Bearer ${string}`;
27471
27915
  user: {
27472
27916
  type: "user";
@@ -27481,13 +27925,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27481
27925
  signature?: undefined;
27482
27926
  primaryOfficeId?: undefined;
27483
27927
  };
27484
- };
27928
+ }>;
27485
27929
  meta: import("trpc-to-openapi").OpenApiMeta;
27486
27930
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27487
27931
  transformer: true;
27488
27932
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
27489
27933
  request: import("@trpc/server").TRPCBuiltRouter<{
27490
- ctx: {
27934
+ ctx: Partial<{
27491
27935
  token: `Bearer ${string}`;
27492
27936
  user: {
27493
27937
  type: "user";
@@ -27502,7 +27946,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27502
27946
  signature?: undefined;
27503
27947
  primaryOfficeId?: undefined;
27504
27948
  };
27505
- };
27949
+ }>;
27506
27950
  meta: import("trpc-to-openapi").OpenApiMeta;
27507
27951
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27508
27952
  transformer: true;
@@ -27530,7 +27974,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27530
27974
  }>;
27531
27975
  }>>;
27532
27976
  approve: import("@trpc/server").TRPCBuiltRouter<{
27533
- ctx: {
27977
+ ctx: Partial<{
27534
27978
  token: `Bearer ${string}`;
27535
27979
  user: {
27536
27980
  type: "user";
@@ -27545,7 +27989,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27545
27989
  signature?: undefined;
27546
27990
  primaryOfficeId?: undefined;
27547
27991
  };
27548
- };
27992
+ }>;
27549
27993
  meta: import("trpc-to-openapi").OpenApiMeta;
27550
27994
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27551
27995
  transformer: true;
@@ -27573,7 +28017,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27573
28017
  }>;
27574
28018
  }>>;
27575
28019
  reject: import("@trpc/server").TRPCBuiltRouter<{
27576
- ctx: {
28020
+ ctx: Partial<{
27577
28021
  token: `Bearer ${string}`;
27578
28022
  user: {
27579
28023
  type: "user";
@@ -27588,7 +28032,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27588
28032
  signature?: undefined;
27589
28033
  primaryOfficeId?: undefined;
27590
28034
  };
27591
- };
28035
+ }>;
27592
28036
  meta: import("trpc-to-openapi").OpenApiMeta;
27593
28037
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27594
28038
  transformer: true;
@@ -27617,7 +28061,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27617
28061
  }>>;
27618
28062
  }>>;
27619
28063
  duplicate: import("@trpc/server").TRPCBuiltRouter<{
27620
- ctx: {
28064
+ ctx: Partial<{
27621
28065
  token: `Bearer ${string}`;
27622
28066
  user: {
27623
28067
  type: "user";
@@ -27632,7 +28076,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
27632
28076
  signature?: undefined;
27633
28077
  primaryOfficeId?: undefined;
27634
28078
  };
27635
- };
28079
+ }>;
27636
28080
  meta: import("trpc-to-openapi").OpenApiMeta;
27637
28081
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
27638
28082
  transformer: true;
@@ -28309,6 +28753,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28309
28753
  flags: string[];
28310
28754
  declaration: Record<string, import("../commons").FieldValue>;
28311
28755
  dateOfEvent?: string | null | undefined;
28756
+ placeOfEvent?: (string & import("zod").$brand<"UUID">) | null | undefined;
28312
28757
  createdByUserType?: "user" | "system" | null | undefined;
28313
28758
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
28314
28759
  createdBySignature?: string | null | undefined;
@@ -28629,7 +29074,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28629
29074
  }>;
28630
29075
  }>>;
28631
29076
  user: import("@trpc/server").TRPCBuiltRouter<{
28632
- ctx: {
29077
+ ctx: Partial<{
28633
29078
  token: `Bearer ${string}`;
28634
29079
  user: {
28635
29080
  type: "user";
@@ -28644,7 +29089,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28644
29089
  signature?: undefined;
28645
29090
  primaryOfficeId?: undefined;
28646
29091
  };
28647
- };
29092
+ }>;
28648
29093
  meta: import("trpc-to-openapi").OpenApiMeta;
28649
29094
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28650
29095
  transformer: true;
@@ -28743,7 +29188,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28743
29188
  }>;
28744
29189
  }>>;
28745
29190
  locations: import("@trpc/server").TRPCBuiltRouter<{
28746
- ctx: {
29191
+ ctx: Partial<{
28747
29192
  token: `Bearer ${string}`;
28748
29193
  user: {
28749
29194
  type: "user";
@@ -28758,7 +29203,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28758
29203
  signature?: undefined;
28759
29204
  primaryOfficeId?: undefined;
28760
29205
  };
28761
- };
29206
+ }>;
28762
29207
  meta: import("trpc-to-openapi").OpenApiMeta;
28763
29208
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28764
29209
  transformer: true;
@@ -28796,7 +29241,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28796
29241
  }>;
28797
29242
  }>>;
28798
29243
  workqueue: import("@trpc/server").TRPCBuiltRouter<{
28799
- ctx: {
29244
+ ctx: Partial<{
28800
29245
  token: `Bearer ${string}`;
28801
29246
  user: {
28802
29247
  type: "user";
@@ -28811,13 +29256,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28811
29256
  signature?: undefined;
28812
29257
  primaryOfficeId?: undefined;
28813
29258
  };
28814
- };
29259
+ }>;
28815
29260
  meta: import("trpc-to-openapi").OpenApiMeta;
28816
29261
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28817
29262
  transformer: true;
28818
29263
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
28819
29264
  config: import("@trpc/server").TRPCBuiltRouter<{
28820
- ctx: {
29265
+ ctx: Partial<{
28821
29266
  token: `Bearer ${string}`;
28822
29267
  user: {
28823
29268
  type: "user";
@@ -28832,7 +29277,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
28832
29277
  signature?: undefined;
28833
29278
  primaryOfficeId?: undefined;
28834
29279
  };
28835
- };
29280
+ }>;
28836
29281
  meta: import("trpc-to-openapi").OpenApiMeta;
28837
29282
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
28838
29283
  transformer: true;
@@ -29090,7 +29535,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
29090
29535
  description: string;
29091
29536
  };
29092
29537
  value: {
29093
- $event: "type" | "id" | "dateOfEvent" | "title" | "flags" | "status" | "createdAt" | "updatedAt" | "trackingId" | "createdBy" | "createdByUserType" | "createdAtLocation" | "assignedTo" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
29538
+ $event: "type" | "id" | "dateOfEvent" | "placeOfEvent" | "title" | "flags" | "status" | "createdAt" | "updatedAt" | "trackingId" | "createdBy" | "createdByUserType" | "createdAtLocation" | "assignedTo" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
29094
29539
  };
29095
29540
  }[];
29096
29541
  icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";