@opencrvs/toolkit 1.9.13-rc.72233cd → 1.9.13-rc.73a1d40

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