@opencrvs/toolkit 1.9.6 → 1.9.7-rc.03e4d07

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