@opencrvs/toolkit 1.9.2-rc.f1d7235 → 1.9.2-rc.f3e8041
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.
- package/dist/commons/api/router.d.ts +112 -54
- package/dist/commons/events/ActionConfig.d.ts +30 -20
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -6
- package/dist/commons/events/EventConfig.d.ts +26 -18
- package/dist/commons/events/FieldConfig.d.ts +6 -4
- package/dist/commons/events/FieldType.d.ts +3 -3
- package/dist/commons/events/FormConfig.d.ts +18 -12
- package/dist/commons/events/PageConfig.d.ts +12 -8
- package/dist/commons/events/defineConfig.d.ts +26 -18
- package/dist/commons/events/utils.d.ts +50 -34
- package/dist/events/index.js +10 -9
- package/dist/notification/index.js +6 -5
- package/package.json +1 -1
|
@@ -7,12 +7,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7
7
|
role: string;
|
|
8
8
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9
9
|
signature?: string | undefined;
|
|
10
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
10
11
|
} | {
|
|
11
12
|
type: "system";
|
|
12
13
|
id: string;
|
|
13
14
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
14
15
|
signature?: undefined;
|
|
15
16
|
primaryOfficeId?: undefined;
|
|
17
|
+
administrativeAreaId?: undefined;
|
|
16
18
|
};
|
|
17
19
|
}>;
|
|
18
20
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -28,12 +30,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28
30
|
role: string;
|
|
29
31
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
30
32
|
signature?: string | undefined;
|
|
33
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
31
34
|
} | {
|
|
32
35
|
type: "system";
|
|
33
36
|
id: string;
|
|
34
37
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
35
38
|
signature?: undefined;
|
|
36
39
|
primaryOfficeId?: undefined;
|
|
40
|
+
administrativeAreaId?: undefined;
|
|
37
41
|
};
|
|
38
42
|
}>;
|
|
39
43
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -49,12 +53,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
49
53
|
role: string;
|
|
50
54
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
51
55
|
signature?: string | undefined;
|
|
56
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
52
57
|
} | {
|
|
53
58
|
type: "system";
|
|
54
59
|
id: string;
|
|
55
60
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
56
61
|
signature?: undefined;
|
|
57
62
|
primaryOfficeId?: undefined;
|
|
63
|
+
administrativeAreaId?: undefined;
|
|
58
64
|
};
|
|
59
65
|
}>;
|
|
60
66
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -1289,7 +1295,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1289
1295
|
} | undefined;
|
|
1290
1296
|
} | undefined;
|
|
1291
1297
|
} | undefined;
|
|
1292
|
-
order?: ("firstname" | "
|
|
1298
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
1293
1299
|
maxLength?: number | undefined;
|
|
1294
1300
|
prefix?: {
|
|
1295
1301
|
id: string;
|
|
@@ -1637,7 +1643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1637
1643
|
};
|
|
1638
1644
|
type: "ADMINISTRATIVE_AREA";
|
|
1639
1645
|
configuration: {
|
|
1640
|
-
type: "
|
|
1646
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
1641
1647
|
partOf?: {
|
|
1642
1648
|
$declaration: string;
|
|
1643
1649
|
} | undefined;
|
|
@@ -2401,7 +2407,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2401
2407
|
$$subfield?: string[] | undefined;
|
|
2402
2408
|
};
|
|
2403
2409
|
url: string;
|
|
2404
|
-
method: "POST" | "
|
|
2410
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
2405
2411
|
timeout: number;
|
|
2406
2412
|
headers?: Record<string, string> | undefined;
|
|
2407
2413
|
body?: Record<string, any> | undefined;
|
|
@@ -3165,7 +3171,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3165
3171
|
defaultMessage: string;
|
|
3166
3172
|
description: string;
|
|
3167
3173
|
};
|
|
3168
|
-
type: "
|
|
3174
|
+
type: "ALPHA_HIDDEN";
|
|
3169
3175
|
parent?: {
|
|
3170
3176
|
$$field: string;
|
|
3171
3177
|
$$subfield?: string[] | undefined;
|
|
@@ -3212,7 +3218,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3212
3218
|
$$subfield?: string[] | undefined;
|
|
3213
3219
|
}[] | undefined;
|
|
3214
3220
|
analytics?: boolean | undefined;
|
|
3215
|
-
required?:
|
|
3221
|
+
required?: boolean | undefined;
|
|
3222
|
+
defaultValue?: string | undefined;
|
|
3216
3223
|
})[];
|
|
3217
3224
|
};
|
|
3218
3225
|
auditHistoryLabel?: {
|
|
@@ -4401,7 +4408,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4401
4408
|
} | undefined;
|
|
4402
4409
|
} | undefined;
|
|
4403
4410
|
} | undefined;
|
|
4404
|
-
order?: ("firstname" | "
|
|
4411
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
4405
4412
|
maxLength?: number | undefined;
|
|
4406
4413
|
prefix?: {
|
|
4407
4414
|
id: string;
|
|
@@ -4749,7 +4756,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4749
4756
|
};
|
|
4750
4757
|
type: "ADMINISTRATIVE_AREA";
|
|
4751
4758
|
configuration: {
|
|
4752
|
-
type: "
|
|
4759
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
4753
4760
|
partOf?: {
|
|
4754
4761
|
$declaration: string;
|
|
4755
4762
|
} | undefined;
|
|
@@ -5513,7 +5520,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5513
5520
|
$$subfield?: string[] | undefined;
|
|
5514
5521
|
};
|
|
5515
5522
|
url: string;
|
|
5516
|
-
method: "POST" | "
|
|
5523
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
5517
5524
|
timeout: number;
|
|
5518
5525
|
headers?: Record<string, string> | undefined;
|
|
5519
5526
|
body?: Record<string, any> | undefined;
|
|
@@ -6277,7 +6284,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6277
6284
|
defaultMessage: string;
|
|
6278
6285
|
description: string;
|
|
6279
6286
|
};
|
|
6280
|
-
type: "
|
|
6287
|
+
type: "ALPHA_HIDDEN";
|
|
6281
6288
|
parent?: {
|
|
6282
6289
|
$$field: string;
|
|
6283
6290
|
$$subfield?: string[] | undefined;
|
|
@@ -6324,7 +6331,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6324
6331
|
$$subfield?: string[] | undefined;
|
|
6325
6332
|
}[] | undefined;
|
|
6326
6333
|
analytics?: boolean | undefined;
|
|
6327
|
-
required?:
|
|
6334
|
+
required?: boolean | undefined;
|
|
6335
|
+
defaultValue?: string | undefined;
|
|
6328
6336
|
})[];
|
|
6329
6337
|
};
|
|
6330
6338
|
auditHistoryLabel?: {
|
|
@@ -7643,7 +7651,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7643
7651
|
} | undefined;
|
|
7644
7652
|
} | undefined;
|
|
7645
7653
|
} | undefined;
|
|
7646
|
-
order?: ("firstname" | "
|
|
7654
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
7647
7655
|
maxLength?: number | undefined;
|
|
7648
7656
|
prefix?: {
|
|
7649
7657
|
id: string;
|
|
@@ -7991,7 +7999,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7991
7999
|
};
|
|
7992
8000
|
type: "ADMINISTRATIVE_AREA";
|
|
7993
8001
|
configuration: {
|
|
7994
|
-
type: "
|
|
8002
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
7995
8003
|
partOf?: {
|
|
7996
8004
|
$declaration: string;
|
|
7997
8005
|
} | undefined;
|
|
@@ -8755,7 +8763,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8755
8763
|
$$subfield?: string[] | undefined;
|
|
8756
8764
|
};
|
|
8757
8765
|
url: string;
|
|
8758
|
-
method: "POST" | "
|
|
8766
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
8759
8767
|
timeout: number;
|
|
8760
8768
|
headers?: Record<string, string> | undefined;
|
|
8761
8769
|
body?: Record<string, any> | undefined;
|
|
@@ -9519,7 +9527,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9519
9527
|
defaultMessage: string;
|
|
9520
9528
|
description: string;
|
|
9521
9529
|
};
|
|
9522
|
-
type: "
|
|
9530
|
+
type: "ALPHA_HIDDEN";
|
|
9523
9531
|
parent?: {
|
|
9524
9532
|
$$field: string;
|
|
9525
9533
|
$$subfield?: string[] | undefined;
|
|
@@ -9566,7 +9574,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
9566
9574
|
$$subfield?: string[] | undefined;
|
|
9567
9575
|
}[] | undefined;
|
|
9568
9576
|
analytics?: boolean | undefined;
|
|
9569
|
-
required?:
|
|
9577
|
+
required?: boolean | undefined;
|
|
9578
|
+
defaultValue?: string | undefined;
|
|
9570
9579
|
})[];
|
|
9571
9580
|
type: "FORM";
|
|
9572
9581
|
conditional?: any;
|
|
@@ -10733,7 +10742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
10733
10742
|
} | undefined;
|
|
10734
10743
|
} | undefined;
|
|
10735
10744
|
} | undefined;
|
|
10736
|
-
order?: ("firstname" | "
|
|
10745
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
10737
10746
|
maxLength?: number | undefined;
|
|
10738
10747
|
prefix?: {
|
|
10739
10748
|
id: string;
|
|
@@ -11081,7 +11090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11081
11090
|
};
|
|
11082
11091
|
type: "ADMINISTRATIVE_AREA";
|
|
11083
11092
|
configuration: {
|
|
11084
|
-
type: "
|
|
11093
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
11085
11094
|
partOf?: {
|
|
11086
11095
|
$declaration: string;
|
|
11087
11096
|
} | undefined;
|
|
@@ -11845,7 +11854,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
11845
11854
|
$$subfield?: string[] | undefined;
|
|
11846
11855
|
};
|
|
11847
11856
|
url: string;
|
|
11848
|
-
method: "POST" | "
|
|
11857
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
11849
11858
|
timeout: number;
|
|
11850
11859
|
headers?: Record<string, string> | undefined;
|
|
11851
11860
|
body?: Record<string, any> | undefined;
|
|
@@ -12609,7 +12618,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
12609
12618
|
defaultMessage: string;
|
|
12610
12619
|
description: string;
|
|
12611
12620
|
};
|
|
12612
|
-
type: "
|
|
12621
|
+
type: "ALPHA_HIDDEN";
|
|
12613
12622
|
parent?: {
|
|
12614
12623
|
$$field: string;
|
|
12615
12624
|
$$subfield?: string[] | undefined;
|
|
@@ -12656,7 +12665,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
12656
12665
|
$$subfield?: string[] | undefined;
|
|
12657
12666
|
}[] | undefined;
|
|
12658
12667
|
analytics?: boolean | undefined;
|
|
12659
|
-
required?:
|
|
12668
|
+
required?: boolean | undefined;
|
|
12669
|
+
defaultValue?: string | undefined;
|
|
12660
12670
|
})[];
|
|
12661
12671
|
type: "VERIFICATION";
|
|
12662
12672
|
actions: {
|
|
@@ -13889,7 +13899,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
13889
13899
|
} | undefined;
|
|
13890
13900
|
} | undefined;
|
|
13891
13901
|
} | undefined;
|
|
13892
|
-
order?: ("firstname" | "
|
|
13902
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
13893
13903
|
maxLength?: number | undefined;
|
|
13894
13904
|
prefix?: {
|
|
13895
13905
|
id: string;
|
|
@@ -14237,7 +14247,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
14237
14247
|
};
|
|
14238
14248
|
type: "ADMINISTRATIVE_AREA";
|
|
14239
14249
|
configuration: {
|
|
14240
|
-
type: "
|
|
14250
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
14241
14251
|
partOf?: {
|
|
14242
14252
|
$declaration: string;
|
|
14243
14253
|
} | undefined;
|
|
@@ -15001,7 +15011,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15001
15011
|
$$subfield?: string[] | undefined;
|
|
15002
15012
|
};
|
|
15003
15013
|
url: string;
|
|
15004
|
-
method: "POST" | "
|
|
15014
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
15005
15015
|
timeout: number;
|
|
15006
15016
|
headers?: Record<string, string> | undefined;
|
|
15007
15017
|
body?: Record<string, any> | undefined;
|
|
@@ -15765,7 +15775,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15765
15775
|
defaultMessage: string;
|
|
15766
15776
|
description: string;
|
|
15767
15777
|
};
|
|
15768
|
-
type: "
|
|
15778
|
+
type: "ALPHA_HIDDEN";
|
|
15769
15779
|
parent?: {
|
|
15770
15780
|
$$field: string;
|
|
15771
15781
|
$$subfield?: string[] | undefined;
|
|
@@ -15812,7 +15822,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
15812
15822
|
$$subfield?: string[] | undefined;
|
|
15813
15823
|
}[] | undefined;
|
|
15814
15824
|
analytics?: boolean | undefined;
|
|
15815
|
-
required?:
|
|
15825
|
+
required?: boolean | undefined;
|
|
15826
|
+
defaultValue?: string | undefined;
|
|
15816
15827
|
})[];
|
|
15817
15828
|
type: "FORM";
|
|
15818
15829
|
conditional?: any;
|
|
@@ -16979,7 +16990,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
16979
16990
|
} | undefined;
|
|
16980
16991
|
} | undefined;
|
|
16981
16992
|
} | undefined;
|
|
16982
|
-
order?: ("firstname" | "
|
|
16993
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
16983
16994
|
maxLength?: number | undefined;
|
|
16984
16995
|
prefix?: {
|
|
16985
16996
|
id: string;
|
|
@@ -17327,7 +17338,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
17327
17338
|
};
|
|
17328
17339
|
type: "ADMINISTRATIVE_AREA";
|
|
17329
17340
|
configuration: {
|
|
17330
|
-
type: "
|
|
17341
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
17331
17342
|
partOf?: {
|
|
17332
17343
|
$declaration: string;
|
|
17333
17344
|
} | undefined;
|
|
@@ -18091,7 +18102,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
18091
18102
|
$$subfield?: string[] | undefined;
|
|
18092
18103
|
};
|
|
18093
18104
|
url: string;
|
|
18094
|
-
method: "POST" | "
|
|
18105
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
18095
18106
|
timeout: number;
|
|
18096
18107
|
headers?: Record<string, string> | undefined;
|
|
18097
18108
|
body?: Record<string, any> | undefined;
|
|
@@ -18855,7 +18866,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
18855
18866
|
defaultMessage: string;
|
|
18856
18867
|
description: string;
|
|
18857
18868
|
};
|
|
18858
|
-
type: "
|
|
18869
|
+
type: "ALPHA_HIDDEN";
|
|
18859
18870
|
parent?: {
|
|
18860
18871
|
$$field: string;
|
|
18861
18872
|
$$subfield?: string[] | undefined;
|
|
@@ -18902,7 +18913,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
18902
18913
|
$$subfield?: string[] | undefined;
|
|
18903
18914
|
}[] | undefined;
|
|
18904
18915
|
analytics?: boolean | undefined;
|
|
18905
|
-
required?:
|
|
18916
|
+
required?: boolean | undefined;
|
|
18917
|
+
defaultValue?: string | undefined;
|
|
18906
18918
|
})[];
|
|
18907
18919
|
type: "VERIFICATION";
|
|
18908
18920
|
actions: {
|
|
@@ -20123,7 +20135,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
20123
20135
|
} | undefined;
|
|
20124
20136
|
} | undefined;
|
|
20125
20137
|
} | undefined;
|
|
20126
|
-
order?: ("firstname" | "
|
|
20138
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
20127
20139
|
maxLength?: number | undefined;
|
|
20128
20140
|
prefix?: {
|
|
20129
20141
|
id: string;
|
|
@@ -20471,7 +20483,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
20471
20483
|
};
|
|
20472
20484
|
type: "ADMINISTRATIVE_AREA";
|
|
20473
20485
|
configuration: {
|
|
20474
|
-
type: "
|
|
20486
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
20475
20487
|
partOf?: {
|
|
20476
20488
|
$declaration: string;
|
|
20477
20489
|
} | undefined;
|
|
@@ -21235,7 +21247,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
21235
21247
|
$$subfield?: string[] | undefined;
|
|
21236
21248
|
};
|
|
21237
21249
|
url: string;
|
|
21238
|
-
method: "POST" | "
|
|
21250
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
21239
21251
|
timeout: number;
|
|
21240
21252
|
headers?: Record<string, string> | undefined;
|
|
21241
21253
|
body?: Record<string, any> | undefined;
|
|
@@ -21999,7 +22011,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
21999
22011
|
defaultMessage: string;
|
|
22000
22012
|
description: string;
|
|
22001
22013
|
};
|
|
22002
|
-
type: "
|
|
22014
|
+
type: "ALPHA_HIDDEN";
|
|
22003
22015
|
parent?: {
|
|
22004
22016
|
$$field: string;
|
|
22005
22017
|
$$subfield?: string[] | undefined;
|
|
@@ -22046,7 +22058,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
22046
22058
|
$$subfield?: string[] | undefined;
|
|
22047
22059
|
}[] | undefined;
|
|
22048
22060
|
analytics?: boolean | undefined;
|
|
22049
|
-
required?:
|
|
22061
|
+
required?: boolean | undefined;
|
|
22062
|
+
defaultValue?: string | undefined;
|
|
22050
22063
|
})[];
|
|
22051
22064
|
auditHistoryLabel?: {
|
|
22052
22065
|
id: string;
|
|
@@ -23236,7 +23249,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
23236
23249
|
} | undefined;
|
|
23237
23250
|
} | undefined;
|
|
23238
23251
|
} | undefined;
|
|
23239
|
-
order?: ("firstname" | "
|
|
23252
|
+
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
23240
23253
|
maxLength?: number | undefined;
|
|
23241
23254
|
prefix?: {
|
|
23242
23255
|
id: string;
|
|
@@ -23584,7 +23597,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
23584
23597
|
};
|
|
23585
23598
|
type: "ADMINISTRATIVE_AREA";
|
|
23586
23599
|
configuration: {
|
|
23587
|
-
type: "
|
|
23600
|
+
type: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE";
|
|
23588
23601
|
partOf?: {
|
|
23589
23602
|
$declaration: string;
|
|
23590
23603
|
} | undefined;
|
|
@@ -24348,7 +24361,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24348
24361
|
$$subfield?: string[] | undefined;
|
|
24349
24362
|
};
|
|
24350
24363
|
url: string;
|
|
24351
|
-
method: "POST" | "
|
|
24364
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
|
24352
24365
|
timeout: number;
|
|
24353
24366
|
headers?: Record<string, string> | undefined;
|
|
24354
24367
|
body?: Record<string, any> | undefined;
|
|
@@ -25112,7 +25125,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
25112
25125
|
defaultMessage: string;
|
|
25113
25126
|
description: string;
|
|
25114
25127
|
};
|
|
25115
|
-
type: "
|
|
25128
|
+
type: "ALPHA_HIDDEN";
|
|
25116
25129
|
parent?: {
|
|
25117
25130
|
$$field: string;
|
|
25118
25131
|
$$subfield?: string[] | undefined;
|
|
@@ -25159,7 +25172,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
25159
25172
|
$$subfield?: string[] | undefined;
|
|
25160
25173
|
}[] | undefined;
|
|
25161
25174
|
analytics?: boolean | undefined;
|
|
25162
|
-
required?:
|
|
25175
|
+
required?: boolean | undefined;
|
|
25176
|
+
defaultValue?: string | undefined;
|
|
25163
25177
|
})[];
|
|
25164
25178
|
type: "FORM";
|
|
25165
25179
|
conditional?: any;
|
|
@@ -25178,7 +25192,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
25178
25192
|
};
|
|
25179
25193
|
fieldId: string;
|
|
25180
25194
|
fieldType: "field";
|
|
25181
|
-
type?: "
|
|
25195
|
+
type?: "TEXT" | "DATE" | "TIME" | "ADDRESS" | "NUMBER" | "TEXTAREA" | "AGE" | "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" | "ALPHA_HIDDEN" | undefined;
|
|
25182
25196
|
label?: {
|
|
25183
25197
|
id: string;
|
|
25184
25198
|
defaultMessage: string;
|
|
@@ -25222,7 +25236,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
25222
25236
|
};
|
|
25223
25237
|
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
25224
25238
|
fieldType: "event";
|
|
25225
|
-
type?: "
|
|
25239
|
+
type?: "TEXT" | "DATE" | "TIME" | "ADDRESS" | "NUMBER" | "TEXTAREA" | "AGE" | "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" | "ALPHA_HIDDEN" | undefined;
|
|
25226
25240
|
label?: {
|
|
25227
25241
|
id: string;
|
|
25228
25242
|
defaultMessage: string;
|
|
@@ -26216,12 +26230,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26216
26230
|
role: string;
|
|
26217
26231
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26218
26232
|
signature?: string | undefined;
|
|
26233
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26219
26234
|
} | {
|
|
26220
26235
|
type: "system";
|
|
26221
26236
|
id: string;
|
|
26222
26237
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26223
26238
|
signature?: undefined;
|
|
26224
26239
|
primaryOfficeId?: undefined;
|
|
26240
|
+
administrativeAreaId?: undefined;
|
|
26225
26241
|
};
|
|
26226
26242
|
}>;
|
|
26227
26243
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26294,12 +26310,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26294
26310
|
role: string;
|
|
26295
26311
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26296
26312
|
signature?: string | undefined;
|
|
26313
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26297
26314
|
} | {
|
|
26298
26315
|
type: "system";
|
|
26299
26316
|
id: string;
|
|
26300
26317
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26301
26318
|
signature?: undefined;
|
|
26302
26319
|
primaryOfficeId?: undefined;
|
|
26320
|
+
administrativeAreaId?: undefined;
|
|
26303
26321
|
};
|
|
26304
26322
|
}>;
|
|
26305
26323
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26315,12 +26333,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26315
26333
|
role: string;
|
|
26316
26334
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26317
26335
|
signature?: string | undefined;
|
|
26336
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26318
26337
|
} | {
|
|
26319
26338
|
type: "system";
|
|
26320
26339
|
id: string;
|
|
26321
26340
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26322
26341
|
signature?: undefined;
|
|
26323
26342
|
primaryOfficeId?: undefined;
|
|
26343
|
+
administrativeAreaId?: undefined;
|
|
26324
26344
|
};
|
|
26325
26345
|
}>;
|
|
26326
26346
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26358,12 +26378,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26358
26378
|
role: string;
|
|
26359
26379
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26360
26380
|
signature?: string | undefined;
|
|
26381
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26361
26382
|
} | {
|
|
26362
26383
|
type: "system";
|
|
26363
26384
|
id: string;
|
|
26364
26385
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26365
26386
|
signature?: undefined;
|
|
26366
26387
|
primaryOfficeId?: undefined;
|
|
26388
|
+
administrativeAreaId?: undefined;
|
|
26367
26389
|
};
|
|
26368
26390
|
}>;
|
|
26369
26391
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26707,12 +26729,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26707
26729
|
role: string;
|
|
26708
26730
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26709
26731
|
signature?: string | undefined;
|
|
26732
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26710
26733
|
} | {
|
|
26711
26734
|
type: "system";
|
|
26712
26735
|
id: string;
|
|
26713
26736
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26714
26737
|
signature?: undefined;
|
|
26715
26738
|
primaryOfficeId?: undefined;
|
|
26739
|
+
administrativeAreaId?: undefined;
|
|
26716
26740
|
};
|
|
26717
26741
|
}>;
|
|
26718
26742
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26750,12 +26774,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26750
26774
|
role: string;
|
|
26751
26775
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26752
26776
|
signature?: string | undefined;
|
|
26777
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26753
26778
|
} | {
|
|
26754
26779
|
type: "system";
|
|
26755
26780
|
id: string;
|
|
26756
26781
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26757
26782
|
signature?: undefined;
|
|
26758
26783
|
primaryOfficeId?: undefined;
|
|
26784
|
+
administrativeAreaId?: undefined;
|
|
26759
26785
|
};
|
|
26760
26786
|
}>;
|
|
26761
26787
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26793,12 +26819,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26793
26819
|
role: string;
|
|
26794
26820
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26795
26821
|
signature?: string | undefined;
|
|
26822
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26796
26823
|
} | {
|
|
26797
26824
|
type: "system";
|
|
26798
26825
|
id: string;
|
|
26799
26826
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26800
26827
|
signature?: undefined;
|
|
26801
26828
|
primaryOfficeId?: undefined;
|
|
26829
|
+
administrativeAreaId?: undefined;
|
|
26802
26830
|
};
|
|
26803
26831
|
}>;
|
|
26804
26832
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26836,12 +26864,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26836
26864
|
role: string;
|
|
26837
26865
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26838
26866
|
signature?: string | undefined;
|
|
26867
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26839
26868
|
} | {
|
|
26840
26869
|
type: "system";
|
|
26841
26870
|
id: string;
|
|
26842
26871
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26843
26872
|
signature?: undefined;
|
|
26844
26873
|
primaryOfficeId?: undefined;
|
|
26874
|
+
administrativeAreaId?: undefined;
|
|
26845
26875
|
};
|
|
26846
26876
|
}>;
|
|
26847
26877
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26879,12 +26909,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26879
26909
|
role: string;
|
|
26880
26910
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26881
26911
|
signature?: string | undefined;
|
|
26912
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26882
26913
|
} | {
|
|
26883
26914
|
type: "system";
|
|
26884
26915
|
id: string;
|
|
26885
26916
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26886
26917
|
signature?: undefined;
|
|
26887
26918
|
primaryOfficeId?: undefined;
|
|
26919
|
+
administrativeAreaId?: undefined;
|
|
26888
26920
|
};
|
|
26889
26921
|
}>;
|
|
26890
26922
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -26922,12 +26954,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26922
26954
|
role: string;
|
|
26923
26955
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
26924
26956
|
signature?: string | undefined;
|
|
26957
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26925
26958
|
} | {
|
|
26926
26959
|
type: "system";
|
|
26927
26960
|
id: string;
|
|
26928
26961
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
26929
26962
|
signature?: undefined;
|
|
26930
26963
|
primaryOfficeId?: undefined;
|
|
26964
|
+
administrativeAreaId?: undefined;
|
|
26931
26965
|
};
|
|
26932
26966
|
}>;
|
|
26933
26967
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -27272,12 +27306,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27272
27306
|
role: string;
|
|
27273
27307
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
27274
27308
|
signature?: string | undefined;
|
|
27309
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27275
27310
|
} | {
|
|
27276
27311
|
type: "system";
|
|
27277
27312
|
id: string;
|
|
27278
27313
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27279
27314
|
signature?: undefined;
|
|
27280
27315
|
primaryOfficeId?: undefined;
|
|
27316
|
+
administrativeAreaId?: undefined;
|
|
27281
27317
|
};
|
|
27282
27318
|
}>;
|
|
27283
27319
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -27918,12 +27954,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27918
27954
|
role: string;
|
|
27919
27955
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
27920
27956
|
signature?: string | undefined;
|
|
27957
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27921
27958
|
} | {
|
|
27922
27959
|
type: "system";
|
|
27923
27960
|
id: string;
|
|
27924
27961
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27925
27962
|
signature?: undefined;
|
|
27926
27963
|
primaryOfficeId?: undefined;
|
|
27964
|
+
administrativeAreaId?: undefined;
|
|
27927
27965
|
};
|
|
27928
27966
|
}>;
|
|
27929
27967
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -27939,12 +27977,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27939
27977
|
role: string;
|
|
27940
27978
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
27941
27979
|
signature?: string | undefined;
|
|
27980
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27942
27981
|
} | {
|
|
27943
27982
|
type: "system";
|
|
27944
27983
|
id: string;
|
|
27945
27984
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27946
27985
|
signature?: undefined;
|
|
27947
27986
|
primaryOfficeId?: undefined;
|
|
27987
|
+
administrativeAreaId?: undefined;
|
|
27948
27988
|
};
|
|
27949
27989
|
}>;
|
|
27950
27990
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -27982,12 +28022,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
27982
28022
|
role: string;
|
|
27983
28023
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
27984
28024
|
signature?: string | undefined;
|
|
28025
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
27985
28026
|
} | {
|
|
27986
28027
|
type: "system";
|
|
27987
28028
|
id: string;
|
|
27988
28029
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
27989
28030
|
signature?: undefined;
|
|
27990
28031
|
primaryOfficeId?: undefined;
|
|
28032
|
+
administrativeAreaId?: undefined;
|
|
27991
28033
|
};
|
|
27992
28034
|
}>;
|
|
27993
28035
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -28025,12 +28067,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28025
28067
|
role: string;
|
|
28026
28068
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
28027
28069
|
signature?: string | undefined;
|
|
28070
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28028
28071
|
} | {
|
|
28029
28072
|
type: "system";
|
|
28030
28073
|
id: string;
|
|
28031
28074
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28032
28075
|
signature?: undefined;
|
|
28033
28076
|
primaryOfficeId?: undefined;
|
|
28077
|
+
administrativeAreaId?: undefined;
|
|
28034
28078
|
};
|
|
28035
28079
|
}>;
|
|
28036
28080
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -28069,12 +28113,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
28069
28113
|
role: string;
|
|
28070
28114
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
28071
28115
|
signature?: string | undefined;
|
|
28116
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
28072
28117
|
} | {
|
|
28073
28118
|
type: "system";
|
|
28074
28119
|
id: string;
|
|
28075
28120
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
28076
28121
|
signature?: undefined;
|
|
28077
28122
|
primaryOfficeId?: undefined;
|
|
28123
|
+
administrativeAreaId?: undefined;
|
|
28078
28124
|
};
|
|
28079
28125
|
}>;
|
|
28080
28126
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -29082,12 +29128,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29082
29128
|
role: string;
|
|
29083
29129
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
29084
29130
|
signature?: string | undefined;
|
|
29131
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29085
29132
|
} | {
|
|
29086
29133
|
type: "system";
|
|
29087
29134
|
id: string;
|
|
29088
29135
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29089
29136
|
signature?: undefined;
|
|
29090
29137
|
primaryOfficeId?: undefined;
|
|
29138
|
+
administrativeAreaId?: undefined;
|
|
29091
29139
|
};
|
|
29092
29140
|
}>;
|
|
29093
29141
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -29108,6 +29156,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29108
29156
|
type: "user";
|
|
29109
29157
|
avatar?: string | undefined;
|
|
29110
29158
|
signature?: string | undefined;
|
|
29159
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29111
29160
|
fullHonorificName?: string | undefined;
|
|
29112
29161
|
} | {
|
|
29113
29162
|
id: string;
|
|
@@ -29115,6 +29164,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29115
29164
|
type: "system";
|
|
29116
29165
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29117
29166
|
primaryOfficeId?: undefined;
|
|
29167
|
+
administrativeAreaId?: undefined;
|
|
29118
29168
|
signature?: undefined;
|
|
29119
29169
|
avatar?: undefined;
|
|
29120
29170
|
fullHonorificName?: string | undefined;
|
|
@@ -29135,6 +29185,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29135
29185
|
type: "user";
|
|
29136
29186
|
avatar?: string | undefined;
|
|
29137
29187
|
signature?: string | undefined;
|
|
29188
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29138
29189
|
fullHonorificName?: string | undefined;
|
|
29139
29190
|
} | {
|
|
29140
29191
|
id: string;
|
|
@@ -29142,6 +29193,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29142
29193
|
type: "system";
|
|
29143
29194
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29144
29195
|
primaryOfficeId?: undefined;
|
|
29196
|
+
administrativeAreaId?: undefined;
|
|
29145
29197
|
signature?: undefined;
|
|
29146
29198
|
avatar?: undefined;
|
|
29147
29199
|
fullHonorificName?: string | undefined;
|
|
@@ -29160,27 +29212,27 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29160
29212
|
output: {
|
|
29161
29213
|
results: {
|
|
29162
29214
|
id: (string & import("zod").$brand<"UUID">) | null;
|
|
29163
|
-
declaration: Record<string, any>;
|
|
29164
|
-
eventType: string | null;
|
|
29165
|
-
customActionType: string | null;
|
|
29166
|
-
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
29167
|
-
createdAt: string | null;
|
|
29168
|
-
updatedAt: string | null;
|
|
29169
|
-
trackingId: string | null;
|
|
29170
29215
|
transactionId: string | null;
|
|
29171
29216
|
eventId: string & import("zod").$brand<"UUID">;
|
|
29172
29217
|
actionType: string;
|
|
29218
|
+
declaration: Record<string, any>;
|
|
29173
29219
|
annotation: Record<string, any> | null;
|
|
29174
29220
|
createdBy: string;
|
|
29175
29221
|
createdByRole: string;
|
|
29176
29222
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
29177
29223
|
createdBySignature: string | null;
|
|
29178
29224
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
29225
|
+
createdAt: string | null;
|
|
29179
29226
|
assignedTo: string | null;
|
|
29180
29227
|
originalActionId: (string & import("zod").$brand<"UUID">) | null;
|
|
29181
29228
|
registrationNumber: string | null;
|
|
29182
29229
|
requestId: string | null;
|
|
29230
|
+
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
29183
29231
|
content: Record<string, any> | null;
|
|
29232
|
+
customActionType: string | null;
|
|
29233
|
+
updatedAt: string | null;
|
|
29234
|
+
eventType: string | null;
|
|
29235
|
+
trackingId: string | null;
|
|
29184
29236
|
}[];
|
|
29185
29237
|
total: number;
|
|
29186
29238
|
};
|
|
@@ -29196,12 +29248,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29196
29248
|
role: string;
|
|
29197
29249
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
29198
29250
|
signature?: string | undefined;
|
|
29251
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29199
29252
|
} | {
|
|
29200
29253
|
type: "system";
|
|
29201
29254
|
id: string;
|
|
29202
29255
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29203
29256
|
signature?: undefined;
|
|
29204
29257
|
primaryOfficeId?: undefined;
|
|
29258
|
+
administrativeAreaId?: undefined;
|
|
29205
29259
|
};
|
|
29206
29260
|
}>;
|
|
29207
29261
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -29217,14 +29271,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29217
29271
|
input: {
|
|
29218
29272
|
isActive?: boolean | undefined;
|
|
29219
29273
|
locationIds?: string[] | undefined;
|
|
29220
|
-
locationType?: "
|
|
29274
|
+
locationType?: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | undefined;
|
|
29221
29275
|
} | undefined;
|
|
29222
29276
|
output: {
|
|
29223
29277
|
id: string & import("zod").$brand<"UUID">;
|
|
29224
29278
|
name: string;
|
|
29225
29279
|
parentId: (string & import("zod").$brand<"UUID">) | null;
|
|
29226
29280
|
validUntil: string | null;
|
|
29227
|
-
locationType: "
|
|
29281
|
+
locationType: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | null;
|
|
29228
29282
|
}[];
|
|
29229
29283
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
29230
29284
|
}>;
|
|
@@ -29234,7 +29288,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29234
29288
|
name: string;
|
|
29235
29289
|
parentId: string | null;
|
|
29236
29290
|
validUntil: string | null;
|
|
29237
|
-
locationType: "
|
|
29291
|
+
locationType: "HEALTH_FACILITY" | "CRVS_OFFICE" | "ADMIN_STRUCTURE" | null;
|
|
29238
29292
|
}[];
|
|
29239
29293
|
output: void;
|
|
29240
29294
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -29249,12 +29303,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29249
29303
|
role: string;
|
|
29250
29304
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
29251
29305
|
signature?: string | undefined;
|
|
29306
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29252
29307
|
} | {
|
|
29253
29308
|
type: "system";
|
|
29254
29309
|
id: string;
|
|
29255
29310
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29256
29311
|
signature?: undefined;
|
|
29257
29312
|
primaryOfficeId?: undefined;
|
|
29313
|
+
administrativeAreaId?: undefined;
|
|
29258
29314
|
};
|
|
29259
29315
|
}>;
|
|
29260
29316
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -29270,12 +29326,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29270
29326
|
role: string;
|
|
29271
29327
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
29272
29328
|
signature?: string | undefined;
|
|
29329
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
29273
29330
|
} | {
|
|
29274
29331
|
type: "system";
|
|
29275
29332
|
id: string;
|
|
29276
29333
|
role: "HEALTH" | "NATIONAL_ID" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
29277
29334
|
signature?: undefined;
|
|
29278
29335
|
primaryOfficeId?: undefined;
|
|
29336
|
+
administrativeAreaId?: undefined;
|
|
29279
29337
|
};
|
|
29280
29338
|
}>;
|
|
29281
29339
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -29525,7 +29583,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29525
29583
|
}[];
|
|
29526
29584
|
};
|
|
29527
29585
|
actions: {
|
|
29528
|
-
type: "
|
|
29586
|
+
type: "READ" | "DECLARE" | "REJECT" | "VALIDATE" | "REGISTER" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "DELETE" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
|
|
29529
29587
|
conditionals?: any[] | undefined;
|
|
29530
29588
|
}[];
|
|
29531
29589
|
columns: {
|
|
@@ -29535,7 +29593,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
29535
29593
|
description: string;
|
|
29536
29594
|
};
|
|
29537
29595
|
value: {
|
|
29538
|
-
$event: "type" | "id" | "
|
|
29596
|
+
$event: "type" | "id" | "createdBy" | "createdByUserType" | "createdAtLocation" | "createdAt" | "assignedTo" | "status" | "updatedAt" | "trackingId" | "dateOfEvent" | "placeOfEvent" | "title" | "flags" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
29539
29597
|
};
|
|
29540
29598
|
}[];
|
|
29541
29599
|
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";
|