@opencrvs/toolkit 1.9.3-rc.da977ad → 1.9.3-rc.e47111c
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 +2428 -28200
- package/dist/commons/conditionals/conditionals.d.ts +1 -10
- package/dist/commons/conditionals/validate.d.ts +4 -11
- package/dist/commons/events/ActionConfig.d.ts +1547 -23121
- package/dist/commons/events/ActionDocument.d.ts +1849 -840
- package/dist/commons/events/ActionInput.d.ts +1066 -290
- package/dist/commons/events/ActionType.d.ts +8 -91
- package/dist/commons/events/AdvancedSearchConfig.d.ts +1244 -222
- package/dist/commons/events/CompositeFieldValue.d.ts +198 -25
- package/dist/commons/events/Conditional.d.ts +38 -26
- package/dist/commons/events/Constants.d.ts +1 -1
- package/dist/commons/events/CountryConfigQueryInput.d.ts +4169 -931
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -1
- package/dist/commons/events/DeduplicationConfig.d.ts +150 -15
- package/dist/commons/events/Draft.d.ts +105 -72
- package/dist/commons/events/DynamicFieldValue.d.ts +91 -7
- package/dist/commons/events/EventConfig.d.ts +2122 -18321
- package/dist/commons/events/EventConfigInput.d.ts +1 -1
- package/dist/commons/events/EventDocument.d.ts +1326 -336
- package/dist/commons/events/EventIndex.d.ts +967 -197
- package/dist/commons/events/EventInput.d.ts +8 -2
- package/dist/commons/events/EventMetadata.d.ts +346 -106
- package/dist/commons/events/FieldConfig.d.ts +12051 -4164
- package/dist/commons/events/FieldType.d.ts +5 -9
- package/dist/commons/events/FieldTypeMapping.d.ts +896 -172
- package/dist/commons/events/FieldValue.d.ts +405 -84
- package/dist/commons/events/FormConfig.d.ts +721 -12876
- package/dist/commons/events/PageConfig.d.ts +319 -8604
- package/dist/commons/events/SummaryConfig.d.ts +161 -14
- package/dist/commons/events/TemplateConfig.d.ts +3 -3
- package/dist/commons/events/TranslationConfig.d.ts +2 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +37 -74
- package/dist/commons/events/WorkqueueConfig.d.ts +7080 -1619
- package/dist/commons/events/deduplication.d.ts +3 -3
- package/dist/commons/events/defineConfig.d.ts +163 -25171
- package/dist/commons/events/event.d.ts +4 -4
- package/dist/commons/events/index.d.ts +0 -1
- package/dist/commons/events/locations.d.ts +19 -15
- package/dist/commons/events/scopes.d.ts +1 -3
- package/dist/commons/events/state/availableActions.d.ts +1 -2
- package/dist/commons/events/state/flags.d.ts +3 -21
- package/dist/commons/events/state/index.d.ts +19 -23
- package/dist/commons/events/state/utils.d.ts +110 -142
- package/dist/commons/events/test.utils.d.ts +6 -23
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +385 -50384
- package/dist/commons/notification/UserNotifications.d.ts +636 -55
- package/dist/conditionals/index.d.ts.map +1 -1
- package/dist/conditionals/index.js +5 -38
- package/dist/events/deduplication.d.ts +3 -3
- package/dist/events/index.js +1748 -1811
- package/dist/notification/index.d.ts.map +1 -1
- package/dist/notification/index.js +1662 -1496
- package/dist/scopes/index.d.ts +138 -138
- package/dist/scopes/index.d.ts.map +1 -1
- package/dist/scopes/index.js +93 -123
- package/package.json +5 -5
- package/dist/commons/events/Flag.d.ts +0 -70
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { AddressField, AdministrativeArea, BulletList, Checkbox, Country, DateField, Divider, Facility, EmailField, FieldConfig, File, FileUploadWithOptions, LocationInput, Office, PageHeader, Paragraph, RadioGroup, SelectField, SignatureField, TextAreaField, TextField, NumberField, DataField, NameField, PhoneField, IdField, DateRangeField, SelectDateRangeField, TimeField, AlphaPrintButton, HttpField, SearchField, ButtonField, LinkButtonField, VerificationStatus, QueryParamReaderField, QrReaderField, IdReaderField, LoaderField, AgeField
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AddressField, AdministrativeArea, BulletList, Checkbox, Country, DateField, Divider, Facility, EmailField, FieldConfig, File, FileUploadWithOptions, LocationInput, Office, PageHeader, Paragraph, RadioGroup, SelectField, SignatureField, TextAreaField, TextField, NumberField, NumberWithUnitField, DataField, NameField, PhoneField, IdField, DateRangeField, SelectDateRangeField, TimeField, AlphaPrintButton, HttpField, SearchField, ButtonField, LinkButtonField, VerificationStatus, QueryParamReaderField, QrReaderField, IdReaderField, LoaderField, AgeField } from './FieldConfig';
|
|
3
3
|
import { FieldValue, DataFieldValue, DateRangeFieldValue, SelectDateRangeValue, VerificationStatusValue, AgeValue, FieldUpdateValue } from './FieldValue';
|
|
4
4
|
import { FullDocumentPath } from '../documents';
|
|
5
|
-
import { AddressFieldValue, FileFieldValue, FileFieldWithOptionValue, NameFieldValue } from './CompositeFieldValue';
|
|
5
|
+
import { AddressFieldValue, FileFieldValue, FileFieldWithOptionValue, NameFieldValue, NumberWithUnitFieldValue } from './CompositeFieldValue';
|
|
6
6
|
import { ActionType } from './ActionType';
|
|
7
7
|
/**
|
|
8
8
|
* Mapping of field types to Zod schema.
|
|
@@ -12,235 +12,959 @@ import { ActionType } from './ActionType';
|
|
|
12
12
|
* Mapping of field types to Zod schema.
|
|
13
13
|
* Useful for building dynamic validations against FieldConfig
|
|
14
14
|
*/
|
|
15
|
-
export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: ActionType): z.ZodString | z.ZodObject<{
|
|
16
|
-
path: z.ZodString
|
|
15
|
+
export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: ActionType): z.ZodString | z.ZodOptional<z.ZodNullable<z.ZodString>> | z.ZodObject<{
|
|
16
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
17
17
|
originalFilename: z.ZodString;
|
|
18
18
|
type: z.ZodString;
|
|
19
|
-
},
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
type: string;
|
|
21
|
+
path: string;
|
|
22
|
+
originalFilename: string;
|
|
23
|
+
}, {
|
|
24
|
+
type: string;
|
|
25
|
+
path: string;
|
|
26
|
+
originalFilename: string;
|
|
27
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
29
|
+
originalFilename: z.ZodString;
|
|
30
|
+
type: z.ZodString;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
type: string;
|
|
33
|
+
path: string;
|
|
34
|
+
originalFilename: string;
|
|
35
|
+
}, {
|
|
36
|
+
type: string;
|
|
37
|
+
path: string;
|
|
38
|
+
originalFilename: string;
|
|
39
|
+
}>>> | z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
20
40
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
41
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
42
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
},
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
firstname?: string | null | undefined;
|
|
45
|
+
surname?: string | null | undefined;
|
|
46
|
+
middlename?: string | null | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
firstname?: string | null | undefined;
|
|
49
|
+
surname?: string | null | undefined;
|
|
50
|
+
middlename?: string | null | undefined;
|
|
51
|
+
}>, z.ZodNull]>, z.ZodUndefined]> | z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
52
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
firstname?: string | null | undefined;
|
|
57
|
+
surname?: string | null | undefined;
|
|
58
|
+
middlename?: string | null | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
firstname?: string | null | undefined;
|
|
61
|
+
surname?: string | null | undefined;
|
|
62
|
+
middlename?: string | null | undefined;
|
|
63
|
+
}>, z.ZodNull]>, z.ZodUndefined]>>> | z.ZodEffects<z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
24
64
|
country: z.ZodString;
|
|
25
65
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
66
|
+
}, {
|
|
26
67
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
27
68
|
administrativeArea: z.ZodString;
|
|
28
|
-
}, z.
|
|
69
|
+
}>, "strip", z.ZodTypeAny, {
|
|
70
|
+
country: string;
|
|
71
|
+
addressType: "DOMESTIC";
|
|
72
|
+
administrativeArea: string;
|
|
73
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
country: string;
|
|
76
|
+
addressType: "DOMESTIC";
|
|
77
|
+
administrativeArea: string;
|
|
78
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
79
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
29
80
|
country: z.ZodString;
|
|
30
81
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
82
|
+
}, {
|
|
31
83
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
32
|
-
}, z.
|
|
84
|
+
}>, "strip", z.ZodTypeAny, {
|
|
85
|
+
country: string;
|
|
86
|
+
addressType: "INTERNATIONAL";
|
|
87
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
country: string;
|
|
90
|
+
addressType: "INTERNATIONAL";
|
|
91
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
92
|
+
}>]>, {
|
|
93
|
+
country: string;
|
|
94
|
+
addressType: "DOMESTIC";
|
|
95
|
+
administrativeArea: string;
|
|
96
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
97
|
+
} | {
|
|
98
|
+
country: string;
|
|
99
|
+
addressType: "INTERNATIONAL";
|
|
100
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
101
|
+
}, {
|
|
102
|
+
country: string;
|
|
103
|
+
addressType: "DOMESTIC";
|
|
104
|
+
administrativeArea: string;
|
|
105
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
106
|
+
} | {
|
|
107
|
+
country: string;
|
|
108
|
+
addressType: "INTERNATIONAL";
|
|
109
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
110
|
+
}> | z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
33
111
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
112
|
streetLevelDetails: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>>;
|
|
113
|
+
}, {
|
|
35
114
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
36
115
|
administrativeArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
-
}, z.
|
|
116
|
+
}>, "strip", z.ZodTypeAny, {
|
|
117
|
+
addressType: "DOMESTIC";
|
|
118
|
+
country?: string | null | undefined;
|
|
119
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
120
|
+
administrativeArea?: string | null | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
addressType: "DOMESTIC";
|
|
123
|
+
country?: string | null | undefined;
|
|
124
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
125
|
+
administrativeArea?: string | null | undefined;
|
|
126
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
38
127
|
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
128
|
streetLevelDetails: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>>;
|
|
129
|
+
}, {
|
|
40
130
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
41
|
-
}, z.
|
|
42
|
-
|
|
131
|
+
}>, "strip", z.ZodTypeAny, {
|
|
132
|
+
addressType: "INTERNATIONAL";
|
|
133
|
+
country?: string | null | undefined;
|
|
134
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
addressType: "INTERNATIONAL";
|
|
137
|
+
country?: string | null | undefined;
|
|
138
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
139
|
+
}>]>>>, {
|
|
140
|
+
addressType: "DOMESTIC";
|
|
141
|
+
country?: string | null | undefined;
|
|
142
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
143
|
+
administrativeArea?: string | null | undefined;
|
|
144
|
+
} | {
|
|
145
|
+
addressType: "INTERNATIONAL";
|
|
146
|
+
country?: string | null | undefined;
|
|
147
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
148
|
+
} | null | undefined, {
|
|
149
|
+
addressType: "DOMESTIC";
|
|
150
|
+
country?: string | null | undefined;
|
|
151
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
152
|
+
administrativeArea?: string | null | undefined;
|
|
153
|
+
} | {
|
|
154
|
+
addressType: "INTERNATIONAL";
|
|
155
|
+
country?: string | null | undefined;
|
|
156
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
157
|
+
} | null | undefined> | z.ZodArray<z.ZodObject<{
|
|
158
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
43
159
|
originalFilename: z.ZodString;
|
|
44
160
|
type: z.ZodString;
|
|
45
161
|
option: z.ZodString;
|
|
46
|
-
},
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
163
|
+
type: string;
|
|
164
|
+
option: string;
|
|
165
|
+
path: string;
|
|
166
|
+
originalFilename: string;
|
|
167
|
+
}, {
|
|
168
|
+
type: string;
|
|
169
|
+
option: string;
|
|
170
|
+
path: string;
|
|
171
|
+
originalFilename: string;
|
|
172
|
+
}>, "many"> | z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
173
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
174
|
+
originalFilename: z.ZodString;
|
|
175
|
+
type: z.ZodString;
|
|
176
|
+
option: z.ZodString;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
type: string;
|
|
179
|
+
option: string;
|
|
180
|
+
path: string;
|
|
181
|
+
originalFilename: string;
|
|
182
|
+
}, {
|
|
183
|
+
type: string;
|
|
184
|
+
option: string;
|
|
185
|
+
path: string;
|
|
186
|
+
originalFilename: string;
|
|
187
|
+
}>, "many">>> | z.ZodBoolean | z.ZodNumber | z.ZodOptional<z.ZodNullable<z.ZodNumber>> | z.ZodOptional<z.ZodNullable<z.ZodBoolean>> | z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
47
188
|
loading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
48
189
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
49
190
|
statusCode: z.ZodNumber;
|
|
50
191
|
message: z.ZodString;
|
|
51
|
-
}, z.
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
message: string;
|
|
194
|
+
statusCode: number;
|
|
195
|
+
}, {
|
|
196
|
+
message: string;
|
|
197
|
+
statusCode: number;
|
|
198
|
+
}>>>;
|
|
52
199
|
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
53
|
-
},
|
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
|
201
|
+
data?: any;
|
|
202
|
+
error?: {
|
|
203
|
+
message: string;
|
|
204
|
+
statusCode: number;
|
|
205
|
+
} | null | undefined;
|
|
206
|
+
loading?: boolean | null | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
data?: any;
|
|
209
|
+
error?: {
|
|
210
|
+
message: string;
|
|
211
|
+
statusCode: number;
|
|
212
|
+
} | null | undefined;
|
|
213
|
+
loading?: boolean | null | undefined;
|
|
214
|
+
}>, z.ZodNull]>, z.ZodUndefined]> | z.ZodObject<{
|
|
54
215
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
55
|
-
},
|
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
data: Record<string, string>;
|
|
218
|
+
}, {
|
|
219
|
+
data: Record<string, string>;
|
|
220
|
+
}> | z.ZodObject<{
|
|
56
221
|
data: z.ZodAny;
|
|
57
|
-
},
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
data?: any;
|
|
224
|
+
}, {
|
|
225
|
+
data?: any;
|
|
226
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
227
|
+
data: z.ZodAny;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
data?: any;
|
|
230
|
+
}, {
|
|
231
|
+
data?: any;
|
|
232
|
+
}>>> | z.ZodObject<{
|
|
233
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
numericValue?: number | undefined;
|
|
237
|
+
unit?: string | undefined;
|
|
238
|
+
}, {
|
|
239
|
+
numericValue?: number | undefined;
|
|
240
|
+
unit?: string | undefined;
|
|
241
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
242
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
243
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
numericValue?: number | undefined;
|
|
246
|
+
unit?: string | undefined;
|
|
247
|
+
}, {
|
|
248
|
+
numericValue?: number | undefined;
|
|
249
|
+
unit?: string | undefined;
|
|
250
|
+
}>>> | z.ZodObject<{
|
|
251
|
+
age: z.ZodNumber;
|
|
252
|
+
asOfDateRef: z.ZodString;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
age: number;
|
|
255
|
+
asOfDateRef: string;
|
|
256
|
+
}, {
|
|
257
|
+
age: number;
|
|
258
|
+
asOfDateRef: string;
|
|
259
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
58
260
|
age: z.ZodNumber;
|
|
59
261
|
asOfDateRef: z.ZodString;
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
|
263
|
+
age: number;
|
|
264
|
+
asOfDateRef: string;
|
|
265
|
+
}, {
|
|
266
|
+
age: number;
|
|
267
|
+
asOfDateRef: string;
|
|
268
|
+
}>>> | z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]> | z.ZodUnion<[z.ZodObject<{
|
|
269
|
+
start: z.ZodString;
|
|
270
|
+
end: z.ZodString;
|
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
|
272
|
+
start: string;
|
|
273
|
+
end: string;
|
|
274
|
+
}, {
|
|
275
|
+
start: string;
|
|
276
|
+
end: string;
|
|
277
|
+
}>, z.ZodString]> | z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
278
|
+
start: z.ZodString;
|
|
279
|
+
end: z.ZodString;
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
start: string;
|
|
282
|
+
end: string;
|
|
283
|
+
}, {
|
|
284
|
+
start: string;
|
|
285
|
+
end: string;
|
|
286
|
+
}>, z.ZodString]>>> | z.ZodOptional<z.ZodNullable<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
287
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
70
288
|
country: z.ZodString;
|
|
71
289
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
290
|
+
}, {
|
|
72
291
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
73
292
|
administrativeArea: z.ZodString;
|
|
74
|
-
}, z.
|
|
293
|
+
}>, "strip", z.ZodTypeAny, {
|
|
294
|
+
country: string;
|
|
295
|
+
addressType: "DOMESTIC";
|
|
296
|
+
administrativeArea: string;
|
|
297
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
country: string;
|
|
300
|
+
addressType: "DOMESTIC";
|
|
301
|
+
administrativeArea: string;
|
|
302
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
303
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
75
304
|
country: z.ZodString;
|
|
76
305
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
306
|
+
}, {
|
|
77
307
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
78
|
-
}
|
|
308
|
+
}>, "strip", z.ZodTypeAny, {
|
|
309
|
+
country: string;
|
|
310
|
+
addressType: "INTERNATIONAL";
|
|
311
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
312
|
+
}, {
|
|
313
|
+
country: string;
|
|
314
|
+
addressType: "INTERNATIONAL";
|
|
315
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
316
|
+
}>]>, z.ZodString, z.ZodString, z.ZodObject<{
|
|
79
317
|
age: z.ZodNumber;
|
|
80
318
|
asOfDateRef: z.ZodString;
|
|
81
|
-
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
319
|
+
}, "strip", z.ZodTypeAny, {
|
|
320
|
+
age: number;
|
|
321
|
+
asOfDateRef: string;
|
|
322
|
+
}, {
|
|
323
|
+
age: number;
|
|
324
|
+
asOfDateRef: string;
|
|
325
|
+
}>, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
326
|
+
start: z.ZodString;
|
|
327
|
+
end: z.ZodString;
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
|
+
start: string;
|
|
330
|
+
end: string;
|
|
331
|
+
}, {
|
|
332
|
+
start: string;
|
|
333
|
+
end: string;
|
|
334
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
335
|
+
numericValue: z.ZodNumber;
|
|
336
|
+
unit: z.ZodString;
|
|
337
|
+
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
numericValue: number;
|
|
339
|
+
unit: string;
|
|
340
|
+
}, {
|
|
341
|
+
numericValue: number;
|
|
342
|
+
unit: string;
|
|
343
|
+
}>, z.ZodObject<{
|
|
344
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
347
|
+
numericValue?: number | undefined;
|
|
348
|
+
unit?: string | undefined;
|
|
349
|
+
}, {
|
|
350
|
+
numericValue?: number | undefined;
|
|
351
|
+
unit?: string | undefined;
|
|
352
|
+
}>, z.ZodObject<{
|
|
353
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
91
354
|
originalFilename: z.ZodString;
|
|
92
355
|
type: z.ZodString;
|
|
93
|
-
},
|
|
94
|
-
|
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
|
357
|
+
type: string;
|
|
358
|
+
path: string;
|
|
359
|
+
originalFilename: string;
|
|
360
|
+
}, {
|
|
361
|
+
type: string;
|
|
362
|
+
path: string;
|
|
363
|
+
originalFilename: string;
|
|
364
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
365
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
95
366
|
originalFilename: z.ZodString;
|
|
96
367
|
type: z.ZodString;
|
|
97
368
|
option: z.ZodString;
|
|
98
|
-
},
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
type: string;
|
|
371
|
+
option: string;
|
|
372
|
+
path: string;
|
|
373
|
+
originalFilename: string;
|
|
374
|
+
}, {
|
|
375
|
+
type: string;
|
|
376
|
+
option: string;
|
|
377
|
+
path: string;
|
|
378
|
+
originalFilename: string;
|
|
379
|
+
}>, "many">, z.ZodObject<{
|
|
99
380
|
firstname: z.ZodString;
|
|
100
381
|
surname: z.ZodString;
|
|
101
382
|
middlename: z.ZodOptional<z.ZodString>;
|
|
102
|
-
},
|
|
383
|
+
}, "strip", z.ZodTypeAny, {
|
|
384
|
+
firstname: string;
|
|
385
|
+
surname: string;
|
|
386
|
+
middlename?: string | undefined;
|
|
387
|
+
}, {
|
|
388
|
+
firstname: string;
|
|
389
|
+
surname: string;
|
|
390
|
+
middlename?: string | undefined;
|
|
391
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
103
392
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
393
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
394
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
106
|
-
},
|
|
395
|
+
}, "strip", z.ZodTypeAny, {
|
|
396
|
+
firstname?: string | null | undefined;
|
|
397
|
+
surname?: string | null | undefined;
|
|
398
|
+
middlename?: string | null | undefined;
|
|
399
|
+
}, {
|
|
400
|
+
firstname?: string | null | undefined;
|
|
401
|
+
surname?: string | null | undefined;
|
|
402
|
+
middlename?: string | null | undefined;
|
|
403
|
+
}>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
|
|
107
404
|
loading: z.ZodBoolean;
|
|
108
405
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
109
406
|
statusCode: z.ZodNumber;
|
|
110
407
|
message: z.ZodString;
|
|
111
|
-
}, z.
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
message: string;
|
|
410
|
+
statusCode: number;
|
|
411
|
+
}, {
|
|
412
|
+
message: string;
|
|
413
|
+
statusCode: number;
|
|
414
|
+
}>>>;
|
|
112
415
|
data: z.ZodAny;
|
|
113
|
-
},
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
416
|
+
}, "strip", z.ZodTypeAny, {
|
|
417
|
+
loading: boolean;
|
|
418
|
+
data?: any;
|
|
419
|
+
error?: {
|
|
420
|
+
message: string;
|
|
421
|
+
statusCode: number;
|
|
422
|
+
} | null | undefined;
|
|
423
|
+
}, {
|
|
424
|
+
loading: boolean;
|
|
425
|
+
data?: any;
|
|
426
|
+
error?: {
|
|
427
|
+
message: string;
|
|
428
|
+
statusCode: number;
|
|
429
|
+
} | null | undefined;
|
|
430
|
+
}>, z.ZodEnum<["verified", "authenticated", "failed", "pending"]>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
119
431
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
120
|
-
},
|
|
432
|
+
}, "strip", z.ZodTypeAny, {
|
|
433
|
+
data: Record<string, string>;
|
|
434
|
+
}, {
|
|
435
|
+
data: Record<string, string>;
|
|
436
|
+
}>>>, z.ZodObject<{
|
|
121
437
|
data: z.ZodAny;
|
|
122
|
-
},
|
|
438
|
+
}, "strip", z.ZodTypeAny, {
|
|
439
|
+
data?: any;
|
|
440
|
+
}, {
|
|
441
|
+
data?: any;
|
|
442
|
+
}>, z.ZodObject<{
|
|
123
443
|
data: z.ZodAny;
|
|
124
|
-
}, z.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
|
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
|
445
|
+
data?: any;
|
|
446
|
+
}, {
|
|
447
|
+
data?: any;
|
|
448
|
+
}>]>>;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
data: Record<string, string | number | boolean | {
|
|
451
|
+
type: string;
|
|
452
|
+
path: string;
|
|
453
|
+
originalFilename: string;
|
|
454
|
+
} | {
|
|
455
|
+
firstname: string;
|
|
456
|
+
surname: string;
|
|
457
|
+
middlename?: string | undefined;
|
|
458
|
+
} | {
|
|
459
|
+
firstname?: string | null | undefined;
|
|
460
|
+
surname?: string | null | undefined;
|
|
461
|
+
middlename?: string | null | undefined;
|
|
462
|
+
} | {
|
|
463
|
+
country: string;
|
|
464
|
+
addressType: "DOMESTIC";
|
|
465
|
+
administrativeArea: string;
|
|
466
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
467
|
+
} | {
|
|
468
|
+
country: string;
|
|
469
|
+
addressType: "INTERNATIONAL";
|
|
470
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
471
|
+
} | {
|
|
472
|
+
type: string;
|
|
473
|
+
option: string;
|
|
474
|
+
path: string;
|
|
475
|
+
originalFilename: string;
|
|
476
|
+
}[] | {
|
|
477
|
+
loading: boolean;
|
|
478
|
+
data?: any;
|
|
479
|
+
error?: {
|
|
480
|
+
message: string;
|
|
481
|
+
statusCode: number;
|
|
482
|
+
} | null | undefined;
|
|
483
|
+
} | {
|
|
484
|
+
data: Record<string, string>;
|
|
485
|
+
} | {
|
|
486
|
+
data?: any;
|
|
487
|
+
} | {
|
|
488
|
+
numericValue: number;
|
|
489
|
+
unit: string;
|
|
490
|
+
} | {
|
|
491
|
+
numericValue?: number | undefined;
|
|
492
|
+
unit?: string | undefined;
|
|
493
|
+
} | {
|
|
494
|
+
age: number;
|
|
495
|
+
asOfDateRef: string;
|
|
496
|
+
} | {
|
|
497
|
+
start: string;
|
|
498
|
+
end: string;
|
|
499
|
+
} | null | undefined>;
|
|
500
|
+
}, {
|
|
501
|
+
data: Record<string, string | number | boolean | {
|
|
502
|
+
type: string;
|
|
503
|
+
path: string;
|
|
504
|
+
originalFilename: string;
|
|
505
|
+
} | {
|
|
506
|
+
firstname: string;
|
|
507
|
+
surname: string;
|
|
508
|
+
middlename?: string | undefined;
|
|
509
|
+
} | {
|
|
510
|
+
firstname?: string | null | undefined;
|
|
511
|
+
surname?: string | null | undefined;
|
|
512
|
+
middlename?: string | null | undefined;
|
|
513
|
+
} | {
|
|
514
|
+
country: string;
|
|
515
|
+
addressType: "DOMESTIC";
|
|
516
|
+
administrativeArea: string;
|
|
517
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
518
|
+
} | {
|
|
519
|
+
country: string;
|
|
520
|
+
addressType: "INTERNATIONAL";
|
|
521
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
522
|
+
} | {
|
|
523
|
+
type: string;
|
|
524
|
+
option: string;
|
|
525
|
+
path: string;
|
|
526
|
+
originalFilename: string;
|
|
527
|
+
}[] | {
|
|
528
|
+
loading: boolean;
|
|
529
|
+
data?: any;
|
|
530
|
+
error?: {
|
|
531
|
+
message: string;
|
|
532
|
+
statusCode: number;
|
|
533
|
+
} | null | undefined;
|
|
534
|
+
} | {
|
|
535
|
+
data: Record<string, string>;
|
|
536
|
+
} | {
|
|
537
|
+
data?: any;
|
|
538
|
+
} | {
|
|
539
|
+
numericValue: number;
|
|
540
|
+
unit: string;
|
|
541
|
+
} | {
|
|
542
|
+
numericValue?: number | undefined;
|
|
543
|
+
unit?: string | undefined;
|
|
544
|
+
} | {
|
|
545
|
+
age: number;
|
|
546
|
+
asOfDateRef: string;
|
|
547
|
+
} | {
|
|
548
|
+
start: string;
|
|
549
|
+
end: string;
|
|
550
|
+
} | null | undefined>;
|
|
551
|
+
}>>> | z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
552
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
153
553
|
country: z.ZodString;
|
|
154
554
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
555
|
+
}, {
|
|
155
556
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
156
557
|
administrativeArea: z.ZodString;
|
|
157
|
-
}, z.
|
|
558
|
+
}>, "strip", z.ZodTypeAny, {
|
|
559
|
+
country: string;
|
|
560
|
+
addressType: "DOMESTIC";
|
|
561
|
+
administrativeArea: string;
|
|
562
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
563
|
+
}, {
|
|
564
|
+
country: string;
|
|
565
|
+
addressType: "DOMESTIC";
|
|
566
|
+
administrativeArea: string;
|
|
567
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
568
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
158
569
|
country: z.ZodString;
|
|
159
570
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
571
|
+
}, {
|
|
160
572
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
161
|
-
}
|
|
573
|
+
}>, "strip", z.ZodTypeAny, {
|
|
574
|
+
country: string;
|
|
575
|
+
addressType: "INTERNATIONAL";
|
|
576
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
577
|
+
}, {
|
|
578
|
+
country: string;
|
|
579
|
+
addressType: "INTERNATIONAL";
|
|
580
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
581
|
+
}>]>, z.ZodString, z.ZodString, z.ZodObject<{
|
|
162
582
|
age: z.ZodNumber;
|
|
163
583
|
asOfDateRef: z.ZodString;
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
age: number;
|
|
586
|
+
asOfDateRef: string;
|
|
587
|
+
}, {
|
|
588
|
+
age: number;
|
|
589
|
+
asOfDateRef: string;
|
|
590
|
+
}>, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
591
|
+
start: z.ZodString;
|
|
592
|
+
end: z.ZodString;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
start: string;
|
|
595
|
+
end: string;
|
|
596
|
+
}, {
|
|
597
|
+
start: string;
|
|
598
|
+
end: string;
|
|
599
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
|
600
|
+
numericValue: z.ZodNumber;
|
|
601
|
+
unit: z.ZodString;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
603
|
+
numericValue: number;
|
|
604
|
+
unit: string;
|
|
605
|
+
}, {
|
|
606
|
+
numericValue: number;
|
|
607
|
+
unit: string;
|
|
608
|
+
}>, z.ZodObject<{
|
|
609
|
+
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
610
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
611
|
+
}, "strip", z.ZodTypeAny, {
|
|
612
|
+
numericValue?: number | undefined;
|
|
613
|
+
unit?: string | undefined;
|
|
614
|
+
}, {
|
|
615
|
+
numericValue?: number | undefined;
|
|
616
|
+
unit?: string | undefined;
|
|
617
|
+
}>, z.ZodObject<{
|
|
618
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
174
619
|
originalFilename: z.ZodString;
|
|
175
620
|
type: z.ZodString;
|
|
176
|
-
},
|
|
177
|
-
|
|
621
|
+
}, "strip", z.ZodTypeAny, {
|
|
622
|
+
type: string;
|
|
623
|
+
path: string;
|
|
624
|
+
originalFilename: string;
|
|
625
|
+
}, {
|
|
626
|
+
type: string;
|
|
627
|
+
path: string;
|
|
628
|
+
originalFilename: string;
|
|
629
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
630
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
|
178
631
|
originalFilename: z.ZodString;
|
|
179
632
|
type: z.ZodString;
|
|
180
633
|
option: z.ZodString;
|
|
181
|
-
},
|
|
634
|
+
}, "strip", z.ZodTypeAny, {
|
|
635
|
+
type: string;
|
|
636
|
+
option: string;
|
|
637
|
+
path: string;
|
|
638
|
+
originalFilename: string;
|
|
639
|
+
}, {
|
|
640
|
+
type: string;
|
|
641
|
+
option: string;
|
|
642
|
+
path: string;
|
|
643
|
+
originalFilename: string;
|
|
644
|
+
}>, "many">, z.ZodObject<{
|
|
182
645
|
firstname: z.ZodString;
|
|
183
646
|
surname: z.ZodString;
|
|
184
647
|
middlename: z.ZodOptional<z.ZodString>;
|
|
185
|
-
},
|
|
648
|
+
}, "strip", z.ZodTypeAny, {
|
|
649
|
+
firstname: string;
|
|
650
|
+
surname: string;
|
|
651
|
+
middlename?: string | undefined;
|
|
652
|
+
}, {
|
|
653
|
+
firstname: string;
|
|
654
|
+
surname: string;
|
|
655
|
+
middlename?: string | undefined;
|
|
656
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
186
657
|
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
187
658
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
188
659
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
-
},
|
|
660
|
+
}, "strip", z.ZodTypeAny, {
|
|
661
|
+
firstname?: string | null | undefined;
|
|
662
|
+
surname?: string | null | undefined;
|
|
663
|
+
middlename?: string | null | undefined;
|
|
664
|
+
}, {
|
|
665
|
+
firstname?: string | null | undefined;
|
|
666
|
+
surname?: string | null | undefined;
|
|
667
|
+
middlename?: string | null | undefined;
|
|
668
|
+
}>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
|
|
190
669
|
loading: z.ZodBoolean;
|
|
191
670
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
192
671
|
statusCode: z.ZodNumber;
|
|
193
672
|
message: z.ZodString;
|
|
194
|
-
}, z.
|
|
673
|
+
}, "strip", z.ZodTypeAny, {
|
|
674
|
+
message: string;
|
|
675
|
+
statusCode: number;
|
|
676
|
+
}, {
|
|
677
|
+
message: string;
|
|
678
|
+
statusCode: number;
|
|
679
|
+
}>>>;
|
|
195
680
|
data: z.ZodAny;
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
681
|
+
}, "strip", z.ZodTypeAny, {
|
|
682
|
+
loading: boolean;
|
|
683
|
+
data?: any;
|
|
684
|
+
error?: {
|
|
685
|
+
message: string;
|
|
686
|
+
statusCode: number;
|
|
687
|
+
} | null | undefined;
|
|
688
|
+
}, {
|
|
689
|
+
loading: boolean;
|
|
690
|
+
data?: any;
|
|
691
|
+
error?: {
|
|
692
|
+
message: string;
|
|
693
|
+
statusCode: number;
|
|
694
|
+
} | null | undefined;
|
|
695
|
+
}>, z.ZodEnum<["verified", "authenticated", "failed", "pending"]>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
202
696
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
203
|
-
},
|
|
697
|
+
}, "strip", z.ZodTypeAny, {
|
|
698
|
+
data: Record<string, string>;
|
|
699
|
+
}, {
|
|
700
|
+
data: Record<string, string>;
|
|
701
|
+
}>>>, z.ZodObject<{
|
|
204
702
|
data: z.ZodAny;
|
|
205
|
-
},
|
|
703
|
+
}, "strip", z.ZodTypeAny, {
|
|
704
|
+
data?: any;
|
|
705
|
+
}, {
|
|
706
|
+
data?: any;
|
|
707
|
+
}>, z.ZodObject<{
|
|
206
708
|
data: z.ZodAny;
|
|
207
|
-
}, z.
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
},
|
|
709
|
+
}, "strip", z.ZodTypeAny, {
|
|
710
|
+
data?: any;
|
|
711
|
+
}, {
|
|
712
|
+
data?: any;
|
|
713
|
+
}>]>>;
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
data: Record<string, string | number | boolean | {
|
|
716
|
+
type: string;
|
|
717
|
+
path: string;
|
|
718
|
+
originalFilename: string;
|
|
719
|
+
} | {
|
|
720
|
+
firstname: string;
|
|
721
|
+
surname: string;
|
|
722
|
+
middlename?: string | undefined;
|
|
723
|
+
} | {
|
|
724
|
+
firstname?: string | null | undefined;
|
|
725
|
+
surname?: string | null | undefined;
|
|
726
|
+
middlename?: string | null | undefined;
|
|
727
|
+
} | {
|
|
728
|
+
country: string;
|
|
729
|
+
addressType: "DOMESTIC";
|
|
730
|
+
administrativeArea: string;
|
|
731
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
732
|
+
} | {
|
|
733
|
+
country: string;
|
|
734
|
+
addressType: "INTERNATIONAL";
|
|
735
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
736
|
+
} | {
|
|
737
|
+
type: string;
|
|
738
|
+
option: string;
|
|
739
|
+
path: string;
|
|
740
|
+
originalFilename: string;
|
|
741
|
+
}[] | {
|
|
742
|
+
loading: boolean;
|
|
743
|
+
data?: any;
|
|
744
|
+
error?: {
|
|
745
|
+
message: string;
|
|
746
|
+
statusCode: number;
|
|
747
|
+
} | null | undefined;
|
|
748
|
+
} | {
|
|
749
|
+
data: Record<string, string>;
|
|
750
|
+
} | {
|
|
751
|
+
data?: any;
|
|
752
|
+
} | {
|
|
753
|
+
numericValue: number;
|
|
754
|
+
unit: string;
|
|
755
|
+
} | {
|
|
756
|
+
numericValue?: number | undefined;
|
|
757
|
+
unit?: string | undefined;
|
|
758
|
+
} | {
|
|
759
|
+
age: number;
|
|
760
|
+
asOfDateRef: string;
|
|
761
|
+
} | {
|
|
762
|
+
start: string;
|
|
763
|
+
end: string;
|
|
764
|
+
} | null | undefined>;
|
|
765
|
+
}, {
|
|
766
|
+
data: Record<string, string | number | boolean | {
|
|
767
|
+
type: string;
|
|
768
|
+
path: string;
|
|
769
|
+
originalFilename: string;
|
|
770
|
+
} | {
|
|
771
|
+
firstname: string;
|
|
772
|
+
surname: string;
|
|
773
|
+
middlename?: string | undefined;
|
|
774
|
+
} | {
|
|
775
|
+
firstname?: string | null | undefined;
|
|
776
|
+
surname?: string | null | undefined;
|
|
777
|
+
middlename?: string | null | undefined;
|
|
778
|
+
} | {
|
|
779
|
+
country: string;
|
|
780
|
+
addressType: "DOMESTIC";
|
|
781
|
+
administrativeArea: string;
|
|
782
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
783
|
+
} | {
|
|
784
|
+
country: string;
|
|
785
|
+
addressType: "INTERNATIONAL";
|
|
786
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
787
|
+
} | {
|
|
788
|
+
type: string;
|
|
789
|
+
option: string;
|
|
790
|
+
path: string;
|
|
791
|
+
originalFilename: string;
|
|
792
|
+
}[] | {
|
|
793
|
+
loading: boolean;
|
|
794
|
+
data?: any;
|
|
795
|
+
error?: {
|
|
796
|
+
message: string;
|
|
797
|
+
statusCode: number;
|
|
798
|
+
} | null | undefined;
|
|
799
|
+
} | {
|
|
800
|
+
data: Record<string, string>;
|
|
801
|
+
} | {
|
|
802
|
+
data?: any;
|
|
803
|
+
} | {
|
|
804
|
+
numericValue: number;
|
|
805
|
+
unit: string;
|
|
806
|
+
} | {
|
|
807
|
+
numericValue?: number | undefined;
|
|
808
|
+
unit?: string | undefined;
|
|
809
|
+
} | {
|
|
810
|
+
age: number;
|
|
811
|
+
asOfDateRef: string;
|
|
812
|
+
} | {
|
|
813
|
+
start: string;
|
|
814
|
+
end: string;
|
|
815
|
+
} | null | undefined>;
|
|
816
|
+
}>>>>> | z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
213
817
|
loading: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
214
818
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
215
819
|
statusCode: z.ZodNumber;
|
|
216
820
|
message: z.ZodString;
|
|
217
|
-
}, z.
|
|
821
|
+
}, "strip", z.ZodTypeAny, {
|
|
822
|
+
message: string;
|
|
823
|
+
statusCode: number;
|
|
824
|
+
}, {
|
|
825
|
+
message: string;
|
|
826
|
+
statusCode: number;
|
|
827
|
+
}>>>;
|
|
218
828
|
data: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
219
|
-
},
|
|
829
|
+
}, "strip", z.ZodTypeAny, {
|
|
830
|
+
data?: any;
|
|
831
|
+
error?: {
|
|
832
|
+
message: string;
|
|
833
|
+
statusCode: number;
|
|
834
|
+
} | null | undefined;
|
|
835
|
+
loading?: boolean | null | undefined;
|
|
836
|
+
}, {
|
|
837
|
+
data?: any;
|
|
838
|
+
error?: {
|
|
839
|
+
message: string;
|
|
840
|
+
statusCode: number;
|
|
841
|
+
} | null | undefined;
|
|
842
|
+
loading?: boolean | null | undefined;
|
|
843
|
+
}>, z.ZodNull]>, z.ZodUndefined]>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
220
844
|
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
221
|
-
},
|
|
845
|
+
}, "strip", z.ZodTypeAny, {
|
|
846
|
+
data: Record<string, string>;
|
|
847
|
+
}, {
|
|
848
|
+
data: Record<string, string>;
|
|
849
|
+
}>>> | z.ZodObject<{
|
|
222
850
|
firstname: z.ZodString;
|
|
223
851
|
surname: z.ZodString;
|
|
224
852
|
middlename: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
225
|
-
},
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
853
|
+
}, "strip", z.ZodTypeAny, {
|
|
854
|
+
firstname: string;
|
|
855
|
+
surname: string;
|
|
856
|
+
middlename?: string | undefined;
|
|
857
|
+
}, {
|
|
858
|
+
firstname: string;
|
|
859
|
+
surname: string;
|
|
860
|
+
middlename?: string | undefined;
|
|
861
|
+
}> | z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
862
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
863
|
+
streetLevelDetails: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>>;
|
|
864
|
+
}, {
|
|
865
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
866
|
+
administrativeArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
867
|
+
}>, "strip", z.ZodTypeAny, {
|
|
868
|
+
addressType: "DOMESTIC";
|
|
869
|
+
country?: string | null | undefined;
|
|
870
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
871
|
+
administrativeArea?: string | null | undefined;
|
|
872
|
+
}, {
|
|
873
|
+
addressType: "DOMESTIC";
|
|
874
|
+
country?: string | null | undefined;
|
|
875
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
876
|
+
administrativeArea?: string | null | undefined;
|
|
877
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
878
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
879
|
+
streetLevelDetails: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>>;
|
|
880
|
+
}, {
|
|
881
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
882
|
+
}>, "strip", z.ZodTypeAny, {
|
|
883
|
+
addressType: "INTERNATIONAL";
|
|
884
|
+
country?: string | null | undefined;
|
|
885
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
886
|
+
}, {
|
|
887
|
+
addressType: "INTERNATIONAL";
|
|
888
|
+
country?: string | null | undefined;
|
|
889
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
890
|
+
}>]>>>, {
|
|
891
|
+
addressType: "DOMESTIC";
|
|
892
|
+
country?: string | null | undefined;
|
|
893
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
894
|
+
administrativeArea?: string | null | undefined;
|
|
895
|
+
} | {
|
|
896
|
+
addressType: "INTERNATIONAL";
|
|
897
|
+
country?: string | null | undefined;
|
|
898
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
899
|
+
} | null | undefined, {
|
|
900
|
+
addressType: "DOMESTIC";
|
|
901
|
+
country?: string | null | undefined;
|
|
902
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
903
|
+
administrativeArea?: string | null | undefined;
|
|
904
|
+
} | {
|
|
905
|
+
addressType: "INTERNATIONAL";
|
|
906
|
+
country?: string | null | undefined;
|
|
907
|
+
streetLevelDetails?: Record<string, string | null> | null | undefined;
|
|
908
|
+
} | null | undefined>>> | z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
|
|
231
909
|
country: z.ZodString;
|
|
232
910
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
911
|
+
}, {
|
|
233
912
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
|
234
913
|
administrativeArea: z.ZodString;
|
|
235
|
-
}, z.
|
|
914
|
+
}>, "strip", z.ZodTypeAny, {
|
|
915
|
+
country: string;
|
|
916
|
+
addressType: "DOMESTIC";
|
|
917
|
+
administrativeArea: string;
|
|
918
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
919
|
+
}, {
|
|
920
|
+
country: string;
|
|
921
|
+
addressType: "DOMESTIC";
|
|
922
|
+
administrativeArea: string;
|
|
923
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
924
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
236
925
|
country: z.ZodString;
|
|
237
926
|
streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
927
|
+
}, {
|
|
238
928
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
|
239
|
-
}, z.
|
|
929
|
+
}>, "strip", z.ZodTypeAny, {
|
|
930
|
+
country: string;
|
|
931
|
+
addressType: "INTERNATIONAL";
|
|
932
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
933
|
+
}, {
|
|
934
|
+
country: string;
|
|
935
|
+
addressType: "INTERNATIONAL";
|
|
936
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
937
|
+
}>]>, {
|
|
938
|
+
country: string;
|
|
939
|
+
addressType: "DOMESTIC";
|
|
940
|
+
administrativeArea: string;
|
|
941
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
942
|
+
} | {
|
|
943
|
+
country: string;
|
|
944
|
+
addressType: "INTERNATIONAL";
|
|
945
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
946
|
+
}, {
|
|
947
|
+
country: string;
|
|
948
|
+
addressType: "DOMESTIC";
|
|
949
|
+
administrativeArea: string;
|
|
950
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
951
|
+
} | {
|
|
952
|
+
country: string;
|
|
953
|
+
addressType: "INTERNATIONAL";
|
|
954
|
+
streetLevelDetails?: Record<string, string> | undefined;
|
|
955
|
+
}>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
240
956
|
firstname: z.ZodString;
|
|
241
957
|
surname: z.ZodString;
|
|
242
958
|
middlename: z.ZodString | z.ZodOptional<z.ZodString>;
|
|
243
|
-
}, z.
|
|
959
|
+
}, "strip", z.ZodTypeAny, {
|
|
960
|
+
firstname: string;
|
|
961
|
+
surname: string;
|
|
962
|
+
middlename?: string | undefined;
|
|
963
|
+
}, {
|
|
964
|
+
firstname: string;
|
|
965
|
+
surname: string;
|
|
966
|
+
middlename?: string | undefined;
|
|
967
|
+
}>>>;
|
|
244
968
|
/**
|
|
245
969
|
* Maps complex or nested field types, such as Address fields, to their corresponding empty values.
|
|
246
970
|
*/
|
|
@@ -263,284 +987,284 @@ export declare function mapFieldTypeToEmptyValue(field: FieldConfig): never[] |
|
|
|
263
987
|
} | null;
|
|
264
988
|
export declare const isParagraphFieldType: (field: {
|
|
265
989
|
config: FieldConfig;
|
|
266
|
-
value: FieldValue
|
|
990
|
+
value: FieldValue;
|
|
267
991
|
}) => field is {
|
|
268
992
|
value: string;
|
|
269
993
|
config: Paragraph;
|
|
270
994
|
};
|
|
271
995
|
export declare const isDateFieldType: (field: {
|
|
272
996
|
config: FieldConfig;
|
|
273
|
-
value: FieldValue
|
|
997
|
+
value: FieldValue;
|
|
274
998
|
}) => field is {
|
|
275
999
|
value: string;
|
|
276
1000
|
config: DateField;
|
|
277
1001
|
};
|
|
278
1002
|
export declare const isAgeFieldType: (field: {
|
|
279
1003
|
config: FieldConfig;
|
|
280
|
-
value: FieldValue
|
|
1004
|
+
value: FieldValue;
|
|
281
1005
|
}) => field is {
|
|
282
1006
|
value: AgeValue | undefined;
|
|
283
1007
|
config: AgeField;
|
|
284
1008
|
};
|
|
285
1009
|
export declare const isTimeFieldType: (field: {
|
|
286
1010
|
config: FieldConfig;
|
|
287
|
-
value: FieldValue
|
|
1011
|
+
value: FieldValue;
|
|
288
1012
|
}) => field is {
|
|
289
1013
|
value: string;
|
|
290
1014
|
config: TimeField;
|
|
291
1015
|
};
|
|
292
1016
|
export declare const isDateRangeFieldType: (field: {
|
|
293
1017
|
config: FieldConfig;
|
|
294
|
-
value: FieldValue
|
|
1018
|
+
value: FieldValue;
|
|
295
1019
|
}) => field is {
|
|
296
1020
|
value: DateRangeFieldValue;
|
|
297
1021
|
config: DateRangeField;
|
|
298
1022
|
};
|
|
299
1023
|
export declare const isSelectDateRangeFieldType: (field: {
|
|
300
1024
|
config: FieldConfig;
|
|
301
|
-
value: FieldValue
|
|
1025
|
+
value: FieldValue;
|
|
302
1026
|
}) => field is {
|
|
303
1027
|
value: SelectDateRangeValue;
|
|
304
1028
|
config: SelectDateRangeField;
|
|
305
1029
|
};
|
|
306
1030
|
export declare const isPageHeaderFieldType: (field: {
|
|
307
1031
|
config: FieldConfig;
|
|
308
|
-
value: FieldValue
|
|
1032
|
+
value: FieldValue;
|
|
309
1033
|
}) => field is {
|
|
310
1034
|
value: string;
|
|
311
1035
|
config: PageHeader;
|
|
312
1036
|
};
|
|
313
1037
|
export declare const isTextFieldType: (field: {
|
|
314
1038
|
config: FieldConfig;
|
|
315
|
-
value: FieldValue
|
|
1039
|
+
value: FieldValue;
|
|
316
1040
|
}) => field is {
|
|
317
1041
|
value: string;
|
|
318
1042
|
config: TextField;
|
|
319
1043
|
};
|
|
320
1044
|
export declare const isNumberFieldType: (field: {
|
|
321
1045
|
config: FieldConfig;
|
|
322
|
-
value: FieldValue
|
|
1046
|
+
value: FieldValue;
|
|
323
1047
|
}) => field is {
|
|
324
1048
|
value: number;
|
|
325
1049
|
config: NumberField;
|
|
326
1050
|
};
|
|
327
|
-
export declare const
|
|
1051
|
+
export declare const isNumberWithUnitFieldType: (field: {
|
|
328
1052
|
config: FieldConfig;
|
|
329
1053
|
value: FieldValue | FieldUpdateValue;
|
|
1054
|
+
}) => field is {
|
|
1055
|
+
value: NumberWithUnitFieldValue;
|
|
1056
|
+
config: NumberWithUnitField;
|
|
1057
|
+
};
|
|
1058
|
+
export declare const isNameFieldType: (field: {
|
|
1059
|
+
config: FieldConfig;
|
|
1060
|
+
value: FieldValue;
|
|
330
1061
|
}) => field is {
|
|
331
1062
|
value: NameFieldValue;
|
|
332
1063
|
config: NameField;
|
|
333
1064
|
};
|
|
334
1065
|
export declare const isPhoneFieldType: (field: {
|
|
335
1066
|
config: FieldConfig;
|
|
336
|
-
value: FieldValue
|
|
1067
|
+
value: FieldValue;
|
|
337
1068
|
}) => field is {
|
|
338
1069
|
value: string;
|
|
339
1070
|
config: PhoneField;
|
|
340
1071
|
};
|
|
341
1072
|
export declare const isIdFieldType: (field: {
|
|
342
1073
|
config: FieldConfig;
|
|
343
|
-
value: FieldValue
|
|
1074
|
+
value: FieldValue;
|
|
344
1075
|
}) => field is {
|
|
345
1076
|
value: string;
|
|
346
1077
|
config: IdField;
|
|
347
1078
|
};
|
|
348
1079
|
export declare const isTextAreaFieldType: (field: {
|
|
349
1080
|
config: FieldConfig;
|
|
350
|
-
value: FieldValue
|
|
1081
|
+
value: FieldValue;
|
|
351
1082
|
}) => field is {
|
|
352
1083
|
value: string;
|
|
353
1084
|
config: TextAreaField;
|
|
354
1085
|
};
|
|
355
1086
|
export declare const isSignatureFieldType: (field: {
|
|
356
1087
|
config: FieldConfig;
|
|
357
|
-
value: FieldValue |
|
|
1088
|
+
value: FieldValue | undefined;
|
|
358
1089
|
}) => field is {
|
|
359
1090
|
value: FileFieldValue | undefined;
|
|
360
1091
|
config: SignatureField;
|
|
361
1092
|
};
|
|
362
1093
|
export declare const isEmailFieldType: (field: {
|
|
363
1094
|
config: FieldConfig;
|
|
364
|
-
value: FieldValue
|
|
1095
|
+
value: FieldValue;
|
|
365
1096
|
}) => field is {
|
|
366
1097
|
value: string;
|
|
367
1098
|
config: EmailField;
|
|
368
1099
|
};
|
|
369
1100
|
export declare const isFileFieldType: (field: {
|
|
370
1101
|
config: FieldConfig;
|
|
371
|
-
value: FieldValue
|
|
1102
|
+
value: FieldValue;
|
|
372
1103
|
}) => field is {
|
|
373
1104
|
value: FileFieldValue;
|
|
374
1105
|
config: File;
|
|
375
1106
|
};
|
|
376
1107
|
export declare const isFileFieldWithOptionType: (field: {
|
|
377
1108
|
config: FieldConfig;
|
|
378
|
-
value: FieldValue
|
|
1109
|
+
value: FieldValue;
|
|
379
1110
|
}) => field is {
|
|
380
1111
|
value: FileFieldWithOptionValue;
|
|
381
1112
|
config: FileUploadWithOptions;
|
|
382
1113
|
};
|
|
383
1114
|
export declare const isBulletListFieldType: (field: {
|
|
384
1115
|
config: FieldConfig;
|
|
385
|
-
value: FieldValue
|
|
1116
|
+
value: FieldValue;
|
|
386
1117
|
}) => field is {
|
|
387
1118
|
value: string;
|
|
388
1119
|
config: BulletList;
|
|
389
1120
|
};
|
|
390
1121
|
export declare const isSelectFieldType: (field: {
|
|
391
1122
|
config: FieldConfig;
|
|
392
|
-
value: FieldValue
|
|
1123
|
+
value: FieldValue;
|
|
393
1124
|
}) => field is {
|
|
394
1125
|
value: string;
|
|
395
1126
|
config: SelectField;
|
|
396
1127
|
};
|
|
397
1128
|
export declare const isAddressFieldType: (field: {
|
|
398
1129
|
config: FieldConfig;
|
|
399
|
-
value: FieldValue
|
|
1130
|
+
value: FieldValue;
|
|
400
1131
|
}) => field is {
|
|
401
1132
|
value: AddressFieldValue;
|
|
402
1133
|
config: AddressField;
|
|
403
1134
|
};
|
|
404
1135
|
export declare const isCountryFieldType: (field: {
|
|
405
1136
|
config: FieldConfig;
|
|
406
|
-
value: FieldValue
|
|
1137
|
+
value: FieldValue;
|
|
407
1138
|
}) => field is {
|
|
408
1139
|
value: string;
|
|
409
1140
|
config: Country;
|
|
410
1141
|
};
|
|
411
1142
|
export declare const isCheckboxFieldType: (field: {
|
|
412
1143
|
config: FieldConfig;
|
|
413
|
-
value: FieldValue
|
|
1144
|
+
value: FieldValue;
|
|
414
1145
|
}) => field is {
|
|
415
1146
|
value: boolean;
|
|
416
1147
|
config: Checkbox;
|
|
417
1148
|
};
|
|
418
1149
|
export declare const isRadioGroupFieldType: (field: {
|
|
419
1150
|
config: FieldConfig;
|
|
420
|
-
value: FieldValue
|
|
1151
|
+
value: FieldValue;
|
|
421
1152
|
}) => field is {
|
|
422
1153
|
value: string;
|
|
423
1154
|
config: RadioGroup;
|
|
424
1155
|
};
|
|
425
1156
|
export declare const isLocationFieldType: (field: {
|
|
426
1157
|
config: FieldConfig;
|
|
427
|
-
value: FieldValue
|
|
1158
|
+
value: FieldValue;
|
|
428
1159
|
}) => field is {
|
|
429
1160
|
value: string;
|
|
430
1161
|
config: LocationInput;
|
|
431
1162
|
};
|
|
432
1163
|
export declare const isDividerFieldType: (field: {
|
|
433
1164
|
config: FieldConfig;
|
|
434
|
-
value: FieldValue
|
|
1165
|
+
value: FieldValue;
|
|
435
1166
|
}) => field is {
|
|
436
1167
|
value: string;
|
|
437
1168
|
config: Divider;
|
|
438
1169
|
};
|
|
439
1170
|
export declare const isAdministrativeAreaFieldType: (field: {
|
|
440
1171
|
config: FieldConfig;
|
|
441
|
-
value: FieldValue
|
|
1172
|
+
value: FieldValue;
|
|
442
1173
|
}) => field is {
|
|
443
1174
|
value: string;
|
|
444
1175
|
config: AdministrativeArea;
|
|
445
1176
|
};
|
|
446
1177
|
export declare const isFacilityFieldType: (field: {
|
|
447
1178
|
config: FieldConfig;
|
|
448
|
-
value: FieldValue
|
|
1179
|
+
value: FieldValue;
|
|
449
1180
|
}) => field is {
|
|
450
1181
|
value: string;
|
|
451
1182
|
config: Facility;
|
|
452
1183
|
};
|
|
453
1184
|
export declare const isOfficeFieldType: (field: {
|
|
454
1185
|
config: FieldConfig;
|
|
455
|
-
value: FieldValue
|
|
1186
|
+
value: FieldValue;
|
|
456
1187
|
}) => field is {
|
|
457
1188
|
value: string;
|
|
458
1189
|
config: Office;
|
|
459
1190
|
};
|
|
460
1191
|
export declare const isDataFieldType: (field: {
|
|
461
1192
|
config: FieldConfig;
|
|
462
|
-
value: FieldValue
|
|
1193
|
+
value: FieldValue;
|
|
463
1194
|
}) => field is {
|
|
464
1195
|
value: DataFieldValue;
|
|
465
1196
|
config: DataField;
|
|
466
1197
|
};
|
|
467
1198
|
export declare const isButtonFieldType: (field: {
|
|
468
1199
|
config: FieldConfig;
|
|
469
|
-
value: FieldValue
|
|
1200
|
+
value: FieldValue;
|
|
470
1201
|
}) => field is {
|
|
471
1202
|
value: undefined;
|
|
472
1203
|
config: ButtonField;
|
|
473
1204
|
};
|
|
474
1205
|
export declare const isPrintButtonFieldType: (field: {
|
|
475
1206
|
config: FieldConfig;
|
|
476
|
-
value: FieldValue
|
|
1207
|
+
value: FieldValue;
|
|
477
1208
|
}) => field is {
|
|
478
1209
|
value: undefined;
|
|
479
1210
|
config: AlphaPrintButton;
|
|
480
1211
|
};
|
|
481
1212
|
export declare const isHttpFieldType: (field: {
|
|
482
1213
|
config: FieldConfig;
|
|
483
|
-
value: FieldValue
|
|
1214
|
+
value: FieldValue;
|
|
484
1215
|
}) => field is {
|
|
485
1216
|
value: undefined;
|
|
486
1217
|
config: HttpField;
|
|
487
1218
|
};
|
|
488
1219
|
export declare const isSearchFieldType: (field: {
|
|
489
1220
|
config: FieldConfig;
|
|
490
|
-
value: FieldValue
|
|
1221
|
+
value: FieldValue;
|
|
491
1222
|
}) => field is {
|
|
492
1223
|
value: undefined;
|
|
493
1224
|
config: SearchField;
|
|
494
1225
|
};
|
|
495
1226
|
export declare const isLinkButtonFieldType: (field: {
|
|
496
1227
|
config: FieldConfig;
|
|
497
|
-
value: FieldValue
|
|
1228
|
+
value: FieldValue;
|
|
498
1229
|
}) => field is {
|
|
499
1230
|
value: undefined;
|
|
500
1231
|
config: LinkButtonField;
|
|
501
1232
|
};
|
|
502
1233
|
export declare const isVerificationStatusType: (field: {
|
|
503
1234
|
config: FieldConfig;
|
|
504
|
-
value: FieldValue
|
|
1235
|
+
value: FieldValue;
|
|
505
1236
|
}) => field is {
|
|
506
1237
|
value: VerificationStatusValue | undefined;
|
|
507
1238
|
config: VerificationStatus;
|
|
508
1239
|
};
|
|
509
1240
|
export declare const isQueryParamReaderFieldType: (field: {
|
|
510
1241
|
config: FieldConfig;
|
|
511
|
-
value: FieldValue
|
|
1242
|
+
value: FieldValue;
|
|
512
1243
|
}) => field is {
|
|
513
1244
|
value: undefined;
|
|
514
1245
|
config: QueryParamReaderField;
|
|
515
1246
|
};
|
|
516
1247
|
export declare const isQrReaderFieldType: (field: {
|
|
517
1248
|
config: FieldConfig;
|
|
518
|
-
value: FieldValue
|
|
1249
|
+
value: FieldValue;
|
|
519
1250
|
}) => field is {
|
|
520
1251
|
value: undefined;
|
|
521
1252
|
config: QrReaderField;
|
|
522
1253
|
};
|
|
523
1254
|
export declare const isIdReaderFieldType: (field: {
|
|
524
1255
|
config: FieldConfig;
|
|
525
|
-
value: FieldValue
|
|
1256
|
+
value: FieldValue;
|
|
526
1257
|
}) => field is {
|
|
527
1258
|
value: undefined;
|
|
528
1259
|
config: IdReaderField;
|
|
529
1260
|
};
|
|
530
1261
|
export declare const isLoaderFieldType: (field: {
|
|
531
1262
|
config: FieldConfig;
|
|
532
|
-
value: FieldValue
|
|
1263
|
+
value: FieldValue;
|
|
533
1264
|
}) => field is {
|
|
534
1265
|
value: undefined;
|
|
535
1266
|
config: LoaderField;
|
|
536
1267
|
};
|
|
537
|
-
export declare const isHiddenFieldType: (field: {
|
|
538
|
-
config: FieldConfig;
|
|
539
|
-
value: FieldValue | FieldUpdateValue;
|
|
540
|
-
}) => field is {
|
|
541
|
-
value: undefined;
|
|
542
|
-
config: HiddenField;
|
|
543
|
-
};
|
|
544
1268
|
export type NonInteractiveFieldType = Divider | PageHeader | Paragraph | BulletList | DataField | AlphaPrintButton | HttpField | LinkButtonField | QueryParamReaderField | LoaderField;
|
|
545
1269
|
export type InteractiveFieldType = Exclude<FieldConfig, NonInteractiveFieldType>;
|
|
546
1270
|
export declare const isNonInteractiveFieldType: (field: FieldConfig) => field is NonInteractiveFieldType;
|