@opencrvs/toolkit 1.9.12-rc.c1b103f → 1.9.12-rc.c1f8f26

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 (73) hide show
  1. package/build.sh +9 -0
  2. package/dist/api/index.d.ts.map +1 -1
  3. package/dist/application-config/index.d.ts +2 -0
  4. package/dist/application-config/index.d.ts.map +1 -0
  5. package/dist/application-config/index.js +124 -0
  6. package/dist/cli.d.ts +2 -0
  7. package/dist/cli.d.ts.map +1 -0
  8. package/dist/cli.js +64 -0
  9. package/dist/commons/api/router.d.ts +3369 -2269
  10. package/dist/commons/application-config/index.d.ts +87 -0
  11. package/dist/commons/conditionals/conditionals.d.ts +27 -3
  12. package/dist/commons/conditionals/validate.d.ts +13 -2
  13. package/dist/commons/events/ActionConfig.d.ts +415 -1555
  14. package/dist/commons/events/ActionDocument.d.ts +889 -1942
  15. package/dist/commons/events/ActionInput.d.ts +277 -1073
  16. package/dist/commons/events/ActionType.d.ts +91 -11
  17. package/dist/commons/events/AdvancedSearchConfig.d.ts +288 -1496
  18. package/dist/commons/events/AuditLog.d.ts +405 -0
  19. package/dist/commons/events/CompositeFieldValue.d.ts +30 -190
  20. package/dist/commons/events/Conditional.d.ts +26 -38
  21. package/dist/commons/events/Constants.d.ts +1 -1
  22. package/dist/commons/events/CountryConfigQueryInput.d.ts +1345 -4495
  23. package/dist/commons/events/DeduplicationConfig.d.ts +15 -171
  24. package/dist/commons/events/Draft.d.ts +73 -108
  25. package/dist/commons/events/DynamicFieldValue.d.ts +7 -91
  26. package/dist/commons/events/EventConfig.d.ts +35 -2420
  27. package/dist/commons/events/EventConfigInput.d.ts +0 -3
  28. package/dist/commons/events/EventDocument.d.ts +354 -1366
  29. package/dist/commons/events/EventIndex.d.ts +208 -1014
  30. package/dist/commons/events/EventInput.d.ts +3 -8
  31. package/dist/commons/events/EventMetadata.d.ts +130 -357
  32. package/dist/commons/events/FieldConfig.d.ts +2779 -12470
  33. package/dist/commons/events/FieldType.d.ts +25 -4
  34. package/dist/commons/events/FieldTypeMapping.d.ts +289 -907
  35. package/dist/commons/events/FieldValue.d.ts +121 -527
  36. package/dist/commons/events/FileUtils.d.ts +2 -2
  37. package/dist/commons/events/Flag.d.ts +67 -0
  38. package/dist/commons/events/FormConfig.d.ts +54 -721
  39. package/dist/commons/events/PageConfig.d.ts +58 -320
  40. package/dist/commons/events/PlainDate.d.ts +1 -1
  41. package/dist/commons/events/SummaryConfig.d.ts +14 -161
  42. package/dist/commons/events/TemplateConfig.d.ts +2 -3
  43. package/dist/commons/events/TranslationConfig.d.ts +2 -2
  44. package/dist/commons/events/WorkqueueColumnConfig.d.ts +74 -37
  45. package/dist/commons/events/WorkqueueConfig.d.ts +2008 -7597
  46. package/dist/commons/events/deduplication.d.ts +3 -3
  47. package/dist/commons/events/defineConfig.d.ts +2 -243
  48. package/dist/commons/events/eventConfigValidation.d.ts +8 -0
  49. package/dist/commons/events/index.d.ts +3 -0
  50. package/dist/commons/events/locations.d.ts +57 -20
  51. package/dist/commons/events/scopes.d.ts +35 -34
  52. package/dist/commons/events/state/availableActions.d.ts +7 -2
  53. package/dist/commons/events/state/flags.d.ts +21 -3
  54. package/dist/commons/events/state/index.d.ts +30 -27
  55. package/dist/commons/events/state/utils.d.ts +191 -173
  56. package/dist/commons/events/test.utils.d.ts +52 -11
  57. package/dist/commons/events/transactions.d.ts +1 -1
  58. package/dist/commons/events/utils.d.ts +413 -310
  59. package/dist/commons/notification/UserNotifications.d.ts +61 -637
  60. package/dist/conditionals/index.d.ts.map +1 -1
  61. package/dist/conditionals/index.js +294 -14
  62. package/dist/events/deduplication.d.ts +3 -3
  63. package/dist/events/index.js +2736 -2099
  64. package/dist/notification/index.d.ts.map +1 -1
  65. package/dist/notification/index.js +2031 -1763
  66. package/dist/scopes/index.d.ts +623 -357
  67. package/dist/scopes/index.d.ts.map +1 -1
  68. package/dist/scopes/index.js +329 -301
  69. package/opencrvs-toolkit-1.9.12-rc.c1f8f26.tgz +0 -0
  70. package/package.json +14 -5
  71. package/tsconfig.json +9 -2
  72. package/tsconfig.tsbuildinfo +1 -1
  73. package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
@@ -1,27 +1,21 @@
1
- import { z } from 'zod';
2
- import { TranslationConfig } from './TranslationConfig';
1
+ import * as z from 'zod/v4';
3
2
  import { FieldConfig } from './FieldConfig';
4
3
  import { FieldValue } from './FieldValue';
5
4
  export declare const SearchQueryParams: z.ZodObject<{
6
5
  eventType: z.ZodOptional<z.ZodString>;
7
- }, "strip", z.ZodType<FieldValue, z.ZodTypeDef, FieldValue>, {
8
- eventType?: string | undefined;
9
- }, {
10
- eventType?: string | undefined;
11
- }>;
6
+ }, z.core.$catchall<z.ZodType<FieldValue, unknown, z.core.$ZodTypeInternals<FieldValue, unknown>>>>;
12
7
  export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
13
- export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
8
+ export declare const FieldConfigSchema: z.ZodObject<{
14
9
  config: z.ZodObject<{
15
- type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
16
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
- }, "strip", z.ZodTypeAny, {
18
- type: "exact" | "fuzzy" | "range" | "within";
19
- searchFields?: string[] | undefined;
20
- }, {
21
- type: "exact" | "fuzzy" | "range" | "within";
22
- searchFields?: string[] | undefined;
23
- }>;
24
- type: z.ZodOptional<z.ZodNativeEnum<{
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<{
25
19
  readonly NAME: "NAME";
26
20
  readonly PHONE: "PHONE";
27
21
  readonly ID: "ID";
@@ -36,7 +30,9 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
36
30
  readonly DATE_RANGE: "DATE_RANGE";
37
31
  readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
38
32
  readonly TIME: "TIME";
33
+ readonly IMAGE_VIEW: "IMAGE_VIEW";
39
34
  readonly PARAGRAPH: "PARAGRAPH";
35
+ readonly HEADING: "HEADING";
40
36
  readonly PAGE_HEADER: "PAGE_HEADER";
41
37
  readonly RADIO_GROUP: "RADIO_GROUP";
42
38
  readonly FIELD_GROUP: "FIELD_GROUP";
@@ -63,164 +59,52 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
63
59
  readonly QR_READER: "QR_READER";
64
60
  readonly ID_READER: "ID_READER";
65
61
  readonly LOADER: "LOADER";
62
+ readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
63
+ readonly USER_ROLE: "USER_ROLE";
64
+ readonly _EXPERIMENTAL_CUSTOM: "CUSTOM";
66
65
  }>>;
67
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
68
- id: string;
69
- description: string;
70
- defaultMessage: string;
71
- }>>;
66
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
72
67
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
68
  value: z.ZodString;
74
- label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
75
- id: string;
76
- description: string;
77
- defaultMessage: string;
78
- }>]>;
79
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
80
- }, "strip", z.ZodTypeAny, {
81
- value: string;
82
- label: string | TranslationConfig;
83
- conditionals?: ({
84
- type: "SHOW";
85
- conditional: import(".").JSONSchema;
86
- } | {
87
- type: "ENABLE";
88
- conditional: import(".").JSONSchema;
89
- })[] | undefined;
90
- }, {
91
- value: string;
92
- label: string | {
93
- id: string;
94
- description: string;
95
- defaultMessage: string;
96
- };
97
- conditionals?: ({
98
- type: "SHOW";
99
- conditional: import(".").JSONSchema;
100
- } | {
101
- type: "ENABLE";
102
- conditional: import(".").JSONSchema;
103
- })[] | undefined;
104
- }>, "many">>;
105
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
106
- id: string;
107
- description: string;
108
- defaultMessage: string;
109
- }>>;
110
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
111
- validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
112
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
113
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
114
- id: string;
115
- description: string;
116
- defaultMessage: string;
117
- }>;
118
- }, "strip", z.ZodTypeAny, {
119
- message: TranslationConfig;
120
- validator: import(".").JSONSchema;
121
- }, {
122
- message: {
123
- id: string;
124
- description: string;
125
- defaultMessage: string;
126
- };
127
- validator: import(".").JSONSchema;
128
- }>, "many">>>;
129
- }, {
69
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
70
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
71
+ type: z.ZodLiteral<"SHOW">;
72
+ conditional: z.ZodAny;
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ type: z.ZodLiteral<"ENABLE">;
75
+ conditional: z.ZodAny;
76
+ }, z.core.$strip>], "type">>>>;
77
+ }, z.core.$strip>>>;
78
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
79
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
80
+ type: z.ZodLiteral<"SHOW">;
81
+ conditional: z.ZodAny;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ type: z.ZodLiteral<"ENABLE">;
84
+ conditional: z.ZodAny;
85
+ }, z.core.$strip>, z.ZodObject<{
86
+ type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
87
+ conditional: z.ZodAny;
88
+ }, z.core.$strip>], "type">>>;
89
+ validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
90
+ validator: z.ZodAny;
91
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
92
+ }, z.core.$strip>>>;
130
93
  fieldId: z.ZodString;
131
94
  fieldType: z.ZodLiteral<"field">;
132
- }>, "strip", z.ZodTypeAny, {
133
- config: {
134
- type: "exact" | "fuzzy" | "range" | "within";
135
- searchFields?: string[] | undefined;
136
- };
137
- fieldId: string;
138
- fieldType: "field";
139
- 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" | "FIELD_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;
140
- options?: {
141
- value: string;
142
- label: string | TranslationConfig;
143
- conditionals?: ({
144
- type: "SHOW";
145
- conditional: import(".").JSONSchema;
146
- } | {
147
- type: "ENABLE";
148
- conditional: import(".").JSONSchema;
149
- })[] | undefined;
150
- }[] | undefined;
151
- label?: TranslationConfig | undefined;
152
- conditionals?: ({
153
- type: "SHOW";
154
- conditional: import(".").JSONSchema;
155
- } | {
156
- type: "ENABLE";
157
- conditional: import(".").JSONSchema;
158
- } | {
159
- type: "DISPLAY_ON_REVIEW";
160
- conditional: import(".").JSONSchema;
161
- })[] | undefined;
162
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
163
- validations?: {
164
- message: TranslationConfig;
165
- validator: import(".").JSONSchema;
166
- }[] | undefined;
167
- }, {
168
- config: {
169
- type: "exact" | "fuzzy" | "range" | "within";
170
- searchFields?: string[] | undefined;
171
- };
172
- fieldId: string;
173
- fieldType: "field";
174
- 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" | "FIELD_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;
175
- options?: {
176
- value: string;
177
- label: string | {
178
- id: string;
179
- description: string;
180
- defaultMessage: string;
181
- };
182
- conditionals?: ({
183
- type: "SHOW";
184
- conditional: import(".").JSONSchema;
185
- } | {
186
- type: "ENABLE";
187
- conditional: import(".").JSONSchema;
188
- })[] | undefined;
189
- }[] | undefined;
190
- label?: {
191
- id: string;
192
- description: string;
193
- defaultMessage: string;
194
- } | undefined;
195
- conditionals?: ({
196
- type: "SHOW";
197
- conditional: import(".").JSONSchema;
198
- } | {
199
- type: "ENABLE";
200
- conditional: import(".").JSONSchema;
201
- } | {
202
- type: "DISPLAY_ON_REVIEW";
203
- conditional: import(".").JSONSchema;
204
- })[] | undefined;
205
- searchCriteriaLabelPrefix?: {
206
- id: string;
207
- description: string;
208
- defaultMessage: string;
209
- } | undefined;
210
- validations?: {
211
- message: {
212
- id: string;
213
- description: string;
214
- defaultMessage: string;
215
- };
216
- validator: import(".").JSONSchema;
217
- }[] | undefined;
218
- }>;
95
+ }, z.core.$strip>;
219
96
  /**
220
97
  * The event fields that are available for advanced search, date of event, summary. These are the values
221
98
  * that can be passed to the `event` function to create a field config.
222
99
  */
223
- export declare const EventFieldIdInput: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "legalStatuses.REGISTERED.registrationNumber", "updatedAt"]>;
100
+ export declare const EventFieldIdInput: z.ZodEnum<{
101
+ trackingId: "trackingId";
102
+ status: "status";
103
+ updatedAt: "updatedAt";
104
+ "legalStatuses.REGISTERED.acceptedAt": "legalStatuses.REGISTERED.acceptedAt";
105
+ "legalStatuses.REGISTERED.createdAtLocation": "legalStatuses.REGISTERED.createdAtLocation";
106
+ "legalStatuses.REGISTERED.registrationNumber": "legalStatuses.REGISTERED.registrationNumber";
107
+ }>;
224
108
  /**
225
109
  * Represent the prefix used to differentiate event metadata fields from
226
110
  * the declaration ones in advanced search form.
@@ -230,21 +114,27 @@ export declare const METADATA_FIELD_PREFIX = "event.";
230
114
  * The field IDs that are actually used in the advanced search, date of event, summary. The `event`
231
115
  * function prefixes the `EventFieldIdInput` values with METADATA_FIELD_PREFIX.
232
116
  */
233
- export declare const EventFieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
117
+ export declare const EventFieldId: z.ZodEnum<{
118
+ "event.trackingId": "event.trackingId";
119
+ "event.status": "event.status";
120
+ "event.updatedAt": "event.updatedAt";
121
+ "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
122
+ "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
123
+ "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
124
+ }>;
234
125
  export type EventFieldIdInput = z.infer<typeof EventFieldIdInput>;
235
126
  export type EventFieldId = z.infer<typeof EventFieldId>;
236
- export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
127
+ export declare const EventFieldConfigSchema: z.ZodObject<{
237
128
  config: z.ZodObject<{
238
- type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
239
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
240
- }, "strip", z.ZodTypeAny, {
241
- type: "exact" | "fuzzy" | "range" | "within";
242
- searchFields?: string[] | undefined;
243
- }, {
244
- type: "exact" | "fuzzy" | "range" | "within";
245
- searchFields?: string[] | undefined;
246
- }>;
247
- type: z.ZodOptional<z.ZodNativeEnum<{
129
+ type: z.ZodEnum<{
130
+ exact: "exact";
131
+ fuzzy: "fuzzy";
132
+ range: "range";
133
+ within: "within";
134
+ }>;
135
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
+ }, z.core.$strip>;
137
+ type: z.ZodOptional<z.ZodEnum<{
248
138
  readonly NAME: "NAME";
249
139
  readonly PHONE: "PHONE";
250
140
  readonly ID: "ID";
@@ -259,7 +149,9 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
259
149
  readonly DATE_RANGE: "DATE_RANGE";
260
150
  readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
261
151
  readonly TIME: "TIME";
152
+ readonly IMAGE_VIEW: "IMAGE_VIEW";
262
153
  readonly PARAGRAPH: "PARAGRAPH";
154
+ readonly HEADING: "HEADING";
263
155
  readonly PAGE_HEADER: "PAGE_HEADER";
264
156
  readonly RADIO_GROUP: "RADIO_GROUP";
265
157
  readonly FIELD_GROUP: "FIELD_GROUP";
@@ -286,171 +178,58 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
286
178
  readonly QR_READER: "QR_READER";
287
179
  readonly ID_READER: "ID_READER";
288
180
  readonly LOADER: "LOADER";
181
+ readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
182
+ readonly USER_ROLE: "USER_ROLE";
183
+ readonly _EXPERIMENTAL_CUSTOM: "CUSTOM";
289
184
  }>>;
290
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
291
- id: string;
292
- description: string;
293
- defaultMessage: string;
294
- }>>;
185
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
295
186
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
296
187
  value: z.ZodString;
297
- label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
298
- id: string;
299
- description: string;
300
- defaultMessage: string;
301
- }>]>;
302
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
303
- }, "strip", z.ZodTypeAny, {
304
- value: string;
305
- label: string | TranslationConfig;
306
- conditionals?: ({
307
- type: "SHOW";
308
- conditional: import(".").JSONSchema;
309
- } | {
310
- type: "ENABLE";
311
- conditional: import(".").JSONSchema;
312
- })[] | undefined;
313
- }, {
314
- value: string;
315
- label: string | {
316
- id: string;
317
- description: string;
318
- defaultMessage: string;
319
- };
320
- conditionals?: ({
321
- type: "SHOW";
322
- conditional: import(".").JSONSchema;
323
- } | {
324
- type: "ENABLE";
325
- conditional: import(".").JSONSchema;
326
- })[] | undefined;
327
- }>, "many">>;
328
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
329
- id: string;
330
- description: string;
331
- defaultMessage: string;
332
- }>>;
333
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
334
- validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
335
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
336
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
337
- id: string;
338
- description: string;
339
- defaultMessage: string;
340
- }>;
341
- }, "strip", z.ZodTypeAny, {
342
- message: TranslationConfig;
343
- validator: import(".").JSONSchema;
344
- }, {
345
- message: {
346
- id: string;
347
- description: string;
348
- defaultMessage: string;
349
- };
350
- validator: import(".").JSONSchema;
351
- }>, "many">>>;
352
- }, {
353
- fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
188
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
189
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
190
+ type: z.ZodLiteral<"SHOW">;
191
+ conditional: z.ZodAny;
192
+ }, z.core.$strip>, z.ZodObject<{
193
+ type: z.ZodLiteral<"ENABLE">;
194
+ conditional: z.ZodAny;
195
+ }, z.core.$strip>], "type">>>>;
196
+ }, z.core.$strip>>>;
197
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
198
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
199
+ type: z.ZodLiteral<"SHOW">;
200
+ conditional: z.ZodAny;
201
+ }, z.core.$strip>, z.ZodObject<{
202
+ type: z.ZodLiteral<"ENABLE">;
203
+ conditional: z.ZodAny;
204
+ }, z.core.$strip>, z.ZodObject<{
205
+ type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
206
+ conditional: z.ZodAny;
207
+ }, z.core.$strip>], "type">>>;
208
+ validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
209
+ validator: z.ZodAny;
210
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
211
+ }, z.core.$strip>>>;
212
+ fieldId: z.ZodEnum<{
213
+ "event.trackingId": "event.trackingId";
214
+ "event.status": "event.status";
215
+ "event.updatedAt": "event.updatedAt";
216
+ "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
217
+ "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
218
+ "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
219
+ }>;
354
220
  fieldType: z.ZodLiteral<"event">;
355
- }>, "strip", z.ZodTypeAny, {
356
- config: {
357
- type: "exact" | "fuzzy" | "range" | "within";
358
- searchFields?: string[] | undefined;
359
- };
360
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
361
- fieldType: "event";
362
- 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" | "FIELD_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;
363
- options?: {
364
- value: string;
365
- label: string | TranslationConfig;
366
- conditionals?: ({
367
- type: "SHOW";
368
- conditional: import(".").JSONSchema;
369
- } | {
370
- type: "ENABLE";
371
- conditional: import(".").JSONSchema;
372
- })[] | undefined;
373
- }[] | undefined;
374
- label?: TranslationConfig | undefined;
375
- conditionals?: ({
376
- type: "SHOW";
377
- conditional: import(".").JSONSchema;
378
- } | {
379
- type: "ENABLE";
380
- conditional: import(".").JSONSchema;
381
- } | {
382
- type: "DISPLAY_ON_REVIEW";
383
- conditional: import(".").JSONSchema;
384
- })[] | undefined;
385
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
386
- validations?: {
387
- message: TranslationConfig;
388
- validator: import(".").JSONSchema;
389
- }[] | undefined;
390
- }, {
391
- config: {
392
- type: "exact" | "fuzzy" | "range" | "within";
393
- searchFields?: string[] | undefined;
394
- };
395
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
396
- fieldType: "event";
397
- 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" | "FIELD_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;
398
- options?: {
399
- value: string;
400
- label: string | {
401
- id: string;
402
- description: string;
403
- defaultMessage: string;
404
- };
405
- conditionals?: ({
406
- type: "SHOW";
407
- conditional: import(".").JSONSchema;
408
- } | {
409
- type: "ENABLE";
410
- conditional: import(".").JSONSchema;
411
- })[] | undefined;
412
- }[] | undefined;
413
- label?: {
414
- id: string;
415
- description: string;
416
- defaultMessage: string;
417
- } | undefined;
418
- conditionals?: ({
419
- type: "SHOW";
420
- conditional: import(".").JSONSchema;
421
- } | {
422
- type: "ENABLE";
423
- conditional: import(".").JSONSchema;
424
- } | {
425
- type: "DISPLAY_ON_REVIEW";
426
- conditional: import(".").JSONSchema;
427
- })[] | undefined;
428
- searchCriteriaLabelPrefix?: {
429
- id: string;
430
- description: string;
431
- defaultMessage: string;
432
- } | undefined;
433
- validations?: {
434
- message: {
435
- id: string;
436
- description: string;
437
- defaultMessage: string;
438
- };
439
- validator: import(".").JSONSchema;
440
- }[] | undefined;
441
- }>;
442
- export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
221
+ }, z.core.$strip>;
222
+ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
443
223
  config: z.ZodObject<{
444
- type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
445
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
446
- }, "strip", z.ZodTypeAny, {
447
- type: "exact" | "fuzzy" | "range" | "within";
448
- searchFields?: string[] | undefined;
449
- }, {
450
- type: "exact" | "fuzzy" | "range" | "within";
451
- searchFields?: string[] | undefined;
452
- }>;
453
- type: z.ZodOptional<z.ZodNativeEnum<{
224
+ type: z.ZodEnum<{
225
+ exact: "exact";
226
+ fuzzy: "fuzzy";
227
+ range: "range";
228
+ within: "within";
229
+ }>;
230
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
231
+ }, z.core.$strip>;
232
+ type: z.ZodOptional<z.ZodEnum<{
454
233
  readonly NAME: "NAME";
455
234
  readonly PHONE: "PHONE";
456
235
  readonly ID: "ID";
@@ -465,7 +244,9 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
465
244
  readonly DATE_RANGE: "DATE_RANGE";
466
245
  readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
467
246
  readonly TIME: "TIME";
247
+ readonly IMAGE_VIEW: "IMAGE_VIEW";
468
248
  readonly PARAGRAPH: "PARAGRAPH";
249
+ readonly HEADING: "HEADING";
469
250
  readonly PAGE_HEADER: "PAGE_HEADER";
470
251
  readonly RADIO_GROUP: "RADIO_GROUP";
471
252
  readonly FIELD_GROUP: "FIELD_GROUP";
@@ -492,170 +273,50 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
492
273
  readonly QR_READER: "QR_READER";
493
274
  readonly ID_READER: "ID_READER";
494
275
  readonly LOADER: "LOADER";
276
+ readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
277
+ readonly USER_ROLE: "USER_ROLE";
278
+ readonly _EXPERIMENTAL_CUSTOM: "CUSTOM";
495
279
  }>>;
496
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
497
- id: string;
498
- description: string;
499
- defaultMessage: string;
500
- }>>;
280
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
501
281
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
502
282
  value: z.ZodString;
503
- label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
504
- id: string;
505
- description: string;
506
- defaultMessage: string;
507
- }>]>;
508
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
509
- }, "strip", z.ZodTypeAny, {
510
- value: string;
511
- label: string | TranslationConfig;
512
- conditionals?: ({
513
- type: "SHOW";
514
- conditional: import(".").JSONSchema;
515
- } | {
516
- type: "ENABLE";
517
- conditional: import(".").JSONSchema;
518
- })[] | undefined;
519
- }, {
520
- value: string;
521
- label: string | {
522
- id: string;
523
- description: string;
524
- defaultMessage: string;
525
- };
526
- conditionals?: ({
527
- type: "SHOW";
528
- conditional: import(".").JSONSchema;
529
- } | {
530
- type: "ENABLE";
531
- conditional: import(".").JSONSchema;
532
- })[] | undefined;
533
- }>, "many">>;
534
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
535
- id: string;
536
- description: string;
537
- defaultMessage: string;
538
- }>>;
539
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
540
- validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
541
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
542
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
543
- id: string;
544
- description: string;
545
- defaultMessage: string;
546
- }>;
547
- }, "strip", z.ZodTypeAny, {
548
- message: TranslationConfig;
549
- validator: import(".").JSONSchema;
550
- }, {
551
- message: {
552
- id: string;
553
- description: string;
554
- defaultMessage: string;
555
- };
556
- validator: import(".").JSONSchema;
557
- }>, "many">>>;
558
- }, {
283
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
284
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
285
+ type: z.ZodLiteral<"SHOW">;
286
+ conditional: z.ZodAny;
287
+ }, z.core.$strip>, z.ZodObject<{
288
+ type: z.ZodLiteral<"ENABLE">;
289
+ conditional: z.ZodAny;
290
+ }, z.core.$strip>], "type">>>>;
291
+ }, z.core.$strip>>>;
292
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
293
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
294
+ type: z.ZodLiteral<"SHOW">;
295
+ conditional: z.ZodAny;
296
+ }, z.core.$strip>, z.ZodObject<{
297
+ type: z.ZodLiteral<"ENABLE">;
298
+ conditional: z.ZodAny;
299
+ }, z.core.$strip>, z.ZodObject<{
300
+ type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
301
+ conditional: z.ZodAny;
302
+ }, z.core.$strip>], "type">>>;
303
+ validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
+ validator: z.ZodAny;
305
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
306
+ }, z.core.$strip>>>;
559
307
  fieldId: z.ZodString;
560
308
  fieldType: z.ZodLiteral<"field">;
561
- }>, "strip", z.ZodTypeAny, {
562
- config: {
563
- type: "exact" | "fuzzy" | "range" | "within";
564
- searchFields?: string[] | undefined;
565
- };
566
- fieldId: string;
567
- fieldType: "field";
568
- 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" | "FIELD_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;
569
- options?: {
570
- value: string;
571
- label: string | TranslationConfig;
572
- conditionals?: ({
573
- type: "SHOW";
574
- conditional: import(".").JSONSchema;
575
- } | {
576
- type: "ENABLE";
577
- conditional: import(".").JSONSchema;
578
- })[] | undefined;
579
- }[] | undefined;
580
- label?: TranslationConfig | undefined;
581
- conditionals?: ({
582
- type: "SHOW";
583
- conditional: import(".").JSONSchema;
584
- } | {
585
- type: "ENABLE";
586
- conditional: import(".").JSONSchema;
587
- } | {
588
- type: "DISPLAY_ON_REVIEW";
589
- conditional: import(".").JSONSchema;
590
- })[] | undefined;
591
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
592
- validations?: {
593
- message: TranslationConfig;
594
- validator: import(".").JSONSchema;
595
- }[] | undefined;
596
- }, {
597
- config: {
598
- type: "exact" | "fuzzy" | "range" | "within";
599
- searchFields?: string[] | undefined;
600
- };
601
- fieldId: string;
602
- fieldType: "field";
603
- 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" | "FIELD_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;
604
- options?: {
605
- value: string;
606
- label: string | {
607
- id: string;
608
- description: string;
609
- defaultMessage: string;
610
- };
611
- conditionals?: ({
612
- type: "SHOW";
613
- conditional: import(".").JSONSchema;
614
- } | {
615
- type: "ENABLE";
616
- conditional: import(".").JSONSchema;
617
- })[] | undefined;
618
- }[] | undefined;
619
- label?: {
620
- id: string;
621
- description: string;
622
- defaultMessage: string;
623
- } | undefined;
624
- conditionals?: ({
625
- type: "SHOW";
626
- conditional: import(".").JSONSchema;
627
- } | {
628
- type: "ENABLE";
629
- conditional: import(".").JSONSchema;
630
- } | {
631
- type: "DISPLAY_ON_REVIEW";
632
- conditional: import(".").JSONSchema;
633
- })[] | undefined;
634
- searchCriteriaLabelPrefix?: {
635
- id: string;
636
- description: string;
637
- defaultMessage: string;
638
- } | undefined;
639
- validations?: {
640
- message: {
641
- id: string;
642
- description: string;
643
- defaultMessage: string;
644
- };
645
- validator: import(".").JSONSchema;
646
- }[] | undefined;
647
- }>, z.ZodObject<z.objectUtil.extendShape<{
309
+ }, z.core.$strip>, z.ZodObject<{
648
310
  config: z.ZodObject<{
649
- type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
650
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
651
- }, "strip", z.ZodTypeAny, {
652
- type: "exact" | "fuzzy" | "range" | "within";
653
- searchFields?: string[] | undefined;
654
- }, {
655
- type: "exact" | "fuzzy" | "range" | "within";
656
- searchFields?: string[] | undefined;
657
- }>;
658
- type: z.ZodOptional<z.ZodNativeEnum<{
311
+ type: z.ZodEnum<{
312
+ exact: "exact";
313
+ fuzzy: "fuzzy";
314
+ range: "range";
315
+ within: "within";
316
+ }>;
317
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
+ }, z.core.$strip>;
319
+ type: z.ZodOptional<z.ZodEnum<{
659
320
  readonly NAME: "NAME";
660
321
  readonly PHONE: "PHONE";
661
322
  readonly ID: "ID";
@@ -670,7 +331,9 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
670
331
  readonly DATE_RANGE: "DATE_RANGE";
671
332
  readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
672
333
  readonly TIME: "TIME";
334
+ readonly IMAGE_VIEW: "IMAGE_VIEW";
673
335
  readonly PARAGRAPH: "PARAGRAPH";
336
+ readonly HEADING: "HEADING";
674
337
  readonly PAGE_HEADER: "PAGE_HEADER";
675
338
  readonly RADIO_GROUP: "RADIO_GROUP";
676
339
  readonly FIELD_GROUP: "FIELD_GROUP";
@@ -697,350 +360,61 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
697
360
  readonly QR_READER: "QR_READER";
698
361
  readonly ID_READER: "ID_READER";
699
362
  readonly LOADER: "LOADER";
363
+ readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
364
+ readonly USER_ROLE: "USER_ROLE";
365
+ readonly _EXPERIMENTAL_CUSTOM: "CUSTOM";
700
366
  }>>;
701
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
702
- id: string;
703
- description: string;
704
- defaultMessage: string;
705
- }>>;
367
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
706
368
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
707
369
  value: z.ZodString;
708
- label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
709
- id: string;
710
- description: string;
711
- defaultMessage: string;
712
- }>]>;
713
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
714
- }, "strip", z.ZodTypeAny, {
715
- value: string;
716
- label: string | TranslationConfig;
717
- conditionals?: ({
718
- type: "SHOW";
719
- conditional: import(".").JSONSchema;
720
- } | {
721
- type: "ENABLE";
722
- conditional: import(".").JSONSchema;
723
- })[] | undefined;
724
- }, {
725
- value: string;
726
- label: string | {
727
- id: string;
728
- description: string;
729
- defaultMessage: string;
730
- };
731
- conditionals?: ({
732
- type: "SHOW";
733
- conditional: import(".").JSONSchema;
734
- } | {
735
- type: "ENABLE";
736
- conditional: import(".").JSONSchema;
737
- })[] | undefined;
738
- }>, "many">>;
739
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
740
- id: string;
741
- description: string;
742
- defaultMessage: string;
743
- }>>;
744
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
745
- validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
746
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
747
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
748
- id: string;
749
- description: string;
750
- defaultMessage: string;
751
- }>;
752
- }, "strip", z.ZodTypeAny, {
753
- message: TranslationConfig;
754
- validator: import(".").JSONSchema;
755
- }, {
756
- message: {
757
- id: string;
758
- description: string;
759
- defaultMessage: string;
760
- };
761
- validator: import(".").JSONSchema;
762
- }>, "many">>>;
763
- }, {
764
- fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
370
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
371
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
372
+ type: z.ZodLiteral<"SHOW">;
373
+ conditional: z.ZodAny;
374
+ }, z.core.$strip>, z.ZodObject<{
375
+ type: z.ZodLiteral<"ENABLE">;
376
+ conditional: z.ZodAny;
377
+ }, z.core.$strip>], "type">>>>;
378
+ }, z.core.$strip>>>;
379
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
380
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
381
+ type: z.ZodLiteral<"SHOW">;
382
+ conditional: z.ZodAny;
383
+ }, z.core.$strip>, z.ZodObject<{
384
+ type: z.ZodLiteral<"ENABLE">;
385
+ conditional: z.ZodAny;
386
+ }, z.core.$strip>, z.ZodObject<{
387
+ type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
388
+ conditional: z.ZodAny;
389
+ }, z.core.$strip>], "type">>>;
390
+ validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
391
+ validator: z.ZodAny;
392
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
393
+ }, z.core.$strip>>>;
394
+ fieldId: z.ZodEnum<{
395
+ "event.trackingId": "event.trackingId";
396
+ "event.status": "event.status";
397
+ "event.updatedAt": "event.updatedAt";
398
+ "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
399
+ "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
400
+ "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
401
+ }>;
765
402
  fieldType: z.ZodLiteral<"event">;
766
- }>, "strip", z.ZodTypeAny, {
767
- config: {
768
- type: "exact" | "fuzzy" | "range" | "within";
769
- searchFields?: string[] | undefined;
770
- };
771
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
772
- fieldType: "event";
773
- 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" | "FIELD_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;
774
- options?: {
775
- value: string;
776
- label: string | TranslationConfig;
777
- conditionals?: ({
778
- type: "SHOW";
779
- conditional: import(".").JSONSchema;
780
- } | {
781
- type: "ENABLE";
782
- conditional: import(".").JSONSchema;
783
- })[] | undefined;
784
- }[] | undefined;
785
- label?: TranslationConfig | undefined;
786
- conditionals?: ({
787
- type: "SHOW";
788
- conditional: import(".").JSONSchema;
789
- } | {
790
- type: "ENABLE";
791
- conditional: import(".").JSONSchema;
792
- } | {
793
- type: "DISPLAY_ON_REVIEW";
794
- conditional: import(".").JSONSchema;
795
- })[] | undefined;
796
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
797
- validations?: {
798
- message: TranslationConfig;
799
- validator: import(".").JSONSchema;
800
- }[] | undefined;
801
- }, {
802
- config: {
803
- type: "exact" | "fuzzy" | "range" | "within";
804
- searchFields?: string[] | undefined;
805
- };
806
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
807
- fieldType: "event";
808
- 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" | "FIELD_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;
809
- options?: {
810
- value: string;
811
- label: string | {
812
- id: string;
813
- description: string;
814
- defaultMessage: string;
815
- };
816
- conditionals?: ({
817
- type: "SHOW";
818
- conditional: import(".").JSONSchema;
819
- } | {
820
- type: "ENABLE";
821
- conditional: import(".").JSONSchema;
822
- })[] | undefined;
823
- }[] | undefined;
824
- label?: {
825
- id: string;
826
- description: string;
827
- defaultMessage: string;
828
- } | undefined;
829
- conditionals?: ({
830
- type: "SHOW";
831
- conditional: import(".").JSONSchema;
832
- } | {
833
- type: "ENABLE";
834
- conditional: import(".").JSONSchema;
835
- } | {
836
- type: "DISPLAY_ON_REVIEW";
837
- conditional: import(".").JSONSchema;
838
- })[] | undefined;
839
- searchCriteriaLabelPrefix?: {
840
- id: string;
841
- description: string;
842
- defaultMessage: string;
843
- } | undefined;
844
- validations?: {
845
- message: {
846
- id: string;
847
- description: string;
848
- defaultMessage: string;
849
- };
850
- validator: import(".").JSONSchema;
851
- }[] | undefined;
852
- }>]>, {
853
- config: {
854
- type: "exact" | "fuzzy" | "range" | "within";
855
- searchFields?: string[] | undefined;
856
- };
857
- fieldId: string;
858
- fieldType: "field";
859
- 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" | "FIELD_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;
860
- options?: {
861
- value: string;
862
- label: string | TranslationConfig;
863
- conditionals?: ({
864
- type: "SHOW";
865
- conditional: import(".").JSONSchema;
866
- } | {
867
- type: "ENABLE";
868
- conditional: import(".").JSONSchema;
869
- })[] | undefined;
870
- }[] | undefined;
871
- label?: TranslationConfig | undefined;
872
- conditionals?: ({
873
- type: "SHOW";
874
- conditional: import(".").JSONSchema;
875
- } | {
876
- type: "ENABLE";
877
- conditional: import(".").JSONSchema;
878
- } | {
879
- type: "DISPLAY_ON_REVIEW";
880
- conditional: import(".").JSONSchema;
881
- })[] | undefined;
882
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
883
- validations?: {
884
- message: TranslationConfig;
885
- validator: import(".").JSONSchema;
886
- }[] | undefined;
887
- } | {
888
- config: {
889
- type: "exact" | "fuzzy" | "range" | "within";
890
- searchFields?: string[] | undefined;
891
- };
892
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
893
- fieldType: "event";
894
- 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" | "FIELD_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;
895
- options?: {
896
- value: string;
897
- label: string | TranslationConfig;
898
- conditionals?: ({
899
- type: "SHOW";
900
- conditional: import(".").JSONSchema;
901
- } | {
902
- type: "ENABLE";
903
- conditional: import(".").JSONSchema;
904
- })[] | undefined;
905
- }[] | undefined;
906
- label?: TranslationConfig | undefined;
907
- conditionals?: ({
908
- type: "SHOW";
909
- conditional: import(".").JSONSchema;
910
- } | {
911
- type: "ENABLE";
912
- conditional: import(".").JSONSchema;
913
- } | {
914
- type: "DISPLAY_ON_REVIEW";
915
- conditional: import(".").JSONSchema;
916
- })[] | undefined;
917
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
918
- validations?: {
919
- message: TranslationConfig;
920
- validator: import(".").JSONSchema;
921
- }[] | undefined;
922
- }, {
923
- config: {
924
- type: "exact" | "fuzzy" | "range" | "within";
925
- searchFields?: string[] | undefined;
926
- };
927
- fieldId: string;
928
- fieldType: "field";
929
- 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" | "FIELD_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;
930
- options?: {
931
- value: string;
932
- label: string | {
933
- id: string;
934
- description: string;
935
- defaultMessage: string;
936
- };
937
- conditionals?: ({
938
- type: "SHOW";
939
- conditional: import(".").JSONSchema;
940
- } | {
941
- type: "ENABLE";
942
- conditional: import(".").JSONSchema;
943
- })[] | undefined;
944
- }[] | undefined;
945
- label?: {
946
- id: string;
947
- description: string;
948
- defaultMessage: string;
949
- } | undefined;
950
- conditionals?: ({
951
- type: "SHOW";
952
- conditional: import(".").JSONSchema;
953
- } | {
954
- type: "ENABLE";
955
- conditional: import(".").JSONSchema;
956
- } | {
957
- type: "DISPLAY_ON_REVIEW";
958
- conditional: import(".").JSONSchema;
959
- })[] | undefined;
960
- searchCriteriaLabelPrefix?: {
961
- id: string;
962
- description: string;
963
- defaultMessage: string;
964
- } | undefined;
965
- validations?: {
966
- message: {
967
- id: string;
968
- description: string;
969
- defaultMessage: string;
970
- };
971
- validator: import(".").JSONSchema;
972
- }[] | undefined;
973
- } | {
974
- config: {
975
- type: "exact" | "fuzzy" | "range" | "within";
976
- searchFields?: string[] | undefined;
977
- };
978
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
979
- fieldType: "event";
980
- 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" | "FIELD_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;
981
- options?: {
982
- value: string;
983
- label: string | {
984
- id: string;
985
- description: string;
986
- defaultMessage: string;
987
- };
988
- conditionals?: ({
989
- type: "SHOW";
990
- conditional: import(".").JSONSchema;
991
- } | {
992
- type: "ENABLE";
993
- conditional: import(".").JSONSchema;
994
- })[] | undefined;
995
- }[] | undefined;
996
- label?: {
997
- id: string;
998
- description: string;
999
- defaultMessage: string;
1000
- } | undefined;
1001
- conditionals?: ({
1002
- type: "SHOW";
1003
- conditional: import(".").JSONSchema;
1004
- } | {
1005
- type: "ENABLE";
1006
- conditional: import(".").JSONSchema;
1007
- } | {
1008
- type: "DISPLAY_ON_REVIEW";
1009
- conditional: import(".").JSONSchema;
1010
- })[] | undefined;
1011
- searchCriteriaLabelPrefix?: {
1012
- id: string;
1013
- description: string;
1014
- defaultMessage: string;
1015
- } | undefined;
1016
- validations?: {
1017
- message: {
1018
- id: string;
1019
- description: string;
1020
- defaultMessage: string;
1021
- };
1022
- validator: import(".").JSONSchema;
1023
- }[] | undefined;
1024
- }>;
403
+ }, z.core.$strip>], "fieldType">;
1025
404
  export type AdvancedSearchField = z.infer<typeof AdvancedSearchField>;
1026
405
  export declare const AdvancedSearchConfig: z.ZodObject<{
1027
- title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1028
- id: string;
1029
- description: string;
1030
- defaultMessage: string;
1031
- }>;
1032
- fields: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
406
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
407
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1033
408
  config: z.ZodObject<{
1034
- type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
1035
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1036
- }, "strip", z.ZodTypeAny, {
1037
- type: "exact" | "fuzzy" | "range" | "within";
1038
- searchFields?: string[] | undefined;
1039
- }, {
1040
- type: "exact" | "fuzzy" | "range" | "within";
1041
- searchFields?: string[] | undefined;
1042
- }>;
1043
- type: z.ZodOptional<z.ZodNativeEnum<{
409
+ type: z.ZodEnum<{
410
+ exact: "exact";
411
+ fuzzy: "fuzzy";
412
+ range: "range";
413
+ within: "within";
414
+ }>;
415
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
416
+ }, z.core.$strip>;
417
+ type: z.ZodOptional<z.ZodEnum<{
1044
418
  readonly NAME: "NAME";
1045
419
  readonly PHONE: "PHONE";
1046
420
  readonly ID: "ID";
@@ -1055,7 +429,9 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1055
429
  readonly DATE_RANGE: "DATE_RANGE";
1056
430
  readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
1057
431
  readonly TIME: "TIME";
432
+ readonly IMAGE_VIEW: "IMAGE_VIEW";
1058
433
  readonly PARAGRAPH: "PARAGRAPH";
434
+ readonly HEADING: "HEADING";
1059
435
  readonly PAGE_HEADER: "PAGE_HEADER";
1060
436
  readonly RADIO_GROUP: "RADIO_GROUP";
1061
437
  readonly FIELD_GROUP: "FIELD_GROUP";
@@ -1082,170 +458,50 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1082
458
  readonly QR_READER: "QR_READER";
1083
459
  readonly ID_READER: "ID_READER";
1084
460
  readonly LOADER: "LOADER";
461
+ readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
462
+ readonly USER_ROLE: "USER_ROLE";
463
+ readonly _EXPERIMENTAL_CUSTOM: "CUSTOM";
1085
464
  }>>;
1086
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1087
- id: string;
1088
- description: string;
1089
- defaultMessage: string;
1090
- }>>;
465
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
1091
466
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1092
467
  value: z.ZodString;
1093
- label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1094
- id: string;
1095
- description: string;
1096
- defaultMessage: string;
1097
- }>]>;
1098
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
1099
- }, "strip", z.ZodTypeAny, {
1100
- value: string;
1101
- label: string | TranslationConfig;
1102
- conditionals?: ({
1103
- type: "SHOW";
1104
- conditional: import(".").JSONSchema;
1105
- } | {
1106
- type: "ENABLE";
1107
- conditional: import(".").JSONSchema;
1108
- })[] | undefined;
1109
- }, {
1110
- value: string;
1111
- label: string | {
1112
- id: string;
1113
- description: string;
1114
- defaultMessage: string;
1115
- };
1116
- conditionals?: ({
1117
- type: "SHOW";
1118
- conditional: import(".").JSONSchema;
1119
- } | {
1120
- type: "ENABLE";
1121
- conditional: import(".").JSONSchema;
1122
- })[] | undefined;
1123
- }>, "many">>;
1124
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1125
- id: string;
1126
- description: string;
1127
- defaultMessage: string;
1128
- }>>;
1129
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1130
- validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
1131
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1132
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1133
- id: string;
1134
- description: string;
1135
- defaultMessage: string;
1136
- }>;
1137
- }, "strip", z.ZodTypeAny, {
1138
- message: TranslationConfig;
1139
- validator: import(".").JSONSchema;
1140
- }, {
1141
- message: {
1142
- id: string;
1143
- description: string;
1144
- defaultMessage: string;
1145
- };
1146
- validator: import(".").JSONSchema;
1147
- }>, "many">>>;
1148
- }, {
468
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
469
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
470
+ type: z.ZodLiteral<"SHOW">;
471
+ conditional: z.ZodAny;
472
+ }, z.core.$strip>, z.ZodObject<{
473
+ type: z.ZodLiteral<"ENABLE">;
474
+ conditional: z.ZodAny;
475
+ }, z.core.$strip>], "type">>>>;
476
+ }, z.core.$strip>>>;
477
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
478
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
479
+ type: z.ZodLiteral<"SHOW">;
480
+ conditional: z.ZodAny;
481
+ }, z.core.$strip>, z.ZodObject<{
482
+ type: z.ZodLiteral<"ENABLE">;
483
+ conditional: z.ZodAny;
484
+ }, z.core.$strip>, z.ZodObject<{
485
+ type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
486
+ conditional: z.ZodAny;
487
+ }, z.core.$strip>], "type">>>;
488
+ validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
489
+ validator: z.ZodAny;
490
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
491
+ }, z.core.$strip>>>;
1149
492
  fieldId: z.ZodString;
1150
493
  fieldType: z.ZodLiteral<"field">;
1151
- }>, "strip", z.ZodTypeAny, {
1152
- config: {
1153
- type: "exact" | "fuzzy" | "range" | "within";
1154
- searchFields?: string[] | undefined;
1155
- };
1156
- fieldId: string;
1157
- fieldType: "field";
1158
- 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" | "FIELD_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;
1159
- options?: {
1160
- value: string;
1161
- label: string | TranslationConfig;
1162
- conditionals?: ({
1163
- type: "SHOW";
1164
- conditional: import(".").JSONSchema;
1165
- } | {
1166
- type: "ENABLE";
1167
- conditional: import(".").JSONSchema;
1168
- })[] | undefined;
1169
- }[] | undefined;
1170
- label?: TranslationConfig | undefined;
1171
- conditionals?: ({
1172
- type: "SHOW";
1173
- conditional: import(".").JSONSchema;
1174
- } | {
1175
- type: "ENABLE";
1176
- conditional: import(".").JSONSchema;
1177
- } | {
1178
- type: "DISPLAY_ON_REVIEW";
1179
- conditional: import(".").JSONSchema;
1180
- })[] | undefined;
1181
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1182
- validations?: {
1183
- message: TranslationConfig;
1184
- validator: import(".").JSONSchema;
1185
- }[] | undefined;
1186
- }, {
1187
- config: {
1188
- type: "exact" | "fuzzy" | "range" | "within";
1189
- searchFields?: string[] | undefined;
1190
- };
1191
- fieldId: string;
1192
- fieldType: "field";
1193
- 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" | "FIELD_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;
1194
- options?: {
1195
- value: string;
1196
- label: string | {
1197
- id: string;
1198
- description: string;
1199
- defaultMessage: string;
1200
- };
1201
- conditionals?: ({
1202
- type: "SHOW";
1203
- conditional: import(".").JSONSchema;
1204
- } | {
1205
- type: "ENABLE";
1206
- conditional: import(".").JSONSchema;
1207
- })[] | undefined;
1208
- }[] | undefined;
1209
- label?: {
1210
- id: string;
1211
- description: string;
1212
- defaultMessage: string;
1213
- } | undefined;
1214
- conditionals?: ({
1215
- type: "SHOW";
1216
- conditional: import(".").JSONSchema;
1217
- } | {
1218
- type: "ENABLE";
1219
- conditional: import(".").JSONSchema;
1220
- } | {
1221
- type: "DISPLAY_ON_REVIEW";
1222
- conditional: import(".").JSONSchema;
1223
- })[] | undefined;
1224
- searchCriteriaLabelPrefix?: {
1225
- id: string;
1226
- description: string;
1227
- defaultMessage: string;
1228
- } | undefined;
1229
- validations?: {
1230
- message: {
1231
- id: string;
1232
- description: string;
1233
- defaultMessage: string;
1234
- };
1235
- validator: import(".").JSONSchema;
1236
- }[] | undefined;
1237
- }>, z.ZodObject<z.objectUtil.extendShape<{
494
+ }, z.core.$strip>, z.ZodObject<{
1238
495
  config: z.ZodObject<{
1239
- type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
1240
- searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1241
- }, "strip", z.ZodTypeAny, {
1242
- type: "exact" | "fuzzy" | "range" | "within";
1243
- searchFields?: string[] | undefined;
1244
- }, {
1245
- type: "exact" | "fuzzy" | "range" | "within";
1246
- searchFields?: string[] | undefined;
1247
- }>;
1248
- type: z.ZodOptional<z.ZodNativeEnum<{
496
+ type: z.ZodEnum<{
497
+ exact: "exact";
498
+ fuzzy: "fuzzy";
499
+ range: "range";
500
+ within: "within";
501
+ }>;
502
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
503
+ }, z.core.$strip>;
504
+ type: z.ZodOptional<z.ZodEnum<{
1249
505
  readonly NAME: "NAME";
1250
506
  readonly PHONE: "PHONE";
1251
507
  readonly ID: "ID";
@@ -1260,7 +516,9 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1260
516
  readonly DATE_RANGE: "DATE_RANGE";
1261
517
  readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
1262
518
  readonly TIME: "TIME";
519
+ readonly IMAGE_VIEW: "IMAGE_VIEW";
1263
520
  readonly PARAGRAPH: "PARAGRAPH";
521
+ readonly HEADING: "HEADING";
1264
522
  readonly PAGE_HEADER: "PAGE_HEADER";
1265
523
  readonly RADIO_GROUP: "RADIO_GROUP";
1266
524
  readonly FIELD_GROUP: "FIELD_GROUP";
@@ -1287,514 +545,48 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1287
545
  readonly QR_READER: "QR_READER";
1288
546
  readonly ID_READER: "ID_READER";
1289
547
  readonly LOADER: "LOADER";
548
+ readonly ALPHA_HIDDEN: "ALPHA_HIDDEN";
549
+ readonly USER_ROLE: "USER_ROLE";
550
+ readonly _EXPERIMENTAL_CUSTOM: "CUSTOM";
1290
551
  }>>;
1291
- label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1292
- id: string;
1293
- description: string;
1294
- defaultMessage: string;
1295
- }>>;
552
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
1296
553
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1297
554
  value: z.ZodString;
1298
- label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1299
- id: string;
1300
- description: string;
1301
- defaultMessage: string;
1302
- }>]>;
1303
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
1304
- }, "strip", z.ZodTypeAny, {
1305
- value: string;
1306
- label: string | TranslationConfig;
1307
- conditionals?: ({
1308
- type: "SHOW";
1309
- conditional: import(".").JSONSchema;
1310
- } | {
1311
- type: "ENABLE";
1312
- conditional: import(".").JSONSchema;
1313
- })[] | undefined;
1314
- }, {
1315
- value: string;
1316
- label: string | {
1317
- id: string;
1318
- description: string;
1319
- defaultMessage: string;
1320
- };
1321
- conditionals?: ({
1322
- type: "SHOW";
1323
- conditional: import(".").JSONSchema;
1324
- } | {
1325
- type: "ENABLE";
1326
- conditional: import(".").JSONSchema;
1327
- })[] | undefined;
1328
- }>, "many">>;
1329
- searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1330
- id: string;
1331
- description: string;
1332
- defaultMessage: string;
1333
- }>>;
1334
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
1335
- validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
1336
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1337
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1338
- id: string;
1339
- description: string;
1340
- defaultMessage: string;
1341
- }>;
1342
- }, "strip", z.ZodTypeAny, {
1343
- message: TranslationConfig;
1344
- validator: import(".").JSONSchema;
1345
- }, {
1346
- message: {
1347
- id: string;
1348
- description: string;
1349
- defaultMessage: string;
1350
- };
1351
- validator: import(".").JSONSchema;
1352
- }>, "many">>>;
1353
- }, {
1354
- fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
555
+ label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>]>;
556
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
557
+ type: z.ZodLiteral<"SHOW">;
558
+ conditional: z.ZodAny;
559
+ }, z.core.$strip>, z.ZodObject<{
560
+ type: z.ZodLiteral<"ENABLE">;
561
+ conditional: z.ZodAny;
562
+ }, z.core.$strip>], "type">>>>;
563
+ }, z.core.$strip>>>;
564
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
565
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
566
+ type: z.ZodLiteral<"SHOW">;
567
+ conditional: z.ZodAny;
568
+ }, z.core.$strip>, z.ZodObject<{
569
+ type: z.ZodLiteral<"ENABLE">;
570
+ conditional: z.ZodAny;
571
+ }, z.core.$strip>, z.ZodObject<{
572
+ type: z.ZodLiteral<"DISPLAY_ON_REVIEW">;
573
+ conditional: z.ZodAny;
574
+ }, z.core.$strip>], "type">>>;
575
+ validations: z.ZodOptional<z.ZodArray<z.ZodObject<{
576
+ validator: z.ZodAny;
577
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
578
+ }, z.core.$strip>>>;
579
+ fieldId: z.ZodEnum<{
580
+ "event.trackingId": "event.trackingId";
581
+ "event.status": "event.status";
582
+ "event.updatedAt": "event.updatedAt";
583
+ "event.legalStatuses.REGISTERED.acceptedAt": "event.legalStatuses.REGISTERED.acceptedAt";
584
+ "event.legalStatuses.REGISTERED.createdAtLocation": "event.legalStatuses.REGISTERED.createdAtLocation";
585
+ "event.legalStatuses.REGISTERED.registrationNumber": "event.legalStatuses.REGISTERED.registrationNumber";
586
+ }>;
1355
587
  fieldType: z.ZodLiteral<"event">;
1356
- }>, "strip", z.ZodTypeAny, {
1357
- config: {
1358
- type: "exact" | "fuzzy" | "range" | "within";
1359
- searchFields?: string[] | undefined;
1360
- };
1361
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1362
- fieldType: "event";
1363
- 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" | "FIELD_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;
1364
- options?: {
1365
- value: string;
1366
- label: string | TranslationConfig;
1367
- conditionals?: ({
1368
- type: "SHOW";
1369
- conditional: import(".").JSONSchema;
1370
- } | {
1371
- type: "ENABLE";
1372
- conditional: import(".").JSONSchema;
1373
- })[] | undefined;
1374
- }[] | undefined;
1375
- label?: TranslationConfig | undefined;
1376
- conditionals?: ({
1377
- type: "SHOW";
1378
- conditional: import(".").JSONSchema;
1379
- } | {
1380
- type: "ENABLE";
1381
- conditional: import(".").JSONSchema;
1382
- } | {
1383
- type: "DISPLAY_ON_REVIEW";
1384
- conditional: import(".").JSONSchema;
1385
- })[] | undefined;
1386
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1387
- validations?: {
1388
- message: TranslationConfig;
1389
- validator: import(".").JSONSchema;
1390
- }[] | undefined;
1391
- }, {
1392
- config: {
1393
- type: "exact" | "fuzzy" | "range" | "within";
1394
- searchFields?: string[] | undefined;
1395
- };
1396
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1397
- fieldType: "event";
1398
- 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" | "FIELD_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;
1399
- options?: {
1400
- value: string;
1401
- label: string | {
1402
- id: string;
1403
- description: string;
1404
- defaultMessage: string;
1405
- };
1406
- conditionals?: ({
1407
- type: "SHOW";
1408
- conditional: import(".").JSONSchema;
1409
- } | {
1410
- type: "ENABLE";
1411
- conditional: import(".").JSONSchema;
1412
- })[] | undefined;
1413
- }[] | undefined;
1414
- label?: {
1415
- id: string;
1416
- description: string;
1417
- defaultMessage: string;
1418
- } | undefined;
1419
- conditionals?: ({
1420
- type: "SHOW";
1421
- conditional: import(".").JSONSchema;
1422
- } | {
1423
- type: "ENABLE";
1424
- conditional: import(".").JSONSchema;
1425
- } | {
1426
- type: "DISPLAY_ON_REVIEW";
1427
- conditional: import(".").JSONSchema;
1428
- })[] | undefined;
1429
- searchCriteriaLabelPrefix?: {
1430
- id: string;
1431
- description: string;
1432
- defaultMessage: string;
1433
- } | undefined;
1434
- validations?: {
1435
- message: {
1436
- id: string;
1437
- description: string;
1438
- defaultMessage: string;
1439
- };
1440
- validator: import(".").JSONSchema;
1441
- }[] | undefined;
1442
- }>]>, {
1443
- config: {
1444
- type: "exact" | "fuzzy" | "range" | "within";
1445
- searchFields?: string[] | undefined;
1446
- };
1447
- fieldId: string;
1448
- fieldType: "field";
1449
- 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" | "FIELD_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;
1450
- options?: {
1451
- value: string;
1452
- label: string | TranslationConfig;
1453
- conditionals?: ({
1454
- type: "SHOW";
1455
- conditional: import(".").JSONSchema;
1456
- } | {
1457
- type: "ENABLE";
1458
- conditional: import(".").JSONSchema;
1459
- })[] | undefined;
1460
- }[] | undefined;
1461
- label?: TranslationConfig | undefined;
1462
- conditionals?: ({
1463
- type: "SHOW";
1464
- conditional: import(".").JSONSchema;
1465
- } | {
1466
- type: "ENABLE";
1467
- conditional: import(".").JSONSchema;
1468
- } | {
1469
- type: "DISPLAY_ON_REVIEW";
1470
- conditional: import(".").JSONSchema;
1471
- })[] | undefined;
1472
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1473
- validations?: {
1474
- message: TranslationConfig;
1475
- validator: import(".").JSONSchema;
1476
- }[] | undefined;
1477
- } | {
1478
- config: {
1479
- type: "exact" | "fuzzy" | "range" | "within";
1480
- searchFields?: string[] | undefined;
1481
- };
1482
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1483
- fieldType: "event";
1484
- 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" | "FIELD_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;
1485
- options?: {
1486
- value: string;
1487
- label: string | TranslationConfig;
1488
- conditionals?: ({
1489
- type: "SHOW";
1490
- conditional: import(".").JSONSchema;
1491
- } | {
1492
- type: "ENABLE";
1493
- conditional: import(".").JSONSchema;
1494
- })[] | undefined;
1495
- }[] | undefined;
1496
- label?: TranslationConfig | undefined;
1497
- conditionals?: ({
1498
- type: "SHOW";
1499
- conditional: import(".").JSONSchema;
1500
- } | {
1501
- type: "ENABLE";
1502
- conditional: import(".").JSONSchema;
1503
- } | {
1504
- type: "DISPLAY_ON_REVIEW";
1505
- conditional: import(".").JSONSchema;
1506
- })[] | undefined;
1507
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1508
- validations?: {
1509
- message: TranslationConfig;
1510
- validator: import(".").JSONSchema;
1511
- }[] | undefined;
1512
- }, {
1513
- config: {
1514
- type: "exact" | "fuzzy" | "range" | "within";
1515
- searchFields?: string[] | undefined;
1516
- };
1517
- fieldId: string;
1518
- fieldType: "field";
1519
- 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" | "FIELD_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;
1520
- options?: {
1521
- value: string;
1522
- label: string | {
1523
- id: string;
1524
- description: string;
1525
- defaultMessage: string;
1526
- };
1527
- conditionals?: ({
1528
- type: "SHOW";
1529
- conditional: import(".").JSONSchema;
1530
- } | {
1531
- type: "ENABLE";
1532
- conditional: import(".").JSONSchema;
1533
- })[] | undefined;
1534
- }[] | undefined;
1535
- label?: {
1536
- id: string;
1537
- description: string;
1538
- defaultMessage: string;
1539
- } | undefined;
1540
- conditionals?: ({
1541
- type: "SHOW";
1542
- conditional: import(".").JSONSchema;
1543
- } | {
1544
- type: "ENABLE";
1545
- conditional: import(".").JSONSchema;
1546
- } | {
1547
- type: "DISPLAY_ON_REVIEW";
1548
- conditional: import(".").JSONSchema;
1549
- })[] | undefined;
1550
- searchCriteriaLabelPrefix?: {
1551
- id: string;
1552
- description: string;
1553
- defaultMessage: string;
1554
- } | undefined;
1555
- validations?: {
1556
- message: {
1557
- id: string;
1558
- description: string;
1559
- defaultMessage: string;
1560
- };
1561
- validator: import(".").JSONSchema;
1562
- }[] | undefined;
1563
- } | {
1564
- config: {
1565
- type: "exact" | "fuzzy" | "range" | "within";
1566
- searchFields?: string[] | undefined;
1567
- };
1568
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1569
- fieldType: "event";
1570
- 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" | "FIELD_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;
1571
- options?: {
1572
- value: string;
1573
- label: string | {
1574
- id: string;
1575
- description: string;
1576
- defaultMessage: string;
1577
- };
1578
- conditionals?: ({
1579
- type: "SHOW";
1580
- conditional: import(".").JSONSchema;
1581
- } | {
1582
- type: "ENABLE";
1583
- conditional: import(".").JSONSchema;
1584
- })[] | undefined;
1585
- }[] | undefined;
1586
- label?: {
1587
- id: string;
1588
- description: string;
1589
- defaultMessage: string;
1590
- } | undefined;
1591
- conditionals?: ({
1592
- type: "SHOW";
1593
- conditional: import(".").JSONSchema;
1594
- } | {
1595
- type: "ENABLE";
1596
- conditional: import(".").JSONSchema;
1597
- } | {
1598
- type: "DISPLAY_ON_REVIEW";
1599
- conditional: import(".").JSONSchema;
1600
- })[] | undefined;
1601
- searchCriteriaLabelPrefix?: {
1602
- id: string;
1603
- description: string;
1604
- defaultMessage: string;
1605
- } | undefined;
1606
- validations?: {
1607
- message: {
1608
- id: string;
1609
- description: string;
1610
- defaultMessage: string;
1611
- };
1612
- validator: import(".").JSONSchema;
1613
- }[] | undefined;
1614
- }>, "many">;
1615
- }, "strip", z.ZodTypeAny, {
1616
- title: TranslationConfig;
1617
- fields: ({
1618
- config: {
1619
- type: "exact" | "fuzzy" | "range" | "within";
1620
- searchFields?: string[] | undefined;
1621
- };
1622
- fieldId: string;
1623
- fieldType: "field";
1624
- 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" | "FIELD_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;
1625
- options?: {
1626
- value: string;
1627
- label: string | TranslationConfig;
1628
- conditionals?: ({
1629
- type: "SHOW";
1630
- conditional: import(".").JSONSchema;
1631
- } | {
1632
- type: "ENABLE";
1633
- conditional: import(".").JSONSchema;
1634
- })[] | undefined;
1635
- }[] | undefined;
1636
- label?: TranslationConfig | undefined;
1637
- conditionals?: ({
1638
- type: "SHOW";
1639
- conditional: import(".").JSONSchema;
1640
- } | {
1641
- type: "ENABLE";
1642
- conditional: import(".").JSONSchema;
1643
- } | {
1644
- type: "DISPLAY_ON_REVIEW";
1645
- conditional: import(".").JSONSchema;
1646
- })[] | undefined;
1647
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1648
- validations?: {
1649
- message: TranslationConfig;
1650
- validator: import(".").JSONSchema;
1651
- }[] | undefined;
1652
- } | {
1653
- config: {
1654
- type: "exact" | "fuzzy" | "range" | "within";
1655
- searchFields?: string[] | undefined;
1656
- };
1657
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1658
- fieldType: "event";
1659
- 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" | "FIELD_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;
1660
- options?: {
1661
- value: string;
1662
- label: string | TranslationConfig;
1663
- conditionals?: ({
1664
- type: "SHOW";
1665
- conditional: import(".").JSONSchema;
1666
- } | {
1667
- type: "ENABLE";
1668
- conditional: import(".").JSONSchema;
1669
- })[] | undefined;
1670
- }[] | undefined;
1671
- label?: TranslationConfig | undefined;
1672
- conditionals?: ({
1673
- type: "SHOW";
1674
- conditional: import(".").JSONSchema;
1675
- } | {
1676
- type: "ENABLE";
1677
- conditional: import(".").JSONSchema;
1678
- } | {
1679
- type: "DISPLAY_ON_REVIEW";
1680
- conditional: import(".").JSONSchema;
1681
- })[] | undefined;
1682
- searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1683
- validations?: {
1684
- message: TranslationConfig;
1685
- validator: import(".").JSONSchema;
1686
- }[] | undefined;
1687
- })[];
1688
- }, {
1689
- title: {
1690
- id: string;
1691
- description: string;
1692
- defaultMessage: string;
1693
- };
1694
- fields: ({
1695
- config: {
1696
- type: "exact" | "fuzzy" | "range" | "within";
1697
- searchFields?: string[] | undefined;
1698
- };
1699
- fieldId: string;
1700
- fieldType: "field";
1701
- 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" | "FIELD_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;
1702
- options?: {
1703
- value: string;
1704
- label: string | {
1705
- id: string;
1706
- description: string;
1707
- defaultMessage: string;
1708
- };
1709
- conditionals?: ({
1710
- type: "SHOW";
1711
- conditional: import(".").JSONSchema;
1712
- } | {
1713
- type: "ENABLE";
1714
- conditional: import(".").JSONSchema;
1715
- })[] | undefined;
1716
- }[] | undefined;
1717
- label?: {
1718
- id: string;
1719
- description: string;
1720
- defaultMessage: string;
1721
- } | undefined;
1722
- conditionals?: ({
1723
- type: "SHOW";
1724
- conditional: import(".").JSONSchema;
1725
- } | {
1726
- type: "ENABLE";
1727
- conditional: import(".").JSONSchema;
1728
- } | {
1729
- type: "DISPLAY_ON_REVIEW";
1730
- conditional: import(".").JSONSchema;
1731
- })[] | undefined;
1732
- searchCriteriaLabelPrefix?: {
1733
- id: string;
1734
- description: string;
1735
- defaultMessage: string;
1736
- } | undefined;
1737
- validations?: {
1738
- message: {
1739
- id: string;
1740
- description: string;
1741
- defaultMessage: string;
1742
- };
1743
- validator: import(".").JSONSchema;
1744
- }[] | undefined;
1745
- } | {
1746
- config: {
1747
- type: "exact" | "fuzzy" | "range" | "within";
1748
- searchFields?: string[] | undefined;
1749
- };
1750
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1751
- fieldType: "event";
1752
- 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" | "FIELD_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;
1753
- options?: {
1754
- value: string;
1755
- label: string | {
1756
- id: string;
1757
- description: string;
1758
- defaultMessage: string;
1759
- };
1760
- conditionals?: ({
1761
- type: "SHOW";
1762
- conditional: import(".").JSONSchema;
1763
- } | {
1764
- type: "ENABLE";
1765
- conditional: import(".").JSONSchema;
1766
- })[] | undefined;
1767
- }[] | undefined;
1768
- label?: {
1769
- id: string;
1770
- description: string;
1771
- defaultMessage: string;
1772
- } | undefined;
1773
- conditionals?: ({
1774
- type: "SHOW";
1775
- conditional: import(".").JSONSchema;
1776
- } | {
1777
- type: "ENABLE";
1778
- conditional: import(".").JSONSchema;
1779
- } | {
1780
- type: "DISPLAY_ON_REVIEW";
1781
- conditional: import(".").JSONSchema;
1782
- })[] | undefined;
1783
- searchCriteriaLabelPrefix?: {
1784
- id: string;
1785
- description: string;
1786
- defaultMessage: string;
1787
- } | undefined;
1788
- validations?: {
1789
- message: {
1790
- id: string;
1791
- description: string;
1792
- defaultMessage: string;
1793
- };
1794
- validator: import(".").JSONSchema;
1795
- }[] | undefined;
1796
- })[];
1797
- }>;
588
+ }, z.core.$strip>], "fieldType">>;
589
+ }, z.core.$strip>;
1798
590
  export type AdvancedSearchConfig = z.infer<typeof AdvancedSearchConfig>;
1799
591
  export type AdvancedSearchConfigWithFieldsResolved = Omit<AdvancedSearchConfig, 'fields'> & {
1800
592
  fields: FieldConfig[];