@opencrvs/toolkit 1.9.10 → 1.9.11-rc.69dffea
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 +14 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +290 -0
- package/dist/commons/events/EventIndex.d.ts +26 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +455 -0
- package/dist/commons/events/utils.d.ts +2 -2
- package/dist/events/index.js +25 -7
- package/dist/notification/index.js +2 -0
- package/package.json +1 -1
|
@@ -3880,6 +3880,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3880
3880
|
type: "timePeriod";
|
|
3881
3881
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
3882
3882
|
} | undefined;
|
|
3883
|
+
updatedByUserRole?: {
|
|
3884
|
+
type: "exact";
|
|
3885
|
+
term: string | {
|
|
3886
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3887
|
+
$location?: string | undefined;
|
|
3888
|
+
};
|
|
3889
|
+
} | undefined;
|
|
3883
3890
|
updatedAtLocation?: {
|
|
3884
3891
|
type: "exact";
|
|
3885
3892
|
term: string | {
|
|
@@ -3996,6 +4003,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3996
4003
|
type: "timePeriod";
|
|
3997
4004
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
3998
4005
|
} | undefined;
|
|
4006
|
+
updatedByUserRole?: {
|
|
4007
|
+
type: "exact";
|
|
4008
|
+
term: string | {
|
|
4009
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4010
|
+
$location?: string | undefined;
|
|
4011
|
+
};
|
|
4012
|
+
} | undefined;
|
|
3999
4013
|
updatedAtLocation?: {
|
|
4000
4014
|
type: "exact";
|
|
4001
4015
|
term: string | {
|
|
@@ -246,6 +246,31 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
246
246
|
$location?: string | undefined;
|
|
247
247
|
};
|
|
248
248
|
}>]>>>;
|
|
249
|
+
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
250
|
+
type: z.ZodLiteral<"exact">;
|
|
251
|
+
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
252
|
+
$userField: z.ZodEnum<["id", "name", "role", "fullHonorificName", "device", "firstname", "middlename", "surname", "district", "province", "primaryOfficeId"]>;
|
|
253
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
|
255
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
256
|
+
$location?: string | undefined;
|
|
257
|
+
}, {
|
|
258
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
259
|
+
$location?: string | undefined;
|
|
260
|
+
}>]>;
|
|
261
|
+
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
type: "exact";
|
|
263
|
+
term: string | {
|
|
264
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
265
|
+
$location?: string | undefined;
|
|
266
|
+
};
|
|
267
|
+
}, {
|
|
268
|
+
type: "exact";
|
|
269
|
+
term: string | {
|
|
270
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
271
|
+
$location?: string | undefined;
|
|
272
|
+
};
|
|
273
|
+
}>>>;
|
|
249
274
|
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
250
275
|
type: z.ZodLiteral<"exact">;
|
|
251
276
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -430,6 +455,13 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
430
455
|
type: "timePeriod";
|
|
431
456
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
432
457
|
} | undefined;
|
|
458
|
+
updatedByUserRole?: {
|
|
459
|
+
type: "exact";
|
|
460
|
+
term: string | {
|
|
461
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
462
|
+
$location?: string | undefined;
|
|
463
|
+
};
|
|
464
|
+
} | undefined;
|
|
433
465
|
updatedAtLocation?: {
|
|
434
466
|
type: "exact";
|
|
435
467
|
term: string | {
|
|
@@ -543,6 +575,13 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
543
575
|
type: "timePeriod";
|
|
544
576
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
545
577
|
} | undefined;
|
|
578
|
+
updatedByUserRole?: {
|
|
579
|
+
type: "exact";
|
|
580
|
+
term: string | {
|
|
581
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
582
|
+
$location?: string | undefined;
|
|
583
|
+
};
|
|
584
|
+
} | undefined;
|
|
546
585
|
updatedAtLocation?: {
|
|
547
586
|
type: "exact";
|
|
548
587
|
term: string | {
|
|
@@ -841,6 +880,31 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
841
880
|
$location?: string | undefined;
|
|
842
881
|
};
|
|
843
882
|
}>]>>>;
|
|
883
|
+
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
884
|
+
type: z.ZodLiteral<"exact">;
|
|
885
|
+
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
886
|
+
$userField: z.ZodEnum<["id", "name", "role", "fullHonorificName", "device", "firstname", "middlename", "surname", "district", "province", "primaryOfficeId"]>;
|
|
887
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
888
|
+
}, "strip", z.ZodTypeAny, {
|
|
889
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
890
|
+
$location?: string | undefined;
|
|
891
|
+
}, {
|
|
892
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
893
|
+
$location?: string | undefined;
|
|
894
|
+
}>]>;
|
|
895
|
+
}, "strip", z.ZodTypeAny, {
|
|
896
|
+
type: "exact";
|
|
897
|
+
term: string | {
|
|
898
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
899
|
+
$location?: string | undefined;
|
|
900
|
+
};
|
|
901
|
+
}, {
|
|
902
|
+
type: "exact";
|
|
903
|
+
term: string | {
|
|
904
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
905
|
+
$location?: string | undefined;
|
|
906
|
+
};
|
|
907
|
+
}>>>;
|
|
844
908
|
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
845
909
|
type: z.ZodLiteral<"exact">;
|
|
846
910
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -1025,6 +1089,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
1025
1089
|
type: "timePeriod";
|
|
1026
1090
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1027
1091
|
} | undefined;
|
|
1092
|
+
updatedByUserRole?: {
|
|
1093
|
+
type: "exact";
|
|
1094
|
+
term: string | {
|
|
1095
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1096
|
+
$location?: string | undefined;
|
|
1097
|
+
};
|
|
1098
|
+
} | undefined;
|
|
1028
1099
|
updatedAtLocation?: {
|
|
1029
1100
|
type: "exact";
|
|
1030
1101
|
term: string | {
|
|
@@ -1138,6 +1209,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
1138
1209
|
type: "timePeriod";
|
|
1139
1210
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1140
1211
|
} | undefined;
|
|
1212
|
+
updatedByUserRole?: {
|
|
1213
|
+
type: "exact";
|
|
1214
|
+
term: string | {
|
|
1215
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1216
|
+
$location?: string | undefined;
|
|
1217
|
+
};
|
|
1218
|
+
} | undefined;
|
|
1141
1219
|
updatedAtLocation?: {
|
|
1142
1220
|
type: "exact";
|
|
1143
1221
|
term: string | {
|
|
@@ -1254,6 +1332,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
1254
1332
|
type: "timePeriod";
|
|
1255
1333
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1256
1334
|
} | undefined;
|
|
1335
|
+
updatedByUserRole?: {
|
|
1336
|
+
type: "exact";
|
|
1337
|
+
term: string | {
|
|
1338
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1339
|
+
$location?: string | undefined;
|
|
1340
|
+
};
|
|
1341
|
+
} | undefined;
|
|
1257
1342
|
updatedAtLocation?: {
|
|
1258
1343
|
type: "exact";
|
|
1259
1344
|
term: string | {
|
|
@@ -1370,6 +1455,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
1370
1455
|
type: "timePeriod";
|
|
1371
1456
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1372
1457
|
} | undefined;
|
|
1458
|
+
updatedByUserRole?: {
|
|
1459
|
+
type: "exact";
|
|
1460
|
+
term: string | {
|
|
1461
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1462
|
+
$location?: string | undefined;
|
|
1463
|
+
};
|
|
1464
|
+
} | undefined;
|
|
1373
1465
|
updatedAtLocation?: {
|
|
1374
1466
|
type: "exact";
|
|
1375
1467
|
term: string | {
|
|
@@ -1667,6 +1759,31 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
1667
1759
|
$location?: string | undefined;
|
|
1668
1760
|
};
|
|
1669
1761
|
}>]>>>;
|
|
1762
|
+
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1763
|
+
type: z.ZodLiteral<"exact">;
|
|
1764
|
+
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1765
|
+
$userField: z.ZodEnum<["id", "name", "role", "fullHonorificName", "device", "firstname", "middlename", "surname", "district", "province", "primaryOfficeId"]>;
|
|
1766
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
1767
|
+
}, "strip", z.ZodTypeAny, {
|
|
1768
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1769
|
+
$location?: string | undefined;
|
|
1770
|
+
}, {
|
|
1771
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1772
|
+
$location?: string | undefined;
|
|
1773
|
+
}>]>;
|
|
1774
|
+
}, "strip", z.ZodTypeAny, {
|
|
1775
|
+
type: "exact";
|
|
1776
|
+
term: string | {
|
|
1777
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1778
|
+
$location?: string | undefined;
|
|
1779
|
+
};
|
|
1780
|
+
}, {
|
|
1781
|
+
type: "exact";
|
|
1782
|
+
term: string | {
|
|
1783
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1784
|
+
$location?: string | undefined;
|
|
1785
|
+
};
|
|
1786
|
+
}>>>;
|
|
1670
1787
|
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1671
1788
|
type: z.ZodLiteral<"exact">;
|
|
1672
1789
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -1851,6 +1968,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
1851
1968
|
type: "timePeriod";
|
|
1852
1969
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1853
1970
|
} | undefined;
|
|
1971
|
+
updatedByUserRole?: {
|
|
1972
|
+
type: "exact";
|
|
1973
|
+
term: string | {
|
|
1974
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
1975
|
+
$location?: string | undefined;
|
|
1976
|
+
};
|
|
1977
|
+
} | undefined;
|
|
1854
1978
|
updatedAtLocation?: {
|
|
1855
1979
|
type: "exact";
|
|
1856
1980
|
term: string | {
|
|
@@ -1964,6 +2088,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
1964
2088
|
type: "timePeriod";
|
|
1965
2089
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1966
2090
|
} | undefined;
|
|
2091
|
+
updatedByUserRole?: {
|
|
2092
|
+
type: "exact";
|
|
2093
|
+
term: string | {
|
|
2094
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2095
|
+
$location?: string | undefined;
|
|
2096
|
+
};
|
|
2097
|
+
} | undefined;
|
|
1967
2098
|
updatedAtLocation?: {
|
|
1968
2099
|
type: "exact";
|
|
1969
2100
|
term: string | {
|
|
@@ -2080,6 +2211,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
2080
2211
|
type: "timePeriod";
|
|
2081
2212
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
2082
2213
|
} | undefined;
|
|
2214
|
+
updatedByUserRole?: {
|
|
2215
|
+
type: "exact";
|
|
2216
|
+
term: string | {
|
|
2217
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2218
|
+
$location?: string | undefined;
|
|
2219
|
+
};
|
|
2220
|
+
} | undefined;
|
|
2083
2221
|
updatedAtLocation?: {
|
|
2084
2222
|
type: "exact";
|
|
2085
2223
|
term: string | {
|
|
@@ -2196,6 +2334,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
2196
2334
|
type: "timePeriod";
|
|
2197
2335
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
2198
2336
|
} | undefined;
|
|
2337
|
+
updatedByUserRole?: {
|
|
2338
|
+
type: "exact";
|
|
2339
|
+
term: string | {
|
|
2340
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2341
|
+
$location?: string | undefined;
|
|
2342
|
+
};
|
|
2343
|
+
} | undefined;
|
|
2199
2344
|
updatedAtLocation?: {
|
|
2200
2345
|
type: "exact";
|
|
2201
2346
|
term: string | {
|
|
@@ -2493,6 +2638,31 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
2493
2638
|
$location?: string | undefined;
|
|
2494
2639
|
};
|
|
2495
2640
|
}>]>>>;
|
|
2641
|
+
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2642
|
+
type: z.ZodLiteral<"exact">;
|
|
2643
|
+
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2644
|
+
$userField: z.ZodEnum<["id", "name", "role", "fullHonorificName", "device", "firstname", "middlename", "surname", "district", "province", "primaryOfficeId"]>;
|
|
2645
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
2646
|
+
}, "strip", z.ZodTypeAny, {
|
|
2647
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2648
|
+
$location?: string | undefined;
|
|
2649
|
+
}, {
|
|
2650
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2651
|
+
$location?: string | undefined;
|
|
2652
|
+
}>]>;
|
|
2653
|
+
}, "strip", z.ZodTypeAny, {
|
|
2654
|
+
type: "exact";
|
|
2655
|
+
term: string | {
|
|
2656
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2657
|
+
$location?: string | undefined;
|
|
2658
|
+
};
|
|
2659
|
+
}, {
|
|
2660
|
+
type: "exact";
|
|
2661
|
+
term: string | {
|
|
2662
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2663
|
+
$location?: string | undefined;
|
|
2664
|
+
};
|
|
2665
|
+
}>>>;
|
|
2496
2666
|
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2497
2667
|
type: z.ZodLiteral<"exact">;
|
|
2498
2668
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -2677,6 +2847,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
2677
2847
|
type: "timePeriod";
|
|
2678
2848
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
2679
2849
|
} | undefined;
|
|
2850
|
+
updatedByUserRole?: {
|
|
2851
|
+
type: "exact";
|
|
2852
|
+
term: string | {
|
|
2853
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2854
|
+
$location?: string | undefined;
|
|
2855
|
+
};
|
|
2856
|
+
} | undefined;
|
|
2680
2857
|
updatedAtLocation?: {
|
|
2681
2858
|
type: "exact";
|
|
2682
2859
|
term: string | {
|
|
@@ -2790,6 +2967,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
2790
2967
|
type: "timePeriod";
|
|
2791
2968
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
2792
2969
|
} | undefined;
|
|
2970
|
+
updatedByUserRole?: {
|
|
2971
|
+
type: "exact";
|
|
2972
|
+
term: string | {
|
|
2973
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
2974
|
+
$location?: string | undefined;
|
|
2975
|
+
};
|
|
2976
|
+
} | undefined;
|
|
2793
2977
|
updatedAtLocation?: {
|
|
2794
2978
|
type: "exact";
|
|
2795
2979
|
term: string | {
|
|
@@ -3086,6 +3270,31 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
3086
3270
|
$location?: string | undefined;
|
|
3087
3271
|
};
|
|
3088
3272
|
}>]>>>;
|
|
3273
|
+
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3274
|
+
type: z.ZodLiteral<"exact">;
|
|
3275
|
+
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3276
|
+
$userField: z.ZodEnum<["id", "name", "role", "fullHonorificName", "device", "firstname", "middlename", "surname", "district", "province", "primaryOfficeId"]>;
|
|
3277
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
3278
|
+
}, "strip", z.ZodTypeAny, {
|
|
3279
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3280
|
+
$location?: string | undefined;
|
|
3281
|
+
}, {
|
|
3282
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3283
|
+
$location?: string | undefined;
|
|
3284
|
+
}>]>;
|
|
3285
|
+
}, "strip", z.ZodTypeAny, {
|
|
3286
|
+
type: "exact";
|
|
3287
|
+
term: string | {
|
|
3288
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3289
|
+
$location?: string | undefined;
|
|
3290
|
+
};
|
|
3291
|
+
}, {
|
|
3292
|
+
type: "exact";
|
|
3293
|
+
term: string | {
|
|
3294
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3295
|
+
$location?: string | undefined;
|
|
3296
|
+
};
|
|
3297
|
+
}>>>;
|
|
3089
3298
|
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3090
3299
|
type: z.ZodLiteral<"exact">;
|
|
3091
3300
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -3270,6 +3479,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
3270
3479
|
type: "timePeriod";
|
|
3271
3480
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
3272
3481
|
} | undefined;
|
|
3482
|
+
updatedByUserRole?: {
|
|
3483
|
+
type: "exact";
|
|
3484
|
+
term: string | {
|
|
3485
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3486
|
+
$location?: string | undefined;
|
|
3487
|
+
};
|
|
3488
|
+
} | undefined;
|
|
3273
3489
|
updatedAtLocation?: {
|
|
3274
3490
|
type: "exact";
|
|
3275
3491
|
term: string | {
|
|
@@ -3383,6 +3599,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
3383
3599
|
type: "timePeriod";
|
|
3384
3600
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
3385
3601
|
} | undefined;
|
|
3602
|
+
updatedByUserRole?: {
|
|
3603
|
+
type: "exact";
|
|
3604
|
+
term: string | {
|
|
3605
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3606
|
+
$location?: string | undefined;
|
|
3607
|
+
};
|
|
3608
|
+
} | undefined;
|
|
3386
3609
|
updatedAtLocation?: {
|
|
3387
3610
|
type: "exact";
|
|
3388
3611
|
term: string | {
|
|
@@ -3499,6 +3722,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
3499
3722
|
type: "timePeriod";
|
|
3500
3723
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
3501
3724
|
} | undefined;
|
|
3725
|
+
updatedByUserRole?: {
|
|
3726
|
+
type: "exact";
|
|
3727
|
+
term: string | {
|
|
3728
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3729
|
+
$location?: string | undefined;
|
|
3730
|
+
};
|
|
3731
|
+
} | undefined;
|
|
3502
3732
|
updatedAtLocation?: {
|
|
3503
3733
|
type: "exact";
|
|
3504
3734
|
term: string | {
|
|
@@ -3615,6 +3845,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
3615
3845
|
type: "timePeriod";
|
|
3616
3846
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
3617
3847
|
} | undefined;
|
|
3848
|
+
updatedByUserRole?: {
|
|
3849
|
+
type: "exact";
|
|
3850
|
+
term: string | {
|
|
3851
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3852
|
+
$location?: string | undefined;
|
|
3853
|
+
};
|
|
3854
|
+
} | undefined;
|
|
3618
3855
|
updatedAtLocation?: {
|
|
3619
3856
|
type: "exact";
|
|
3620
3857
|
term: string | {
|
|
@@ -3912,6 +4149,31 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
3912
4149
|
$location?: string | undefined;
|
|
3913
4150
|
};
|
|
3914
4151
|
}>]>>>;
|
|
4152
|
+
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4153
|
+
type: z.ZodLiteral<"exact">;
|
|
4154
|
+
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4155
|
+
$userField: z.ZodEnum<["id", "name", "role", "fullHonorificName", "device", "firstname", "middlename", "surname", "district", "province", "primaryOfficeId"]>;
|
|
4156
|
+
$location: z.ZodOptional<z.ZodString>;
|
|
4157
|
+
}, "strip", z.ZodTypeAny, {
|
|
4158
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4159
|
+
$location?: string | undefined;
|
|
4160
|
+
}, {
|
|
4161
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4162
|
+
$location?: string | undefined;
|
|
4163
|
+
}>]>;
|
|
4164
|
+
}, "strip", z.ZodTypeAny, {
|
|
4165
|
+
type: "exact";
|
|
4166
|
+
term: string | {
|
|
4167
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4168
|
+
$location?: string | undefined;
|
|
4169
|
+
};
|
|
4170
|
+
}, {
|
|
4171
|
+
type: "exact";
|
|
4172
|
+
term: string | {
|
|
4173
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4174
|
+
$location?: string | undefined;
|
|
4175
|
+
};
|
|
4176
|
+
}>>>;
|
|
3915
4177
|
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3916
4178
|
type: z.ZodLiteral<"exact">;
|
|
3917
4179
|
term: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -4096,6 +4358,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
4096
4358
|
type: "timePeriod";
|
|
4097
4359
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
4098
4360
|
} | undefined;
|
|
4361
|
+
updatedByUserRole?: {
|
|
4362
|
+
type: "exact";
|
|
4363
|
+
term: string | {
|
|
4364
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4365
|
+
$location?: string | undefined;
|
|
4366
|
+
};
|
|
4367
|
+
} | undefined;
|
|
4099
4368
|
updatedAtLocation?: {
|
|
4100
4369
|
type: "exact";
|
|
4101
4370
|
term: string | {
|
|
@@ -4209,6 +4478,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
4209
4478
|
type: "timePeriod";
|
|
4210
4479
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
4211
4480
|
} | undefined;
|
|
4481
|
+
updatedByUserRole?: {
|
|
4482
|
+
type: "exact";
|
|
4483
|
+
term: string | {
|
|
4484
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4485
|
+
$location?: string | undefined;
|
|
4486
|
+
};
|
|
4487
|
+
} | undefined;
|
|
4212
4488
|
updatedAtLocation?: {
|
|
4213
4489
|
type: "exact";
|
|
4214
4490
|
term: string | {
|
|
@@ -4325,6 +4601,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
4325
4601
|
type: "timePeriod";
|
|
4326
4602
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
4327
4603
|
} | undefined;
|
|
4604
|
+
updatedByUserRole?: {
|
|
4605
|
+
type: "exact";
|
|
4606
|
+
term: string | {
|
|
4607
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4608
|
+
$location?: string | undefined;
|
|
4609
|
+
};
|
|
4610
|
+
} | undefined;
|
|
4328
4611
|
updatedAtLocation?: {
|
|
4329
4612
|
type: "exact";
|
|
4330
4613
|
term: string | {
|
|
@@ -4441,6 +4724,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
|
|
|
4441
4724
|
type: "timePeriod";
|
|
4442
4725
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
4443
4726
|
} | undefined;
|
|
4727
|
+
updatedByUserRole?: {
|
|
4728
|
+
type: "exact";
|
|
4729
|
+
term: string | {
|
|
4730
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4731
|
+
$location?: string | undefined;
|
|
4732
|
+
};
|
|
4733
|
+
} | undefined;
|
|
4444
4734
|
updatedAtLocation?: {
|
|
4445
4735
|
type: "exact";
|
|
4446
4736
|
term: string | {
|
|
@@ -610,6 +610,16 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
610
610
|
type: "exact";
|
|
611
611
|
term: "system" | "user";
|
|
612
612
|
}>>>;
|
|
613
|
+
updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
614
|
+
type: z.ZodLiteral<"exact">;
|
|
615
|
+
term: z.ZodString;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
type: "exact";
|
|
618
|
+
term: string;
|
|
619
|
+
}, {
|
|
620
|
+
type: "exact";
|
|
621
|
+
term: string;
|
|
622
|
+
}>>>;
|
|
613
623
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
614
624
|
type: z.ZodLiteral<"exact">;
|
|
615
625
|
term: z.ZodString;
|
|
@@ -718,6 +728,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
718
728
|
type: "timePeriod";
|
|
719
729
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
720
730
|
} | undefined;
|
|
731
|
+
updatedByUserRole?: {
|
|
732
|
+
type: "exact";
|
|
733
|
+
term: string;
|
|
734
|
+
} | undefined;
|
|
721
735
|
updatedAtLocation?: {
|
|
722
736
|
type: "exact";
|
|
723
737
|
term: string;
|
|
@@ -818,6 +832,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
818
832
|
type: "timePeriod";
|
|
819
833
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
820
834
|
} | undefined;
|
|
835
|
+
updatedByUserRole?: {
|
|
836
|
+
type: "exact";
|
|
837
|
+
term: string;
|
|
838
|
+
} | undefined;
|
|
821
839
|
updatedAtLocation?: {
|
|
822
840
|
type: "exact";
|
|
823
841
|
term: string;
|
|
@@ -918,6 +936,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
918
936
|
type: "timePeriod";
|
|
919
937
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
920
938
|
} | undefined;
|
|
939
|
+
updatedByUserRole?: {
|
|
940
|
+
type: "exact";
|
|
941
|
+
term: string;
|
|
942
|
+
} | undefined;
|
|
921
943
|
updatedAtLocation?: {
|
|
922
944
|
type: "exact";
|
|
923
945
|
term: string;
|
|
@@ -1018,6 +1040,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
|
1018
1040
|
type: "timePeriod";
|
|
1019
1041
|
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
1020
1042
|
} | undefined;
|
|
1043
|
+
updatedByUserRole?: {
|
|
1044
|
+
type: "exact";
|
|
1045
|
+
term: string;
|
|
1046
|
+
} | undefined;
|
|
1021
1047
|
updatedAtLocation?: {
|
|
1022
1048
|
type: "exact";
|
|
1023
1049
|
term: string;
|