@opencrvs/toolkit 1.8.1-rc.d31fe05 → 1.8.1-rc.dc03968

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.
@@ -1161,6 +1161,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1161
1161
  start: string;
1162
1162
  end: string;
1163
1163
  } | null | undefined>;
1164
+ content?: {
1165
+ templateId?: string | undefined;
1166
+ } | null | undefined;
1164
1167
  createdBySignature?: string | null | undefined;
1165
1168
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
1166
1169
  annotation?: Record<string, string | number | boolean | {
@@ -2731,6 +2734,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2731
2734
  start: string;
2732
2735
  end: string;
2733
2736
  } | null | undefined>;
2737
+ content?: {
2738
+ templateId?: string | undefined;
2739
+ } | null | undefined;
2734
2740
  createdBySignature?: string | null | undefined;
2735
2741
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
2736
2742
  annotation?: Record<string, string | number | boolean | {
@@ -5093,6 +5099,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5093
5099
  start: string;
5094
5100
  end: string;
5095
5101
  } | null | undefined>;
5102
+ content?: {
5103
+ templateId?: string | undefined;
5104
+ } | null | undefined;
5096
5105
  createdBySignature?: string | null | undefined;
5097
5106
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
5098
5107
  annotation?: Record<string, string | number | boolean | {
@@ -6760,6 +6769,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6760
6769
  start: string;
6761
6770
  end: string;
6762
6771
  } | null | undefined>;
6772
+ content?: {
6773
+ templateId?: string | undefined;
6774
+ } | null | undefined;
6763
6775
  createdBySignature?: string | null | undefined;
6764
6776
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
6765
6777
  annotation?: Record<string, string | number | boolean | {
@@ -8669,6 +8681,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8669
8681
  start: string;
8670
8682
  end: string;
8671
8683
  } | null | undefined>;
8684
+ content?: {
8685
+ templateId?: string | undefined;
8686
+ } | null | undefined;
8672
8687
  createdBySignature?: string | null | undefined;
8673
8688
  createdAtLocation?: string | null | undefined;
8674
8689
  annotation?: Record<string, string | number | boolean | {
@@ -10235,6 +10250,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
10235
10250
  start: string;
10236
10251
  end: string;
10237
10252
  } | null | undefined>;
10253
+ content?: {
10254
+ templateId?: string | undefined;
10255
+ } | null | undefined;
10238
10256
  createdBySignature?: string | null | undefined;
10239
10257
  createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
10240
10258
  annotation?: Record<string, string | number | boolean | {
@@ -1770,6 +1770,516 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1770
1770
  } | null | undefined> | null | undefined;
1771
1771
  originalActionId?: string | null | undefined;
1772
1772
  }>;
1773
+ export declare const PrintContent: z.ZodObject<{
1774
+ templateId: z.ZodOptional<z.ZodString>;
1775
+ }, "strip", z.ZodTypeAny, {
1776
+ templateId?: string | undefined;
1777
+ }, {
1778
+ templateId?: string | undefined;
1779
+ }>;
1780
+ export type PrintContent = z.infer<typeof PrintContent>;
1781
+ declare const PrintCertificateAction: z.ZodObject<z.objectUtil.extendShape<{
1782
+ id: z.ZodBranded<z.ZodString, "UUID">;
1783
+ transactionId: z.ZodString;
1784
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1785
+ createdAt: z.ZodString;
1786
+ createdBy: z.ZodString;
1787
+ createdByRole: z.ZodString;
1788
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1789
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1790
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
1791
+ start: z.ZodString;
1792
+ end: z.ZodString;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ start: string;
1795
+ end: string;
1796
+ }, {
1797
+ start: string;
1798
+ end: string;
1799
+ }>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1800
+ path: z.ZodEffects<z.ZodString, string, string>;
1801
+ originalFilename: z.ZodString;
1802
+ type: z.ZodString;
1803
+ }, "strip", z.ZodTypeAny, {
1804
+ type: string;
1805
+ path: string;
1806
+ originalFilename: string;
1807
+ }, {
1808
+ type: string;
1809
+ path: string;
1810
+ originalFilename: string;
1811
+ }>, z.ZodArray<z.ZodObject<{
1812
+ path: z.ZodEffects<z.ZodString, string, string>;
1813
+ originalFilename: z.ZodString;
1814
+ type: z.ZodString;
1815
+ option: z.ZodString;
1816
+ }, "strip", z.ZodTypeAny, {
1817
+ type: string;
1818
+ option: string;
1819
+ path: string;
1820
+ originalFilename: string;
1821
+ }, {
1822
+ type: string;
1823
+ option: string;
1824
+ path: string;
1825
+ originalFilename: string;
1826
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
1827
+ country: z.ZodString;
1828
+ addressType: z.ZodLiteral<"DOMESTIC">;
1829
+ province: z.ZodString;
1830
+ district: z.ZodString;
1831
+ }, {
1832
+ urbanOrRural: z.ZodLiteral<"URBAN">;
1833
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1834
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1835
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1836
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1837
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1838
+ }>, "strip", z.ZodTypeAny, {
1839
+ country: string;
1840
+ district: string;
1841
+ addressType: "DOMESTIC";
1842
+ province: string;
1843
+ urbanOrRural: "URBAN";
1844
+ number?: string | null | undefined;
1845
+ town?: string | null | undefined;
1846
+ residentialArea?: string | null | undefined;
1847
+ street?: string | null | undefined;
1848
+ zipCode?: string | null | undefined;
1849
+ }, {
1850
+ country: string;
1851
+ district: string;
1852
+ addressType: "DOMESTIC";
1853
+ province: string;
1854
+ urbanOrRural: "URBAN";
1855
+ number?: string | null | undefined;
1856
+ town?: string | null | undefined;
1857
+ residentialArea?: string | null | undefined;
1858
+ street?: string | null | undefined;
1859
+ zipCode?: string | null | undefined;
1860
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1861
+ country: z.ZodString;
1862
+ addressType: z.ZodLiteral<"DOMESTIC">;
1863
+ province: z.ZodString;
1864
+ district: z.ZodString;
1865
+ }, {
1866
+ urbanOrRural: z.ZodLiteral<"RURAL">;
1867
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1868
+ }>, "strip", z.ZodTypeAny, {
1869
+ country: string;
1870
+ district: string;
1871
+ addressType: "DOMESTIC";
1872
+ province: string;
1873
+ urbanOrRural: "RURAL";
1874
+ village?: string | null | undefined;
1875
+ }, {
1876
+ country: string;
1877
+ district: string;
1878
+ addressType: "DOMESTIC";
1879
+ province: string;
1880
+ urbanOrRural: "RURAL";
1881
+ village?: string | null | undefined;
1882
+ }>, z.ZodUndefined, z.ZodObject<{
1883
+ country: z.ZodString;
1884
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
1885
+ state: z.ZodString;
1886
+ district2: z.ZodString;
1887
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1888
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1889
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1890
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1891
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1892
+ }, "strip", z.ZodTypeAny, {
1893
+ country: string;
1894
+ state: string;
1895
+ addressType: "INTERNATIONAL";
1896
+ district2: string;
1897
+ cityOrTown?: string | null | undefined;
1898
+ addressLine1?: string | null | undefined;
1899
+ addressLine2?: string | null | undefined;
1900
+ addressLine3?: string | null | undefined;
1901
+ postcodeOrZip?: string | null | undefined;
1902
+ }, {
1903
+ country: string;
1904
+ state: string;
1905
+ addressType: "INTERNATIONAL";
1906
+ district2: string;
1907
+ cityOrTown?: string | null | undefined;
1908
+ addressLine1?: string | null | undefined;
1909
+ addressLine2?: string | null | undefined;
1910
+ addressLine3?: string | null | undefined;
1911
+ postcodeOrZip?: string | null | undefined;
1912
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1913
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1914
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1915
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ firstname?: string | null | undefined;
1918
+ surname?: string | null | undefined;
1919
+ middlename?: string | null | undefined;
1920
+ }, {
1921
+ firstname?: string | null | undefined;
1922
+ surname?: string | null | undefined;
1923
+ middlename?: string | null | undefined;
1924
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1925
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
1926
+ start: z.ZodString;
1927
+ end: z.ZodString;
1928
+ }, "strip", z.ZodTypeAny, {
1929
+ start: string;
1930
+ end: string;
1931
+ }, {
1932
+ start: string;
1933
+ end: string;
1934
+ }>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1935
+ path: z.ZodEffects<z.ZodString, string, string>;
1936
+ originalFilename: z.ZodString;
1937
+ type: z.ZodString;
1938
+ }, "strip", z.ZodTypeAny, {
1939
+ type: string;
1940
+ path: string;
1941
+ originalFilename: string;
1942
+ }, {
1943
+ type: string;
1944
+ path: string;
1945
+ originalFilename: string;
1946
+ }>, z.ZodArray<z.ZodObject<{
1947
+ path: z.ZodEffects<z.ZodString, string, string>;
1948
+ originalFilename: z.ZodString;
1949
+ type: z.ZodString;
1950
+ option: z.ZodString;
1951
+ }, "strip", z.ZodTypeAny, {
1952
+ type: string;
1953
+ option: string;
1954
+ path: string;
1955
+ originalFilename: string;
1956
+ }, {
1957
+ type: string;
1958
+ option: string;
1959
+ path: string;
1960
+ originalFilename: string;
1961
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
1962
+ country: z.ZodString;
1963
+ addressType: z.ZodLiteral<"DOMESTIC">;
1964
+ province: z.ZodString;
1965
+ district: z.ZodString;
1966
+ }, {
1967
+ urbanOrRural: z.ZodLiteral<"URBAN">;
1968
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1969
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1970
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1971
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1972
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1973
+ }>, "strip", z.ZodTypeAny, {
1974
+ country: string;
1975
+ district: string;
1976
+ addressType: "DOMESTIC";
1977
+ province: string;
1978
+ urbanOrRural: "URBAN";
1979
+ number?: string | null | undefined;
1980
+ town?: string | null | undefined;
1981
+ residentialArea?: string | null | undefined;
1982
+ street?: string | null | undefined;
1983
+ zipCode?: string | null | undefined;
1984
+ }, {
1985
+ country: string;
1986
+ district: string;
1987
+ addressType: "DOMESTIC";
1988
+ province: string;
1989
+ urbanOrRural: "URBAN";
1990
+ number?: string | null | undefined;
1991
+ town?: string | null | undefined;
1992
+ residentialArea?: string | null | undefined;
1993
+ street?: string | null | undefined;
1994
+ zipCode?: string | null | undefined;
1995
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1996
+ country: z.ZodString;
1997
+ addressType: z.ZodLiteral<"DOMESTIC">;
1998
+ province: z.ZodString;
1999
+ district: z.ZodString;
2000
+ }, {
2001
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2002
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2003
+ }>, "strip", z.ZodTypeAny, {
2004
+ country: string;
2005
+ district: string;
2006
+ addressType: "DOMESTIC";
2007
+ province: string;
2008
+ urbanOrRural: "RURAL";
2009
+ village?: string | null | undefined;
2010
+ }, {
2011
+ country: string;
2012
+ district: string;
2013
+ addressType: "DOMESTIC";
2014
+ province: string;
2015
+ urbanOrRural: "RURAL";
2016
+ village?: string | null | undefined;
2017
+ }>, z.ZodUndefined, z.ZodObject<{
2018
+ country: z.ZodString;
2019
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2020
+ state: z.ZodString;
2021
+ district2: z.ZodString;
2022
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2023
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2024
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2025
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2026
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2027
+ }, "strip", z.ZodTypeAny, {
2028
+ country: string;
2029
+ state: string;
2030
+ addressType: "INTERNATIONAL";
2031
+ district2: string;
2032
+ cityOrTown?: string | null | undefined;
2033
+ addressLine1?: string | null | undefined;
2034
+ addressLine2?: string | null | undefined;
2035
+ addressLine3?: string | null | undefined;
2036
+ postcodeOrZip?: string | null | undefined;
2037
+ }, {
2038
+ country: string;
2039
+ state: string;
2040
+ addressType: "INTERNATIONAL";
2041
+ district2: string;
2042
+ cityOrTown?: string | null | undefined;
2043
+ addressLine1?: string | null | undefined;
2044
+ addressLine2?: string | null | undefined;
2045
+ addressLine3?: string | null | undefined;
2046
+ postcodeOrZip?: string | null | undefined;
2047
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2048
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2049
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2050
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ firstname?: string | null | undefined;
2053
+ surname?: string | null | undefined;
2054
+ middlename?: string | null | undefined;
2055
+ }, {
2056
+ firstname?: string | null | undefined;
2057
+ surname?: string | null | undefined;
2058
+ middlename?: string | null | undefined;
2059
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2060
+ status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2061
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2062
+ }, {
2063
+ type: z.ZodLiteral<"PRINT_CERTIFICATE">;
2064
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2065
+ templateId: z.ZodOptional<z.ZodString>;
2066
+ }, "strip", z.ZodTypeAny, {
2067
+ templateId?: string | undefined;
2068
+ }, {
2069
+ templateId?: string | undefined;
2070
+ }>>>;
2071
+ }>, "strip", z.ZodTypeAny, {
2072
+ type: "PRINT_CERTIFICATE";
2073
+ id: string & z.BRAND<"UUID">;
2074
+ status: "Rejected" | "Requested" | "Accepted";
2075
+ transactionId: string;
2076
+ createdByUserType: "system" | "user";
2077
+ createdAt: string;
2078
+ createdBy: string;
2079
+ createdByRole: string;
2080
+ declaration: Record<string, string | number | boolean | {
2081
+ type: string;
2082
+ path: string;
2083
+ originalFilename: string;
2084
+ } | {
2085
+ country: string;
2086
+ district: string;
2087
+ addressType: "DOMESTIC";
2088
+ province: string;
2089
+ urbanOrRural: "URBAN";
2090
+ number?: string | null | undefined;
2091
+ town?: string | null | undefined;
2092
+ residentialArea?: string | null | undefined;
2093
+ street?: string | null | undefined;
2094
+ zipCode?: string | null | undefined;
2095
+ } | {
2096
+ firstname?: string | null | undefined;
2097
+ surname?: string | null | undefined;
2098
+ middlename?: string | null | undefined;
2099
+ } | {
2100
+ country: string;
2101
+ district: string;
2102
+ addressType: "DOMESTIC";
2103
+ province: string;
2104
+ urbanOrRural: "RURAL";
2105
+ village?: string | null | undefined;
2106
+ } | {
2107
+ country: string;
2108
+ state: string;
2109
+ addressType: "INTERNATIONAL";
2110
+ district2: string;
2111
+ cityOrTown?: string | null | undefined;
2112
+ addressLine1?: string | null | undefined;
2113
+ addressLine2?: string | null | undefined;
2114
+ addressLine3?: string | null | undefined;
2115
+ postcodeOrZip?: string | null | undefined;
2116
+ } | {
2117
+ type: string;
2118
+ option: string;
2119
+ path: string;
2120
+ originalFilename: string;
2121
+ }[] | {
2122
+ start: string;
2123
+ end: string;
2124
+ } | null | undefined>;
2125
+ content?: {
2126
+ templateId?: string | undefined;
2127
+ } | null | undefined;
2128
+ createdBySignature?: string | null | undefined;
2129
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2130
+ annotation?: Record<string, string | number | boolean | {
2131
+ type: string;
2132
+ path: string;
2133
+ originalFilename: string;
2134
+ } | {
2135
+ country: string;
2136
+ district: string;
2137
+ addressType: "DOMESTIC";
2138
+ province: string;
2139
+ urbanOrRural: "URBAN";
2140
+ number?: string | null | undefined;
2141
+ town?: string | null | undefined;
2142
+ residentialArea?: string | null | undefined;
2143
+ street?: string | null | undefined;
2144
+ zipCode?: string | null | undefined;
2145
+ } | {
2146
+ firstname?: string | null | undefined;
2147
+ surname?: string | null | undefined;
2148
+ middlename?: string | null | undefined;
2149
+ } | {
2150
+ country: string;
2151
+ district: string;
2152
+ addressType: "DOMESTIC";
2153
+ province: string;
2154
+ urbanOrRural: "RURAL";
2155
+ village?: string | null | undefined;
2156
+ } | {
2157
+ country: string;
2158
+ state: string;
2159
+ addressType: "INTERNATIONAL";
2160
+ district2: string;
2161
+ cityOrTown?: string | null | undefined;
2162
+ addressLine1?: string | null | undefined;
2163
+ addressLine2?: string | null | undefined;
2164
+ addressLine3?: string | null | undefined;
2165
+ postcodeOrZip?: string | null | undefined;
2166
+ } | {
2167
+ type: string;
2168
+ option: string;
2169
+ path: string;
2170
+ originalFilename: string;
2171
+ }[] | {
2172
+ start: string;
2173
+ end: string;
2174
+ } | null | undefined> | null | undefined;
2175
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2176
+ }, {
2177
+ type: "PRINT_CERTIFICATE";
2178
+ id: string;
2179
+ status: "Rejected" | "Requested" | "Accepted";
2180
+ transactionId: string;
2181
+ createdByUserType: "system" | "user";
2182
+ createdAt: string;
2183
+ createdBy: string;
2184
+ createdByRole: string;
2185
+ declaration: Record<string, string | number | boolean | {
2186
+ type: string;
2187
+ path: string;
2188
+ originalFilename: string;
2189
+ } | {
2190
+ country: string;
2191
+ district: string;
2192
+ addressType: "DOMESTIC";
2193
+ province: string;
2194
+ urbanOrRural: "URBAN";
2195
+ number?: string | null | undefined;
2196
+ town?: string | null | undefined;
2197
+ residentialArea?: string | null | undefined;
2198
+ street?: string | null | undefined;
2199
+ zipCode?: string | null | undefined;
2200
+ } | {
2201
+ firstname?: string | null | undefined;
2202
+ surname?: string | null | undefined;
2203
+ middlename?: string | null | undefined;
2204
+ } | {
2205
+ country: string;
2206
+ district: string;
2207
+ addressType: "DOMESTIC";
2208
+ province: string;
2209
+ urbanOrRural: "RURAL";
2210
+ village?: string | null | undefined;
2211
+ } | {
2212
+ country: string;
2213
+ state: string;
2214
+ addressType: "INTERNATIONAL";
2215
+ district2: string;
2216
+ cityOrTown?: string | null | undefined;
2217
+ addressLine1?: string | null | undefined;
2218
+ addressLine2?: string | null | undefined;
2219
+ addressLine3?: string | null | undefined;
2220
+ postcodeOrZip?: string | null | undefined;
2221
+ } | {
2222
+ type: string;
2223
+ option: string;
2224
+ path: string;
2225
+ originalFilename: string;
2226
+ }[] | {
2227
+ start: string;
2228
+ end: string;
2229
+ } | null | undefined>;
2230
+ content?: {
2231
+ templateId?: string | undefined;
2232
+ } | null | undefined;
2233
+ createdBySignature?: string | null | undefined;
2234
+ createdAtLocation?: string | null | undefined;
2235
+ annotation?: Record<string, string | number | boolean | {
2236
+ type: string;
2237
+ path: string;
2238
+ originalFilename: string;
2239
+ } | {
2240
+ country: string;
2241
+ district: string;
2242
+ addressType: "DOMESTIC";
2243
+ province: string;
2244
+ urbanOrRural: "URBAN";
2245
+ number?: string | null | undefined;
2246
+ town?: string | null | undefined;
2247
+ residentialArea?: string | null | undefined;
2248
+ street?: string | null | undefined;
2249
+ zipCode?: string | null | undefined;
2250
+ } | {
2251
+ firstname?: string | null | undefined;
2252
+ surname?: string | null | undefined;
2253
+ middlename?: string | null | undefined;
2254
+ } | {
2255
+ country: string;
2256
+ district: string;
2257
+ addressType: "DOMESTIC";
2258
+ province: string;
2259
+ urbanOrRural: "RURAL";
2260
+ village?: string | null | undefined;
2261
+ } | {
2262
+ country: string;
2263
+ state: string;
2264
+ addressType: "INTERNATIONAL";
2265
+ district2: string;
2266
+ cityOrTown?: string | null | undefined;
2267
+ addressLine1?: string | null | undefined;
2268
+ addressLine2?: string | null | undefined;
2269
+ addressLine3?: string | null | undefined;
2270
+ postcodeOrZip?: string | null | undefined;
2271
+ } | {
2272
+ type: string;
2273
+ option: string;
2274
+ path: string;
2275
+ originalFilename: string;
2276
+ }[] | {
2277
+ start: string;
2278
+ end: string;
2279
+ } | null | undefined> | null | undefined;
2280
+ originalActionId?: string | null | undefined;
2281
+ }>;
2282
+ export type PrintCertificateAction = z.infer<typeof PrintCertificateAction>;
1773
2283
  declare const RequestedCorrectionAction: z.ZodObject<z.objectUtil.extendShape<{
1774
2284
  id: z.ZodBranded<z.ZodString, "UUID">;
1775
2285
  transactionId: z.ZodString;
@@ -8939,6 +9449,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8939
9449
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
8940
9450
  }, {
8941
9451
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
9452
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9453
+ templateId: z.ZodOptional<z.ZodString>;
9454
+ }, "strip", z.ZodTypeAny, {
9455
+ templateId?: string | undefined;
9456
+ }, {
9457
+ templateId?: string | undefined;
9458
+ }>>>;
8942
9459
  }>, "strip", z.ZodTypeAny, {
8943
9460
  type: "PRINT_CERTIFICATE";
8944
9461
  id: string & z.BRAND<"UUID">;
@@ -8993,6 +9510,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8993
9510
  start: string;
8994
9511
  end: string;
8995
9512
  } | null | undefined>;
9513
+ content?: {
9514
+ templateId?: string | undefined;
9515
+ } | null | undefined;
8996
9516
  createdBySignature?: string | null | undefined;
8997
9517
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8998
9518
  annotation?: Record<string, string | number | boolean | {
@@ -9095,6 +9615,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9095
9615
  start: string;
9096
9616
  end: string;
9097
9617
  } | null | undefined>;
9618
+ content?: {
9619
+ templateId?: string | undefined;
9620
+ } | null | undefined;
9098
9621
  createdBySignature?: string | null | undefined;
9099
9622
  createdAtLocation?: string | null | undefined;
9100
9623
  annotation?: Record<string, string | number | boolean | {
@@ -16622,6 +17145,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16622
17145
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
16623
17146
  }, {
16624
17147
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
17148
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
17149
+ templateId: z.ZodOptional<z.ZodString>;
17150
+ }, "strip", z.ZodTypeAny, {
17151
+ templateId?: string | undefined;
17152
+ }, {
17153
+ templateId?: string | undefined;
17154
+ }>>>;
16625
17155
  }>, "strip", z.ZodTypeAny, {
16626
17156
  type: "PRINT_CERTIFICATE";
16627
17157
  id: string & z.BRAND<"UUID">;
@@ -16676,6 +17206,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16676
17206
  start: string;
16677
17207
  end: string;
16678
17208
  } | null | undefined>;
17209
+ content?: {
17210
+ templateId?: string | undefined;
17211
+ } | null | undefined;
16679
17212
  createdBySignature?: string | null | undefined;
16680
17213
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
16681
17214
  annotation?: Record<string, string | number | boolean | {
@@ -16778,6 +17311,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
16778
17311
  start: string;
16779
17312
  end: string;
16780
17313
  } | null | undefined>;
17314
+ content?: {
17315
+ templateId?: string | undefined;
17316
+ } | null | undefined;
16781
17317
  createdBySignature?: string | null | undefined;
16782
17318
  createdAtLocation?: string | null | undefined;
16783
17319
  annotation?: Record<string, string | number | boolean | {
@@ -2631,6 +2631,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2631
2631
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2632
2632
  }, {
2633
2633
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2634
+ content: z.ZodOptional<z.ZodObject<{
2635
+ templateId: z.ZodOptional<z.ZodString>;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ templateId?: string | undefined;
2638
+ }, {
2639
+ templateId?: string | undefined;
2640
+ }>>;
2634
2641
  }>, "strip", z.ZodTypeAny, {
2635
2642
  type: "PRINT_CERTIFICATE";
2636
2643
  transactionId: string;
@@ -2680,6 +2687,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2680
2687
  end: string;
2681
2688
  } | null | undefined>;
2682
2689
  eventId: string & z.BRAND<"UUID">;
2690
+ content?: {
2691
+ templateId?: string | undefined;
2692
+ } | undefined;
2683
2693
  annotation?: Record<string, string | number | boolean | {
2684
2694
  type: string;
2685
2695
  path: string;
@@ -2731,6 +2741,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2731
2741
  transactionId: string;
2732
2742
  eventId: string;
2733
2743
  type?: "PRINT_CERTIFICATE" | undefined;
2744
+ content?: {
2745
+ templateId?: string | undefined;
2746
+ } | undefined;
2734
2747
  declaration?: Record<string, string | number | boolean | {
2735
2748
  type: string;
2736
2749
  path: string;
@@ -12164,6 +12177,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12164
12177
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
12165
12178
  }, {
12166
12179
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
12180
+ content: z.ZodOptional<z.ZodObject<{
12181
+ templateId: z.ZodOptional<z.ZodString>;
12182
+ }, "strip", z.ZodTypeAny, {
12183
+ templateId?: string | undefined;
12184
+ }, {
12185
+ templateId?: string | undefined;
12186
+ }>>;
12167
12187
  }>, "strip", z.ZodTypeAny, {
12168
12188
  type: "PRINT_CERTIFICATE";
12169
12189
  transactionId: string;
@@ -12213,6 +12233,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12213
12233
  end: string;
12214
12234
  } | null | undefined>;
12215
12235
  eventId: string & z.BRAND<"UUID">;
12236
+ content?: {
12237
+ templateId?: string | undefined;
12238
+ } | undefined;
12216
12239
  annotation?: Record<string, string | number | boolean | {
12217
12240
  type: string;
12218
12241
  path: string;
@@ -12264,6 +12287,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12264
12287
  transactionId: string;
12265
12288
  eventId: string;
12266
12289
  type?: "PRINT_CERTIFICATE" | undefined;
12290
+ content?: {
12291
+ templateId?: string | undefined;
12292
+ } | undefined;
12267
12293
  declaration?: Record<string, string | number | boolean | {
12268
12294
  type: string;
12269
12295
  path: string;
@@ -6684,6 +6684,13 @@ export declare const EventDocument: z.ZodObject<{
6684
6684
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6685
6685
  }, {
6686
6686
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6687
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6688
+ templateId: z.ZodOptional<z.ZodString>;
6689
+ }, "strip", z.ZodTypeAny, {
6690
+ templateId?: string | undefined;
6691
+ }, {
6692
+ templateId?: string | undefined;
6693
+ }>>>;
6687
6694
  }>, "strip", z.ZodTypeAny, {
6688
6695
  type: "PRINT_CERTIFICATE";
6689
6696
  id: string & z.BRAND<"UUID">;
@@ -6738,6 +6745,9 @@ export declare const EventDocument: z.ZodObject<{
6738
6745
  start: string;
6739
6746
  end: string;
6740
6747
  } | null | undefined>;
6748
+ content?: {
6749
+ templateId?: string | undefined;
6750
+ } | null | undefined;
6741
6751
  createdBySignature?: string | null | undefined;
6742
6752
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6743
6753
  annotation?: Record<string, string | number | boolean | {
@@ -6840,6 +6850,9 @@ export declare const EventDocument: z.ZodObject<{
6840
6850
  start: string;
6841
6851
  end: string;
6842
6852
  } | null | undefined>;
6853
+ content?: {
6854
+ templateId?: string | undefined;
6855
+ } | null | undefined;
6843
6856
  createdBySignature?: string | null | undefined;
6844
6857
  createdAtLocation?: string | null | undefined;
6845
6858
  annotation?: Record<string, string | number | boolean | {
@@ -8774,6 +8787,9 @@ export declare const EventDocument: z.ZodObject<{
8774
8787
  start: string;
8775
8788
  end: string;
8776
8789
  } | null | undefined>;
8790
+ content?: {
8791
+ templateId?: string | undefined;
8792
+ } | null | undefined;
8777
8793
  createdBySignature?: string | null | undefined;
8778
8794
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8779
8795
  annotation?: Record<string, string | number | boolean | {
@@ -10339,6 +10355,9 @@ export declare const EventDocument: z.ZodObject<{
10339
10355
  start: string;
10340
10356
  end: string;
10341
10357
  } | null | undefined>;
10358
+ content?: {
10359
+ templateId?: string | undefined;
10360
+ } | null | undefined;
10342
10361
  createdBySignature?: string | null | undefined;
10343
10362
  createdAtLocation?: string | null | undefined;
10344
10363
  annotation?: Record<string, string | number | boolean | {
@@ -725,6 +725,25 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
725
725
  type: "timePeriod";
726
726
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
727
727
  }>]>>>;
728
+ 'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
729
+ type: z.ZodLiteral<"within">;
730
+ location: z.ZodString;
731
+ }, "strip", z.ZodTypeAny, {
732
+ type: "within";
733
+ location: string;
734
+ }, {
735
+ type: "within";
736
+ location: string;
737
+ }>, z.ZodObject<{
738
+ type: z.ZodLiteral<"exact">;
739
+ term: z.ZodString;
740
+ }, "strip", z.ZodTypeAny, {
741
+ type: "exact";
742
+ term: string;
743
+ }, {
744
+ type: "exact";
745
+ term: string;
746
+ }>]>>>;
728
747
  'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
729
748
  type: z.ZodLiteral<"within">;
730
749
  location: z.ZodString;
@@ -945,6 +964,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
945
964
  type: "timePeriod";
946
965
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
947
966
  } | undefined;
967
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
968
+ type: "exact";
969
+ term: string;
970
+ } | {
971
+ type: "within";
972
+ location: string;
973
+ } | undefined;
948
974
  'legalStatuses.REGISTERED.createdAtLocation'?: {
949
975
  type: "exact";
950
976
  term: string;
@@ -1038,6 +1064,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
1038
1064
  type: "timePeriod";
1039
1065
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1040
1066
  } | undefined;
1067
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
1068
+ type: "exact";
1069
+ term: string;
1070
+ } | {
1071
+ type: "within";
1072
+ location: string;
1073
+ } | undefined;
1041
1074
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1042
1075
  type: "exact";
1043
1076
  term: string;
@@ -1131,6 +1164,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
1131
1164
  type: "timePeriod";
1132
1165
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1133
1166
  } | undefined;
1167
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
1168
+ type: "exact";
1169
+ term: string;
1170
+ } | {
1171
+ type: "within";
1172
+ location: string;
1173
+ } | undefined;
1134
1174
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1135
1175
  type: "exact";
1136
1176
  term: string;
@@ -1224,6 +1264,13 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
1224
1264
  type: "timePeriod";
1225
1265
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1226
1266
  } | undefined;
1267
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
1268
+ type: "exact";
1269
+ term: string;
1270
+ } | {
1271
+ type: "within";
1272
+ location: string;
1273
+ } | undefined;
1227
1274
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1228
1275
  type: "exact";
1229
1276
  term: string;
@@ -1359,6 +1406,25 @@ export declare const QueryType: z.ZodObject<{
1359
1406
  type: "timePeriod";
1360
1407
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1361
1408
  }>]>>>;
1409
+ 'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1410
+ type: z.ZodLiteral<"within">;
1411
+ location: z.ZodString;
1412
+ }, "strip", z.ZodTypeAny, {
1413
+ type: "within";
1414
+ location: string;
1415
+ }, {
1416
+ type: "within";
1417
+ location: string;
1418
+ }>, z.ZodObject<{
1419
+ type: z.ZodLiteral<"exact">;
1420
+ term: z.ZodString;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ type: "exact";
1423
+ term: string;
1424
+ }, {
1425
+ type: "exact";
1426
+ term: string;
1427
+ }>]>>>;
1362
1428
  'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1363
1429
  type: z.ZodLiteral<"within">;
1364
1430
  location: z.ZodString;
@@ -1579,6 +1645,13 @@ export declare const QueryType: z.ZodObject<{
1579
1645
  type: "timePeriod";
1580
1646
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1581
1647
  } | undefined;
1648
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
1649
+ type: "exact";
1650
+ term: string;
1651
+ } | {
1652
+ type: "within";
1653
+ location: string;
1654
+ } | undefined;
1582
1655
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1583
1656
  type: "exact";
1584
1657
  term: string;
@@ -1672,6 +1745,13 @@ export declare const QueryType: z.ZodObject<{
1672
1745
  type: "timePeriod";
1673
1746
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1674
1747
  } | undefined;
1748
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
1749
+ type: "exact";
1750
+ term: string;
1751
+ } | {
1752
+ type: "within";
1753
+ location: string;
1754
+ } | undefined;
1675
1755
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1676
1756
  type: "exact";
1677
1757
  term: string;
@@ -1765,6 +1845,13 @@ export declare const QueryType: z.ZodObject<{
1765
1845
  type: "timePeriod";
1766
1846
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1767
1847
  } | undefined;
1848
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
1849
+ type: "exact";
1850
+ term: string;
1851
+ } | {
1852
+ type: "within";
1853
+ location: string;
1854
+ } | undefined;
1768
1855
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1769
1856
  type: "exact";
1770
1857
  term: string;
@@ -1858,6 +1945,13 @@ export declare const QueryType: z.ZodObject<{
1858
1945
  type: "timePeriod";
1859
1946
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1860
1947
  } | undefined;
1948
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
1949
+ type: "exact";
1950
+ term: string;
1951
+ } | {
1952
+ type: "within";
1953
+ location: string;
1954
+ } | undefined;
1861
1955
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1862
1956
  type: "exact";
1863
1957
  term: string;
@@ -1951,6 +2045,13 @@ export declare const QueryType: z.ZodObject<{
1951
2045
  type: "timePeriod";
1952
2046
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1953
2047
  } | undefined;
2048
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
2049
+ type: "exact";
2050
+ term: string;
2051
+ } | {
2052
+ type: "within";
2053
+ location: string;
2054
+ } | undefined;
1954
2055
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1955
2056
  type: "exact";
1956
2057
  term: string;
@@ -2044,6 +2145,13 @@ export declare const QueryType: z.ZodObject<{
2044
2145
  type: "timePeriod";
2045
2146
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2046
2147
  } | undefined;
2148
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
2149
+ type: "exact";
2150
+ term: string;
2151
+ } | {
2152
+ type: "within";
2153
+ location: string;
2154
+ } | undefined;
2047
2155
  'legalStatuses.REGISTERED.createdAtLocation'?: {
2048
2156
  type: "exact";
2049
2157
  term: string;
@@ -2140,6 +2248,13 @@ export declare const QueryType: z.ZodObject<{
2140
2248
  type: "timePeriod";
2141
2249
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2142
2250
  } | undefined;
2251
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
2252
+ type: "exact";
2253
+ term: string;
2254
+ } | {
2255
+ type: "within";
2256
+ location: string;
2257
+ } | undefined;
2143
2258
  'legalStatuses.REGISTERED.createdAtLocation'?: {
2144
2259
  type: "exact";
2145
2260
  term: string;
@@ -2233,6 +2348,13 @@ export declare const QueryType: z.ZodObject<{
2233
2348
  type: "timePeriod";
2234
2349
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2235
2350
  } | undefined;
2351
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
2352
+ type: "exact";
2353
+ term: string;
2354
+ } | {
2355
+ type: "within";
2356
+ location: string;
2357
+ } | undefined;
2236
2358
  'legalStatuses.REGISTERED.createdAtLocation'?: {
2237
2359
  type: "exact";
2238
2360
  term: string;
@@ -7037,6 +7037,25 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7037
7037
  type: "timePeriod";
7038
7038
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7039
7039
  }>]>>>;
7040
+ 'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
7041
+ type: z.ZodLiteral<"within">;
7042
+ location: z.ZodString;
7043
+ }, "strip", z.ZodTypeAny, {
7044
+ type: "within";
7045
+ location: string;
7046
+ }, {
7047
+ type: "within";
7048
+ location: string;
7049
+ }>, z.ZodObject<{
7050
+ type: z.ZodLiteral<"exact">;
7051
+ term: z.ZodString;
7052
+ }, "strip", z.ZodTypeAny, {
7053
+ type: "exact";
7054
+ term: string;
7055
+ }, {
7056
+ type: "exact";
7057
+ term: string;
7058
+ }>]>>>;
7040
7059
  'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
7041
7060
  type: z.ZodLiteral<"within">;
7042
7061
  location: z.ZodString;
@@ -7257,6 +7276,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7257
7276
  type: "timePeriod";
7258
7277
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7259
7278
  } | undefined;
7279
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7280
+ type: "exact";
7281
+ term: string;
7282
+ } | {
7283
+ type: "within";
7284
+ location: string;
7285
+ } | undefined;
7260
7286
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7261
7287
  type: "exact";
7262
7288
  term: string;
@@ -7350,6 +7376,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7350
7376
  type: "timePeriod";
7351
7377
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7352
7378
  } | undefined;
7379
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7380
+ type: "exact";
7381
+ term: string;
7382
+ } | {
7383
+ type: "within";
7384
+ location: string;
7385
+ } | undefined;
7353
7386
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7354
7387
  type: "exact";
7355
7388
  term: string;
@@ -7443,6 +7476,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7443
7476
  type: "timePeriod";
7444
7477
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7445
7478
  } | undefined;
7479
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7480
+ type: "exact";
7481
+ term: string;
7482
+ } | {
7483
+ type: "within";
7484
+ location: string;
7485
+ } | undefined;
7446
7486
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7447
7487
  type: "exact";
7448
7488
  term: string;
@@ -7536,6 +7576,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7536
7576
  type: "timePeriod";
7537
7577
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7538
7578
  } | undefined;
7579
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7580
+ type: "exact";
7581
+ term: string;
7582
+ } | {
7583
+ type: "within";
7584
+ location: string;
7585
+ } | undefined;
7539
7586
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7540
7587
  type: "exact";
7541
7588
  term: string;
@@ -7629,6 +7676,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7629
7676
  type: "timePeriod";
7630
7677
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7631
7678
  } | undefined;
7679
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7680
+ type: "exact";
7681
+ term: string;
7682
+ } | {
7683
+ type: "within";
7684
+ location: string;
7685
+ } | undefined;
7632
7686
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7633
7687
  type: "exact";
7634
7688
  term: string;
@@ -7722,6 +7776,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7722
7776
  type: "timePeriod";
7723
7777
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7724
7778
  } | undefined;
7779
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7780
+ type: "exact";
7781
+ term: string;
7782
+ } | {
7783
+ type: "within";
7784
+ location: string;
7785
+ } | undefined;
7725
7786
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7726
7787
  type: "exact";
7727
7788
  term: string;
@@ -7818,6 +7879,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7818
7879
  type: "timePeriod";
7819
7880
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7820
7881
  } | undefined;
7882
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7883
+ type: "exact";
7884
+ term: string;
7885
+ } | {
7886
+ type: "within";
7887
+ location: string;
7888
+ } | undefined;
7821
7889
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7822
7890
  type: "exact";
7823
7891
  term: string;
@@ -7911,6 +7979,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
7911
7979
  type: "timePeriod";
7912
7980
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
7913
7981
  } | undefined;
7982
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
7983
+ type: "exact";
7984
+ term: string;
7985
+ } | {
7986
+ type: "within";
7987
+ location: string;
7988
+ } | undefined;
7914
7989
  'legalStatuses.REGISTERED.createdAtLocation'?: {
7915
7990
  type: "exact";
7916
7991
  term: string;
@@ -8012,6 +8087,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
8012
8087
  type: "timePeriod";
8013
8088
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8014
8089
  } | undefined;
8090
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
8091
+ type: "exact";
8092
+ term: string;
8093
+ } | {
8094
+ type: "within";
8095
+ location: string;
8096
+ } | undefined;
8015
8097
  'legalStatuses.REGISTERED.createdAtLocation'?: {
8016
8098
  type: "exact";
8017
8099
  term: string;
@@ -8105,6 +8187,13 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
8105
8187
  type: "timePeriod";
8106
8188
  term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
8107
8189
  } | undefined;
8190
+ 'legalStatuses.DECLARED.createdAtLocation'?: {
8191
+ type: "exact";
8192
+ term: string;
8193
+ } | {
8194
+ type: "within";
8195
+ location: string;
8196
+ } | undefined;
8108
8197
  'legalStatuses.REGISTERED.createdAtLocation'?: {
8109
8198
  type: "exact";
8110
8199
  term: string;
@@ -139,6 +139,7 @@ __export(events_exports, {
139
139
  PageConfig: () => PageConfig,
140
140
  PageTypes: () => PageTypes,
141
141
  PrintCertificateActionInput: () => PrintCertificateActionInput,
142
+ PrintContent: () => PrintContent,
142
143
  QueryExpression: () => QueryExpression,
143
144
  QueryInput: () => QueryInput,
144
145
  QueryType: () => QueryType,
@@ -606,8 +607,8 @@ var UrbanAddressUpdateValue = AdminStructure.extend({
606
607
  zipCode: import_zod5.z.string().nullish()
607
608
  });
608
609
  var NameFieldValue = import_zod5.z.object({
609
- firstname: import_zod5.z.string(),
610
- surname: import_zod5.z.string(),
610
+ firstname: import_zod5.z.string().min(1),
611
+ surname: import_zod5.z.string().min(1),
611
612
  middlename: import_zod5.z.string().optional()
612
613
  });
613
614
  var NameFieldUpdateValue = import_zod5.z.object({
@@ -1902,11 +1903,15 @@ var ActionBase = import_zod19.z.object({
1902
1903
  originalActionId: UUID.optional().nullable().describe(
1903
1904
  "Reference to the original action that was asynchronously rejected or accepted by 3rd party integration."
1904
1905
  )
1906
+ // 'content' field reserved for additional data
1907
+ // Each action can define its own content specifc to the action
1908
+ // See PrintCertificateAction
1905
1909
  });
1906
1910
  var AssignedAction = ActionBase.merge(
1907
1911
  import_zod19.z.object({
1908
1912
  type: import_zod19.z.literal(ActionType.ASSIGN),
1909
1913
  assignedTo: import_zod19.z.string()
1914
+ // TODO move into 'content' property
1910
1915
  })
1911
1916
  );
1912
1917
  var UnassignedAction = ActionBase.merge(
@@ -1918,6 +1923,7 @@ var RegisterAction = ActionBase.merge(
1918
1923
  import_zod19.z.object({
1919
1924
  type: import_zod19.z.literal(ActionType.REGISTER),
1920
1925
  registrationNumber: import_zod19.z.string().optional()
1926
+ // TODO move into 'content' property
1921
1927
  })
1922
1928
  );
1923
1929
  var DeclareAction = ActionBase.merge(
@@ -1938,6 +1944,7 @@ var RejectAction = ActionBase.merge(
1938
1944
  import_zod19.z.object({
1939
1945
  type: import_zod19.z.literal(ActionType.REJECT),
1940
1946
  reason: RejectionReason
1947
+ // TODO move into 'content' property
1941
1948
  })
1942
1949
  );
1943
1950
  var MarkAsDuplicateAction = ActionBase.merge(
@@ -1949,6 +1956,7 @@ var ArchiveAction = ActionBase.merge(
1949
1956
  import_zod19.z.object({
1950
1957
  type: import_zod19.z.literal(ActionType.ARCHIVE),
1951
1958
  reason: RejectionReason
1959
+ // TODO move into 'content' property
1952
1960
  })
1953
1961
  );
1954
1962
  var CreatedAction = ActionBase.merge(
@@ -1961,9 +1969,13 @@ var NotifiedAction = ActionBase.merge(
1961
1969
  type: import_zod19.z.literal(ActionType.NOTIFY)
1962
1970
  })
1963
1971
  );
1972
+ var PrintContent = import_zod19.z.object({
1973
+ templateId: import_zod19.z.string().optional()
1974
+ });
1964
1975
  var PrintCertificateAction = ActionBase.merge(
1965
1976
  import_zod19.z.object({
1966
- type: import_zod19.z.literal(ActionType.PRINT_CERTIFICATE)
1977
+ type: import_zod19.z.literal(ActionType.PRINT_CERTIFICATE),
1978
+ content: PrintContent.optional().nullable()
1967
1979
  })
1968
1980
  );
1969
1981
  var RequestedCorrectionAction = ActionBase.merge(
@@ -1975,12 +1987,14 @@ var ApprovedCorrectionAction = ActionBase.merge(
1975
1987
  import_zod19.z.object({
1976
1988
  type: import_zod19.z.literal(ActionType.APPROVE_CORRECTION),
1977
1989
  requestId: import_zod19.z.string()
1990
+ // TODO move into 'content' property
1978
1991
  })
1979
1992
  );
1980
1993
  var RejectedCorrectionAction = ActionBase.merge(
1981
1994
  import_zod19.z.object({
1982
1995
  type: import_zod19.z.literal(ActionType.REJECT_CORRECTION),
1983
1996
  requestId: import_zod19.z.string(),
1997
+ // TODO move into 'content' property
1984
1998
  reason: RejectionReason
1985
1999
  })
1986
2000
  );
@@ -3537,6 +3551,9 @@ var QueryExpression = import_zod25.z.object({
3537
3551
  createdAt: import_zod25.z.optional(DateCondition),
3538
3552
  updatedAt: import_zod25.z.optional(DateCondition),
3539
3553
  "legalStatuses.REGISTERED.acceptedAt": import_zod25.z.optional(DateCondition),
3554
+ "legalStatuses.DECLARED.createdAtLocation": import_zod25.z.optional(
3555
+ import_zod25.z.union([Within, Exact])
3556
+ ),
3540
3557
  "legalStatuses.REGISTERED.createdAtLocation": import_zod25.z.optional(
3541
3558
  import_zod25.z.union([Within, Exact])
3542
3559
  ),
@@ -3890,7 +3907,8 @@ var DeclareActionInput = BaseActionInput.merge(
3890
3907
  );
3891
3908
  var PrintCertificateActionInput = BaseActionInput.merge(
3892
3909
  import_zod29.z.object({
3893
- type: import_zod29.z.literal(ActionType.PRINT_CERTIFICATE).default(ActionType.PRINT_CERTIFICATE)
3910
+ type: import_zod29.z.literal(ActionType.PRINT_CERTIFICATE).default(ActionType.PRINT_CERTIFICATE),
3911
+ content: PrintContent.optional()
3894
3912
  })
3895
3913
  );
3896
3914
  var RejectDeclarationActionInput = BaseActionInput.merge(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.8.1-rc.d31fe05",
3
+ "version": "1.8.1-rc.dc03968",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {