@opencrvs/toolkit 1.8.0-rc.fea3888 → 1.8.0-rc.fec1d5d

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 (42) hide show
  1. package/dist/commons/api/router.d.ts +15788 -4866
  2. package/dist/commons/conditionals/conditionals.d.ts +8 -3
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +72517 -38926
  5. package/dist/commons/events/ActionDocument.d.ts +2095 -484
  6. package/dist/commons/events/ActionInput.d.ts +1515 -243
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +709 -48
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  13. package/dist/commons/events/Draft.d.ts +129 -30
  14. package/dist/commons/events/EventConfig.d.ts +28812 -12195
  15. package/dist/commons/events/EventDocument.d.ts +1269 -357
  16. package/dist/commons/events/EventIndex.d.ts +980 -316
  17. package/dist/commons/events/EventInput.d.ts +0 -13
  18. package/dist/commons/events/EventMetadata.d.ts +290 -44
  19. package/dist/commons/events/FieldConfig.d.ts +2954 -1142
  20. package/dist/commons/events/FieldType.d.ts +6 -3
  21. package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
  22. package/dist/commons/events/FieldValue.d.ts +48 -7
  23. package/dist/commons/events/FormConfig.d.ts +20532 -9126
  24. package/dist/commons/events/PageConfig.d.ts +4906 -2112
  25. package/dist/commons/events/SummaryConfig.d.ts +17 -5
  26. package/dist/commons/events/User.d.ts +31 -7
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  28. package/dist/commons/events/WorkqueueConfig.d.ts +4784 -16
  29. package/dist/commons/events/defineConfig.d.ts +3197 -626
  30. package/dist/commons/events/event.d.ts +37 -8
  31. package/dist/commons/events/field.d.ts +29 -20
  32. package/dist/commons/events/index.d.ts +4 -0
  33. package/dist/commons/events/scopes.d.ts +20 -1
  34. package/dist/commons/events/serializer.d.ts +2 -0
  35. package/dist/commons/events/test.utils.d.ts +147 -41
  36. package/dist/commons/events/utils.d.ts +10707 -318
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +45 -8
  39. package/dist/events/index.js +3408 -1469
  40. package/dist/scopes/index.d.ts +158 -1
  41. package/dist/scopes/index.js +152 -1
  42. package/package.json +1 -1
@@ -1,14 +1,431 @@
1
1
  import { z } from 'zod';
2
2
  import { TranslationConfig } from './TranslationConfig';
3
- export declare const MatchType: z.ZodEnum<["FUZZY", "EXACT", "RANGE", "ANY_OF"]>;
4
- export type MatchType = z.infer<typeof MatchType>;
3
+ export declare const SearchQueryParams: z.ZodObject<{
4
+ eventType: z.ZodOptional<z.ZodString>;
5
+ }, "strip", z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
+ filename: z.ZodString;
7
+ originalFilename: z.ZodString;
8
+ type: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ type: string;
11
+ filename: string;
12
+ originalFilename: string;
13
+ }, {
14
+ type: string;
15
+ filename: string;
16
+ originalFilename: string;
17
+ }>, z.ZodArray<z.ZodObject<{
18
+ filename: z.ZodString;
19
+ originalFilename: z.ZodString;
20
+ type: z.ZodString;
21
+ option: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ type: string;
24
+ option: string;
25
+ filename: string;
26
+ originalFilename: string;
27
+ }, {
28
+ type: string;
29
+ option: string;
30
+ filename: string;
31
+ originalFilename: string;
32
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
33
+ country: z.ZodString;
34
+ addressType: z.ZodLiteral<"DOMESTIC">;
35
+ province: z.ZodString;
36
+ district: z.ZodString;
37
+ }, {
38
+ urbanOrRural: z.ZodLiteral<"URBAN">;
39
+ town: z.ZodOptional<z.ZodString>;
40
+ residentialArea: z.ZodOptional<z.ZodString>;
41
+ street: z.ZodOptional<z.ZodString>;
42
+ number: z.ZodOptional<z.ZodString>;
43
+ zipCode: z.ZodOptional<z.ZodString>;
44
+ }>, "strip", z.ZodTypeAny, {
45
+ country: string;
46
+ district: string;
47
+ addressType: "DOMESTIC";
48
+ province: string;
49
+ urbanOrRural: "URBAN";
50
+ number?: string | undefined;
51
+ town?: string | undefined;
52
+ residentialArea?: string | undefined;
53
+ street?: string | undefined;
54
+ zipCode?: string | undefined;
55
+ }, {
56
+ country: string;
57
+ district: string;
58
+ addressType: "DOMESTIC";
59
+ province: string;
60
+ urbanOrRural: "URBAN";
61
+ number?: string | undefined;
62
+ town?: string | undefined;
63
+ residentialArea?: string | undefined;
64
+ street?: string | undefined;
65
+ zipCode?: string | undefined;
66
+ }>, z.ZodObject<z.objectUtil.extendShape<{
67
+ country: z.ZodString;
68
+ addressType: z.ZodLiteral<"DOMESTIC">;
69
+ province: z.ZodString;
70
+ district: z.ZodString;
71
+ }, {
72
+ urbanOrRural: z.ZodLiteral<"RURAL">;
73
+ village: z.ZodOptional<z.ZodString>;
74
+ }>, "strip", z.ZodTypeAny, {
75
+ country: string;
76
+ district: string;
77
+ addressType: "DOMESTIC";
78
+ province: string;
79
+ urbanOrRural: "RURAL";
80
+ village?: string | undefined;
81
+ }, {
82
+ country: string;
83
+ district: string;
84
+ addressType: "DOMESTIC";
85
+ province: string;
86
+ urbanOrRural: "RURAL";
87
+ village?: string | undefined;
88
+ }>, z.ZodUndefined, z.ZodObject<{
89
+ country: z.ZodString;
90
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
91
+ state: z.ZodString;
92
+ district2: z.ZodString;
93
+ cityOrTown: z.ZodOptional<z.ZodString>;
94
+ addressLine1: z.ZodOptional<z.ZodString>;
95
+ addressLine2: z.ZodOptional<z.ZodString>;
96
+ addressLine3: z.ZodOptional<z.ZodString>;
97
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ country: string;
100
+ state: string;
101
+ addressType: "INTERNATIONAL";
102
+ district2: string;
103
+ cityOrTown?: string | undefined;
104
+ addressLine1?: string | undefined;
105
+ addressLine2?: string | undefined;
106
+ addressLine3?: string | undefined;
107
+ postcodeOrZip?: string | undefined;
108
+ }, {
109
+ country: string;
110
+ state: string;
111
+ addressType: "INTERNATIONAL";
112
+ district2: string;
113
+ cityOrTown?: string | undefined;
114
+ addressLine1?: string | undefined;
115
+ addressLine2?: string | undefined;
116
+ addressLine3?: string | undefined;
117
+ postcodeOrZip?: string | undefined;
118
+ }>, z.ZodObject<{
119
+ firstname: z.ZodString;
120
+ surname: z.ZodString;
121
+ middlename: z.ZodOptional<z.ZodString>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ firstname: string;
124
+ surname: string;
125
+ middlename?: string | undefined;
126
+ }, {
127
+ firstname: string;
128
+ surname: string;
129
+ middlename?: string | undefined;
130
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
131
+ firstname: z.ZodString;
132
+ surname: z.ZodString;
133
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ firstname: string;
136
+ surname: string;
137
+ middlename?: string | null | undefined;
138
+ }, {
139
+ firstname: string;
140
+ surname: string;
141
+ middlename?: string | null | undefined;
142
+ }>, z.ZodNull]>, z.ZodUndefined]>]>, z.objectOutputType<{
143
+ eventType: z.ZodOptional<z.ZodString>;
144
+ }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
145
+ filename: z.ZodString;
146
+ originalFilename: z.ZodString;
147
+ type: z.ZodString;
148
+ }, "strip", z.ZodTypeAny, {
149
+ type: string;
150
+ filename: string;
151
+ originalFilename: string;
152
+ }, {
153
+ type: string;
154
+ filename: string;
155
+ originalFilename: string;
156
+ }>, z.ZodArray<z.ZodObject<{
157
+ filename: z.ZodString;
158
+ originalFilename: z.ZodString;
159
+ type: z.ZodString;
160
+ option: z.ZodString;
161
+ }, "strip", z.ZodTypeAny, {
162
+ type: string;
163
+ option: string;
164
+ filename: string;
165
+ originalFilename: string;
166
+ }, {
167
+ type: string;
168
+ option: string;
169
+ filename: string;
170
+ originalFilename: string;
171
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
172
+ country: z.ZodString;
173
+ addressType: z.ZodLiteral<"DOMESTIC">;
174
+ province: z.ZodString;
175
+ district: z.ZodString;
176
+ }, {
177
+ urbanOrRural: z.ZodLiteral<"URBAN">;
178
+ town: z.ZodOptional<z.ZodString>;
179
+ residentialArea: z.ZodOptional<z.ZodString>;
180
+ street: z.ZodOptional<z.ZodString>;
181
+ number: z.ZodOptional<z.ZodString>;
182
+ zipCode: z.ZodOptional<z.ZodString>;
183
+ }>, "strip", z.ZodTypeAny, {
184
+ country: string;
185
+ district: string;
186
+ addressType: "DOMESTIC";
187
+ province: string;
188
+ urbanOrRural: "URBAN";
189
+ number?: string | undefined;
190
+ town?: string | undefined;
191
+ residentialArea?: string | undefined;
192
+ street?: string | undefined;
193
+ zipCode?: string | undefined;
194
+ }, {
195
+ country: string;
196
+ district: string;
197
+ addressType: "DOMESTIC";
198
+ province: string;
199
+ urbanOrRural: "URBAN";
200
+ number?: string | undefined;
201
+ town?: string | undefined;
202
+ residentialArea?: string | undefined;
203
+ street?: string | undefined;
204
+ zipCode?: string | undefined;
205
+ }>, z.ZodObject<z.objectUtil.extendShape<{
206
+ country: z.ZodString;
207
+ addressType: z.ZodLiteral<"DOMESTIC">;
208
+ province: z.ZodString;
209
+ district: z.ZodString;
210
+ }, {
211
+ urbanOrRural: z.ZodLiteral<"RURAL">;
212
+ village: z.ZodOptional<z.ZodString>;
213
+ }>, "strip", z.ZodTypeAny, {
214
+ country: string;
215
+ district: string;
216
+ addressType: "DOMESTIC";
217
+ province: string;
218
+ urbanOrRural: "RURAL";
219
+ village?: string | undefined;
220
+ }, {
221
+ country: string;
222
+ district: string;
223
+ addressType: "DOMESTIC";
224
+ province: string;
225
+ urbanOrRural: "RURAL";
226
+ village?: string | undefined;
227
+ }>, z.ZodUndefined, z.ZodObject<{
228
+ country: z.ZodString;
229
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
230
+ state: z.ZodString;
231
+ district2: z.ZodString;
232
+ cityOrTown: z.ZodOptional<z.ZodString>;
233
+ addressLine1: z.ZodOptional<z.ZodString>;
234
+ addressLine2: z.ZodOptional<z.ZodString>;
235
+ addressLine3: z.ZodOptional<z.ZodString>;
236
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ country: string;
239
+ state: string;
240
+ addressType: "INTERNATIONAL";
241
+ district2: string;
242
+ cityOrTown?: string | undefined;
243
+ addressLine1?: string | undefined;
244
+ addressLine2?: string | undefined;
245
+ addressLine3?: string | undefined;
246
+ postcodeOrZip?: string | undefined;
247
+ }, {
248
+ country: string;
249
+ state: string;
250
+ addressType: "INTERNATIONAL";
251
+ district2: string;
252
+ cityOrTown?: string | undefined;
253
+ addressLine1?: string | undefined;
254
+ addressLine2?: string | undefined;
255
+ addressLine3?: string | undefined;
256
+ postcodeOrZip?: string | undefined;
257
+ }>, z.ZodObject<{
258
+ firstname: z.ZodString;
259
+ surname: z.ZodString;
260
+ middlename: z.ZodOptional<z.ZodString>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ firstname: string;
263
+ surname: string;
264
+ middlename?: string | undefined;
265
+ }, {
266
+ firstname: string;
267
+ surname: string;
268
+ middlename?: string | undefined;
269
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
270
+ firstname: z.ZodString;
271
+ surname: z.ZodString;
272
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ firstname: string;
275
+ surname: string;
276
+ middlename?: string | null | undefined;
277
+ }, {
278
+ firstname: string;
279
+ surname: string;
280
+ middlename?: string | null | undefined;
281
+ }>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">, z.objectInputType<{
282
+ eventType: z.ZodOptional<z.ZodString>;
283
+ }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
284
+ filename: z.ZodString;
285
+ originalFilename: z.ZodString;
286
+ type: z.ZodString;
287
+ }, "strip", z.ZodTypeAny, {
288
+ type: string;
289
+ filename: string;
290
+ originalFilename: string;
291
+ }, {
292
+ type: string;
293
+ filename: string;
294
+ originalFilename: string;
295
+ }>, z.ZodArray<z.ZodObject<{
296
+ filename: z.ZodString;
297
+ originalFilename: z.ZodString;
298
+ type: z.ZodString;
299
+ option: z.ZodString;
300
+ }, "strip", z.ZodTypeAny, {
301
+ type: string;
302
+ option: string;
303
+ filename: string;
304
+ originalFilename: string;
305
+ }, {
306
+ type: string;
307
+ option: string;
308
+ filename: string;
309
+ originalFilename: string;
310
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
311
+ country: z.ZodString;
312
+ addressType: z.ZodLiteral<"DOMESTIC">;
313
+ province: z.ZodString;
314
+ district: z.ZodString;
315
+ }, {
316
+ urbanOrRural: z.ZodLiteral<"URBAN">;
317
+ town: z.ZodOptional<z.ZodString>;
318
+ residentialArea: z.ZodOptional<z.ZodString>;
319
+ street: z.ZodOptional<z.ZodString>;
320
+ number: z.ZodOptional<z.ZodString>;
321
+ zipCode: z.ZodOptional<z.ZodString>;
322
+ }>, "strip", z.ZodTypeAny, {
323
+ country: string;
324
+ district: string;
325
+ addressType: "DOMESTIC";
326
+ province: string;
327
+ urbanOrRural: "URBAN";
328
+ number?: string | undefined;
329
+ town?: string | undefined;
330
+ residentialArea?: string | undefined;
331
+ street?: string | undefined;
332
+ zipCode?: string | undefined;
333
+ }, {
334
+ country: string;
335
+ district: string;
336
+ addressType: "DOMESTIC";
337
+ province: string;
338
+ urbanOrRural: "URBAN";
339
+ number?: string | undefined;
340
+ town?: string | undefined;
341
+ residentialArea?: string | undefined;
342
+ street?: string | undefined;
343
+ zipCode?: string | undefined;
344
+ }>, z.ZodObject<z.objectUtil.extendShape<{
345
+ country: z.ZodString;
346
+ addressType: z.ZodLiteral<"DOMESTIC">;
347
+ province: z.ZodString;
348
+ district: z.ZodString;
349
+ }, {
350
+ urbanOrRural: z.ZodLiteral<"RURAL">;
351
+ village: z.ZodOptional<z.ZodString>;
352
+ }>, "strip", z.ZodTypeAny, {
353
+ country: string;
354
+ district: string;
355
+ addressType: "DOMESTIC";
356
+ province: string;
357
+ urbanOrRural: "RURAL";
358
+ village?: string | undefined;
359
+ }, {
360
+ country: string;
361
+ district: string;
362
+ addressType: "DOMESTIC";
363
+ province: string;
364
+ urbanOrRural: "RURAL";
365
+ village?: string | undefined;
366
+ }>, z.ZodUndefined, z.ZodObject<{
367
+ country: z.ZodString;
368
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
369
+ state: z.ZodString;
370
+ district2: z.ZodString;
371
+ cityOrTown: z.ZodOptional<z.ZodString>;
372
+ addressLine1: z.ZodOptional<z.ZodString>;
373
+ addressLine2: z.ZodOptional<z.ZodString>;
374
+ addressLine3: z.ZodOptional<z.ZodString>;
375
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ country: string;
378
+ state: string;
379
+ addressType: "INTERNATIONAL";
380
+ district2: string;
381
+ cityOrTown?: string | undefined;
382
+ addressLine1?: string | undefined;
383
+ addressLine2?: string | undefined;
384
+ addressLine3?: string | undefined;
385
+ postcodeOrZip?: string | undefined;
386
+ }, {
387
+ country: string;
388
+ state: string;
389
+ addressType: "INTERNATIONAL";
390
+ district2: string;
391
+ cityOrTown?: string | undefined;
392
+ addressLine1?: string | undefined;
393
+ addressLine2?: string | undefined;
394
+ addressLine3?: string | undefined;
395
+ postcodeOrZip?: string | undefined;
396
+ }>, z.ZodObject<{
397
+ firstname: z.ZodString;
398
+ surname: z.ZodString;
399
+ middlename: z.ZodOptional<z.ZodString>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ firstname: string;
402
+ surname: string;
403
+ middlename?: string | undefined;
404
+ }, {
405
+ firstname: string;
406
+ surname: string;
407
+ middlename?: string | undefined;
408
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
409
+ firstname: z.ZodString;
410
+ surname: z.ZodString;
411
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ }, "strip", z.ZodTypeAny, {
413
+ firstname: string;
414
+ surname: string;
415
+ middlename?: string | null | undefined;
416
+ }, {
417
+ firstname: string;
418
+ surname: string;
419
+ middlename?: string | null | undefined;
420
+ }>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">>;
421
+ export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
5
422
  export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
6
423
  config: z.ZodObject<{
7
- type: z.ZodEnum<["FUZZY", "EXACT", "RANGE", "ANY_OF"]>;
424
+ type: z.ZodEnum<["fuzzy", "exact", "range"]>;
8
425
  }, "strip", z.ZodTypeAny, {
9
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
426
+ type: "exact" | "fuzzy" | "range";
10
427
  }, {
11
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
428
+ type: "exact" | "fuzzy" | "range";
12
429
  }>;
13
430
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
431
  value: z.ZodString;
@@ -28,12 +445,18 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
28
445
  defaultMessage: string;
29
446
  };
30
447
  }>, "many">>;
448
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
449
+ id: string;
450
+ description: string;
451
+ defaultMessage: string;
452
+ }>>;
453
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
31
454
  }, {
32
455
  fieldId: z.ZodString;
33
456
  fieldType: z.ZodLiteral<"field">;
34
457
  }>, "strip", z.ZodTypeAny, {
35
458
  config: {
36
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
459
+ type: "exact" | "fuzzy" | "range";
37
460
  };
38
461
  fieldId: string;
39
462
  fieldType: "field";
@@ -41,9 +464,20 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
41
464
  value: string;
42
465
  label: TranslationConfig;
43
466
  }[] | undefined;
467
+ conditionals?: ({
468
+ type: "SHOW";
469
+ conditional: import(".").JSONSchema;
470
+ } | {
471
+ type: "ENABLE";
472
+ conditional: import(".").JSONSchema;
473
+ } | {
474
+ type: "DISPLAY_ON_REVIEW";
475
+ conditional: import(".").JSONSchema;
476
+ })[] | undefined;
477
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
44
478
  }, {
45
479
  config: {
46
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
480
+ type: "exact" | "fuzzy" | "range";
47
481
  };
48
482
  fieldId: string;
49
483
  fieldType: "field";
@@ -55,16 +489,31 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
55
489
  defaultMessage: string;
56
490
  };
57
491
  }[] | undefined;
492
+ conditionals?: ({
493
+ type: "SHOW";
494
+ conditional: import(".").JSONSchema;
495
+ } | {
496
+ type: "ENABLE";
497
+ conditional: import(".").JSONSchema;
498
+ } | {
499
+ type: "DISPLAY_ON_REVIEW";
500
+ conditional: import(".").JSONSchema;
501
+ })[] | undefined;
502
+ searchCriteriaLabelPrefix?: {
503
+ id: string;
504
+ description: string;
505
+ defaultMessage: string;
506
+ } | undefined;
58
507
  }>;
59
- export declare const EventFieldId: z.ZodEnum<["trackingId", "status"]>;
508
+ export declare const EventFieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
60
509
  export type EventFieldId = z.infer<typeof EventFieldId>;
61
510
  export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
62
511
  config: z.ZodObject<{
63
- type: z.ZodEnum<["FUZZY", "EXACT", "RANGE", "ANY_OF"]>;
512
+ type: z.ZodEnum<["fuzzy", "exact", "range"]>;
64
513
  }, "strip", z.ZodTypeAny, {
65
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
514
+ type: "exact" | "fuzzy" | "range";
66
515
  }, {
67
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
516
+ type: "exact" | "fuzzy" | "range";
68
517
  }>;
69
518
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
70
519
  value: z.ZodString;
@@ -84,24 +533,41 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
84
533
  defaultMessage: string;
85
534
  };
86
535
  }>, "many">>;
536
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
537
+ id: string;
538
+ description: string;
539
+ defaultMessage: string;
540
+ }>>;
541
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
87
542
  }, {
88
- fieldId: z.ZodEnum<["trackingId", "status"]>;
543
+ fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
89
544
  fieldType: z.ZodLiteral<"event">;
90
545
  }>, "strip", z.ZodTypeAny, {
91
546
  config: {
92
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
547
+ type: "exact" | "fuzzy" | "range";
93
548
  };
94
- fieldId: "status" | "trackingId";
549
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
95
550
  fieldType: "event";
96
551
  options?: {
97
552
  value: string;
98
553
  label: TranslationConfig;
99
554
  }[] | undefined;
555
+ conditionals?: ({
556
+ type: "SHOW";
557
+ conditional: import(".").JSONSchema;
558
+ } | {
559
+ type: "ENABLE";
560
+ conditional: import(".").JSONSchema;
561
+ } | {
562
+ type: "DISPLAY_ON_REVIEW";
563
+ conditional: import(".").JSONSchema;
564
+ })[] | undefined;
565
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
100
566
  }, {
101
567
  config: {
102
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
568
+ type: "exact" | "fuzzy" | "range";
103
569
  };
104
- fieldId: "status" | "trackingId";
570
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
105
571
  fieldType: "event";
106
572
  options?: {
107
573
  value: string;
@@ -111,14 +577,29 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
111
577
  defaultMessage: string;
112
578
  };
113
579
  }[] | undefined;
580
+ conditionals?: ({
581
+ type: "SHOW";
582
+ conditional: import(".").JSONSchema;
583
+ } | {
584
+ type: "ENABLE";
585
+ conditional: import(".").JSONSchema;
586
+ } | {
587
+ type: "DISPLAY_ON_REVIEW";
588
+ conditional: import(".").JSONSchema;
589
+ })[] | undefined;
590
+ searchCriteriaLabelPrefix?: {
591
+ id: string;
592
+ description: string;
593
+ defaultMessage: string;
594
+ } | undefined;
114
595
  }>;
115
596
  export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
116
597
  config: z.ZodObject<{
117
- type: z.ZodEnum<["FUZZY", "EXACT", "RANGE", "ANY_OF"]>;
598
+ type: z.ZodEnum<["fuzzy", "exact", "range"]>;
118
599
  }, "strip", z.ZodTypeAny, {
119
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
600
+ type: "exact" | "fuzzy" | "range";
120
601
  }, {
121
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
602
+ type: "exact" | "fuzzy" | "range";
122
603
  }>;
123
604
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
124
605
  value: z.ZodString;
@@ -138,12 +619,18 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
138
619
  defaultMessage: string;
139
620
  };
140
621
  }>, "many">>;
622
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
623
+ id: string;
624
+ description: string;
625
+ defaultMessage: string;
626
+ }>>;
627
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
141
628
  }, {
142
629
  fieldId: z.ZodString;
143
630
  fieldType: z.ZodLiteral<"field">;
144
631
  }>, "strip", z.ZodTypeAny, {
145
632
  config: {
146
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
633
+ type: "exact" | "fuzzy" | "range";
147
634
  };
148
635
  fieldId: string;
149
636
  fieldType: "field";
@@ -151,9 +638,20 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
151
638
  value: string;
152
639
  label: TranslationConfig;
153
640
  }[] | undefined;
641
+ conditionals?: ({
642
+ type: "SHOW";
643
+ conditional: import(".").JSONSchema;
644
+ } | {
645
+ type: "ENABLE";
646
+ conditional: import(".").JSONSchema;
647
+ } | {
648
+ type: "DISPLAY_ON_REVIEW";
649
+ conditional: import(".").JSONSchema;
650
+ })[] | undefined;
651
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
154
652
  }, {
155
653
  config: {
156
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
654
+ type: "exact" | "fuzzy" | "range";
157
655
  };
158
656
  fieldId: string;
159
657
  fieldType: "field";
@@ -165,13 +663,28 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
165
663
  defaultMessage: string;
166
664
  };
167
665
  }[] | undefined;
666
+ conditionals?: ({
667
+ type: "SHOW";
668
+ conditional: import(".").JSONSchema;
669
+ } | {
670
+ type: "ENABLE";
671
+ conditional: import(".").JSONSchema;
672
+ } | {
673
+ type: "DISPLAY_ON_REVIEW";
674
+ conditional: import(".").JSONSchema;
675
+ })[] | undefined;
676
+ searchCriteriaLabelPrefix?: {
677
+ id: string;
678
+ description: string;
679
+ defaultMessage: string;
680
+ } | undefined;
168
681
  }>, z.ZodObject<z.objectUtil.extendShape<{
169
682
  config: z.ZodObject<{
170
- type: z.ZodEnum<["FUZZY", "EXACT", "RANGE", "ANY_OF"]>;
683
+ type: z.ZodEnum<["fuzzy", "exact", "range"]>;
171
684
  }, "strip", z.ZodTypeAny, {
172
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
685
+ type: "exact" | "fuzzy" | "range";
173
686
  }, {
174
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
687
+ type: "exact" | "fuzzy" | "range";
175
688
  }>;
176
689
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
690
  value: z.ZodString;
@@ -191,24 +704,41 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
191
704
  defaultMessage: string;
192
705
  };
193
706
  }>, "many">>;
707
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
708
+ id: string;
709
+ description: string;
710
+ defaultMessage: string;
711
+ }>>;
712
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
194
713
  }, {
195
- fieldId: z.ZodEnum<["trackingId", "status"]>;
714
+ fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
196
715
  fieldType: z.ZodLiteral<"event">;
197
716
  }>, "strip", z.ZodTypeAny, {
198
717
  config: {
199
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
718
+ type: "exact" | "fuzzy" | "range";
200
719
  };
201
- fieldId: "status" | "trackingId";
720
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
202
721
  fieldType: "event";
203
722
  options?: {
204
723
  value: string;
205
724
  label: TranslationConfig;
206
725
  }[] | undefined;
726
+ conditionals?: ({
727
+ type: "SHOW";
728
+ conditional: import(".").JSONSchema;
729
+ } | {
730
+ type: "ENABLE";
731
+ conditional: import(".").JSONSchema;
732
+ } | {
733
+ type: "DISPLAY_ON_REVIEW";
734
+ conditional: import(".").JSONSchema;
735
+ })[] | undefined;
736
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
207
737
  }, {
208
738
  config: {
209
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
739
+ type: "exact" | "fuzzy" | "range";
210
740
  };
211
- fieldId: "status" | "trackingId";
741
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
212
742
  fieldType: "event";
213
743
  options?: {
214
744
  value: string;
@@ -218,6 +748,21 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
218
748
  defaultMessage: string;
219
749
  };
220
750
  }[] | undefined;
751
+ conditionals?: ({
752
+ type: "SHOW";
753
+ conditional: import(".").JSONSchema;
754
+ } | {
755
+ type: "ENABLE";
756
+ conditional: import(".").JSONSchema;
757
+ } | {
758
+ type: "DISPLAY_ON_REVIEW";
759
+ conditional: import(".").JSONSchema;
760
+ })[] | undefined;
761
+ searchCriteriaLabelPrefix?: {
762
+ id: string;
763
+ description: string;
764
+ defaultMessage: string;
765
+ } | undefined;
221
766
  }>]>;
222
767
  export type SearchField = z.infer<typeof SearchField>;
223
768
  export declare const AdvancedSearchConfig: z.ZodObject<{
@@ -228,11 +773,11 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
228
773
  }>;
229
774
  fields: z.ZodArray<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
230
775
  config: z.ZodObject<{
231
- type: z.ZodEnum<["FUZZY", "EXACT", "RANGE", "ANY_OF"]>;
776
+ type: z.ZodEnum<["fuzzy", "exact", "range"]>;
232
777
  }, "strip", z.ZodTypeAny, {
233
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
778
+ type: "exact" | "fuzzy" | "range";
234
779
  }, {
235
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
780
+ type: "exact" | "fuzzy" | "range";
236
781
  }>;
237
782
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
238
783
  value: z.ZodString;
@@ -252,12 +797,18 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
252
797
  defaultMessage: string;
253
798
  };
254
799
  }>, "many">>;
800
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
801
+ id: string;
802
+ description: string;
803
+ defaultMessage: string;
804
+ }>>;
805
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
255
806
  }, {
256
807
  fieldId: z.ZodString;
257
808
  fieldType: z.ZodLiteral<"field">;
258
809
  }>, "strip", z.ZodTypeAny, {
259
810
  config: {
260
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
811
+ type: "exact" | "fuzzy" | "range";
261
812
  };
262
813
  fieldId: string;
263
814
  fieldType: "field";
@@ -265,9 +816,20 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
265
816
  value: string;
266
817
  label: TranslationConfig;
267
818
  }[] | undefined;
819
+ conditionals?: ({
820
+ type: "SHOW";
821
+ conditional: import(".").JSONSchema;
822
+ } | {
823
+ type: "ENABLE";
824
+ conditional: import(".").JSONSchema;
825
+ } | {
826
+ type: "DISPLAY_ON_REVIEW";
827
+ conditional: import(".").JSONSchema;
828
+ })[] | undefined;
829
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
268
830
  }, {
269
831
  config: {
270
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
832
+ type: "exact" | "fuzzy" | "range";
271
833
  };
272
834
  fieldId: string;
273
835
  fieldType: "field";
@@ -279,13 +841,28 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
279
841
  defaultMessage: string;
280
842
  };
281
843
  }[] | undefined;
844
+ conditionals?: ({
845
+ type: "SHOW";
846
+ conditional: import(".").JSONSchema;
847
+ } | {
848
+ type: "ENABLE";
849
+ conditional: import(".").JSONSchema;
850
+ } | {
851
+ type: "DISPLAY_ON_REVIEW";
852
+ conditional: import(".").JSONSchema;
853
+ })[] | undefined;
854
+ searchCriteriaLabelPrefix?: {
855
+ id: string;
856
+ description: string;
857
+ defaultMessage: string;
858
+ } | undefined;
282
859
  }>, z.ZodObject<z.objectUtil.extendShape<{
283
860
  config: z.ZodObject<{
284
- type: z.ZodEnum<["FUZZY", "EXACT", "RANGE", "ANY_OF"]>;
861
+ type: z.ZodEnum<["fuzzy", "exact", "range"]>;
285
862
  }, "strip", z.ZodTypeAny, {
286
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
863
+ type: "exact" | "fuzzy" | "range";
287
864
  }, {
288
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
865
+ type: "exact" | "fuzzy" | "range";
289
866
  }>;
290
867
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
291
868
  value: z.ZodString;
@@ -305,24 +882,41 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
305
882
  defaultMessage: string;
306
883
  };
307
884
  }>, "many">>;
885
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
886
+ id: string;
887
+ description: string;
888
+ defaultMessage: string;
889
+ }>>;
890
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
308
891
  }, {
309
- fieldId: z.ZodEnum<["trackingId", "status"]>;
892
+ fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
310
893
  fieldType: z.ZodLiteral<"event">;
311
894
  }>, "strip", z.ZodTypeAny, {
312
895
  config: {
313
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
896
+ type: "exact" | "fuzzy" | "range";
314
897
  };
315
- fieldId: "status" | "trackingId";
898
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
316
899
  fieldType: "event";
317
900
  options?: {
318
901
  value: string;
319
902
  label: TranslationConfig;
320
903
  }[] | undefined;
904
+ conditionals?: ({
905
+ type: "SHOW";
906
+ conditional: import(".").JSONSchema;
907
+ } | {
908
+ type: "ENABLE";
909
+ conditional: import(".").JSONSchema;
910
+ } | {
911
+ type: "DISPLAY_ON_REVIEW";
912
+ conditional: import(".").JSONSchema;
913
+ })[] | undefined;
914
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
321
915
  }, {
322
916
  config: {
323
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
917
+ type: "exact" | "fuzzy" | "range";
324
918
  };
325
- fieldId: "status" | "trackingId";
919
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
326
920
  fieldType: "event";
327
921
  options?: {
328
922
  value: string;
@@ -332,12 +926,27 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
332
926
  defaultMessage: string;
333
927
  };
334
928
  }[] | undefined;
929
+ conditionals?: ({
930
+ type: "SHOW";
931
+ conditional: import(".").JSONSchema;
932
+ } | {
933
+ type: "ENABLE";
934
+ conditional: import(".").JSONSchema;
935
+ } | {
936
+ type: "DISPLAY_ON_REVIEW";
937
+ conditional: import(".").JSONSchema;
938
+ })[] | undefined;
939
+ searchCriteriaLabelPrefix?: {
940
+ id: string;
941
+ description: string;
942
+ defaultMessage: string;
943
+ } | undefined;
335
944
  }>]>, "many">;
336
945
  }, "strip", z.ZodTypeAny, {
337
946
  title: TranslationConfig;
338
947
  fields: ({
339
948
  config: {
340
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
949
+ type: "exact" | "fuzzy" | "range";
341
950
  };
342
951
  fieldId: string;
343
952
  fieldType: "field";
@@ -345,16 +954,38 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
345
954
  value: string;
346
955
  label: TranslationConfig;
347
956
  }[] | undefined;
957
+ conditionals?: ({
958
+ type: "SHOW";
959
+ conditional: import(".").JSONSchema;
960
+ } | {
961
+ type: "ENABLE";
962
+ conditional: import(".").JSONSchema;
963
+ } | {
964
+ type: "DISPLAY_ON_REVIEW";
965
+ conditional: import(".").JSONSchema;
966
+ })[] | undefined;
967
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
348
968
  } | {
349
969
  config: {
350
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
970
+ type: "exact" | "fuzzy" | "range";
351
971
  };
352
- fieldId: "status" | "trackingId";
972
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
353
973
  fieldType: "event";
354
974
  options?: {
355
975
  value: string;
356
976
  label: TranslationConfig;
357
977
  }[] | undefined;
978
+ conditionals?: ({
979
+ type: "SHOW";
980
+ conditional: import(".").JSONSchema;
981
+ } | {
982
+ type: "ENABLE";
983
+ conditional: import(".").JSONSchema;
984
+ } | {
985
+ type: "DISPLAY_ON_REVIEW";
986
+ conditional: import(".").JSONSchema;
987
+ })[] | undefined;
988
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
358
989
  })[];
359
990
  }, {
360
991
  title: {
@@ -364,7 +995,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
364
995
  };
365
996
  fields: ({
366
997
  config: {
367
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
998
+ type: "exact" | "fuzzy" | "range";
368
999
  };
369
1000
  fieldId: string;
370
1001
  fieldType: "field";
@@ -376,11 +1007,26 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
376
1007
  defaultMessage: string;
377
1008
  };
378
1009
  }[] | undefined;
1010
+ conditionals?: ({
1011
+ type: "SHOW";
1012
+ conditional: import(".").JSONSchema;
1013
+ } | {
1014
+ type: "ENABLE";
1015
+ conditional: import(".").JSONSchema;
1016
+ } | {
1017
+ type: "DISPLAY_ON_REVIEW";
1018
+ conditional: import(".").JSONSchema;
1019
+ })[] | undefined;
1020
+ searchCriteriaLabelPrefix?: {
1021
+ id: string;
1022
+ description: string;
1023
+ defaultMessage: string;
1024
+ } | undefined;
379
1025
  } | {
380
1026
  config: {
381
- type: "FUZZY" | "EXACT" | "RANGE" | "ANY_OF";
1027
+ type: "exact" | "fuzzy" | "range";
382
1028
  };
383
- fieldId: "status" | "trackingId";
1029
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
384
1030
  fieldType: "event";
385
1031
  options?: {
386
1032
  value: string;
@@ -390,6 +1036,21 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
390
1036
  defaultMessage: string;
391
1037
  };
392
1038
  }[] | undefined;
1039
+ conditionals?: ({
1040
+ type: "SHOW";
1041
+ conditional: import(".").JSONSchema;
1042
+ } | {
1043
+ type: "ENABLE";
1044
+ conditional: import(".").JSONSchema;
1045
+ } | {
1046
+ type: "DISPLAY_ON_REVIEW";
1047
+ conditional: import(".").JSONSchema;
1048
+ })[] | undefined;
1049
+ searchCriteriaLabelPrefix?: {
1050
+ id: string;
1051
+ description: string;
1052
+ defaultMessage: string;
1053
+ } | undefined;
393
1054
  })[];
394
1055
  }>;
395
1056
  export type AdvancedSearchConfigInput = z.infer<typeof AdvancedSearchConfig>;