@opencrvs/toolkit 1.8.1-rc.c6281e8 → 1.8.1-rc.e23b224
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 +18 -24
- package/dist/commons/events/ActionDocument.d.ts +536 -36
- package/dist/commons/events/ActionInput.d.ts +26 -36
- package/dist/commons/events/AdvancedSearchConfig.d.ts +34 -34
- package/dist/commons/events/EventConfig.d.ts +22 -22
- package/dist/commons/events/EventDocument.d.ts +19 -26
- package/dist/commons/events/EventIndex.d.ts +0 -122
- package/dist/commons/events/WorkqueueConfig.d.ts +0 -89
- package/dist/commons/events/defineConfig.d.ts +2 -2
- package/dist/commons/events/event.d.ts +0 -8
- package/dist/commons/events/field.d.ts +0 -14
- package/dist/commons/events/test.utils.d.ts +1 -5
- package/dist/commons/events/utils.d.ts +2 -2
- package/dist/events/index.js +17 -28
- package/package.json +1 -1
@@ -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 PrintDetails: 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 PrintDetails = z.infer<typeof PrintDetails>;
|
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
|
+
actionDetails: 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
|
+
createdBySignature?: string | null | undefined;
|
2126
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
2127
|
+
annotation?: Record<string, string | number | boolean | {
|
2128
|
+
type: string;
|
2129
|
+
path: string;
|
2130
|
+
originalFilename: string;
|
2131
|
+
} | {
|
2132
|
+
country: string;
|
2133
|
+
district: string;
|
2134
|
+
addressType: "DOMESTIC";
|
2135
|
+
province: string;
|
2136
|
+
urbanOrRural: "URBAN";
|
2137
|
+
number?: string | null | undefined;
|
2138
|
+
town?: string | null | undefined;
|
2139
|
+
residentialArea?: string | null | undefined;
|
2140
|
+
street?: string | null | undefined;
|
2141
|
+
zipCode?: string | null | undefined;
|
2142
|
+
} | {
|
2143
|
+
firstname?: string | null | undefined;
|
2144
|
+
surname?: string | null | undefined;
|
2145
|
+
middlename?: string | null | undefined;
|
2146
|
+
} | {
|
2147
|
+
country: string;
|
2148
|
+
district: string;
|
2149
|
+
addressType: "DOMESTIC";
|
2150
|
+
province: string;
|
2151
|
+
urbanOrRural: "RURAL";
|
2152
|
+
village?: string | null | undefined;
|
2153
|
+
} | {
|
2154
|
+
country: string;
|
2155
|
+
state: string;
|
2156
|
+
addressType: "INTERNATIONAL";
|
2157
|
+
district2: string;
|
2158
|
+
cityOrTown?: string | null | undefined;
|
2159
|
+
addressLine1?: string | null | undefined;
|
2160
|
+
addressLine2?: string | null | undefined;
|
2161
|
+
addressLine3?: string | null | undefined;
|
2162
|
+
postcodeOrZip?: string | null | undefined;
|
2163
|
+
} | {
|
2164
|
+
type: string;
|
2165
|
+
option: string;
|
2166
|
+
path: string;
|
2167
|
+
originalFilename: string;
|
2168
|
+
}[] | {
|
2169
|
+
start: string;
|
2170
|
+
end: string;
|
2171
|
+
} | null | undefined> | null | undefined;
|
2172
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
2173
|
+
actionDetails?: {
|
2174
|
+
templateId?: string | undefined;
|
2175
|
+
} | 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
|
+
createdBySignature?: string | null | undefined;
|
2231
|
+
createdAtLocation?: string | null | undefined;
|
2232
|
+
annotation?: Record<string, string | number | boolean | {
|
2233
|
+
type: string;
|
2234
|
+
path: string;
|
2235
|
+
originalFilename: string;
|
2236
|
+
} | {
|
2237
|
+
country: string;
|
2238
|
+
district: string;
|
2239
|
+
addressType: "DOMESTIC";
|
2240
|
+
province: string;
|
2241
|
+
urbanOrRural: "URBAN";
|
2242
|
+
number?: string | null | undefined;
|
2243
|
+
town?: string | null | undefined;
|
2244
|
+
residentialArea?: string | null | undefined;
|
2245
|
+
street?: string | null | undefined;
|
2246
|
+
zipCode?: string | null | undefined;
|
2247
|
+
} | {
|
2248
|
+
firstname?: string | null | undefined;
|
2249
|
+
surname?: string | null | undefined;
|
2250
|
+
middlename?: string | null | undefined;
|
2251
|
+
} | {
|
2252
|
+
country: string;
|
2253
|
+
district: string;
|
2254
|
+
addressType: "DOMESTIC";
|
2255
|
+
province: string;
|
2256
|
+
urbanOrRural: "RURAL";
|
2257
|
+
village?: string | null | undefined;
|
2258
|
+
} | {
|
2259
|
+
country: string;
|
2260
|
+
state: string;
|
2261
|
+
addressType: "INTERNATIONAL";
|
2262
|
+
district2: string;
|
2263
|
+
cityOrTown?: string | null | undefined;
|
2264
|
+
addressLine1?: string | null | undefined;
|
2265
|
+
addressLine2?: string | null | undefined;
|
2266
|
+
addressLine3?: string | null | undefined;
|
2267
|
+
postcodeOrZip?: string | null | undefined;
|
2268
|
+
} | {
|
2269
|
+
type: string;
|
2270
|
+
option: string;
|
2271
|
+
path: string;
|
2272
|
+
originalFilename: string;
|
2273
|
+
}[] | {
|
2274
|
+
start: string;
|
2275
|
+
end: string;
|
2276
|
+
} | null | undefined> | null | undefined;
|
2277
|
+
originalActionId?: string | null | undefined;
|
2278
|
+
actionDetails?: {
|
2279
|
+
templateId?: string | undefined;
|
2280
|
+
} | 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;
|
@@ -7945,24 +8455,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
7945
8455
|
}, {
|
7946
8456
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
7947
8457
|
requestId: z.ZodString;
|
7948
|
-
reason: z.ZodObject<{
|
7949
|
-
message: z.ZodString;
|
7950
|
-
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
7951
|
-
}, "strip", z.ZodTypeAny, {
|
7952
|
-
message: string;
|
7953
|
-
isDuplicate?: boolean | undefined;
|
7954
|
-
}, {
|
7955
|
-
message: string;
|
7956
|
-
isDuplicate?: boolean | undefined;
|
7957
|
-
}>;
|
7958
8458
|
}>, "strip", z.ZodTypeAny, {
|
7959
8459
|
type: "REJECT_CORRECTION";
|
7960
8460
|
id: string & z.BRAND<"UUID">;
|
7961
8461
|
status: "Rejected" | "Requested" | "Accepted";
|
7962
|
-
reason: {
|
7963
|
-
message: string;
|
7964
|
-
isDuplicate?: boolean | undefined;
|
7965
|
-
};
|
7966
8462
|
transactionId: string;
|
7967
8463
|
createdByUserType: "system" | "user";
|
7968
8464
|
createdAt: string;
|
@@ -8066,10 +8562,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8066
8562
|
type: "REJECT_CORRECTION";
|
8067
8563
|
id: string;
|
8068
8564
|
status: "Rejected" | "Requested" | "Accepted";
|
8069
|
-
reason: {
|
8070
|
-
message: string;
|
8071
|
-
isDuplicate?: boolean | undefined;
|
8072
|
-
};
|
8073
8565
|
transactionId: string;
|
8074
8566
|
createdByUserType: "system" | "user";
|
8075
8567
|
createdAt: string;
|
@@ -8939,6 +9431,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
8939
9431
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
8940
9432
|
}, {
|
8941
9433
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
9434
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9435
|
+
templateId: z.ZodOptional<z.ZodString>;
|
9436
|
+
}, "strip", z.ZodTypeAny, {
|
9437
|
+
templateId?: string | undefined;
|
9438
|
+
}, {
|
9439
|
+
templateId?: string | undefined;
|
9440
|
+
}>>>;
|
8942
9441
|
}>, "strip", z.ZodTypeAny, {
|
8943
9442
|
type: "PRINT_CERTIFICATE";
|
8944
9443
|
id: string & z.BRAND<"UUID">;
|
@@ -9041,6 +9540,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
9041
9540
|
end: string;
|
9042
9541
|
} | null | undefined> | null | undefined;
|
9043
9542
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
9543
|
+
actionDetails?: {
|
9544
|
+
templateId?: string | undefined;
|
9545
|
+
} | null | undefined;
|
9044
9546
|
}, {
|
9045
9547
|
type: "PRINT_CERTIFICATE";
|
9046
9548
|
id: string;
|
@@ -9143,6 +9645,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
9143
9645
|
end: string;
|
9144
9646
|
} | null | undefined> | null | undefined;
|
9145
9647
|
originalActionId?: string | null | undefined;
|
9648
|
+
actionDetails?: {
|
9649
|
+
templateId?: string | undefined;
|
9650
|
+
} | null | undefined;
|
9146
9651
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9147
9652
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
9148
9653
|
transactionId: z.ZodString;
|
@@ -15628,24 +16133,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15628
16133
|
}, {
|
15629
16134
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
15630
16135
|
requestId: z.ZodString;
|
15631
|
-
reason: z.ZodObject<{
|
15632
|
-
message: z.ZodString;
|
15633
|
-
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
15634
|
-
}, "strip", z.ZodTypeAny, {
|
15635
|
-
message: string;
|
15636
|
-
isDuplicate?: boolean | undefined;
|
15637
|
-
}, {
|
15638
|
-
message: string;
|
15639
|
-
isDuplicate?: boolean | undefined;
|
15640
|
-
}>;
|
15641
16136
|
}>, "strip", z.ZodTypeAny, {
|
15642
16137
|
type: "REJECT_CORRECTION";
|
15643
16138
|
id: string & z.BRAND<"UUID">;
|
15644
16139
|
status: "Rejected" | "Requested" | "Accepted";
|
15645
|
-
reason: {
|
15646
|
-
message: string;
|
15647
|
-
isDuplicate?: boolean | undefined;
|
15648
|
-
};
|
15649
16140
|
transactionId: string;
|
15650
16141
|
createdByUserType: "system" | "user";
|
15651
16142
|
createdAt: string;
|
@@ -15749,10 +16240,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
15749
16240
|
type: "REJECT_CORRECTION";
|
15750
16241
|
id: string;
|
15751
16242
|
status: "Rejected" | "Requested" | "Accepted";
|
15752
|
-
reason: {
|
15753
|
-
message: string;
|
15754
|
-
isDuplicate?: boolean | undefined;
|
15755
|
-
};
|
15756
16243
|
transactionId: string;
|
15757
16244
|
createdByUserType: "system" | "user";
|
15758
16245
|
createdAt: string;
|
@@ -16622,6 +17109,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16622
17109
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
16623
17110
|
}, {
|
16624
17111
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
17112
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
17113
|
+
templateId: z.ZodOptional<z.ZodString>;
|
17114
|
+
}, "strip", z.ZodTypeAny, {
|
17115
|
+
templateId?: string | undefined;
|
17116
|
+
}, {
|
17117
|
+
templateId?: string | undefined;
|
17118
|
+
}>>>;
|
16625
17119
|
}>, "strip", z.ZodTypeAny, {
|
16626
17120
|
type: "PRINT_CERTIFICATE";
|
16627
17121
|
id: string & z.BRAND<"UUID">;
|
@@ -16724,6 +17218,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16724
17218
|
end: string;
|
16725
17219
|
} | null | undefined> | null | undefined;
|
16726
17220
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
17221
|
+
actionDetails?: {
|
17222
|
+
templateId?: string | undefined;
|
17223
|
+
} | null | undefined;
|
16727
17224
|
}, {
|
16728
17225
|
type: "PRINT_CERTIFICATE";
|
16729
17226
|
id: string;
|
@@ -16826,6 +17323,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
16826
17323
|
end: string;
|
16827
17324
|
} | null | undefined> | null | undefined;
|
16828
17325
|
originalActionId?: string | null | undefined;
|
17326
|
+
actionDetails?: {
|
17327
|
+
templateId?: string | undefined;
|
17328
|
+
} | null | undefined;
|
16829
17329
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
16830
17330
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
16831
17331
|
transactionId: z.ZodString;
|