@nira-opencrvs/toolkit 1.9.11-rc.39d8d68

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.
Files changed (77) hide show
  1. package/README.md +70 -0
  2. package/build.sh +56 -0
  3. package/dist/api/index.d.ts +11 -0
  4. package/dist/api/index.d.ts.map +1 -0
  5. package/dist/api/index.js +52 -0
  6. package/dist/commons/api/router.d.ts +4125 -0
  7. package/dist/commons/conditionals/conditionals.d.ts +824 -0
  8. package/dist/commons/conditionals/index.d.ts +2 -0
  9. package/dist/commons/conditionals/validate.d.ts +101 -0
  10. package/dist/commons/events/ActionConfig.d.ts +1609 -0
  11. package/dist/commons/events/ActionDocument.d.ts +2180 -0
  12. package/dist/commons/events/ActionInput.d.ts +1229 -0
  13. package/dist/commons/events/ActionType.d.ts +52 -0
  14. package/dist/commons/events/AdvancedSearchConfig.d.ts +1538 -0
  15. package/dist/commons/events/CompositeFieldValue.d.ts +280 -0
  16. package/dist/commons/events/Conditional.d.ts +55 -0
  17. package/dist/commons/events/Constants.d.ts +3 -0
  18. package/dist/commons/events/CountryConfigQueryInput.d.ts +4784 -0
  19. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  20. package/dist/commons/events/DeduplicationConfig.d.ts +233 -0
  21. package/dist/commons/events/Draft.d.ts +118 -0
  22. package/dist/commons/events/DynamicFieldValue.d.ts +139 -0
  23. package/dist/commons/events/EventConfig.d.ts +2255 -0
  24. package/dist/commons/events/EventConfigInput.d.ts +10 -0
  25. package/dist/commons/events/EventDocument.d.ts +1457 -0
  26. package/dist/commons/events/EventIndex.d.ts +1134 -0
  27. package/dist/commons/events/EventInput.d.ts +13 -0
  28. package/dist/commons/events/EventMetadata.d.ts +413 -0
  29. package/dist/commons/events/FieldConfig.d.ts +12935 -0
  30. package/dist/commons/events/FieldType.d.ts +55 -0
  31. package/dist/commons/events/FieldTypeMapping.d.ts +1289 -0
  32. package/dist/commons/events/FieldValue.d.ts +512 -0
  33. package/dist/commons/events/FileUtils.d.ts +4 -0
  34. package/dist/commons/events/FormConfig.d.ts +755 -0
  35. package/dist/commons/events/PageConfig.d.ts +342 -0
  36. package/dist/commons/events/PlainDate.d.ts +19 -0
  37. package/dist/commons/events/SummaryConfig.d.ts +170 -0
  38. package/dist/commons/events/TemplateConfig.d.ts +66 -0
  39. package/dist/commons/events/TranslationConfig.d.ts +15 -0
  40. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  41. package/dist/commons/events/WorkqueueConfig.d.ts +7957 -0
  42. package/dist/commons/events/deduplication.d.ts +69 -0
  43. package/dist/commons/events/defineConfig.d.ts +234 -0
  44. package/dist/commons/events/event.d.ts +80 -0
  45. package/dist/commons/events/field.d.ts +514 -0
  46. package/dist/commons/events/index.d.ts +45 -0
  47. package/dist/commons/events/locations.d.ts +24 -0
  48. package/dist/commons/events/scopes.d.ts +55 -0
  49. package/dist/commons/events/serializer.d.ts +2 -0
  50. package/dist/commons/events/state/availableActions.d.ts +6 -0
  51. package/dist/commons/events/state/flags.d.ts +4 -0
  52. package/dist/commons/events/state/index.d.ts +119 -0
  53. package/dist/commons/events/state/utils.d.ts +311 -0
  54. package/dist/commons/events/test.utils.d.ts +248 -0
  55. package/dist/commons/events/transactions.d.ts +2 -0
  56. package/dist/commons/events/utils.d.ts +486 -0
  57. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  58. package/dist/commons/notification/UserNotifications.d.ts +762 -0
  59. package/dist/commons/notification/index.d.ts +2 -0
  60. package/dist/conditionals/index.d.ts +2 -0
  61. package/dist/conditionals/index.d.ts.map +1 -0
  62. package/dist/conditionals/index.js +689 -0
  63. package/dist/events/deduplication.d.ts +69 -0
  64. package/dist/events/deduplication.d.ts.map +1 -0
  65. package/dist/events/deduplication.js +101 -0
  66. package/dist/events/index.d.ts +2 -0
  67. package/dist/events/index.d.ts.map +1 -0
  68. package/dist/events/index.js +9327 -0
  69. package/dist/notification/index.d.ts +2 -0
  70. package/dist/notification/index.d.ts.map +1 -0
  71. package/dist/notification/index.js +6674 -0
  72. package/dist/scopes/index.d.ts +385 -0
  73. package/dist/scopes/index.d.ts.map +1 -0
  74. package/dist/scopes/index.js +349 -0
  75. package/package.json +40 -0
  76. package/tsconfig.json +27 -0
  77. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,1538 @@
1
+ import { z } from 'zod';
2
+ import { TranslationConfig } from './TranslationConfig';
3
+ import { FieldConfig } from './FieldConfig';
4
+ import { FieldValue } from './FieldValue';
5
+ export declare const SearchQueryParams: z.ZodObject<{
6
+ eventType: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodType<FieldValue, z.ZodTypeDef, unknown>, {
8
+ eventType?: string | undefined;
9
+ }, {
10
+ eventType?: string | undefined;
11
+ }>;
12
+ export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
13
+ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
14
+ config: z.ZodObject<{
15
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
16
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ type: "exact" | "fuzzy" | "range" | "within";
19
+ searchFields?: string[] | undefined;
20
+ }, {
21
+ type: "exact" | "fuzzy" | "range" | "within";
22
+ searchFields?: string[] | undefined;
23
+ }>;
24
+ type: z.ZodOptional<z.ZodNativeEnum<{
25
+ readonly NAME: "NAME";
26
+ readonly PHONE: "PHONE";
27
+ readonly ID: "ID";
28
+ readonly ADDRESS: "ADDRESS";
29
+ readonly TEXT: "TEXT";
30
+ readonly NUMBER: "NUMBER";
31
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
32
+ readonly TEXTAREA: "TEXTAREA";
33
+ readonly EMAIL: "EMAIL";
34
+ readonly DATE: "DATE";
35
+ readonly AGE: "AGE";
36
+ readonly DATE_RANGE: "DATE_RANGE";
37
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
38
+ readonly TIME: "TIME";
39
+ readonly PARAGRAPH: "PARAGRAPH";
40
+ readonly PAGE_HEADER: "PAGE_HEADER";
41
+ readonly RADIO_GROUP: "RADIO_GROUP";
42
+ readonly FILE: "FILE";
43
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
44
+ readonly BULLET_LIST: "BULLET_LIST";
45
+ readonly CHECKBOX: "CHECKBOX";
46
+ readonly SELECT: "SELECT";
47
+ readonly COUNTRY: "COUNTRY";
48
+ readonly LOCATION: "LOCATION";
49
+ readonly DIVIDER: "DIVIDER";
50
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
51
+ readonly FACILITY: "FACILITY";
52
+ readonly OFFICE: "OFFICE";
53
+ readonly SIGNATURE: "SIGNATURE";
54
+ readonly DATA: "DATA";
55
+ readonly BUTTON: "BUTTON";
56
+ readonly SEARCH: "SEARCH";
57
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
58
+ readonly HTTP: "HTTP";
59
+ readonly LINK_BUTTON: "LINK_BUTTON";
60
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
61
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
62
+ readonly QR_READER: "QR_READER";
63
+ readonly ID_READER: "ID_READER";
64
+ readonly LOADER: "LOADER";
65
+ }>>;
66
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
67
+ id: string;
68
+ description: string;
69
+ defaultMessage: string;
70
+ }>>;
71
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
72
+ value: z.ZodString;
73
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
74
+ id: string;
75
+ description: string;
76
+ defaultMessage: string;
77
+ }>]>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ value: string;
80
+ label: string | TranslationConfig;
81
+ }, {
82
+ value: string;
83
+ label: string | {
84
+ id: string;
85
+ description: string;
86
+ defaultMessage: string;
87
+ };
88
+ }>, "many">>;
89
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
90
+ id: string;
91
+ description: string;
92
+ defaultMessage: string;
93
+ }>>;
94
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
95
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
96
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
97
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
98
+ id: string;
99
+ description: string;
100
+ defaultMessage: string;
101
+ }>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ message: TranslationConfig;
104
+ validator: import(".").JSONSchema;
105
+ }, {
106
+ message: {
107
+ id: string;
108
+ description: string;
109
+ defaultMessage: string;
110
+ };
111
+ validator: import(".").JSONSchema;
112
+ }>, "many">>>;
113
+ }, {
114
+ fieldId: z.ZodString;
115
+ fieldType: z.ZodLiteral<"field">;
116
+ }>, "strip", z.ZodTypeAny, {
117
+ config: {
118
+ type: "exact" | "fuzzy" | "range" | "within";
119
+ searchFields?: string[] | undefined;
120
+ };
121
+ fieldId: string;
122
+ fieldType: "field";
123
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
124
+ options?: {
125
+ value: string;
126
+ label: string | TranslationConfig;
127
+ }[] | undefined;
128
+ label?: TranslationConfig | undefined;
129
+ conditionals?: ({
130
+ type: "SHOW";
131
+ conditional: import(".").JSONSchema;
132
+ } | {
133
+ type: "ENABLE";
134
+ conditional: import(".").JSONSchema;
135
+ } | {
136
+ type: "DISPLAY_ON_REVIEW";
137
+ conditional: import(".").JSONSchema;
138
+ })[] | undefined;
139
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
140
+ validations?: {
141
+ message: TranslationConfig;
142
+ validator: import(".").JSONSchema;
143
+ }[] | undefined;
144
+ }, {
145
+ config: {
146
+ type: "exact" | "fuzzy" | "range" | "within";
147
+ searchFields?: string[] | undefined;
148
+ };
149
+ fieldId: string;
150
+ fieldType: "field";
151
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
152
+ options?: {
153
+ value: string;
154
+ label: string | {
155
+ id: string;
156
+ description: string;
157
+ defaultMessage: string;
158
+ };
159
+ }[] | undefined;
160
+ label?: {
161
+ id: string;
162
+ description: string;
163
+ defaultMessage: string;
164
+ } | undefined;
165
+ conditionals?: ({
166
+ type: "SHOW";
167
+ conditional: import(".").JSONSchema;
168
+ } | {
169
+ type: "ENABLE";
170
+ conditional: import(".").JSONSchema;
171
+ } | {
172
+ type: "DISPLAY_ON_REVIEW";
173
+ conditional: import(".").JSONSchema;
174
+ })[] | undefined;
175
+ searchCriteriaLabelPrefix?: {
176
+ id: string;
177
+ description: string;
178
+ defaultMessage: string;
179
+ } | undefined;
180
+ validations?: {
181
+ message: {
182
+ id: string;
183
+ description: string;
184
+ defaultMessage: string;
185
+ };
186
+ validator: import(".").JSONSchema;
187
+ }[] | undefined;
188
+ }>;
189
+ /**
190
+ * The event fields that are available for advanced search, date of event, summary. These are the values
191
+ * that can be passed to the `event` function to create a field config.
192
+ */
193
+ export declare const EventFieldIdInput: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "legalStatuses.REGISTERED.registrationNumber", "updatedAt"]>;
194
+ /**
195
+ * Represent the prefix used to differentiate event metadata fields from
196
+ * the declaration ones in advanced search form.
197
+ */
198
+ export declare const METADATA_FIELD_PREFIX = "event.";
199
+ /**
200
+ * The field IDs that are actually used in the advanced search, date of event, summary. The `event`
201
+ * function prefixes the `EventFieldIdInput` values with METADATA_FIELD_PREFIX.
202
+ */
203
+ export declare const EventFieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
204
+ export type EventFieldIdInput = z.infer<typeof EventFieldIdInput>;
205
+ export type EventFieldId = z.infer<typeof EventFieldId>;
206
+ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
207
+ config: z.ZodObject<{
208
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
209
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ type: "exact" | "fuzzy" | "range" | "within";
212
+ searchFields?: string[] | undefined;
213
+ }, {
214
+ type: "exact" | "fuzzy" | "range" | "within";
215
+ searchFields?: string[] | undefined;
216
+ }>;
217
+ type: z.ZodOptional<z.ZodNativeEnum<{
218
+ readonly NAME: "NAME";
219
+ readonly PHONE: "PHONE";
220
+ readonly ID: "ID";
221
+ readonly ADDRESS: "ADDRESS";
222
+ readonly TEXT: "TEXT";
223
+ readonly NUMBER: "NUMBER";
224
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
225
+ readonly TEXTAREA: "TEXTAREA";
226
+ readonly EMAIL: "EMAIL";
227
+ readonly DATE: "DATE";
228
+ readonly AGE: "AGE";
229
+ readonly DATE_RANGE: "DATE_RANGE";
230
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
231
+ readonly TIME: "TIME";
232
+ readonly PARAGRAPH: "PARAGRAPH";
233
+ readonly PAGE_HEADER: "PAGE_HEADER";
234
+ readonly RADIO_GROUP: "RADIO_GROUP";
235
+ readonly FILE: "FILE";
236
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
237
+ readonly BULLET_LIST: "BULLET_LIST";
238
+ readonly CHECKBOX: "CHECKBOX";
239
+ readonly SELECT: "SELECT";
240
+ readonly COUNTRY: "COUNTRY";
241
+ readonly LOCATION: "LOCATION";
242
+ readonly DIVIDER: "DIVIDER";
243
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
244
+ readonly FACILITY: "FACILITY";
245
+ readonly OFFICE: "OFFICE";
246
+ readonly SIGNATURE: "SIGNATURE";
247
+ readonly DATA: "DATA";
248
+ readonly BUTTON: "BUTTON";
249
+ readonly SEARCH: "SEARCH";
250
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
251
+ readonly HTTP: "HTTP";
252
+ readonly LINK_BUTTON: "LINK_BUTTON";
253
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
254
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
255
+ readonly QR_READER: "QR_READER";
256
+ readonly ID_READER: "ID_READER";
257
+ readonly LOADER: "LOADER";
258
+ }>>;
259
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
260
+ id: string;
261
+ description: string;
262
+ defaultMessage: string;
263
+ }>>;
264
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
265
+ value: z.ZodString;
266
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
267
+ id: string;
268
+ description: string;
269
+ defaultMessage: string;
270
+ }>]>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ value: string;
273
+ label: string | TranslationConfig;
274
+ }, {
275
+ value: string;
276
+ label: string | {
277
+ id: string;
278
+ description: string;
279
+ defaultMessage: string;
280
+ };
281
+ }>, "many">>;
282
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
283
+ id: string;
284
+ description: string;
285
+ defaultMessage: string;
286
+ }>>;
287
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
288
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
289
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
290
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
291
+ id: string;
292
+ description: string;
293
+ defaultMessage: string;
294
+ }>;
295
+ }, "strip", z.ZodTypeAny, {
296
+ message: TranslationConfig;
297
+ validator: import(".").JSONSchema;
298
+ }, {
299
+ message: {
300
+ id: string;
301
+ description: string;
302
+ defaultMessage: string;
303
+ };
304
+ validator: import(".").JSONSchema;
305
+ }>, "many">>>;
306
+ }, {
307
+ fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
308
+ fieldType: z.ZodLiteral<"event">;
309
+ }>, "strip", z.ZodTypeAny, {
310
+ config: {
311
+ type: "exact" | "fuzzy" | "range" | "within";
312
+ searchFields?: string[] | undefined;
313
+ };
314
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
315
+ fieldType: "event";
316
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
317
+ options?: {
318
+ value: string;
319
+ label: string | TranslationConfig;
320
+ }[] | undefined;
321
+ label?: TranslationConfig | undefined;
322
+ conditionals?: ({
323
+ type: "SHOW";
324
+ conditional: import(".").JSONSchema;
325
+ } | {
326
+ type: "ENABLE";
327
+ conditional: import(".").JSONSchema;
328
+ } | {
329
+ type: "DISPLAY_ON_REVIEW";
330
+ conditional: import(".").JSONSchema;
331
+ })[] | undefined;
332
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
333
+ validations?: {
334
+ message: TranslationConfig;
335
+ validator: import(".").JSONSchema;
336
+ }[] | undefined;
337
+ }, {
338
+ config: {
339
+ type: "exact" | "fuzzy" | "range" | "within";
340
+ searchFields?: string[] | undefined;
341
+ };
342
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
343
+ fieldType: "event";
344
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
345
+ options?: {
346
+ value: string;
347
+ label: string | {
348
+ id: string;
349
+ description: string;
350
+ defaultMessage: string;
351
+ };
352
+ }[] | undefined;
353
+ label?: {
354
+ id: string;
355
+ description: string;
356
+ defaultMessage: string;
357
+ } | undefined;
358
+ conditionals?: ({
359
+ type: "SHOW";
360
+ conditional: import(".").JSONSchema;
361
+ } | {
362
+ type: "ENABLE";
363
+ conditional: import(".").JSONSchema;
364
+ } | {
365
+ type: "DISPLAY_ON_REVIEW";
366
+ conditional: import(".").JSONSchema;
367
+ })[] | undefined;
368
+ searchCriteriaLabelPrefix?: {
369
+ id: string;
370
+ description: string;
371
+ defaultMessage: string;
372
+ } | undefined;
373
+ validations?: {
374
+ message: {
375
+ id: string;
376
+ description: string;
377
+ defaultMessage: string;
378
+ };
379
+ validator: import(".").JSONSchema;
380
+ }[] | undefined;
381
+ }>;
382
+ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
383
+ config: z.ZodObject<{
384
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
385
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
386
+ }, "strip", z.ZodTypeAny, {
387
+ type: "exact" | "fuzzy" | "range" | "within";
388
+ searchFields?: string[] | undefined;
389
+ }, {
390
+ type: "exact" | "fuzzy" | "range" | "within";
391
+ searchFields?: string[] | undefined;
392
+ }>;
393
+ type: z.ZodOptional<z.ZodNativeEnum<{
394
+ readonly NAME: "NAME";
395
+ readonly PHONE: "PHONE";
396
+ readonly ID: "ID";
397
+ readonly ADDRESS: "ADDRESS";
398
+ readonly TEXT: "TEXT";
399
+ readonly NUMBER: "NUMBER";
400
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
401
+ readonly TEXTAREA: "TEXTAREA";
402
+ readonly EMAIL: "EMAIL";
403
+ readonly DATE: "DATE";
404
+ readonly AGE: "AGE";
405
+ readonly DATE_RANGE: "DATE_RANGE";
406
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
407
+ readonly TIME: "TIME";
408
+ readonly PARAGRAPH: "PARAGRAPH";
409
+ readonly PAGE_HEADER: "PAGE_HEADER";
410
+ readonly RADIO_GROUP: "RADIO_GROUP";
411
+ readonly FILE: "FILE";
412
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
413
+ readonly BULLET_LIST: "BULLET_LIST";
414
+ readonly CHECKBOX: "CHECKBOX";
415
+ readonly SELECT: "SELECT";
416
+ readonly COUNTRY: "COUNTRY";
417
+ readonly LOCATION: "LOCATION";
418
+ readonly DIVIDER: "DIVIDER";
419
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
420
+ readonly FACILITY: "FACILITY";
421
+ readonly OFFICE: "OFFICE";
422
+ readonly SIGNATURE: "SIGNATURE";
423
+ readonly DATA: "DATA";
424
+ readonly BUTTON: "BUTTON";
425
+ readonly SEARCH: "SEARCH";
426
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
427
+ readonly HTTP: "HTTP";
428
+ readonly LINK_BUTTON: "LINK_BUTTON";
429
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
430
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
431
+ readonly QR_READER: "QR_READER";
432
+ readonly ID_READER: "ID_READER";
433
+ readonly LOADER: "LOADER";
434
+ }>>;
435
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
436
+ id: string;
437
+ description: string;
438
+ defaultMessage: string;
439
+ }>>;
440
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
441
+ value: z.ZodString;
442
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
443
+ id: string;
444
+ description: string;
445
+ defaultMessage: string;
446
+ }>]>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ value: string;
449
+ label: string | TranslationConfig;
450
+ }, {
451
+ value: string;
452
+ label: string | {
453
+ id: string;
454
+ description: string;
455
+ defaultMessage: string;
456
+ };
457
+ }>, "many">>;
458
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
459
+ id: string;
460
+ description: string;
461
+ defaultMessage: string;
462
+ }>>;
463
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
464
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
465
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
466
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
467
+ id: string;
468
+ description: string;
469
+ defaultMessage: string;
470
+ }>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ message: TranslationConfig;
473
+ validator: import(".").JSONSchema;
474
+ }, {
475
+ message: {
476
+ id: string;
477
+ description: string;
478
+ defaultMessage: string;
479
+ };
480
+ validator: import(".").JSONSchema;
481
+ }>, "many">>>;
482
+ }, {
483
+ fieldId: z.ZodString;
484
+ fieldType: z.ZodLiteral<"field">;
485
+ }>, "strip", z.ZodTypeAny, {
486
+ config: {
487
+ type: "exact" | "fuzzy" | "range" | "within";
488
+ searchFields?: string[] | undefined;
489
+ };
490
+ fieldId: string;
491
+ fieldType: "field";
492
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
493
+ options?: {
494
+ value: string;
495
+ label: string | TranslationConfig;
496
+ }[] | undefined;
497
+ label?: TranslationConfig | undefined;
498
+ conditionals?: ({
499
+ type: "SHOW";
500
+ conditional: import(".").JSONSchema;
501
+ } | {
502
+ type: "ENABLE";
503
+ conditional: import(".").JSONSchema;
504
+ } | {
505
+ type: "DISPLAY_ON_REVIEW";
506
+ conditional: import(".").JSONSchema;
507
+ })[] | undefined;
508
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
509
+ validations?: {
510
+ message: TranslationConfig;
511
+ validator: import(".").JSONSchema;
512
+ }[] | undefined;
513
+ }, {
514
+ config: {
515
+ type: "exact" | "fuzzy" | "range" | "within";
516
+ searchFields?: string[] | undefined;
517
+ };
518
+ fieldId: string;
519
+ fieldType: "field";
520
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
521
+ options?: {
522
+ value: string;
523
+ label: string | {
524
+ id: string;
525
+ description: string;
526
+ defaultMessage: string;
527
+ };
528
+ }[] | undefined;
529
+ label?: {
530
+ id: string;
531
+ description: string;
532
+ defaultMessage: string;
533
+ } | undefined;
534
+ conditionals?: ({
535
+ type: "SHOW";
536
+ conditional: import(".").JSONSchema;
537
+ } | {
538
+ type: "ENABLE";
539
+ conditional: import(".").JSONSchema;
540
+ } | {
541
+ type: "DISPLAY_ON_REVIEW";
542
+ conditional: import(".").JSONSchema;
543
+ })[] | undefined;
544
+ searchCriteriaLabelPrefix?: {
545
+ id: string;
546
+ description: string;
547
+ defaultMessage: string;
548
+ } | undefined;
549
+ validations?: {
550
+ message: {
551
+ id: string;
552
+ description: string;
553
+ defaultMessage: string;
554
+ };
555
+ validator: import(".").JSONSchema;
556
+ }[] | undefined;
557
+ }>, z.ZodObject<z.objectUtil.extendShape<{
558
+ config: z.ZodObject<{
559
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
560
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
561
+ }, "strip", z.ZodTypeAny, {
562
+ type: "exact" | "fuzzy" | "range" | "within";
563
+ searchFields?: string[] | undefined;
564
+ }, {
565
+ type: "exact" | "fuzzy" | "range" | "within";
566
+ searchFields?: string[] | undefined;
567
+ }>;
568
+ type: z.ZodOptional<z.ZodNativeEnum<{
569
+ readonly NAME: "NAME";
570
+ readonly PHONE: "PHONE";
571
+ readonly ID: "ID";
572
+ readonly ADDRESS: "ADDRESS";
573
+ readonly TEXT: "TEXT";
574
+ readonly NUMBER: "NUMBER";
575
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
576
+ readonly TEXTAREA: "TEXTAREA";
577
+ readonly EMAIL: "EMAIL";
578
+ readonly DATE: "DATE";
579
+ readonly AGE: "AGE";
580
+ readonly DATE_RANGE: "DATE_RANGE";
581
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
582
+ readonly TIME: "TIME";
583
+ readonly PARAGRAPH: "PARAGRAPH";
584
+ readonly PAGE_HEADER: "PAGE_HEADER";
585
+ readonly RADIO_GROUP: "RADIO_GROUP";
586
+ readonly FILE: "FILE";
587
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
588
+ readonly BULLET_LIST: "BULLET_LIST";
589
+ readonly CHECKBOX: "CHECKBOX";
590
+ readonly SELECT: "SELECT";
591
+ readonly COUNTRY: "COUNTRY";
592
+ readonly LOCATION: "LOCATION";
593
+ readonly DIVIDER: "DIVIDER";
594
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
595
+ readonly FACILITY: "FACILITY";
596
+ readonly OFFICE: "OFFICE";
597
+ readonly SIGNATURE: "SIGNATURE";
598
+ readonly DATA: "DATA";
599
+ readonly BUTTON: "BUTTON";
600
+ readonly SEARCH: "SEARCH";
601
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
602
+ readonly HTTP: "HTTP";
603
+ readonly LINK_BUTTON: "LINK_BUTTON";
604
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
605
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
606
+ readonly QR_READER: "QR_READER";
607
+ readonly ID_READER: "ID_READER";
608
+ readonly LOADER: "LOADER";
609
+ }>>;
610
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
611
+ id: string;
612
+ description: string;
613
+ defaultMessage: string;
614
+ }>>;
615
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
616
+ value: z.ZodString;
617
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
618
+ id: string;
619
+ description: string;
620
+ defaultMessage: string;
621
+ }>]>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ value: string;
624
+ label: string | TranslationConfig;
625
+ }, {
626
+ value: string;
627
+ label: string | {
628
+ id: string;
629
+ description: string;
630
+ defaultMessage: string;
631
+ };
632
+ }>, "many">>;
633
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
634
+ id: string;
635
+ description: string;
636
+ defaultMessage: string;
637
+ }>>;
638
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
639
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
640
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
641
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
642
+ id: string;
643
+ description: string;
644
+ defaultMessage: string;
645
+ }>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ message: TranslationConfig;
648
+ validator: import(".").JSONSchema;
649
+ }, {
650
+ message: {
651
+ id: string;
652
+ description: string;
653
+ defaultMessage: string;
654
+ };
655
+ validator: import(".").JSONSchema;
656
+ }>, "many">>>;
657
+ }, {
658
+ fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
659
+ fieldType: z.ZodLiteral<"event">;
660
+ }>, "strip", z.ZodTypeAny, {
661
+ config: {
662
+ type: "exact" | "fuzzy" | "range" | "within";
663
+ searchFields?: string[] | undefined;
664
+ };
665
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
666
+ fieldType: "event";
667
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
668
+ options?: {
669
+ value: string;
670
+ label: string | TranslationConfig;
671
+ }[] | undefined;
672
+ label?: TranslationConfig | undefined;
673
+ conditionals?: ({
674
+ type: "SHOW";
675
+ conditional: import(".").JSONSchema;
676
+ } | {
677
+ type: "ENABLE";
678
+ conditional: import(".").JSONSchema;
679
+ } | {
680
+ type: "DISPLAY_ON_REVIEW";
681
+ conditional: import(".").JSONSchema;
682
+ })[] | undefined;
683
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
684
+ validations?: {
685
+ message: TranslationConfig;
686
+ validator: import(".").JSONSchema;
687
+ }[] | undefined;
688
+ }, {
689
+ config: {
690
+ type: "exact" | "fuzzy" | "range" | "within";
691
+ searchFields?: string[] | undefined;
692
+ };
693
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
694
+ fieldType: "event";
695
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
696
+ options?: {
697
+ value: string;
698
+ label: string | {
699
+ id: string;
700
+ description: string;
701
+ defaultMessage: string;
702
+ };
703
+ }[] | undefined;
704
+ label?: {
705
+ id: string;
706
+ description: string;
707
+ defaultMessage: string;
708
+ } | undefined;
709
+ conditionals?: ({
710
+ type: "SHOW";
711
+ conditional: import(".").JSONSchema;
712
+ } | {
713
+ type: "ENABLE";
714
+ conditional: import(".").JSONSchema;
715
+ } | {
716
+ type: "DISPLAY_ON_REVIEW";
717
+ conditional: import(".").JSONSchema;
718
+ })[] | undefined;
719
+ searchCriteriaLabelPrefix?: {
720
+ id: string;
721
+ description: string;
722
+ defaultMessage: string;
723
+ } | undefined;
724
+ validations?: {
725
+ message: {
726
+ id: string;
727
+ description: string;
728
+ defaultMessage: string;
729
+ };
730
+ validator: import(".").JSONSchema;
731
+ }[] | undefined;
732
+ }>]>, {
733
+ config: {
734
+ type: "exact" | "fuzzy" | "range" | "within";
735
+ searchFields?: string[] | undefined;
736
+ };
737
+ fieldId: string;
738
+ fieldType: "field";
739
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
740
+ options?: {
741
+ value: string;
742
+ label: string | TranslationConfig;
743
+ }[] | undefined;
744
+ label?: TranslationConfig | undefined;
745
+ conditionals?: ({
746
+ type: "SHOW";
747
+ conditional: import(".").JSONSchema;
748
+ } | {
749
+ type: "ENABLE";
750
+ conditional: import(".").JSONSchema;
751
+ } | {
752
+ type: "DISPLAY_ON_REVIEW";
753
+ conditional: import(".").JSONSchema;
754
+ })[] | undefined;
755
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
756
+ validations?: {
757
+ message: TranslationConfig;
758
+ validator: import(".").JSONSchema;
759
+ }[] | undefined;
760
+ } | {
761
+ config: {
762
+ type: "exact" | "fuzzy" | "range" | "within";
763
+ searchFields?: string[] | undefined;
764
+ };
765
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
766
+ fieldType: "event";
767
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
768
+ options?: {
769
+ value: string;
770
+ label: string | TranslationConfig;
771
+ }[] | undefined;
772
+ label?: TranslationConfig | undefined;
773
+ conditionals?: ({
774
+ type: "SHOW";
775
+ conditional: import(".").JSONSchema;
776
+ } | {
777
+ type: "ENABLE";
778
+ conditional: import(".").JSONSchema;
779
+ } | {
780
+ type: "DISPLAY_ON_REVIEW";
781
+ conditional: import(".").JSONSchema;
782
+ })[] | undefined;
783
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
784
+ validations?: {
785
+ message: TranslationConfig;
786
+ validator: import(".").JSONSchema;
787
+ }[] | undefined;
788
+ }, {
789
+ config: {
790
+ type: "exact" | "fuzzy" | "range" | "within";
791
+ searchFields?: string[] | undefined;
792
+ };
793
+ fieldId: string;
794
+ fieldType: "field";
795
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
796
+ options?: {
797
+ value: string;
798
+ label: string | {
799
+ id: string;
800
+ description: string;
801
+ defaultMessage: string;
802
+ };
803
+ }[] | undefined;
804
+ label?: {
805
+ id: string;
806
+ description: string;
807
+ defaultMessage: string;
808
+ } | undefined;
809
+ conditionals?: ({
810
+ type: "SHOW";
811
+ conditional: import(".").JSONSchema;
812
+ } | {
813
+ type: "ENABLE";
814
+ conditional: import(".").JSONSchema;
815
+ } | {
816
+ type: "DISPLAY_ON_REVIEW";
817
+ conditional: import(".").JSONSchema;
818
+ })[] | undefined;
819
+ searchCriteriaLabelPrefix?: {
820
+ id: string;
821
+ description: string;
822
+ defaultMessage: string;
823
+ } | undefined;
824
+ validations?: {
825
+ message: {
826
+ id: string;
827
+ description: string;
828
+ defaultMessage: string;
829
+ };
830
+ validator: import(".").JSONSchema;
831
+ }[] | undefined;
832
+ } | {
833
+ config: {
834
+ type: "exact" | "fuzzy" | "range" | "within";
835
+ searchFields?: string[] | undefined;
836
+ };
837
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
838
+ fieldType: "event";
839
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
840
+ options?: {
841
+ value: string;
842
+ label: string | {
843
+ id: string;
844
+ description: string;
845
+ defaultMessage: string;
846
+ };
847
+ }[] | undefined;
848
+ label?: {
849
+ id: string;
850
+ description: string;
851
+ defaultMessage: string;
852
+ } | undefined;
853
+ conditionals?: ({
854
+ type: "SHOW";
855
+ conditional: import(".").JSONSchema;
856
+ } | {
857
+ type: "ENABLE";
858
+ conditional: import(".").JSONSchema;
859
+ } | {
860
+ type: "DISPLAY_ON_REVIEW";
861
+ conditional: import(".").JSONSchema;
862
+ })[] | undefined;
863
+ searchCriteriaLabelPrefix?: {
864
+ id: string;
865
+ description: string;
866
+ defaultMessage: string;
867
+ } | undefined;
868
+ validations?: {
869
+ message: {
870
+ id: string;
871
+ description: string;
872
+ defaultMessage: string;
873
+ };
874
+ validator: import(".").JSONSchema;
875
+ }[] | undefined;
876
+ }>;
877
+ export type AdvancedSearchField = z.infer<typeof AdvancedSearchField>;
878
+ export declare const AdvancedSearchConfig: z.ZodObject<{
879
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
880
+ id: string;
881
+ description: string;
882
+ defaultMessage: string;
883
+ }>;
884
+ fields: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
885
+ config: z.ZodObject<{
886
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
887
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ type: "exact" | "fuzzy" | "range" | "within";
890
+ searchFields?: string[] | undefined;
891
+ }, {
892
+ type: "exact" | "fuzzy" | "range" | "within";
893
+ searchFields?: string[] | undefined;
894
+ }>;
895
+ type: z.ZodOptional<z.ZodNativeEnum<{
896
+ readonly NAME: "NAME";
897
+ readonly PHONE: "PHONE";
898
+ readonly ID: "ID";
899
+ readonly ADDRESS: "ADDRESS";
900
+ readonly TEXT: "TEXT";
901
+ readonly NUMBER: "NUMBER";
902
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
903
+ readonly TEXTAREA: "TEXTAREA";
904
+ readonly EMAIL: "EMAIL";
905
+ readonly DATE: "DATE";
906
+ readonly AGE: "AGE";
907
+ readonly DATE_RANGE: "DATE_RANGE";
908
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
909
+ readonly TIME: "TIME";
910
+ readonly PARAGRAPH: "PARAGRAPH";
911
+ readonly PAGE_HEADER: "PAGE_HEADER";
912
+ readonly RADIO_GROUP: "RADIO_GROUP";
913
+ readonly FILE: "FILE";
914
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
915
+ readonly BULLET_LIST: "BULLET_LIST";
916
+ readonly CHECKBOX: "CHECKBOX";
917
+ readonly SELECT: "SELECT";
918
+ readonly COUNTRY: "COUNTRY";
919
+ readonly LOCATION: "LOCATION";
920
+ readonly DIVIDER: "DIVIDER";
921
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
922
+ readonly FACILITY: "FACILITY";
923
+ readonly OFFICE: "OFFICE";
924
+ readonly SIGNATURE: "SIGNATURE";
925
+ readonly DATA: "DATA";
926
+ readonly BUTTON: "BUTTON";
927
+ readonly SEARCH: "SEARCH";
928
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
929
+ readonly HTTP: "HTTP";
930
+ readonly LINK_BUTTON: "LINK_BUTTON";
931
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
932
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
933
+ readonly QR_READER: "QR_READER";
934
+ readonly ID_READER: "ID_READER";
935
+ readonly LOADER: "LOADER";
936
+ }>>;
937
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
938
+ id: string;
939
+ description: string;
940
+ defaultMessage: string;
941
+ }>>;
942
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
943
+ value: z.ZodString;
944
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
945
+ id: string;
946
+ description: string;
947
+ defaultMessage: string;
948
+ }>]>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ value: string;
951
+ label: string | TranslationConfig;
952
+ }, {
953
+ value: string;
954
+ label: string | {
955
+ id: string;
956
+ description: string;
957
+ defaultMessage: string;
958
+ };
959
+ }>, "many">>;
960
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
961
+ id: string;
962
+ description: string;
963
+ defaultMessage: string;
964
+ }>>;
965
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
966
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
967
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
968
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
969
+ id: string;
970
+ description: string;
971
+ defaultMessage: string;
972
+ }>;
973
+ }, "strip", z.ZodTypeAny, {
974
+ message: TranslationConfig;
975
+ validator: import(".").JSONSchema;
976
+ }, {
977
+ message: {
978
+ id: string;
979
+ description: string;
980
+ defaultMessage: string;
981
+ };
982
+ validator: import(".").JSONSchema;
983
+ }>, "many">>>;
984
+ }, {
985
+ fieldId: z.ZodString;
986
+ fieldType: z.ZodLiteral<"field">;
987
+ }>, "strip", z.ZodTypeAny, {
988
+ config: {
989
+ type: "exact" | "fuzzy" | "range" | "within";
990
+ searchFields?: string[] | undefined;
991
+ };
992
+ fieldId: string;
993
+ fieldType: "field";
994
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
995
+ options?: {
996
+ value: string;
997
+ label: string | TranslationConfig;
998
+ }[] | undefined;
999
+ label?: TranslationConfig | undefined;
1000
+ conditionals?: ({
1001
+ type: "SHOW";
1002
+ conditional: import(".").JSONSchema;
1003
+ } | {
1004
+ type: "ENABLE";
1005
+ conditional: import(".").JSONSchema;
1006
+ } | {
1007
+ type: "DISPLAY_ON_REVIEW";
1008
+ conditional: import(".").JSONSchema;
1009
+ })[] | undefined;
1010
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1011
+ validations?: {
1012
+ message: TranslationConfig;
1013
+ validator: import(".").JSONSchema;
1014
+ }[] | undefined;
1015
+ }, {
1016
+ config: {
1017
+ type: "exact" | "fuzzy" | "range" | "within";
1018
+ searchFields?: string[] | undefined;
1019
+ };
1020
+ fieldId: string;
1021
+ fieldType: "field";
1022
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1023
+ options?: {
1024
+ value: string;
1025
+ label: string | {
1026
+ id: string;
1027
+ description: string;
1028
+ defaultMessage: string;
1029
+ };
1030
+ }[] | undefined;
1031
+ label?: {
1032
+ id: string;
1033
+ description: string;
1034
+ defaultMessage: string;
1035
+ } | undefined;
1036
+ conditionals?: ({
1037
+ type: "SHOW";
1038
+ conditional: import(".").JSONSchema;
1039
+ } | {
1040
+ type: "ENABLE";
1041
+ conditional: import(".").JSONSchema;
1042
+ } | {
1043
+ type: "DISPLAY_ON_REVIEW";
1044
+ conditional: import(".").JSONSchema;
1045
+ })[] | undefined;
1046
+ searchCriteriaLabelPrefix?: {
1047
+ id: string;
1048
+ description: string;
1049
+ defaultMessage: string;
1050
+ } | undefined;
1051
+ validations?: {
1052
+ message: {
1053
+ id: string;
1054
+ description: string;
1055
+ defaultMessage: string;
1056
+ };
1057
+ validator: import(".").JSONSchema;
1058
+ }[] | undefined;
1059
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1060
+ config: z.ZodObject<{
1061
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
1062
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ type: "exact" | "fuzzy" | "range" | "within";
1065
+ searchFields?: string[] | undefined;
1066
+ }, {
1067
+ type: "exact" | "fuzzy" | "range" | "within";
1068
+ searchFields?: string[] | undefined;
1069
+ }>;
1070
+ type: z.ZodOptional<z.ZodNativeEnum<{
1071
+ readonly NAME: "NAME";
1072
+ readonly PHONE: "PHONE";
1073
+ readonly ID: "ID";
1074
+ readonly ADDRESS: "ADDRESS";
1075
+ readonly TEXT: "TEXT";
1076
+ readonly NUMBER: "NUMBER";
1077
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
1078
+ readonly TEXTAREA: "TEXTAREA";
1079
+ readonly EMAIL: "EMAIL";
1080
+ readonly DATE: "DATE";
1081
+ readonly AGE: "AGE";
1082
+ readonly DATE_RANGE: "DATE_RANGE";
1083
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
1084
+ readonly TIME: "TIME";
1085
+ readonly PARAGRAPH: "PARAGRAPH";
1086
+ readonly PAGE_HEADER: "PAGE_HEADER";
1087
+ readonly RADIO_GROUP: "RADIO_GROUP";
1088
+ readonly FILE: "FILE";
1089
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
1090
+ readonly BULLET_LIST: "BULLET_LIST";
1091
+ readonly CHECKBOX: "CHECKBOX";
1092
+ readonly SELECT: "SELECT";
1093
+ readonly COUNTRY: "COUNTRY";
1094
+ readonly LOCATION: "LOCATION";
1095
+ readonly DIVIDER: "DIVIDER";
1096
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
1097
+ readonly FACILITY: "FACILITY";
1098
+ readonly OFFICE: "OFFICE";
1099
+ readonly SIGNATURE: "SIGNATURE";
1100
+ readonly DATA: "DATA";
1101
+ readonly BUTTON: "BUTTON";
1102
+ readonly SEARCH: "SEARCH";
1103
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
1104
+ readonly HTTP: "HTTP";
1105
+ readonly LINK_BUTTON: "LINK_BUTTON";
1106
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
1107
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
1108
+ readonly QR_READER: "QR_READER";
1109
+ readonly ID_READER: "ID_READER";
1110
+ readonly LOADER: "LOADER";
1111
+ }>>;
1112
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1113
+ id: string;
1114
+ description: string;
1115
+ defaultMessage: string;
1116
+ }>>;
1117
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1118
+ value: z.ZodString;
1119
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1120
+ id: string;
1121
+ description: string;
1122
+ defaultMessage: string;
1123
+ }>]>;
1124
+ }, "strip", z.ZodTypeAny, {
1125
+ value: string;
1126
+ label: string | TranslationConfig;
1127
+ }, {
1128
+ value: string;
1129
+ label: string | {
1130
+ id: string;
1131
+ description: string;
1132
+ defaultMessage: string;
1133
+ };
1134
+ }>, "many">>;
1135
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1136
+ id: string;
1137
+ description: string;
1138
+ defaultMessage: string;
1139
+ }>>;
1140
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1141
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
1142
+ validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1143
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1144
+ id: string;
1145
+ description: string;
1146
+ defaultMessage: string;
1147
+ }>;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ message: TranslationConfig;
1150
+ validator: import(".").JSONSchema;
1151
+ }, {
1152
+ message: {
1153
+ id: string;
1154
+ description: string;
1155
+ defaultMessage: string;
1156
+ };
1157
+ validator: import(".").JSONSchema;
1158
+ }>, "many">>>;
1159
+ }, {
1160
+ fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
1161
+ fieldType: z.ZodLiteral<"event">;
1162
+ }>, "strip", z.ZodTypeAny, {
1163
+ config: {
1164
+ type: "exact" | "fuzzy" | "range" | "within";
1165
+ searchFields?: string[] | undefined;
1166
+ };
1167
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1168
+ fieldType: "event";
1169
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1170
+ options?: {
1171
+ value: string;
1172
+ label: string | TranslationConfig;
1173
+ }[] | undefined;
1174
+ label?: TranslationConfig | undefined;
1175
+ conditionals?: ({
1176
+ type: "SHOW";
1177
+ conditional: import(".").JSONSchema;
1178
+ } | {
1179
+ type: "ENABLE";
1180
+ conditional: import(".").JSONSchema;
1181
+ } | {
1182
+ type: "DISPLAY_ON_REVIEW";
1183
+ conditional: import(".").JSONSchema;
1184
+ })[] | undefined;
1185
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1186
+ validations?: {
1187
+ message: TranslationConfig;
1188
+ validator: import(".").JSONSchema;
1189
+ }[] | undefined;
1190
+ }, {
1191
+ config: {
1192
+ type: "exact" | "fuzzy" | "range" | "within";
1193
+ searchFields?: string[] | undefined;
1194
+ };
1195
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1196
+ fieldType: "event";
1197
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1198
+ options?: {
1199
+ value: string;
1200
+ label: string | {
1201
+ id: string;
1202
+ description: string;
1203
+ defaultMessage: string;
1204
+ };
1205
+ }[] | undefined;
1206
+ label?: {
1207
+ id: string;
1208
+ description: string;
1209
+ defaultMessage: string;
1210
+ } | undefined;
1211
+ conditionals?: ({
1212
+ type: "SHOW";
1213
+ conditional: import(".").JSONSchema;
1214
+ } | {
1215
+ type: "ENABLE";
1216
+ conditional: import(".").JSONSchema;
1217
+ } | {
1218
+ type: "DISPLAY_ON_REVIEW";
1219
+ conditional: import(".").JSONSchema;
1220
+ })[] | undefined;
1221
+ searchCriteriaLabelPrefix?: {
1222
+ id: string;
1223
+ description: string;
1224
+ defaultMessage: string;
1225
+ } | undefined;
1226
+ validations?: {
1227
+ message: {
1228
+ id: string;
1229
+ description: string;
1230
+ defaultMessage: string;
1231
+ };
1232
+ validator: import(".").JSONSchema;
1233
+ }[] | undefined;
1234
+ }>]>, {
1235
+ config: {
1236
+ type: "exact" | "fuzzy" | "range" | "within";
1237
+ searchFields?: string[] | undefined;
1238
+ };
1239
+ fieldId: string;
1240
+ fieldType: "field";
1241
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1242
+ options?: {
1243
+ value: string;
1244
+ label: string | TranslationConfig;
1245
+ }[] | undefined;
1246
+ label?: TranslationConfig | undefined;
1247
+ conditionals?: ({
1248
+ type: "SHOW";
1249
+ conditional: import(".").JSONSchema;
1250
+ } | {
1251
+ type: "ENABLE";
1252
+ conditional: import(".").JSONSchema;
1253
+ } | {
1254
+ type: "DISPLAY_ON_REVIEW";
1255
+ conditional: import(".").JSONSchema;
1256
+ })[] | undefined;
1257
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1258
+ validations?: {
1259
+ message: TranslationConfig;
1260
+ validator: import(".").JSONSchema;
1261
+ }[] | undefined;
1262
+ } | {
1263
+ config: {
1264
+ type: "exact" | "fuzzy" | "range" | "within";
1265
+ searchFields?: string[] | undefined;
1266
+ };
1267
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1268
+ fieldType: "event";
1269
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1270
+ options?: {
1271
+ value: string;
1272
+ label: string | TranslationConfig;
1273
+ }[] | undefined;
1274
+ label?: TranslationConfig | undefined;
1275
+ conditionals?: ({
1276
+ type: "SHOW";
1277
+ conditional: import(".").JSONSchema;
1278
+ } | {
1279
+ type: "ENABLE";
1280
+ conditional: import(".").JSONSchema;
1281
+ } | {
1282
+ type: "DISPLAY_ON_REVIEW";
1283
+ conditional: import(".").JSONSchema;
1284
+ })[] | undefined;
1285
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1286
+ validations?: {
1287
+ message: TranslationConfig;
1288
+ validator: import(".").JSONSchema;
1289
+ }[] | undefined;
1290
+ }, {
1291
+ config: {
1292
+ type: "exact" | "fuzzy" | "range" | "within";
1293
+ searchFields?: string[] | undefined;
1294
+ };
1295
+ fieldId: string;
1296
+ fieldType: "field";
1297
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1298
+ options?: {
1299
+ value: string;
1300
+ label: string | {
1301
+ id: string;
1302
+ description: string;
1303
+ defaultMessage: string;
1304
+ };
1305
+ }[] | undefined;
1306
+ label?: {
1307
+ id: string;
1308
+ description: string;
1309
+ defaultMessage: string;
1310
+ } | undefined;
1311
+ conditionals?: ({
1312
+ type: "SHOW";
1313
+ conditional: import(".").JSONSchema;
1314
+ } | {
1315
+ type: "ENABLE";
1316
+ conditional: import(".").JSONSchema;
1317
+ } | {
1318
+ type: "DISPLAY_ON_REVIEW";
1319
+ conditional: import(".").JSONSchema;
1320
+ })[] | undefined;
1321
+ searchCriteriaLabelPrefix?: {
1322
+ id: string;
1323
+ description: string;
1324
+ defaultMessage: string;
1325
+ } | undefined;
1326
+ validations?: {
1327
+ message: {
1328
+ id: string;
1329
+ description: string;
1330
+ defaultMessage: string;
1331
+ };
1332
+ validator: import(".").JSONSchema;
1333
+ }[] | undefined;
1334
+ } | {
1335
+ config: {
1336
+ type: "exact" | "fuzzy" | "range" | "within";
1337
+ searchFields?: string[] | undefined;
1338
+ };
1339
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1340
+ fieldType: "event";
1341
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1342
+ options?: {
1343
+ value: string;
1344
+ label: string | {
1345
+ id: string;
1346
+ description: string;
1347
+ defaultMessage: string;
1348
+ };
1349
+ }[] | undefined;
1350
+ label?: {
1351
+ id: string;
1352
+ description: string;
1353
+ defaultMessage: string;
1354
+ } | undefined;
1355
+ conditionals?: ({
1356
+ type: "SHOW";
1357
+ conditional: import(".").JSONSchema;
1358
+ } | {
1359
+ type: "ENABLE";
1360
+ conditional: import(".").JSONSchema;
1361
+ } | {
1362
+ type: "DISPLAY_ON_REVIEW";
1363
+ conditional: import(".").JSONSchema;
1364
+ })[] | undefined;
1365
+ searchCriteriaLabelPrefix?: {
1366
+ id: string;
1367
+ description: string;
1368
+ defaultMessage: string;
1369
+ } | undefined;
1370
+ validations?: {
1371
+ message: {
1372
+ id: string;
1373
+ description: string;
1374
+ defaultMessage: string;
1375
+ };
1376
+ validator: import(".").JSONSchema;
1377
+ }[] | undefined;
1378
+ }>, "many">;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ title: TranslationConfig;
1381
+ fields: ({
1382
+ config: {
1383
+ type: "exact" | "fuzzy" | "range" | "within";
1384
+ searchFields?: string[] | undefined;
1385
+ };
1386
+ fieldId: string;
1387
+ fieldType: "field";
1388
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1389
+ options?: {
1390
+ value: string;
1391
+ label: string | TranslationConfig;
1392
+ }[] | undefined;
1393
+ label?: TranslationConfig | undefined;
1394
+ conditionals?: ({
1395
+ type: "SHOW";
1396
+ conditional: import(".").JSONSchema;
1397
+ } | {
1398
+ type: "ENABLE";
1399
+ conditional: import(".").JSONSchema;
1400
+ } | {
1401
+ type: "DISPLAY_ON_REVIEW";
1402
+ conditional: import(".").JSONSchema;
1403
+ })[] | undefined;
1404
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1405
+ validations?: {
1406
+ message: TranslationConfig;
1407
+ validator: import(".").JSONSchema;
1408
+ }[] | undefined;
1409
+ } | {
1410
+ config: {
1411
+ type: "exact" | "fuzzy" | "range" | "within";
1412
+ searchFields?: string[] | undefined;
1413
+ };
1414
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1415
+ fieldType: "event";
1416
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1417
+ options?: {
1418
+ value: string;
1419
+ label: string | TranslationConfig;
1420
+ }[] | undefined;
1421
+ label?: TranslationConfig | undefined;
1422
+ conditionals?: ({
1423
+ type: "SHOW";
1424
+ conditional: import(".").JSONSchema;
1425
+ } | {
1426
+ type: "ENABLE";
1427
+ conditional: import(".").JSONSchema;
1428
+ } | {
1429
+ type: "DISPLAY_ON_REVIEW";
1430
+ conditional: import(".").JSONSchema;
1431
+ })[] | undefined;
1432
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1433
+ validations?: {
1434
+ message: TranslationConfig;
1435
+ validator: import(".").JSONSchema;
1436
+ }[] | undefined;
1437
+ })[];
1438
+ }, {
1439
+ title: {
1440
+ id: string;
1441
+ description: string;
1442
+ defaultMessage: string;
1443
+ };
1444
+ fields: ({
1445
+ config: {
1446
+ type: "exact" | "fuzzy" | "range" | "within";
1447
+ searchFields?: string[] | undefined;
1448
+ };
1449
+ fieldId: string;
1450
+ fieldType: "field";
1451
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1452
+ options?: {
1453
+ value: string;
1454
+ label: string | {
1455
+ id: string;
1456
+ description: string;
1457
+ defaultMessage: string;
1458
+ };
1459
+ }[] | undefined;
1460
+ label?: {
1461
+ id: string;
1462
+ description: string;
1463
+ defaultMessage: string;
1464
+ } | undefined;
1465
+ conditionals?: ({
1466
+ type: "SHOW";
1467
+ conditional: import(".").JSONSchema;
1468
+ } | {
1469
+ type: "ENABLE";
1470
+ conditional: import(".").JSONSchema;
1471
+ } | {
1472
+ type: "DISPLAY_ON_REVIEW";
1473
+ conditional: import(".").JSONSchema;
1474
+ })[] | undefined;
1475
+ searchCriteriaLabelPrefix?: {
1476
+ id: string;
1477
+ description: string;
1478
+ defaultMessage: string;
1479
+ } | undefined;
1480
+ validations?: {
1481
+ message: {
1482
+ id: string;
1483
+ description: string;
1484
+ defaultMessage: string;
1485
+ };
1486
+ validator: import(".").JSONSchema;
1487
+ }[] | undefined;
1488
+ } | {
1489
+ config: {
1490
+ type: "exact" | "fuzzy" | "range" | "within";
1491
+ searchFields?: string[] | undefined;
1492
+ };
1493
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1494
+ fieldType: "event";
1495
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1496
+ options?: {
1497
+ value: string;
1498
+ label: string | {
1499
+ id: string;
1500
+ description: string;
1501
+ defaultMessage: string;
1502
+ };
1503
+ }[] | undefined;
1504
+ label?: {
1505
+ id: string;
1506
+ description: string;
1507
+ defaultMessage: string;
1508
+ } | undefined;
1509
+ conditionals?: ({
1510
+ type: "SHOW";
1511
+ conditional: import(".").JSONSchema;
1512
+ } | {
1513
+ type: "ENABLE";
1514
+ conditional: import(".").JSONSchema;
1515
+ } | {
1516
+ type: "DISPLAY_ON_REVIEW";
1517
+ conditional: import(".").JSONSchema;
1518
+ })[] | undefined;
1519
+ searchCriteriaLabelPrefix?: {
1520
+ id: string;
1521
+ description: string;
1522
+ defaultMessage: string;
1523
+ } | undefined;
1524
+ validations?: {
1525
+ message: {
1526
+ id: string;
1527
+ description: string;
1528
+ defaultMessage: string;
1529
+ };
1530
+ validator: import(".").JSONSchema;
1531
+ }[] | undefined;
1532
+ })[];
1533
+ }>;
1534
+ export type AdvancedSearchConfig = z.infer<typeof AdvancedSearchConfig>;
1535
+ export type AdvancedSearchConfigWithFieldsResolved = Omit<AdvancedSearchConfig, 'fields'> & {
1536
+ fields: FieldConfig[];
1537
+ };
1538
+ //# sourceMappingURL=AdvancedSearchConfig.d.ts.map