@opencrvs/toolkit 1.9.12-rc.d350fab → 1.9.12-rc.d89c437

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