@opencrvs/toolkit 1.9.3-rc.da977ad → 1.9.3-rc.e47111c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/commons/api/router.d.ts +2428 -28200
  2. package/dist/commons/conditionals/conditionals.d.ts +1 -10
  3. package/dist/commons/conditionals/validate.d.ts +4 -11
  4. package/dist/commons/events/ActionConfig.d.ts +1547 -23121
  5. package/dist/commons/events/ActionDocument.d.ts +1849 -840
  6. package/dist/commons/events/ActionInput.d.ts +1066 -290
  7. package/dist/commons/events/ActionType.d.ts +8 -91
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +1244 -222
  9. package/dist/commons/events/CompositeFieldValue.d.ts +198 -25
  10. package/dist/commons/events/Conditional.d.ts +38 -26
  11. package/dist/commons/events/Constants.d.ts +1 -1
  12. package/dist/commons/events/CountryConfigQueryInput.d.ts +4169 -931
  13. package/dist/commons/events/CreatedAtLocation.d.ts +1 -1
  14. package/dist/commons/events/DeduplicationConfig.d.ts +150 -15
  15. package/dist/commons/events/Draft.d.ts +105 -72
  16. package/dist/commons/events/DynamicFieldValue.d.ts +91 -7
  17. package/dist/commons/events/EventConfig.d.ts +2122 -18321
  18. package/dist/commons/events/EventConfigInput.d.ts +1 -1
  19. package/dist/commons/events/EventDocument.d.ts +1326 -336
  20. package/dist/commons/events/EventIndex.d.ts +967 -197
  21. package/dist/commons/events/EventInput.d.ts +8 -2
  22. package/dist/commons/events/EventMetadata.d.ts +346 -106
  23. package/dist/commons/events/FieldConfig.d.ts +12051 -4164
  24. package/dist/commons/events/FieldType.d.ts +5 -9
  25. package/dist/commons/events/FieldTypeMapping.d.ts +896 -172
  26. package/dist/commons/events/FieldValue.d.ts +405 -84
  27. package/dist/commons/events/FormConfig.d.ts +721 -12876
  28. package/dist/commons/events/PageConfig.d.ts +319 -8604
  29. package/dist/commons/events/SummaryConfig.d.ts +161 -14
  30. package/dist/commons/events/TemplateConfig.d.ts +3 -3
  31. package/dist/commons/events/TranslationConfig.d.ts +2 -2
  32. package/dist/commons/events/WorkqueueColumnConfig.d.ts +37 -74
  33. package/dist/commons/events/WorkqueueConfig.d.ts +7080 -1619
  34. package/dist/commons/events/deduplication.d.ts +3 -3
  35. package/dist/commons/events/defineConfig.d.ts +163 -25171
  36. package/dist/commons/events/event.d.ts +4 -4
  37. package/dist/commons/events/index.d.ts +0 -1
  38. package/dist/commons/events/locations.d.ts +19 -15
  39. package/dist/commons/events/scopes.d.ts +1 -3
  40. package/dist/commons/events/state/availableActions.d.ts +1 -2
  41. package/dist/commons/events/state/flags.d.ts +3 -21
  42. package/dist/commons/events/state/index.d.ts +19 -23
  43. package/dist/commons/events/state/utils.d.ts +110 -142
  44. package/dist/commons/events/test.utils.d.ts +6 -23
  45. package/dist/commons/events/transactions.d.ts +1 -1
  46. package/dist/commons/events/utils.d.ts +385 -50384
  47. package/dist/commons/notification/UserNotifications.d.ts +636 -55
  48. package/dist/conditionals/index.d.ts.map +1 -1
  49. package/dist/conditionals/index.js +5 -38
  50. package/dist/events/deduplication.d.ts +3 -3
  51. package/dist/events/index.js +1748 -1811
  52. package/dist/notification/index.d.ts.map +1 -1
  53. package/dist/notification/index.js +1662 -1496
  54. package/dist/scopes/index.d.ts +138 -138
  55. package/dist/scopes/index.d.ts.map +1 -1
  56. package/dist/scopes/index.js +93 -123
  57. package/package.json +5 -5
  58. package/dist/commons/events/Flag.d.ts +0 -70
@@ -1,27 +1,34 @@
1
- import * as z from 'zod/v4';
1
+ import { z } from 'zod';
2
+ import { TranslationConfig } from './TranslationConfig';
2
3
  import { FieldConfig } from './FieldConfig';
3
4
  import { FieldValue } from './FieldValue';
4
5
  export declare const SearchQueryParams: z.ZodObject<{
5
6
  eventType: z.ZodOptional<z.ZodString>;
6
- }, z.core.$catchall<z.ZodType<FieldValue, unknown, z.core.$ZodTypeInternals<FieldValue, unknown>>>>;
7
+ }, "strip", z.ZodType<FieldValue, z.ZodTypeDef, FieldValue>, {
8
+ eventType?: string | undefined;
9
+ }, {
10
+ eventType?: string | undefined;
11
+ }>;
7
12
  export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
8
- export declare const FieldConfigSchema: z.ZodObject<{
13
+ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
9
14
  config: z.ZodObject<{
10
- type: z.ZodEnum<{
11
- exact: "exact";
12
- fuzzy: "fuzzy";
13
- range: "range";
14
- within: "within";
15
- }>;
16
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
- }, z.core.$strip>;
18
- type: z.ZodOptional<z.ZodEnum<{
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<{
19
25
  readonly NAME: "NAME";
20
26
  readonly PHONE: "PHONE";
21
27
  readonly ID: "ID";
22
28
  readonly ADDRESS: "ADDRESS";
23
29
  readonly TEXT: "TEXT";
24
30
  readonly NUMBER: "NUMBER";
31
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
25
32
  readonly TEXTAREA: "TEXTAREA";
26
33
  readonly EMAIL: "EMAIL";
27
34
  readonly DATE: "DATE";
@@ -55,43 +62,135 @@ export declare const FieldConfigSchema: z.ZodObject<{
55
62
  readonly QR_READER: "QR_READER";
56
63
  readonly ID_READER: "ID_READER";
57
64
  readonly LOADER: "LOADER";
58
- readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
59
65
  }>>;
60
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
66
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
67
+ id: string;
68
+ description: string;
69
+ defaultMessage: string;
70
+ }>>;
61
71
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
72
  value: z.ZodString;
63
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
64
- }, z.core.$strip>>>;
65
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
66
- conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
67
- type: z.ZodLiteral<"SHOW">;
68
- conditional: z.ZodAny;
69
- }, z.core.$strip>, z.ZodObject<{
70
- type: z.ZodLiteral<"ENABLE">;
71
- conditional: z.ZodAny;
72
- }, z.core.$strip>, z.ZodObject<{
73
- type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
74
- conditional: z.ZodAny;
75
- }, z.core.$strip>], "type">>>;
76
- validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
77
- validator: z.ZodAny;
78
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
79
- }, z.core.$strip>>>;
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
+ }, {
80
114
  fieldId: z.ZodString;
81
115
  fieldType: z.ZodLiteral<"field">;
82
- }, z.core.$strip>;
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
+ }>;
83
189
  /**
84
190
  * The event fields that are available for advanced search. These are the values
85
191
  * that can be passed to the `event` function to create a field config.
86
192
  */
87
- export declare const EventFieldIdInput: z.ZodEnum<{
88
- status: "status";
89
- trackingId: "trackingId";
90
- updatedAt: "updatedAt";
91
- "legalStatuses.REGISTERED.acceptedAt": "legalStatuses.REGISTERED.acceptedAt";
92
- "legalStatuses.REGISTERED.createdAtLocation": "legalStatuses.REGISTERED.createdAtLocation";
93
- "legalStatuses.REGISTERED.registrationNumber": "legalStatuses.REGISTERED.registrationNumber";
94
- }>;
193
+ export declare const EventFieldIdInput: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "updatedAt"]>;
95
194
  /**
96
195
  * Represent the prefix used to differentiate event metadata fields from
97
196
  * the declaration ones in advanced search form.
@@ -101,33 +200,28 @@ export declare const METADATA_FIELD_PREFIX = "event.";
101
200
  * The field IDs that are actually used in the advanced search. The `event`
102
201
  * function prefixes the `EventFieldIdInput` values with METADATA_FIELD_PREFIX.
103
202
  */
104
- export declare const EventFieldId: z.ZodEnum<{
105
- "event.status": "event.status";
106
- "event.trackingId": "event.trackingId";
107
- "event.updatedAt": "event.updatedAt";
108
- "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
109
- "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
110
- "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
111
- }>;
203
+ export declare const EventFieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.updatedAt"]>;
112
204
  export type EventFieldIdInput = z.infer<typeof EventFieldIdInput>;
113
205
  export type EventFieldId = z.infer<typeof EventFieldId>;
114
- export declare const EventFieldConfigSchema: z.ZodObject<{
206
+ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
115
207
  config: z.ZodObject<{
116
- type: z.ZodEnum<{
117
- exact: "exact";
118
- fuzzy: "fuzzy";
119
- range: "range";
120
- within: "within";
121
- }>;
122
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
123
- }, z.core.$strip>;
124
- type: z.ZodOptional<z.ZodEnum<{
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<{
125
218
  readonly NAME: "NAME";
126
219
  readonly PHONE: "PHONE";
127
220
  readonly ID: "ID";
128
221
  readonly ADDRESS: "ADDRESS";
129
222
  readonly TEXT: "TEXT";
130
223
  readonly NUMBER: "NUMBER";
224
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
131
225
  readonly TEXTAREA: "TEXTAREA";
132
226
  readonly EMAIL: "EMAIL";
133
227
  readonly DATE: "DATE";
@@ -161,55 +255,149 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
161
255
  readonly QR_READER: "QR_READER";
162
256
  readonly ID_READER: "ID_READER";
163
257
  readonly LOADER: "LOADER";
164
- readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
165
258
  }>>;
166
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
259
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
260
+ id: string;
261
+ description: string;
262
+ defaultMessage: string;
263
+ }>>;
167
264
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
168
265
  value: z.ZodString;
169
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
170
- }, z.core.$strip>>>;
171
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
172
- conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
173
- type: z.ZodLiteral<"SHOW">;
174
- conditional: z.ZodAny;
175
- }, z.core.$strip>, z.ZodObject<{
176
- type: z.ZodLiteral<"ENABLE">;
177
- conditional: z.ZodAny;
178
- }, z.core.$strip>, z.ZodObject<{
179
- type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
180
- conditional: z.ZodAny;
181
- }, z.core.$strip>], "type">>>;
182
- validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
183
- validator: z.ZodAny;
184
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
185
- }, z.core.$strip>>>;
186
- fieldId: z.ZodEnum<{
187
- "event.status": "event.status";
188
- "event.trackingId": "event.trackingId";
189
- "event.updatedAt": "event.updatedAt";
190
- "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
191
- "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
192
- "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
193
- }>;
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.updatedAt"]>;
194
308
  fieldType: z.ZodLiteral<"event">;
195
- }, z.core.$strip>;
196
- export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
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";
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";
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<{
197
383
  config: z.ZodObject<{
198
- type: z.ZodEnum<{
199
- exact: "exact";
200
- fuzzy: "fuzzy";
201
- range: "range";
202
- within: "within";
203
- }>;
204
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
- }, z.core.$strip>;
206
- type: z.ZodOptional<z.ZodEnum<{
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<{
207
394
  readonly NAME: "NAME";
208
395
  readonly PHONE: "PHONE";
209
396
  readonly ID: "ID";
210
397
  readonly ADDRESS: "ADDRESS";
211
398
  readonly TEXT: "TEXT";
212
399
  readonly NUMBER: "NUMBER";
400
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
213
401
  readonly TEXTAREA: "TEXTAREA";
214
402
  readonly EMAIL: "EMAIL";
215
403
  readonly DATE: "DATE";
@@ -243,47 +431,148 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
243
431
  readonly QR_READER: "QR_READER";
244
432
  readonly ID_READER: "ID_READER";
245
433
  readonly LOADER: "LOADER";
246
- readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
247
434
  }>>;
248
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
435
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
436
+ id: string;
437
+ description: string;
438
+ defaultMessage: string;
439
+ }>>;
249
440
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
441
  value: z.ZodString;
251
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
252
- }, z.core.$strip>>>;
253
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
254
- conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
255
- type: z.ZodLiteral<"SHOW">;
256
- conditional: z.ZodAny;
257
- }, z.core.$strip>, z.ZodObject<{
258
- type: z.ZodLiteral<"ENABLE">;
259
- conditional: z.ZodAny;
260
- }, z.core.$strip>, z.ZodObject<{
261
- type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
262
- conditional: z.ZodAny;
263
- }, z.core.$strip>], "type">>>;
264
- validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
265
- validator: z.ZodAny;
266
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
267
- }, z.core.$strip>>>;
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
+ }, {
268
483
  fieldId: z.ZodString;
269
484
  fieldType: z.ZodLiteral<"field">;
270
- }, z.core.$strip>, z.ZodObject<{
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<{
271
558
  config: z.ZodObject<{
272
- type: z.ZodEnum<{
273
- exact: "exact";
274
- fuzzy: "fuzzy";
275
- range: "range";
276
- within: "within";
277
- }>;
278
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
279
- }, z.core.$strip>;
280
- type: z.ZodOptional<z.ZodEnum<{
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<{
281
569
  readonly NAME: "NAME";
282
570
  readonly PHONE: "PHONE";
283
571
  readonly ID: "ID";
284
572
  readonly ADDRESS: "ADDRESS";
285
573
  readonly TEXT: "TEXT";
286
574
  readonly NUMBER: "NUMBER";
575
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
287
576
  readonly TEXTAREA: "TEXTAREA";
288
577
  readonly EMAIL: "EMAIL";
289
578
  readonly DATE: "DATE";
@@ -317,58 +606,300 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
317
606
  readonly QR_READER: "QR_READER";
318
607
  readonly ID_READER: "ID_READER";
319
608
  readonly LOADER: "LOADER";
320
- readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
321
609
  }>>;
322
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
610
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
611
+ id: string;
612
+ description: string;
613
+ defaultMessage: string;
614
+ }>>;
323
615
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
324
616
  value: z.ZodString;
325
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
326
- }, z.core.$strip>>>;
327
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
328
- conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
329
- type: z.ZodLiteral<"SHOW">;
330
- conditional: z.ZodAny;
331
- }, z.core.$strip>, z.ZodObject<{
332
- type: z.ZodLiteral<"ENABLE">;
333
- conditional: z.ZodAny;
334
- }, z.core.$strip>, z.ZodObject<{
335
- type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
336
- conditional: z.ZodAny;
337
- }, z.core.$strip>], "type">>>;
338
- validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
339
- validator: z.ZodAny;
340
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
341
- }, z.core.$strip>>>;
342
- fieldId: z.ZodEnum<{
343
- "event.status": "event.status";
344
- "event.trackingId": "event.trackingId";
345
- "event.updatedAt": "event.updatedAt";
346
- "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
347
- "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
348
- "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
349
- }>;
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.updatedAt"]>;
350
659
  fieldType: z.ZodLiteral<"event">;
351
- }, z.core.$strip>], "fieldType">;
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";
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";
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";
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";
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
+ }>;
352
877
  export type AdvancedSearchField = z.infer<typeof AdvancedSearchField>;
353
878
  export declare const AdvancedSearchConfig: z.ZodObject<{
354
- title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
355
- fields: z.ZodArray<z.ZodDiscriminatedUnion<[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<{
356
885
  config: z.ZodObject<{
357
- type: z.ZodEnum<{
358
- exact: "exact";
359
- fuzzy: "fuzzy";
360
- range: "range";
361
- within: "within";
362
- }>;
363
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
364
- }, z.core.$strip>;
365
- type: z.ZodOptional<z.ZodEnum<{
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<{
366
896
  readonly NAME: "NAME";
367
897
  readonly PHONE: "PHONE";
368
898
  readonly ID: "ID";
369
899
  readonly ADDRESS: "ADDRESS";
370
900
  readonly TEXT: "TEXT";
371
901
  readonly NUMBER: "NUMBER";
902
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
372
903
  readonly TEXTAREA: "TEXTAREA";
373
904
  readonly EMAIL: "EMAIL";
374
905
  readonly DATE: "DATE";
@@ -402,47 +933,148 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
402
933
  readonly QR_READER: "QR_READER";
403
934
  readonly ID_READER: "ID_READER";
404
935
  readonly LOADER: "LOADER";
405
- readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
406
936
  }>>;
407
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
937
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
938
+ id: string;
939
+ description: string;
940
+ defaultMessage: string;
941
+ }>>;
408
942
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
409
943
  value: z.ZodString;
410
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
411
- }, z.core.$strip>>>;
412
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
413
- conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
414
- type: z.ZodLiteral<"SHOW">;
415
- conditional: z.ZodAny;
416
- }, z.core.$strip>, z.ZodObject<{
417
- type: z.ZodLiteral<"ENABLE">;
418
- conditional: z.ZodAny;
419
- }, z.core.$strip>, z.ZodObject<{
420
- type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
421
- conditional: z.ZodAny;
422
- }, z.core.$strip>], "type">>>;
423
- validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
424
- validator: z.ZodAny;
425
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
426
- }, z.core.$strip>>>;
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
+ }, {
427
985
  fieldId: z.ZodString;
428
986
  fieldType: z.ZodLiteral<"field">;
429
- }, z.core.$strip>, z.ZodObject<{
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<{
430
1060
  config: z.ZodObject<{
431
- type: z.ZodEnum<{
432
- exact: "exact";
433
- fuzzy: "fuzzy";
434
- range: "range";
435
- within: "within";
436
- }>;
437
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
438
- }, z.core.$strip>;
439
- type: z.ZodOptional<z.ZodEnum<{
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<{
440
1071
  readonly NAME: "NAME";
441
1072
  readonly PHONE: "PHONE";
442
1073
  readonly ID: "ID";
443
1074
  readonly ADDRESS: "ADDRESS";
444
1075
  readonly TEXT: "TEXT";
445
1076
  readonly NUMBER: "NUMBER";
1077
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
446
1078
  readonly TEXTAREA: "TEXTAREA";
447
1079
  readonly EMAIL: "EMAIL";
448
1080
  readonly DATE: "DATE";
@@ -476,39 +1108,429 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
476
1108
  readonly QR_READER: "QR_READER";
477
1109
  readonly ID_READER: "ID_READER";
478
1110
  readonly LOADER: "LOADER";
479
- readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
480
1111
  }>>;
481
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
1112
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1113
+ id: string;
1114
+ description: string;
1115
+ defaultMessage: string;
1116
+ }>>;
482
1117
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
483
1118
  value: z.ZodString;
484
- label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
485
- }, z.core.$strip>>>;
486
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
487
- conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
488
- type: z.ZodLiteral<"SHOW">;
489
- conditional: z.ZodAny;
490
- }, z.core.$strip>, z.ZodObject<{
491
- type: z.ZodLiteral<"ENABLE">;
492
- conditional: z.ZodAny;
493
- }, z.core.$strip>, z.ZodObject<{
494
- type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
495
- conditional: z.ZodAny;
496
- }, z.core.$strip>], "type">>>;
497
- validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
498
- validator: z.ZodAny;
499
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
500
- }, z.core.$strip>>>;
501
- fieldId: z.ZodEnum<{
502
- "event.status": "event.status";
503
- "event.trackingId": "event.trackingId";
504
- "event.updatedAt": "event.updatedAt";
505
- "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
506
- "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
507
- "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
508
- }>;
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.updatedAt"]>;
509
1161
  fieldType: z.ZodLiteral<"event">;
510
- }, z.core.$strip>], "fieldType">>;
511
- }, z.core.$strip>;
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";
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";
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";
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";
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";
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";
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
+ }>;
512
1534
  export type AdvancedSearchConfig = z.infer<typeof AdvancedSearchConfig>;
513
1535
  export type AdvancedSearchConfigWithFieldsResolved = Omit<AdvancedSearchConfig, 'fields'> & {
514
1536
  fields: FieldConfig[];