@nira-opencrvs/toolkit 1.9.11-rc.1f36427

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 (77) hide show
  1. package/README.md +70 -0
  2. package/build.sh +56 -0
  3. package/dist/api/index.d.ts +11 -0
  4. package/dist/api/index.d.ts.map +1 -0
  5. package/dist/api/index.js +52 -0
  6. package/dist/commons/api/router.d.ts +4125 -0
  7. package/dist/commons/conditionals/conditionals.d.ts +824 -0
  8. package/dist/commons/conditionals/index.d.ts +2 -0
  9. package/dist/commons/conditionals/validate.d.ts +101 -0
  10. package/dist/commons/events/ActionConfig.d.ts +1609 -0
  11. package/dist/commons/events/ActionDocument.d.ts +2180 -0
  12. package/dist/commons/events/ActionInput.d.ts +1229 -0
  13. package/dist/commons/events/ActionType.d.ts +52 -0
  14. package/dist/commons/events/AdvancedSearchConfig.d.ts +1538 -0
  15. package/dist/commons/events/CompositeFieldValue.d.ts +280 -0
  16. package/dist/commons/events/Conditional.d.ts +55 -0
  17. package/dist/commons/events/Constants.d.ts +3 -0
  18. package/dist/commons/events/CountryConfigQueryInput.d.ts +4784 -0
  19. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  20. package/dist/commons/events/DeduplicationConfig.d.ts +233 -0
  21. package/dist/commons/events/Draft.d.ts +118 -0
  22. package/dist/commons/events/DynamicFieldValue.d.ts +139 -0
  23. package/dist/commons/events/EventConfig.d.ts +2255 -0
  24. package/dist/commons/events/EventConfigInput.d.ts +10 -0
  25. package/dist/commons/events/EventDocument.d.ts +1457 -0
  26. package/dist/commons/events/EventIndex.d.ts +1134 -0
  27. package/dist/commons/events/EventInput.d.ts +13 -0
  28. package/dist/commons/events/EventMetadata.d.ts +413 -0
  29. package/dist/commons/events/FieldConfig.d.ts +12935 -0
  30. package/dist/commons/events/FieldType.d.ts +55 -0
  31. package/dist/commons/events/FieldTypeMapping.d.ts +1289 -0
  32. package/dist/commons/events/FieldValue.d.ts +512 -0
  33. package/dist/commons/events/FileUtils.d.ts +4 -0
  34. package/dist/commons/events/FormConfig.d.ts +755 -0
  35. package/dist/commons/events/PageConfig.d.ts +342 -0
  36. package/dist/commons/events/PlainDate.d.ts +19 -0
  37. package/dist/commons/events/SummaryConfig.d.ts +170 -0
  38. package/dist/commons/events/TemplateConfig.d.ts +66 -0
  39. package/dist/commons/events/TranslationConfig.d.ts +15 -0
  40. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  41. package/dist/commons/events/WorkqueueConfig.d.ts +7957 -0
  42. package/dist/commons/events/deduplication.d.ts +69 -0
  43. package/dist/commons/events/defineConfig.d.ts +234 -0
  44. package/dist/commons/events/event.d.ts +80 -0
  45. package/dist/commons/events/field.d.ts +514 -0
  46. package/dist/commons/events/index.d.ts +45 -0
  47. package/dist/commons/events/locations.d.ts +24 -0
  48. package/dist/commons/events/scopes.d.ts +55 -0
  49. package/dist/commons/events/serializer.d.ts +2 -0
  50. package/dist/commons/events/state/availableActions.d.ts +6 -0
  51. package/dist/commons/events/state/flags.d.ts +4 -0
  52. package/dist/commons/events/state/index.d.ts +119 -0
  53. package/dist/commons/events/state/utils.d.ts +311 -0
  54. package/dist/commons/events/test.utils.d.ts +248 -0
  55. package/dist/commons/events/transactions.d.ts +2 -0
  56. package/dist/commons/events/utils.d.ts +486 -0
  57. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  58. package/dist/commons/notification/UserNotifications.d.ts +762 -0
  59. package/dist/commons/notification/index.d.ts +2 -0
  60. package/dist/conditionals/index.d.ts +2 -0
  61. package/dist/conditionals/index.d.ts.map +1 -0
  62. package/dist/conditionals/index.js +689 -0
  63. package/dist/events/deduplication.d.ts +69 -0
  64. package/dist/events/deduplication.d.ts.map +1 -0
  65. package/dist/events/deduplication.js +101 -0
  66. package/dist/events/index.d.ts +2 -0
  67. package/dist/events/index.d.ts.map +1 -0
  68. package/dist/events/index.js +9327 -0
  69. package/dist/notification/index.d.ts +2 -0
  70. package/dist/notification/index.d.ts.map +1 -0
  71. package/dist/notification/index.js +6674 -0
  72. package/dist/scopes/index.d.ts +385 -0
  73. package/dist/scopes/index.d.ts.map +1 -0
  74. package/dist/scopes/index.js +349 -0
  75. package/package.json +40 -0
  76. package/tsconfig.json +27 -0
  77. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,2255 @@
1
+ import { z } from 'zod';
2
+ import { TranslationConfig } from './TranslationConfig';
3
+ export declare const EventFieldReference: z.ZodObject<{
4
+ $$event: z.ZodEnum<["createdAt", "updatedAt", "legalStatuses.DECLARED.createdAt", "legalStatuses.DECLARED.acceptedAt", "legalStatuses.REGISTERED.createdAt", "legalStatuses.REGISTERED.acceptedAt"]>;
5
+ }, "strip", z.ZodTypeAny, {
6
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
7
+ }, {
8
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
9
+ }>;
10
+ /**
11
+ * Description of event features defined by the country. Includes configuration for process steps and forms involved.
12
+ *
13
+ * `Event.parse(config)` will throw an error if the configuration is invalid.
14
+ */
15
+ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
16
+ id: z.ZodString;
17
+ dateOfEvent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
18
+ $$field: z.ZodEffects<z.ZodString, string, string>;
19
+ $$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ $$field: string;
22
+ $$subfield: string[];
23
+ }, {
24
+ $$field: string;
25
+ $$subfield?: string[] | undefined;
26
+ }>, z.ZodObject<{
27
+ $$event: z.ZodEnum<["createdAt", "updatedAt", "legalStatuses.DECLARED.createdAt", "legalStatuses.DECLARED.acceptedAt", "legalStatuses.REGISTERED.createdAt", "legalStatuses.REGISTERED.acceptedAt"]>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
30
+ }, {
31
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
32
+ }>]>>;
33
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
34
+ id: string;
35
+ description: string;
36
+ defaultMessage: string;
37
+ }>;
38
+ fallbackTitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
39
+ id: string;
40
+ description: string;
41
+ defaultMessage: string;
42
+ }>>;
43
+ summary: z.ZodObject<{
44
+ fields: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
45
+ emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
46
+ id: string;
47
+ description: string;
48
+ defaultMessage: string;
49
+ }>>;
50
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
51
+ type: z.ZodLiteral<"SHOW">;
52
+ conditional: z.ZodType<import("../conditionals/conditionals").JSONSchema, z.ZodTypeDef, import("../conditionals/conditionals").JSONSchema>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ type: "SHOW";
55
+ conditional: import("../conditionals/conditionals").JSONSchema;
56
+ }, {
57
+ type: "SHOW";
58
+ conditional: import("../conditionals/conditionals").JSONSchema;
59
+ }>, "many">>>;
60
+ }, {
61
+ id: z.ZodString;
62
+ value: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
63
+ id: string;
64
+ description: string;
65
+ defaultMessage: string;
66
+ }>;
67
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
68
+ id: string;
69
+ description: string;
70
+ defaultMessage: string;
71
+ }>;
72
+ }>, "strip", z.ZodTypeAny, {
73
+ id: string;
74
+ value: TranslationConfig;
75
+ label: TranslationConfig;
76
+ conditionals?: {
77
+ type: "SHOW";
78
+ conditional: import("../conditionals/conditionals").JSONSchema;
79
+ }[] | undefined;
80
+ emptyValueMessage?: TranslationConfig | undefined;
81
+ }, {
82
+ id: string;
83
+ value: {
84
+ id: string;
85
+ description: string;
86
+ defaultMessage: string;
87
+ };
88
+ label: {
89
+ id: string;
90
+ description: string;
91
+ defaultMessage: string;
92
+ };
93
+ conditionals?: {
94
+ type: "SHOW";
95
+ conditional: import("../conditionals/conditionals").JSONSchema;
96
+ }[] | undefined;
97
+ emptyValueMessage?: {
98
+ id: string;
99
+ description: string;
100
+ defaultMessage: string;
101
+ } | undefined;
102
+ }>, z.ZodObject<z.objectUtil.extendShape<{
103
+ emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
104
+ id: string;
105
+ description: string;
106
+ defaultMessage: string;
107
+ }>>;
108
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
109
+ type: z.ZodLiteral<"SHOW">;
110
+ conditional: z.ZodType<import("../conditionals/conditionals").JSONSchema, z.ZodTypeDef, import("../conditionals/conditionals").JSONSchema>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ type: "SHOW";
113
+ conditional: import("../conditionals/conditionals").JSONSchema;
114
+ }, {
115
+ type: "SHOW";
116
+ conditional: import("../conditionals/conditionals").JSONSchema;
117
+ }>, "many">>>;
118
+ }, {
119
+ fieldId: z.ZodString;
120
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
121
+ id: string;
122
+ description: string;
123
+ defaultMessage: string;
124
+ }>>;
125
+ }>, "strip", z.ZodTypeAny, {
126
+ fieldId: string;
127
+ label?: TranslationConfig | undefined;
128
+ conditionals?: {
129
+ type: "SHOW";
130
+ conditional: import("../conditionals/conditionals").JSONSchema;
131
+ }[] | undefined;
132
+ emptyValueMessage?: TranslationConfig | undefined;
133
+ }, {
134
+ fieldId: string;
135
+ label?: {
136
+ id: string;
137
+ description: string;
138
+ defaultMessage: string;
139
+ } | undefined;
140
+ conditionals?: {
141
+ type: "SHOW";
142
+ conditional: import("../conditionals/conditionals").JSONSchema;
143
+ }[] | undefined;
144
+ emptyValueMessage?: {
145
+ id: string;
146
+ description: string;
147
+ defaultMessage: string;
148
+ } | undefined;
149
+ }>]>, "many">;
150
+ }, "strip", z.ZodTypeAny, {
151
+ fields: ({
152
+ fieldId: string;
153
+ label?: TranslationConfig | undefined;
154
+ conditionals?: {
155
+ type: "SHOW";
156
+ conditional: import("../conditionals/conditionals").JSONSchema;
157
+ }[] | undefined;
158
+ emptyValueMessage?: TranslationConfig | undefined;
159
+ } | {
160
+ id: string;
161
+ value: TranslationConfig;
162
+ label: TranslationConfig;
163
+ conditionals?: {
164
+ type: "SHOW";
165
+ conditional: import("../conditionals/conditionals").JSONSchema;
166
+ }[] | undefined;
167
+ emptyValueMessage?: TranslationConfig | undefined;
168
+ })[];
169
+ }, {
170
+ fields: ({
171
+ fieldId: string;
172
+ label?: {
173
+ id: string;
174
+ description: string;
175
+ defaultMessage: string;
176
+ } | undefined;
177
+ conditionals?: {
178
+ type: "SHOW";
179
+ conditional: import("../conditionals/conditionals").JSONSchema;
180
+ }[] | undefined;
181
+ emptyValueMessage?: {
182
+ id: string;
183
+ description: string;
184
+ defaultMessage: string;
185
+ } | undefined;
186
+ } | {
187
+ id: string;
188
+ value: {
189
+ id: string;
190
+ description: string;
191
+ defaultMessage: string;
192
+ };
193
+ label: {
194
+ id: string;
195
+ description: string;
196
+ defaultMessage: string;
197
+ };
198
+ conditionals?: {
199
+ type: "SHOW";
200
+ conditional: import("../conditionals/conditionals").JSONSchema;
201
+ }[] | undefined;
202
+ emptyValueMessage?: {
203
+ id: string;
204
+ description: string;
205
+ defaultMessage: string;
206
+ } | undefined;
207
+ })[];
208
+ }>;
209
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
210
+ id: string;
211
+ description: string;
212
+ defaultMessage: string;
213
+ }>;
214
+ actions: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./ActionConfig").AllActionConfigFields[]>, "many">;
215
+ declaration: z.ZodObject<{
216
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
217
+ id: string;
218
+ description: string;
219
+ defaultMessage: string;
220
+ }>;
221
+ pages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
222
+ id: z.ZodString;
223
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
224
+ id: string;
225
+ description: string;
226
+ defaultMessage: string;
227
+ }>;
228
+ requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
229
+ fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
230
+ conditional: z.ZodOptional<z.ZodType<import("../conditionals/conditionals").JSONSchema, z.ZodTypeDef, import("../conditionals/conditionals").JSONSchema>>;
231
+ }, {
232
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
233
+ }>, "strip", z.ZodTypeAny, {
234
+ type: "FORM";
235
+ id: string;
236
+ title: TranslationConfig;
237
+ fields: import("./FieldConfig").FieldConfig[];
238
+ requireCompletionToContinue: boolean;
239
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
240
+ }, {
241
+ id: string;
242
+ title: {
243
+ id: string;
244
+ description: string;
245
+ defaultMessage: string;
246
+ };
247
+ fields: import("./FieldConfig").FieldConfigInput[];
248
+ type?: "FORM" | undefined;
249
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
250
+ requireCompletionToContinue?: boolean | undefined;
251
+ }>, "many">;
252
+ }, "strip", z.ZodTypeAny, {
253
+ label: TranslationConfig;
254
+ pages: {
255
+ type: "FORM";
256
+ id: string;
257
+ title: TranslationConfig;
258
+ fields: import("./FieldConfig").FieldConfig[];
259
+ requireCompletionToContinue: boolean;
260
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
261
+ }[];
262
+ }, {
263
+ label: {
264
+ id: string;
265
+ description: string;
266
+ defaultMessage: string;
267
+ };
268
+ pages: {
269
+ id: string;
270
+ title: {
271
+ id: string;
272
+ description: string;
273
+ defaultMessage: string;
274
+ };
275
+ fields: import("./FieldConfig").FieldConfigInput[];
276
+ type?: "FORM" | undefined;
277
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
278
+ requireCompletionToContinue?: boolean | undefined;
279
+ }[];
280
+ }>;
281
+ advancedSearch: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
282
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
283
+ id: string;
284
+ description: string;
285
+ defaultMessage: string;
286
+ }>;
287
+ fields: z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
288
+ config: z.ZodObject<{
289
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
290
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ type: "exact" | "fuzzy" | "range" | "within";
293
+ searchFields?: string[] | undefined;
294
+ }, {
295
+ type: "exact" | "fuzzy" | "range" | "within";
296
+ searchFields?: string[] | undefined;
297
+ }>;
298
+ type: z.ZodOptional<z.ZodNativeEnum<{
299
+ readonly NAME: "NAME";
300
+ readonly PHONE: "PHONE";
301
+ readonly ID: "ID";
302
+ readonly ADDRESS: "ADDRESS";
303
+ readonly TEXT: "TEXT";
304
+ readonly NUMBER: "NUMBER";
305
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
306
+ readonly TEXTAREA: "TEXTAREA";
307
+ readonly EMAIL: "EMAIL";
308
+ readonly DATE: "DATE";
309
+ readonly AGE: "AGE";
310
+ readonly DATE_RANGE: "DATE_RANGE";
311
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
312
+ readonly TIME: "TIME";
313
+ readonly PARAGRAPH: "PARAGRAPH";
314
+ readonly PAGE_HEADER: "PAGE_HEADER";
315
+ readonly RADIO_GROUP: "RADIO_GROUP";
316
+ readonly FILE: "FILE";
317
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
318
+ readonly BULLET_LIST: "BULLET_LIST";
319
+ readonly CHECKBOX: "CHECKBOX";
320
+ readonly SELECT: "SELECT";
321
+ readonly COUNTRY: "COUNTRY";
322
+ readonly LOCATION: "LOCATION";
323
+ readonly DIVIDER: "DIVIDER";
324
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
325
+ readonly FACILITY: "FACILITY";
326
+ readonly OFFICE: "OFFICE";
327
+ readonly SIGNATURE: "SIGNATURE";
328
+ readonly DATA: "DATA";
329
+ readonly BUTTON: "BUTTON";
330
+ readonly SEARCH: "SEARCH";
331
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
332
+ readonly HTTP: "HTTP";
333
+ readonly LINK_BUTTON: "LINK_BUTTON";
334
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
335
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
336
+ readonly QR_READER: "QR_READER";
337
+ readonly ID_READER: "ID_READER";
338
+ readonly LOADER: "LOADER";
339
+ }>>;
340
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
341
+ id: string;
342
+ description: string;
343
+ defaultMessage: string;
344
+ }>>;
345
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
+ value: z.ZodString;
347
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
348
+ id: string;
349
+ description: string;
350
+ defaultMessage: string;
351
+ }>]>;
352
+ }, "strip", z.ZodTypeAny, {
353
+ value: string;
354
+ label: string | TranslationConfig;
355
+ }, {
356
+ value: string;
357
+ label: string | {
358
+ id: string;
359
+ description: string;
360
+ defaultMessage: string;
361
+ };
362
+ }>, "many">>;
363
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
364
+ id: string;
365
+ description: string;
366
+ defaultMessage: string;
367
+ }>>;
368
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
369
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
370
+ validator: z.ZodType<import("../conditionals/conditionals").JSONSchema, z.ZodTypeDef, import("../conditionals/conditionals").JSONSchema>;
371
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
372
+ id: string;
373
+ description: string;
374
+ defaultMessage: string;
375
+ }>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ message: TranslationConfig;
378
+ validator: import("../conditionals/conditionals").JSONSchema;
379
+ }, {
380
+ message: {
381
+ id: string;
382
+ description: string;
383
+ defaultMessage: string;
384
+ };
385
+ validator: import("../conditionals/conditionals").JSONSchema;
386
+ }>, "many">>>;
387
+ }, {
388
+ fieldId: z.ZodString;
389
+ fieldType: z.ZodLiteral<"field">;
390
+ }>, "strip", z.ZodTypeAny, {
391
+ config: {
392
+ type: "exact" | "fuzzy" | "range" | "within";
393
+ searchFields?: string[] | undefined;
394
+ };
395
+ fieldId: string;
396
+ fieldType: "field";
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" | "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 | TranslationConfig;
401
+ }[] | undefined;
402
+ label?: TranslationConfig | undefined;
403
+ conditionals?: ({
404
+ type: "SHOW";
405
+ conditional: import("../conditionals/conditionals").JSONSchema;
406
+ } | {
407
+ type: "ENABLE";
408
+ conditional: import("../conditionals/conditionals").JSONSchema;
409
+ } | {
410
+ type: "DISPLAY_ON_REVIEW";
411
+ conditional: import("../conditionals/conditionals").JSONSchema;
412
+ })[] | undefined;
413
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
414
+ validations?: {
415
+ message: TranslationConfig;
416
+ validator: import("../conditionals/conditionals").JSONSchema;
417
+ }[] | undefined;
418
+ }, {
419
+ config: {
420
+ type: "exact" | "fuzzy" | "range" | "within";
421
+ searchFields?: string[] | undefined;
422
+ };
423
+ fieldId: string;
424
+ fieldType: "field";
425
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
426
+ options?: {
427
+ value: string;
428
+ label: string | {
429
+ id: string;
430
+ description: string;
431
+ defaultMessage: string;
432
+ };
433
+ }[] | undefined;
434
+ label?: {
435
+ id: string;
436
+ description: string;
437
+ defaultMessage: string;
438
+ } | undefined;
439
+ conditionals?: ({
440
+ type: "SHOW";
441
+ conditional: import("../conditionals/conditionals").JSONSchema;
442
+ } | {
443
+ type: "ENABLE";
444
+ conditional: import("../conditionals/conditionals").JSONSchema;
445
+ } | {
446
+ type: "DISPLAY_ON_REVIEW";
447
+ conditional: import("../conditionals/conditionals").JSONSchema;
448
+ })[] | undefined;
449
+ searchCriteriaLabelPrefix?: {
450
+ id: string;
451
+ description: string;
452
+ defaultMessage: string;
453
+ } | undefined;
454
+ validations?: {
455
+ message: {
456
+ id: string;
457
+ description: string;
458
+ defaultMessage: string;
459
+ };
460
+ validator: import("../conditionals/conditionals").JSONSchema;
461
+ }[] | undefined;
462
+ }>, z.ZodObject<z.objectUtil.extendShape<{
463
+ config: z.ZodObject<{
464
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
465
+ searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ type: "exact" | "fuzzy" | "range" | "within";
468
+ searchFields?: string[] | undefined;
469
+ }, {
470
+ type: "exact" | "fuzzy" | "range" | "within";
471
+ searchFields?: string[] | undefined;
472
+ }>;
473
+ type: z.ZodOptional<z.ZodNativeEnum<{
474
+ readonly NAME: "NAME";
475
+ readonly PHONE: "PHONE";
476
+ readonly ID: "ID";
477
+ readonly ADDRESS: "ADDRESS";
478
+ readonly TEXT: "TEXT";
479
+ readonly NUMBER: "NUMBER";
480
+ readonly NUMBER_WITH_UNIT: "NUMBER_WITH_UNIT";
481
+ readonly TEXTAREA: "TEXTAREA";
482
+ readonly EMAIL: "EMAIL";
483
+ readonly DATE: "DATE";
484
+ readonly AGE: "AGE";
485
+ readonly DATE_RANGE: "DATE_RANGE";
486
+ readonly SELECT_DATE_RANGE: "SELECT_DATE_RANGE";
487
+ readonly TIME: "TIME";
488
+ readonly PARAGRAPH: "PARAGRAPH";
489
+ readonly PAGE_HEADER: "PAGE_HEADER";
490
+ readonly RADIO_GROUP: "RADIO_GROUP";
491
+ readonly FILE: "FILE";
492
+ readonly FILE_WITH_OPTIONS: "FILE_WITH_OPTIONS";
493
+ readonly BULLET_LIST: "BULLET_LIST";
494
+ readonly CHECKBOX: "CHECKBOX";
495
+ readonly SELECT: "SELECT";
496
+ readonly COUNTRY: "COUNTRY";
497
+ readonly LOCATION: "LOCATION";
498
+ readonly DIVIDER: "DIVIDER";
499
+ readonly ADMINISTRATIVE_AREA: "ADMINISTRATIVE_AREA";
500
+ readonly FACILITY: "FACILITY";
501
+ readonly OFFICE: "OFFICE";
502
+ readonly SIGNATURE: "SIGNATURE";
503
+ readonly DATA: "DATA";
504
+ readonly BUTTON: "BUTTON";
505
+ readonly SEARCH: "SEARCH";
506
+ readonly ALPHA_PRINT_BUTTON: "ALPHA_PRINT_BUTTON";
507
+ readonly HTTP: "HTTP";
508
+ readonly LINK_BUTTON: "LINK_BUTTON";
509
+ readonly VERIFICATION_STATUS: "VERIFICATION_STATUS";
510
+ readonly QUERY_PARAM_READER: "QUERY_PARAM_READER";
511
+ readonly QR_READER: "QR_READER";
512
+ readonly ID_READER: "ID_READER";
513
+ readonly LOADER: "LOADER";
514
+ }>>;
515
+ label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
516
+ id: string;
517
+ description: string;
518
+ defaultMessage: string;
519
+ }>>;
520
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
521
+ value: z.ZodString;
522
+ label: z.ZodUnion<[z.ZodString, z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
523
+ id: string;
524
+ description: string;
525
+ defaultMessage: string;
526
+ }>]>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ value: string;
529
+ label: string | TranslationConfig;
530
+ }, {
531
+ value: string;
532
+ label: string | {
533
+ id: string;
534
+ description: string;
535
+ defaultMessage: string;
536
+ };
537
+ }>, "many">>;
538
+ searchCriteriaLabelPrefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
539
+ id: string;
540
+ description: string;
541
+ defaultMessage: string;
542
+ }>>;
543
+ conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
544
+ validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
545
+ validator: z.ZodType<import("../conditionals/conditionals").JSONSchema, z.ZodTypeDef, import("../conditionals/conditionals").JSONSchema>;
546
+ message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
547
+ id: string;
548
+ description: string;
549
+ defaultMessage: string;
550
+ }>;
551
+ }, "strip", z.ZodTypeAny, {
552
+ message: TranslationConfig;
553
+ validator: import("../conditionals/conditionals").JSONSchema;
554
+ }, {
555
+ message: {
556
+ id: string;
557
+ description: string;
558
+ defaultMessage: string;
559
+ };
560
+ validator: import("../conditionals/conditionals").JSONSchema;
561
+ }>, "many">>>;
562
+ }, {
563
+ fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
564
+ fieldType: z.ZodLiteral<"event">;
565
+ }>, "strip", z.ZodTypeAny, {
566
+ config: {
567
+ type: "exact" | "fuzzy" | "range" | "within";
568
+ searchFields?: string[] | undefined;
569
+ };
570
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
571
+ fieldType: "event";
572
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
573
+ options?: {
574
+ value: string;
575
+ label: string | TranslationConfig;
576
+ }[] | undefined;
577
+ label?: TranslationConfig | undefined;
578
+ conditionals?: ({
579
+ type: "SHOW";
580
+ conditional: import("../conditionals/conditionals").JSONSchema;
581
+ } | {
582
+ type: "ENABLE";
583
+ conditional: import("../conditionals/conditionals").JSONSchema;
584
+ } | {
585
+ type: "DISPLAY_ON_REVIEW";
586
+ conditional: import("../conditionals/conditionals").JSONSchema;
587
+ })[] | undefined;
588
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
589
+ validations?: {
590
+ message: TranslationConfig;
591
+ validator: import("../conditionals/conditionals").JSONSchema;
592
+ }[] | undefined;
593
+ }, {
594
+ config: {
595
+ type: "exact" | "fuzzy" | "range" | "within";
596
+ searchFields?: string[] | undefined;
597
+ };
598
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
599
+ fieldType: "event";
600
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
601
+ options?: {
602
+ value: string;
603
+ label: string | {
604
+ id: string;
605
+ description: string;
606
+ defaultMessage: string;
607
+ };
608
+ }[] | undefined;
609
+ label?: {
610
+ id: string;
611
+ description: string;
612
+ defaultMessage: string;
613
+ } | undefined;
614
+ conditionals?: ({
615
+ type: "SHOW";
616
+ conditional: import("../conditionals/conditionals").JSONSchema;
617
+ } | {
618
+ type: "ENABLE";
619
+ conditional: import("../conditionals/conditionals").JSONSchema;
620
+ } | {
621
+ type: "DISPLAY_ON_REVIEW";
622
+ conditional: import("../conditionals/conditionals").JSONSchema;
623
+ })[] | undefined;
624
+ searchCriteriaLabelPrefix?: {
625
+ id: string;
626
+ description: string;
627
+ defaultMessage: string;
628
+ } | undefined;
629
+ validations?: {
630
+ message: {
631
+ id: string;
632
+ description: string;
633
+ defaultMessage: string;
634
+ };
635
+ validator: import("../conditionals/conditionals").JSONSchema;
636
+ }[] | undefined;
637
+ }>]>, {
638
+ config: {
639
+ type: "exact" | "fuzzy" | "range" | "within";
640
+ searchFields?: string[] | undefined;
641
+ };
642
+ fieldId: string;
643
+ fieldType: "field";
644
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
645
+ options?: {
646
+ value: string;
647
+ label: string | TranslationConfig;
648
+ }[] | undefined;
649
+ label?: TranslationConfig | undefined;
650
+ conditionals?: ({
651
+ type: "SHOW";
652
+ conditional: import("../conditionals/conditionals").JSONSchema;
653
+ } | {
654
+ type: "ENABLE";
655
+ conditional: import("../conditionals/conditionals").JSONSchema;
656
+ } | {
657
+ type: "DISPLAY_ON_REVIEW";
658
+ conditional: import("../conditionals/conditionals").JSONSchema;
659
+ })[] | undefined;
660
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
661
+ validations?: {
662
+ message: TranslationConfig;
663
+ validator: import("../conditionals/conditionals").JSONSchema;
664
+ }[] | undefined;
665
+ } | {
666
+ config: {
667
+ type: "exact" | "fuzzy" | "range" | "within";
668
+ searchFields?: string[] | undefined;
669
+ };
670
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
671
+ fieldType: "event";
672
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
673
+ options?: {
674
+ value: string;
675
+ label: string | TranslationConfig;
676
+ }[] | undefined;
677
+ label?: TranslationConfig | undefined;
678
+ conditionals?: ({
679
+ type: "SHOW";
680
+ conditional: import("../conditionals/conditionals").JSONSchema;
681
+ } | {
682
+ type: "ENABLE";
683
+ conditional: import("../conditionals/conditionals").JSONSchema;
684
+ } | {
685
+ type: "DISPLAY_ON_REVIEW";
686
+ conditional: import("../conditionals/conditionals").JSONSchema;
687
+ })[] | undefined;
688
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
689
+ validations?: {
690
+ message: TranslationConfig;
691
+ validator: import("../conditionals/conditionals").JSONSchema;
692
+ }[] | undefined;
693
+ }, {
694
+ config: {
695
+ type: "exact" | "fuzzy" | "range" | "within";
696
+ searchFields?: string[] | undefined;
697
+ };
698
+ fieldId: string;
699
+ fieldType: "field";
700
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
701
+ options?: {
702
+ value: string;
703
+ label: string | {
704
+ id: string;
705
+ description: string;
706
+ defaultMessage: string;
707
+ };
708
+ }[] | undefined;
709
+ label?: {
710
+ id: string;
711
+ description: string;
712
+ defaultMessage: string;
713
+ } | undefined;
714
+ conditionals?: ({
715
+ type: "SHOW";
716
+ conditional: import("../conditionals/conditionals").JSONSchema;
717
+ } | {
718
+ type: "ENABLE";
719
+ conditional: import("../conditionals/conditionals").JSONSchema;
720
+ } | {
721
+ type: "DISPLAY_ON_REVIEW";
722
+ conditional: import("../conditionals/conditionals").JSONSchema;
723
+ })[] | undefined;
724
+ searchCriteriaLabelPrefix?: {
725
+ id: string;
726
+ description: string;
727
+ defaultMessage: string;
728
+ } | undefined;
729
+ validations?: {
730
+ message: {
731
+ id: string;
732
+ description: string;
733
+ defaultMessage: string;
734
+ };
735
+ validator: import("../conditionals/conditionals").JSONSchema;
736
+ }[] | undefined;
737
+ } | {
738
+ config: {
739
+ type: "exact" | "fuzzy" | "range" | "within";
740
+ searchFields?: string[] | undefined;
741
+ };
742
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
743
+ fieldType: "event";
744
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
745
+ options?: {
746
+ value: string;
747
+ label: string | {
748
+ id: string;
749
+ description: string;
750
+ defaultMessage: string;
751
+ };
752
+ }[] | undefined;
753
+ label?: {
754
+ id: string;
755
+ description: string;
756
+ defaultMessage: string;
757
+ } | undefined;
758
+ conditionals?: ({
759
+ type: "SHOW";
760
+ conditional: import("../conditionals/conditionals").JSONSchema;
761
+ } | {
762
+ type: "ENABLE";
763
+ conditional: import("../conditionals/conditionals").JSONSchema;
764
+ } | {
765
+ type: "DISPLAY_ON_REVIEW";
766
+ conditional: import("../conditionals/conditionals").JSONSchema;
767
+ })[] | undefined;
768
+ searchCriteriaLabelPrefix?: {
769
+ id: string;
770
+ description: string;
771
+ defaultMessage: string;
772
+ } | undefined;
773
+ validations?: {
774
+ message: {
775
+ id: string;
776
+ description: string;
777
+ defaultMessage: string;
778
+ };
779
+ validator: import("../conditionals/conditionals").JSONSchema;
780
+ }[] | undefined;
781
+ }>, "many">;
782
+ }, "strip", z.ZodTypeAny, {
783
+ title: TranslationConfig;
784
+ fields: ({
785
+ config: {
786
+ type: "exact" | "fuzzy" | "range" | "within";
787
+ searchFields?: string[] | undefined;
788
+ };
789
+ fieldId: string;
790
+ fieldType: "field";
791
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
792
+ options?: {
793
+ value: string;
794
+ label: string | TranslationConfig;
795
+ }[] | undefined;
796
+ label?: TranslationConfig | undefined;
797
+ conditionals?: ({
798
+ type: "SHOW";
799
+ conditional: import("../conditionals/conditionals").JSONSchema;
800
+ } | {
801
+ type: "ENABLE";
802
+ conditional: import("../conditionals/conditionals").JSONSchema;
803
+ } | {
804
+ type: "DISPLAY_ON_REVIEW";
805
+ conditional: import("../conditionals/conditionals").JSONSchema;
806
+ })[] | undefined;
807
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
808
+ validations?: {
809
+ message: TranslationConfig;
810
+ validator: import("../conditionals/conditionals").JSONSchema;
811
+ }[] | undefined;
812
+ } | {
813
+ config: {
814
+ type: "exact" | "fuzzy" | "range" | "within";
815
+ searchFields?: string[] | undefined;
816
+ };
817
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
818
+ fieldType: "event";
819
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
820
+ options?: {
821
+ value: string;
822
+ label: string | TranslationConfig;
823
+ }[] | undefined;
824
+ label?: TranslationConfig | undefined;
825
+ conditionals?: ({
826
+ type: "SHOW";
827
+ conditional: import("../conditionals/conditionals").JSONSchema;
828
+ } | {
829
+ type: "ENABLE";
830
+ conditional: import("../conditionals/conditionals").JSONSchema;
831
+ } | {
832
+ type: "DISPLAY_ON_REVIEW";
833
+ conditional: import("../conditionals/conditionals").JSONSchema;
834
+ })[] | undefined;
835
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
836
+ validations?: {
837
+ message: TranslationConfig;
838
+ validator: import("../conditionals/conditionals").JSONSchema;
839
+ }[] | undefined;
840
+ })[];
841
+ }, {
842
+ title: {
843
+ id: string;
844
+ description: string;
845
+ defaultMessage: string;
846
+ };
847
+ fields: ({
848
+ config: {
849
+ type: "exact" | "fuzzy" | "range" | "within";
850
+ searchFields?: string[] | undefined;
851
+ };
852
+ fieldId: string;
853
+ fieldType: "field";
854
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
855
+ options?: {
856
+ value: string;
857
+ label: string | {
858
+ id: string;
859
+ description: string;
860
+ defaultMessage: string;
861
+ };
862
+ }[] | undefined;
863
+ label?: {
864
+ id: string;
865
+ description: string;
866
+ defaultMessage: string;
867
+ } | undefined;
868
+ conditionals?: ({
869
+ type: "SHOW";
870
+ conditional: import("../conditionals/conditionals").JSONSchema;
871
+ } | {
872
+ type: "ENABLE";
873
+ conditional: import("../conditionals/conditionals").JSONSchema;
874
+ } | {
875
+ type: "DISPLAY_ON_REVIEW";
876
+ conditional: import("../conditionals/conditionals").JSONSchema;
877
+ })[] | undefined;
878
+ searchCriteriaLabelPrefix?: {
879
+ id: string;
880
+ description: string;
881
+ defaultMessage: string;
882
+ } | undefined;
883
+ validations?: {
884
+ message: {
885
+ id: string;
886
+ description: string;
887
+ defaultMessage: string;
888
+ };
889
+ validator: import("../conditionals/conditionals").JSONSchema;
890
+ }[] | undefined;
891
+ } | {
892
+ config: {
893
+ type: "exact" | "fuzzy" | "range" | "within";
894
+ searchFields?: string[] | undefined;
895
+ };
896
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
897
+ fieldType: "event";
898
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
899
+ options?: {
900
+ value: string;
901
+ label: string | {
902
+ id: string;
903
+ description: string;
904
+ defaultMessage: string;
905
+ };
906
+ }[] | undefined;
907
+ label?: {
908
+ id: string;
909
+ description: string;
910
+ defaultMessage: string;
911
+ } | undefined;
912
+ conditionals?: ({
913
+ type: "SHOW";
914
+ conditional: import("../conditionals/conditionals").JSONSchema;
915
+ } | {
916
+ type: "ENABLE";
917
+ conditional: import("../conditionals/conditionals").JSONSchema;
918
+ } | {
919
+ type: "DISPLAY_ON_REVIEW";
920
+ conditional: import("../conditionals/conditionals").JSONSchema;
921
+ })[] | undefined;
922
+ searchCriteriaLabelPrefix?: {
923
+ id: string;
924
+ description: string;
925
+ defaultMessage: string;
926
+ } | undefined;
927
+ validations?: {
928
+ message: {
929
+ id: string;
930
+ description: string;
931
+ defaultMessage: string;
932
+ };
933
+ validator: import("../conditionals/conditionals").JSONSchema;
934
+ }[] | undefined;
935
+ })[];
936
+ }>, "many">>>;
937
+ }, "strip", z.ZodTypeAny, {
938
+ id: string;
939
+ title: TranslationConfig;
940
+ declaration: {
941
+ label: TranslationConfig;
942
+ pages: {
943
+ type: "FORM";
944
+ id: string;
945
+ title: TranslationConfig;
946
+ fields: import("./FieldConfig").FieldConfig[];
947
+ requireCompletionToContinue: boolean;
948
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
949
+ }[];
950
+ };
951
+ actions: ({
952
+ type: "READ";
953
+ label: TranslationConfig;
954
+ review: {
955
+ title: TranslationConfig;
956
+ fields: import("./FieldConfig").FieldConfig[];
957
+ };
958
+ } | {
959
+ type: "DECLARE";
960
+ label: TranslationConfig;
961
+ review: {
962
+ title: TranslationConfig;
963
+ fields: import("./FieldConfig").FieldConfig[];
964
+ };
965
+ deduplication?: {
966
+ id: string;
967
+ query: import("./DeduplicationConfig").ClauseOutput;
968
+ label: TranslationConfig;
969
+ } | undefined;
970
+ } | {
971
+ type: "VALIDATE";
972
+ label: TranslationConfig;
973
+ review: {
974
+ title: TranslationConfig;
975
+ fields: import("./FieldConfig").FieldConfig[];
976
+ };
977
+ deduplication?: {
978
+ id: string;
979
+ query: import("./DeduplicationConfig").ClauseOutput;
980
+ label: TranslationConfig;
981
+ } | undefined;
982
+ } | {
983
+ type: "REJECT";
984
+ label: TranslationConfig;
985
+ } | {
986
+ type: "ARCHIVE";
987
+ label: TranslationConfig;
988
+ } | {
989
+ type: "REGISTER";
990
+ label: TranslationConfig;
991
+ review: {
992
+ title: TranslationConfig;
993
+ fields: import("./FieldConfig").FieldConfig[];
994
+ };
995
+ deduplication?: {
996
+ id: string;
997
+ query: import("./DeduplicationConfig").ClauseOutput;
998
+ label: TranslationConfig;
999
+ } | undefined;
1000
+ } | {
1001
+ type: "DELETE";
1002
+ label: TranslationConfig;
1003
+ } | {
1004
+ type: "PRINT_CERTIFICATE";
1005
+ label: TranslationConfig;
1006
+ printForm: {
1007
+ label: TranslationConfig;
1008
+ pages: ({
1009
+ type: "FORM";
1010
+ id: string;
1011
+ title: TranslationConfig;
1012
+ fields: import("./FieldConfig").FieldConfig[];
1013
+ requireCompletionToContinue: boolean;
1014
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1015
+ } | {
1016
+ type: "VERIFICATION";
1017
+ id: string;
1018
+ title: TranslationConfig;
1019
+ actions: {
1020
+ cancel: {
1021
+ label: TranslationConfig;
1022
+ confirmation: {
1023
+ title: TranslationConfig;
1024
+ body: TranslationConfig;
1025
+ };
1026
+ };
1027
+ verify: {
1028
+ label: TranslationConfig;
1029
+ };
1030
+ };
1031
+ fields: import("./FieldConfig").FieldConfig[];
1032
+ requireCompletionToContinue: boolean;
1033
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1034
+ })[];
1035
+ };
1036
+ } | {
1037
+ type: "REQUEST_CORRECTION";
1038
+ label: TranslationConfig;
1039
+ correctionForm: {
1040
+ label: TranslationConfig;
1041
+ pages: ({
1042
+ type: "FORM";
1043
+ id: string;
1044
+ title: TranslationConfig;
1045
+ fields: import("./FieldConfig").FieldConfig[];
1046
+ requireCompletionToContinue: boolean;
1047
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1048
+ } | {
1049
+ type: "VERIFICATION";
1050
+ id: string;
1051
+ title: TranslationConfig;
1052
+ actions: {
1053
+ cancel: {
1054
+ label: TranslationConfig;
1055
+ confirmation: {
1056
+ title: TranslationConfig;
1057
+ body: TranslationConfig;
1058
+ };
1059
+ };
1060
+ verify: {
1061
+ label: TranslationConfig;
1062
+ };
1063
+ };
1064
+ fields: import("./FieldConfig").FieldConfig[];
1065
+ requireCompletionToContinue: boolean;
1066
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1067
+ })[];
1068
+ };
1069
+ } | {
1070
+ type: "REJECT_CORRECTION";
1071
+ label: TranslationConfig;
1072
+ } | {
1073
+ type: "APPROVE_CORRECTION";
1074
+ label: TranslationConfig;
1075
+ })[];
1076
+ label: TranslationConfig;
1077
+ summary: {
1078
+ fields: ({
1079
+ fieldId: string;
1080
+ label?: TranslationConfig | undefined;
1081
+ conditionals?: {
1082
+ type: "SHOW";
1083
+ conditional: import("../conditionals/conditionals").JSONSchema;
1084
+ }[] | undefined;
1085
+ emptyValueMessage?: TranslationConfig | undefined;
1086
+ } | {
1087
+ id: string;
1088
+ value: TranslationConfig;
1089
+ label: TranslationConfig;
1090
+ conditionals?: {
1091
+ type: "SHOW";
1092
+ conditional: import("../conditionals/conditionals").JSONSchema;
1093
+ }[] | undefined;
1094
+ emptyValueMessage?: TranslationConfig | undefined;
1095
+ })[];
1096
+ };
1097
+ advancedSearch: {
1098
+ title: TranslationConfig;
1099
+ fields: ({
1100
+ config: {
1101
+ type: "exact" | "fuzzy" | "range" | "within";
1102
+ searchFields?: string[] | undefined;
1103
+ };
1104
+ fieldId: string;
1105
+ fieldType: "field";
1106
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1107
+ options?: {
1108
+ value: string;
1109
+ label: string | TranslationConfig;
1110
+ }[] | undefined;
1111
+ label?: TranslationConfig | undefined;
1112
+ conditionals?: ({
1113
+ type: "SHOW";
1114
+ conditional: import("../conditionals/conditionals").JSONSchema;
1115
+ } | {
1116
+ type: "ENABLE";
1117
+ conditional: import("../conditionals/conditionals").JSONSchema;
1118
+ } | {
1119
+ type: "DISPLAY_ON_REVIEW";
1120
+ conditional: import("../conditionals/conditionals").JSONSchema;
1121
+ })[] | undefined;
1122
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1123
+ validations?: {
1124
+ message: TranslationConfig;
1125
+ validator: import("../conditionals/conditionals").JSONSchema;
1126
+ }[] | undefined;
1127
+ } | {
1128
+ config: {
1129
+ type: "exact" | "fuzzy" | "range" | "within";
1130
+ searchFields?: string[] | undefined;
1131
+ };
1132
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1133
+ fieldType: "event";
1134
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1135
+ options?: {
1136
+ value: string;
1137
+ label: string | TranslationConfig;
1138
+ }[] | undefined;
1139
+ label?: TranslationConfig | undefined;
1140
+ conditionals?: ({
1141
+ type: "SHOW";
1142
+ conditional: import("../conditionals/conditionals").JSONSchema;
1143
+ } | {
1144
+ type: "ENABLE";
1145
+ conditional: import("../conditionals/conditionals").JSONSchema;
1146
+ } | {
1147
+ type: "DISPLAY_ON_REVIEW";
1148
+ conditional: import("../conditionals/conditionals").JSONSchema;
1149
+ })[] | undefined;
1150
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1151
+ validations?: {
1152
+ message: TranslationConfig;
1153
+ validator: import("../conditionals/conditionals").JSONSchema;
1154
+ }[] | undefined;
1155
+ })[];
1156
+ }[];
1157
+ dateOfEvent?: {
1158
+ $$field: string;
1159
+ $$subfield: string[];
1160
+ } | {
1161
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
1162
+ } | undefined;
1163
+ fallbackTitle?: TranslationConfig | undefined;
1164
+ }, {
1165
+ id: string;
1166
+ title: {
1167
+ id: string;
1168
+ description: string;
1169
+ defaultMessage: string;
1170
+ };
1171
+ declaration: {
1172
+ label: {
1173
+ id: string;
1174
+ description: string;
1175
+ defaultMessage: string;
1176
+ };
1177
+ pages: {
1178
+ id: string;
1179
+ title: {
1180
+ id: string;
1181
+ description: string;
1182
+ defaultMessage: string;
1183
+ };
1184
+ fields: import("./FieldConfig").FieldConfigInput[];
1185
+ type?: "FORM" | undefined;
1186
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1187
+ requireCompletionToContinue?: boolean | undefined;
1188
+ }[];
1189
+ };
1190
+ actions: ({
1191
+ type: "READ";
1192
+ label: {
1193
+ id: string;
1194
+ description: string;
1195
+ defaultMessage: string;
1196
+ };
1197
+ review: {
1198
+ title: {
1199
+ id: string;
1200
+ description: string;
1201
+ defaultMessage: string;
1202
+ };
1203
+ fields: import("./FieldConfig").FieldConfigInput[];
1204
+ };
1205
+ } | {
1206
+ type: "DECLARE";
1207
+ label: {
1208
+ id: string;
1209
+ description: string;
1210
+ defaultMessage: string;
1211
+ };
1212
+ review: {
1213
+ title: {
1214
+ id: string;
1215
+ description: string;
1216
+ defaultMessage: string;
1217
+ };
1218
+ fields: import("./FieldConfig").FieldConfigInput[];
1219
+ };
1220
+ deduplication?: {
1221
+ id: string;
1222
+ query: import("./DeduplicationConfig").ClauseInput;
1223
+ label: {
1224
+ id: string;
1225
+ description: string;
1226
+ defaultMessage: string;
1227
+ };
1228
+ } | undefined;
1229
+ } | {
1230
+ type: "VALIDATE";
1231
+ label: {
1232
+ id: string;
1233
+ description: string;
1234
+ defaultMessage: string;
1235
+ };
1236
+ review: {
1237
+ title: {
1238
+ id: string;
1239
+ description: string;
1240
+ defaultMessage: string;
1241
+ };
1242
+ fields: import("./FieldConfig").FieldConfigInput[];
1243
+ };
1244
+ deduplication?: {
1245
+ id: string;
1246
+ query: import("./DeduplicationConfig").ClauseInput;
1247
+ label: {
1248
+ id: string;
1249
+ description: string;
1250
+ defaultMessage: string;
1251
+ };
1252
+ } | undefined;
1253
+ } | {
1254
+ type: "REJECT";
1255
+ label: {
1256
+ id: string;
1257
+ description: string;
1258
+ defaultMessage: string;
1259
+ };
1260
+ } | {
1261
+ type: "ARCHIVE";
1262
+ label: {
1263
+ id: string;
1264
+ description: string;
1265
+ defaultMessage: string;
1266
+ };
1267
+ } | {
1268
+ type: "REGISTER";
1269
+ label: {
1270
+ id: string;
1271
+ description: string;
1272
+ defaultMessage: string;
1273
+ };
1274
+ review: {
1275
+ title: {
1276
+ id: string;
1277
+ description: string;
1278
+ defaultMessage: string;
1279
+ };
1280
+ fields: import("./FieldConfig").FieldConfigInput[];
1281
+ };
1282
+ deduplication?: {
1283
+ id: string;
1284
+ query: import("./DeduplicationConfig").ClauseInput;
1285
+ label: {
1286
+ id: string;
1287
+ description: string;
1288
+ defaultMessage: string;
1289
+ };
1290
+ } | undefined;
1291
+ } | {
1292
+ type: "DELETE";
1293
+ label: {
1294
+ id: string;
1295
+ description: string;
1296
+ defaultMessage: string;
1297
+ };
1298
+ } | {
1299
+ type: "PRINT_CERTIFICATE";
1300
+ label: {
1301
+ id: string;
1302
+ description: string;
1303
+ defaultMessage: string;
1304
+ };
1305
+ printForm: {
1306
+ label: {
1307
+ id: string;
1308
+ description: string;
1309
+ defaultMessage: string;
1310
+ };
1311
+ pages: ({
1312
+ id: string;
1313
+ title: {
1314
+ id: string;
1315
+ description: string;
1316
+ defaultMessage: string;
1317
+ };
1318
+ fields: import("./FieldConfig").FieldConfigInput[];
1319
+ type?: "FORM" | undefined;
1320
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1321
+ requireCompletionToContinue?: boolean | undefined;
1322
+ } | {
1323
+ type: "VERIFICATION";
1324
+ id: string;
1325
+ title: {
1326
+ id: string;
1327
+ description: string;
1328
+ defaultMessage: string;
1329
+ };
1330
+ actions: {
1331
+ cancel: {
1332
+ label: {
1333
+ id: string;
1334
+ description: string;
1335
+ defaultMessage: string;
1336
+ };
1337
+ confirmation: {
1338
+ title: {
1339
+ id: string;
1340
+ description: string;
1341
+ defaultMessage: string;
1342
+ };
1343
+ body: {
1344
+ id: string;
1345
+ description: string;
1346
+ defaultMessage: string;
1347
+ };
1348
+ };
1349
+ };
1350
+ verify: {
1351
+ label: {
1352
+ id: string;
1353
+ description: string;
1354
+ defaultMessage: string;
1355
+ };
1356
+ };
1357
+ };
1358
+ fields: import("./FieldConfig").FieldConfigInput[];
1359
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1360
+ requireCompletionToContinue?: boolean | undefined;
1361
+ })[];
1362
+ };
1363
+ } | {
1364
+ type: "REQUEST_CORRECTION";
1365
+ label: {
1366
+ id: string;
1367
+ description: string;
1368
+ defaultMessage: string;
1369
+ };
1370
+ correctionForm: {
1371
+ label: {
1372
+ id: string;
1373
+ description: string;
1374
+ defaultMessage: string;
1375
+ };
1376
+ pages: ({
1377
+ id: string;
1378
+ title: {
1379
+ id: string;
1380
+ description: string;
1381
+ defaultMessage: string;
1382
+ };
1383
+ fields: import("./FieldConfig").FieldConfigInput[];
1384
+ type?: "FORM" | undefined;
1385
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1386
+ requireCompletionToContinue?: boolean | undefined;
1387
+ } | {
1388
+ type: "VERIFICATION";
1389
+ id: string;
1390
+ title: {
1391
+ id: string;
1392
+ description: string;
1393
+ defaultMessage: string;
1394
+ };
1395
+ actions: {
1396
+ cancel: {
1397
+ label: {
1398
+ id: string;
1399
+ description: string;
1400
+ defaultMessage: string;
1401
+ };
1402
+ confirmation: {
1403
+ title: {
1404
+ id: string;
1405
+ description: string;
1406
+ defaultMessage: string;
1407
+ };
1408
+ body: {
1409
+ id: string;
1410
+ description: string;
1411
+ defaultMessage: string;
1412
+ };
1413
+ };
1414
+ };
1415
+ verify: {
1416
+ label: {
1417
+ id: string;
1418
+ description: string;
1419
+ defaultMessage: string;
1420
+ };
1421
+ };
1422
+ };
1423
+ fields: import("./FieldConfig").FieldConfigInput[];
1424
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1425
+ requireCompletionToContinue?: boolean | undefined;
1426
+ })[];
1427
+ };
1428
+ } | {
1429
+ type: "REJECT_CORRECTION";
1430
+ label: {
1431
+ id: string;
1432
+ description: string;
1433
+ defaultMessage: string;
1434
+ };
1435
+ } | {
1436
+ type: "APPROVE_CORRECTION";
1437
+ label: {
1438
+ id: string;
1439
+ description: string;
1440
+ defaultMessage: string;
1441
+ };
1442
+ })[];
1443
+ label: {
1444
+ id: string;
1445
+ description: string;
1446
+ defaultMessage: string;
1447
+ };
1448
+ summary: {
1449
+ fields: ({
1450
+ fieldId: string;
1451
+ label?: {
1452
+ id: string;
1453
+ description: string;
1454
+ defaultMessage: string;
1455
+ } | undefined;
1456
+ conditionals?: {
1457
+ type: "SHOW";
1458
+ conditional: import("../conditionals/conditionals").JSONSchema;
1459
+ }[] | undefined;
1460
+ emptyValueMessage?: {
1461
+ id: string;
1462
+ description: string;
1463
+ defaultMessage: string;
1464
+ } | undefined;
1465
+ } | {
1466
+ id: string;
1467
+ value: {
1468
+ id: string;
1469
+ description: string;
1470
+ defaultMessage: string;
1471
+ };
1472
+ label: {
1473
+ id: string;
1474
+ description: string;
1475
+ defaultMessage: string;
1476
+ };
1477
+ conditionals?: {
1478
+ type: "SHOW";
1479
+ conditional: import("../conditionals/conditionals").JSONSchema;
1480
+ }[] | undefined;
1481
+ emptyValueMessage?: {
1482
+ id: string;
1483
+ description: string;
1484
+ defaultMessage: string;
1485
+ } | undefined;
1486
+ })[];
1487
+ };
1488
+ dateOfEvent?: {
1489
+ $$field: string;
1490
+ $$subfield?: string[] | undefined;
1491
+ } | {
1492
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
1493
+ } | undefined;
1494
+ fallbackTitle?: {
1495
+ id: string;
1496
+ description: string;
1497
+ defaultMessage: string;
1498
+ } | undefined;
1499
+ advancedSearch?: {
1500
+ title: {
1501
+ id: string;
1502
+ description: string;
1503
+ defaultMessage: string;
1504
+ };
1505
+ fields: ({
1506
+ config: {
1507
+ type: "exact" | "fuzzy" | "range" | "within";
1508
+ searchFields?: string[] | undefined;
1509
+ };
1510
+ fieldId: string;
1511
+ fieldType: "field";
1512
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1513
+ options?: {
1514
+ value: string;
1515
+ label: string | {
1516
+ id: string;
1517
+ description: string;
1518
+ defaultMessage: string;
1519
+ };
1520
+ }[] | undefined;
1521
+ label?: {
1522
+ id: string;
1523
+ description: string;
1524
+ defaultMessage: string;
1525
+ } | undefined;
1526
+ conditionals?: ({
1527
+ type: "SHOW";
1528
+ conditional: import("../conditionals/conditionals").JSONSchema;
1529
+ } | {
1530
+ type: "ENABLE";
1531
+ conditional: import("../conditionals/conditionals").JSONSchema;
1532
+ } | {
1533
+ type: "DISPLAY_ON_REVIEW";
1534
+ conditional: import("../conditionals/conditionals").JSONSchema;
1535
+ })[] | undefined;
1536
+ searchCriteriaLabelPrefix?: {
1537
+ id: string;
1538
+ description: string;
1539
+ defaultMessage: string;
1540
+ } | undefined;
1541
+ validations?: {
1542
+ message: {
1543
+ id: string;
1544
+ description: string;
1545
+ defaultMessage: string;
1546
+ };
1547
+ validator: import("../conditionals/conditionals").JSONSchema;
1548
+ }[] | undefined;
1549
+ } | {
1550
+ config: {
1551
+ type: "exact" | "fuzzy" | "range" | "within";
1552
+ searchFields?: string[] | undefined;
1553
+ };
1554
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1555
+ fieldType: "event";
1556
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1557
+ options?: {
1558
+ value: string;
1559
+ label: string | {
1560
+ id: string;
1561
+ description: string;
1562
+ defaultMessage: string;
1563
+ };
1564
+ }[] | undefined;
1565
+ label?: {
1566
+ id: string;
1567
+ description: string;
1568
+ defaultMessage: string;
1569
+ } | undefined;
1570
+ conditionals?: ({
1571
+ type: "SHOW";
1572
+ conditional: import("../conditionals/conditionals").JSONSchema;
1573
+ } | {
1574
+ type: "ENABLE";
1575
+ conditional: import("../conditionals/conditionals").JSONSchema;
1576
+ } | {
1577
+ type: "DISPLAY_ON_REVIEW";
1578
+ conditional: import("../conditionals/conditionals").JSONSchema;
1579
+ })[] | undefined;
1580
+ searchCriteriaLabelPrefix?: {
1581
+ id: string;
1582
+ description: string;
1583
+ defaultMessage: string;
1584
+ } | undefined;
1585
+ validations?: {
1586
+ message: {
1587
+ id: string;
1588
+ description: string;
1589
+ defaultMessage: string;
1590
+ };
1591
+ validator: import("../conditionals/conditionals").JSONSchema;
1592
+ }[] | undefined;
1593
+ })[];
1594
+ }[] | undefined;
1595
+ }>, {
1596
+ id: string;
1597
+ title: TranslationConfig;
1598
+ declaration: {
1599
+ label: TranslationConfig;
1600
+ pages: {
1601
+ type: "FORM";
1602
+ id: string;
1603
+ title: TranslationConfig;
1604
+ fields: import("./FieldConfig").FieldConfig[];
1605
+ requireCompletionToContinue: boolean;
1606
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1607
+ }[];
1608
+ };
1609
+ actions: ({
1610
+ type: "READ";
1611
+ label: TranslationConfig;
1612
+ review: {
1613
+ title: TranslationConfig;
1614
+ fields: import("./FieldConfig").FieldConfig[];
1615
+ };
1616
+ } | {
1617
+ type: "DECLARE";
1618
+ label: TranslationConfig;
1619
+ review: {
1620
+ title: TranslationConfig;
1621
+ fields: import("./FieldConfig").FieldConfig[];
1622
+ };
1623
+ deduplication?: {
1624
+ id: string;
1625
+ query: import("./DeduplicationConfig").ClauseOutput;
1626
+ label: TranslationConfig;
1627
+ } | undefined;
1628
+ } | {
1629
+ type: "VALIDATE";
1630
+ label: TranslationConfig;
1631
+ review: {
1632
+ title: TranslationConfig;
1633
+ fields: import("./FieldConfig").FieldConfig[];
1634
+ };
1635
+ deduplication?: {
1636
+ id: string;
1637
+ query: import("./DeduplicationConfig").ClauseOutput;
1638
+ label: TranslationConfig;
1639
+ } | undefined;
1640
+ } | {
1641
+ type: "REJECT";
1642
+ label: TranslationConfig;
1643
+ } | {
1644
+ type: "ARCHIVE";
1645
+ label: TranslationConfig;
1646
+ } | {
1647
+ type: "REGISTER";
1648
+ label: TranslationConfig;
1649
+ review: {
1650
+ title: TranslationConfig;
1651
+ fields: import("./FieldConfig").FieldConfig[];
1652
+ };
1653
+ deduplication?: {
1654
+ id: string;
1655
+ query: import("./DeduplicationConfig").ClauseOutput;
1656
+ label: TranslationConfig;
1657
+ } | undefined;
1658
+ } | {
1659
+ type: "DELETE";
1660
+ label: TranslationConfig;
1661
+ } | {
1662
+ type: "PRINT_CERTIFICATE";
1663
+ label: TranslationConfig;
1664
+ printForm: {
1665
+ label: TranslationConfig;
1666
+ pages: ({
1667
+ type: "FORM";
1668
+ id: string;
1669
+ title: TranslationConfig;
1670
+ fields: import("./FieldConfig").FieldConfig[];
1671
+ requireCompletionToContinue: boolean;
1672
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1673
+ } | {
1674
+ type: "VERIFICATION";
1675
+ id: string;
1676
+ title: TranslationConfig;
1677
+ actions: {
1678
+ cancel: {
1679
+ label: TranslationConfig;
1680
+ confirmation: {
1681
+ title: TranslationConfig;
1682
+ body: TranslationConfig;
1683
+ };
1684
+ };
1685
+ verify: {
1686
+ label: TranslationConfig;
1687
+ };
1688
+ };
1689
+ fields: import("./FieldConfig").FieldConfig[];
1690
+ requireCompletionToContinue: boolean;
1691
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1692
+ })[];
1693
+ };
1694
+ } | {
1695
+ type: "REQUEST_CORRECTION";
1696
+ label: TranslationConfig;
1697
+ correctionForm: {
1698
+ label: TranslationConfig;
1699
+ pages: ({
1700
+ type: "FORM";
1701
+ id: string;
1702
+ title: TranslationConfig;
1703
+ fields: import("./FieldConfig").FieldConfig[];
1704
+ requireCompletionToContinue: boolean;
1705
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1706
+ } | {
1707
+ type: "VERIFICATION";
1708
+ id: string;
1709
+ title: TranslationConfig;
1710
+ actions: {
1711
+ cancel: {
1712
+ label: TranslationConfig;
1713
+ confirmation: {
1714
+ title: TranslationConfig;
1715
+ body: TranslationConfig;
1716
+ };
1717
+ };
1718
+ verify: {
1719
+ label: TranslationConfig;
1720
+ };
1721
+ };
1722
+ fields: import("./FieldConfig").FieldConfig[];
1723
+ requireCompletionToContinue: boolean;
1724
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1725
+ })[];
1726
+ };
1727
+ } | {
1728
+ type: "REJECT_CORRECTION";
1729
+ label: TranslationConfig;
1730
+ } | {
1731
+ type: "APPROVE_CORRECTION";
1732
+ label: TranslationConfig;
1733
+ })[];
1734
+ label: TranslationConfig;
1735
+ summary: {
1736
+ fields: ({
1737
+ fieldId: string;
1738
+ label?: TranslationConfig | undefined;
1739
+ conditionals?: {
1740
+ type: "SHOW";
1741
+ conditional: import("../conditionals/conditionals").JSONSchema;
1742
+ }[] | undefined;
1743
+ emptyValueMessage?: TranslationConfig | undefined;
1744
+ } | {
1745
+ id: string;
1746
+ value: TranslationConfig;
1747
+ label: TranslationConfig;
1748
+ conditionals?: {
1749
+ type: "SHOW";
1750
+ conditional: import("../conditionals/conditionals").JSONSchema;
1751
+ }[] | undefined;
1752
+ emptyValueMessage?: TranslationConfig | undefined;
1753
+ })[];
1754
+ };
1755
+ advancedSearch: {
1756
+ title: TranslationConfig;
1757
+ fields: ({
1758
+ config: {
1759
+ type: "exact" | "fuzzy" | "range" | "within";
1760
+ searchFields?: string[] | undefined;
1761
+ };
1762
+ fieldId: string;
1763
+ fieldType: "field";
1764
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1765
+ options?: {
1766
+ value: string;
1767
+ label: string | TranslationConfig;
1768
+ }[] | undefined;
1769
+ label?: TranslationConfig | undefined;
1770
+ conditionals?: ({
1771
+ type: "SHOW";
1772
+ conditional: import("../conditionals/conditionals").JSONSchema;
1773
+ } | {
1774
+ type: "ENABLE";
1775
+ conditional: import("../conditionals/conditionals").JSONSchema;
1776
+ } | {
1777
+ type: "DISPLAY_ON_REVIEW";
1778
+ conditional: import("../conditionals/conditionals").JSONSchema;
1779
+ })[] | undefined;
1780
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1781
+ validations?: {
1782
+ message: TranslationConfig;
1783
+ validator: import("../conditionals/conditionals").JSONSchema;
1784
+ }[] | undefined;
1785
+ } | {
1786
+ config: {
1787
+ type: "exact" | "fuzzy" | "range" | "within";
1788
+ searchFields?: string[] | undefined;
1789
+ };
1790
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
1791
+ fieldType: "event";
1792
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
1793
+ options?: {
1794
+ value: string;
1795
+ label: string | TranslationConfig;
1796
+ }[] | undefined;
1797
+ label?: TranslationConfig | undefined;
1798
+ conditionals?: ({
1799
+ type: "SHOW";
1800
+ conditional: import("../conditionals/conditionals").JSONSchema;
1801
+ } | {
1802
+ type: "ENABLE";
1803
+ conditional: import("../conditionals/conditionals").JSONSchema;
1804
+ } | {
1805
+ type: "DISPLAY_ON_REVIEW";
1806
+ conditional: import("../conditionals/conditionals").JSONSchema;
1807
+ })[] | undefined;
1808
+ searchCriteriaLabelPrefix?: TranslationConfig | undefined;
1809
+ validations?: {
1810
+ message: TranslationConfig;
1811
+ validator: import("../conditionals/conditionals").JSONSchema;
1812
+ }[] | undefined;
1813
+ })[];
1814
+ }[];
1815
+ dateOfEvent?: {
1816
+ $$field: string;
1817
+ $$subfield: string[];
1818
+ } | {
1819
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
1820
+ } | undefined;
1821
+ fallbackTitle?: TranslationConfig | undefined;
1822
+ }, {
1823
+ id: string;
1824
+ title: {
1825
+ id: string;
1826
+ description: string;
1827
+ defaultMessage: string;
1828
+ };
1829
+ declaration: {
1830
+ label: {
1831
+ id: string;
1832
+ description: string;
1833
+ defaultMessage: string;
1834
+ };
1835
+ pages: {
1836
+ id: string;
1837
+ title: {
1838
+ id: string;
1839
+ description: string;
1840
+ defaultMessage: string;
1841
+ };
1842
+ fields: import("./FieldConfig").FieldConfigInput[];
1843
+ type?: "FORM" | undefined;
1844
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1845
+ requireCompletionToContinue?: boolean | undefined;
1846
+ }[];
1847
+ };
1848
+ actions: ({
1849
+ type: "READ";
1850
+ label: {
1851
+ id: string;
1852
+ description: string;
1853
+ defaultMessage: string;
1854
+ };
1855
+ review: {
1856
+ title: {
1857
+ id: string;
1858
+ description: string;
1859
+ defaultMessage: string;
1860
+ };
1861
+ fields: import("./FieldConfig").FieldConfigInput[];
1862
+ };
1863
+ } | {
1864
+ type: "DECLARE";
1865
+ label: {
1866
+ id: string;
1867
+ description: string;
1868
+ defaultMessage: string;
1869
+ };
1870
+ review: {
1871
+ title: {
1872
+ id: string;
1873
+ description: string;
1874
+ defaultMessage: string;
1875
+ };
1876
+ fields: import("./FieldConfig").FieldConfigInput[];
1877
+ };
1878
+ deduplication?: {
1879
+ id: string;
1880
+ query: import("./DeduplicationConfig").ClauseInput;
1881
+ label: {
1882
+ id: string;
1883
+ description: string;
1884
+ defaultMessage: string;
1885
+ };
1886
+ } | undefined;
1887
+ } | {
1888
+ type: "VALIDATE";
1889
+ label: {
1890
+ id: string;
1891
+ description: string;
1892
+ defaultMessage: string;
1893
+ };
1894
+ review: {
1895
+ title: {
1896
+ id: string;
1897
+ description: string;
1898
+ defaultMessage: string;
1899
+ };
1900
+ fields: import("./FieldConfig").FieldConfigInput[];
1901
+ };
1902
+ deduplication?: {
1903
+ id: string;
1904
+ query: import("./DeduplicationConfig").ClauseInput;
1905
+ label: {
1906
+ id: string;
1907
+ description: string;
1908
+ defaultMessage: string;
1909
+ };
1910
+ } | undefined;
1911
+ } | {
1912
+ type: "REJECT";
1913
+ label: {
1914
+ id: string;
1915
+ description: string;
1916
+ defaultMessage: string;
1917
+ };
1918
+ } | {
1919
+ type: "ARCHIVE";
1920
+ label: {
1921
+ id: string;
1922
+ description: string;
1923
+ defaultMessage: string;
1924
+ };
1925
+ } | {
1926
+ type: "REGISTER";
1927
+ label: {
1928
+ id: string;
1929
+ description: string;
1930
+ defaultMessage: string;
1931
+ };
1932
+ review: {
1933
+ title: {
1934
+ id: string;
1935
+ description: string;
1936
+ defaultMessage: string;
1937
+ };
1938
+ fields: import("./FieldConfig").FieldConfigInput[];
1939
+ };
1940
+ deduplication?: {
1941
+ id: string;
1942
+ query: import("./DeduplicationConfig").ClauseInput;
1943
+ label: {
1944
+ id: string;
1945
+ description: string;
1946
+ defaultMessage: string;
1947
+ };
1948
+ } | undefined;
1949
+ } | {
1950
+ type: "DELETE";
1951
+ label: {
1952
+ id: string;
1953
+ description: string;
1954
+ defaultMessage: string;
1955
+ };
1956
+ } | {
1957
+ type: "PRINT_CERTIFICATE";
1958
+ label: {
1959
+ id: string;
1960
+ description: string;
1961
+ defaultMessage: string;
1962
+ };
1963
+ printForm: {
1964
+ label: {
1965
+ id: string;
1966
+ description: string;
1967
+ defaultMessage: string;
1968
+ };
1969
+ pages: ({
1970
+ id: string;
1971
+ title: {
1972
+ id: string;
1973
+ description: string;
1974
+ defaultMessage: string;
1975
+ };
1976
+ fields: import("./FieldConfig").FieldConfigInput[];
1977
+ type?: "FORM" | undefined;
1978
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
1979
+ requireCompletionToContinue?: boolean | undefined;
1980
+ } | {
1981
+ type: "VERIFICATION";
1982
+ id: string;
1983
+ title: {
1984
+ id: string;
1985
+ description: string;
1986
+ defaultMessage: string;
1987
+ };
1988
+ actions: {
1989
+ cancel: {
1990
+ label: {
1991
+ id: string;
1992
+ description: string;
1993
+ defaultMessage: string;
1994
+ };
1995
+ confirmation: {
1996
+ title: {
1997
+ id: string;
1998
+ description: string;
1999
+ defaultMessage: string;
2000
+ };
2001
+ body: {
2002
+ id: string;
2003
+ description: string;
2004
+ defaultMessage: string;
2005
+ };
2006
+ };
2007
+ };
2008
+ verify: {
2009
+ label: {
2010
+ id: string;
2011
+ description: string;
2012
+ defaultMessage: string;
2013
+ };
2014
+ };
2015
+ };
2016
+ fields: import("./FieldConfig").FieldConfigInput[];
2017
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
2018
+ requireCompletionToContinue?: boolean | undefined;
2019
+ })[];
2020
+ };
2021
+ } | {
2022
+ type: "REQUEST_CORRECTION";
2023
+ label: {
2024
+ id: string;
2025
+ description: string;
2026
+ defaultMessage: string;
2027
+ };
2028
+ correctionForm: {
2029
+ label: {
2030
+ id: string;
2031
+ description: string;
2032
+ defaultMessage: string;
2033
+ };
2034
+ pages: ({
2035
+ id: string;
2036
+ title: {
2037
+ id: string;
2038
+ description: string;
2039
+ defaultMessage: string;
2040
+ };
2041
+ fields: import("./FieldConfig").FieldConfigInput[];
2042
+ type?: "FORM" | undefined;
2043
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
2044
+ requireCompletionToContinue?: boolean | undefined;
2045
+ } | {
2046
+ type: "VERIFICATION";
2047
+ id: string;
2048
+ title: {
2049
+ id: string;
2050
+ description: string;
2051
+ defaultMessage: string;
2052
+ };
2053
+ actions: {
2054
+ cancel: {
2055
+ label: {
2056
+ id: string;
2057
+ description: string;
2058
+ defaultMessage: string;
2059
+ };
2060
+ confirmation: {
2061
+ title: {
2062
+ id: string;
2063
+ description: string;
2064
+ defaultMessage: string;
2065
+ };
2066
+ body: {
2067
+ id: string;
2068
+ description: string;
2069
+ defaultMessage: string;
2070
+ };
2071
+ };
2072
+ };
2073
+ verify: {
2074
+ label: {
2075
+ id: string;
2076
+ description: string;
2077
+ defaultMessage: string;
2078
+ };
2079
+ };
2080
+ };
2081
+ fields: import("./FieldConfig").FieldConfigInput[];
2082
+ conditional?: import("../conditionals/conditionals").JSONSchema | undefined;
2083
+ requireCompletionToContinue?: boolean | undefined;
2084
+ })[];
2085
+ };
2086
+ } | {
2087
+ type: "REJECT_CORRECTION";
2088
+ label: {
2089
+ id: string;
2090
+ description: string;
2091
+ defaultMessage: string;
2092
+ };
2093
+ } | {
2094
+ type: "APPROVE_CORRECTION";
2095
+ label: {
2096
+ id: string;
2097
+ description: string;
2098
+ defaultMessage: string;
2099
+ };
2100
+ })[];
2101
+ label: {
2102
+ id: string;
2103
+ description: string;
2104
+ defaultMessage: string;
2105
+ };
2106
+ summary: {
2107
+ fields: ({
2108
+ fieldId: string;
2109
+ label?: {
2110
+ id: string;
2111
+ description: string;
2112
+ defaultMessage: string;
2113
+ } | undefined;
2114
+ conditionals?: {
2115
+ type: "SHOW";
2116
+ conditional: import("../conditionals/conditionals").JSONSchema;
2117
+ }[] | undefined;
2118
+ emptyValueMessage?: {
2119
+ id: string;
2120
+ description: string;
2121
+ defaultMessage: string;
2122
+ } | undefined;
2123
+ } | {
2124
+ id: string;
2125
+ value: {
2126
+ id: string;
2127
+ description: string;
2128
+ defaultMessage: string;
2129
+ };
2130
+ label: {
2131
+ id: string;
2132
+ description: string;
2133
+ defaultMessage: string;
2134
+ };
2135
+ conditionals?: {
2136
+ type: "SHOW";
2137
+ conditional: import("../conditionals/conditionals").JSONSchema;
2138
+ }[] | undefined;
2139
+ emptyValueMessage?: {
2140
+ id: string;
2141
+ description: string;
2142
+ defaultMessage: string;
2143
+ } | undefined;
2144
+ })[];
2145
+ };
2146
+ dateOfEvent?: {
2147
+ $$field: string;
2148
+ $$subfield?: string[] | undefined;
2149
+ } | {
2150
+ $$event: "createdAt" | "updatedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt" | "legalStatuses.REGISTERED.acceptedAt";
2151
+ } | undefined;
2152
+ fallbackTitle?: {
2153
+ id: string;
2154
+ description: string;
2155
+ defaultMessage: string;
2156
+ } | undefined;
2157
+ advancedSearch?: {
2158
+ title: {
2159
+ id: string;
2160
+ description: string;
2161
+ defaultMessage: string;
2162
+ };
2163
+ fields: ({
2164
+ config: {
2165
+ type: "exact" | "fuzzy" | "range" | "within";
2166
+ searchFields?: string[] | undefined;
2167
+ };
2168
+ fieldId: string;
2169
+ fieldType: "field";
2170
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
2171
+ options?: {
2172
+ value: string;
2173
+ label: string | {
2174
+ id: string;
2175
+ description: string;
2176
+ defaultMessage: string;
2177
+ };
2178
+ }[] | undefined;
2179
+ label?: {
2180
+ id: string;
2181
+ description: string;
2182
+ defaultMessage: string;
2183
+ } | undefined;
2184
+ conditionals?: ({
2185
+ type: "SHOW";
2186
+ conditional: import("../conditionals/conditionals").JSONSchema;
2187
+ } | {
2188
+ type: "ENABLE";
2189
+ conditional: import("../conditionals/conditionals").JSONSchema;
2190
+ } | {
2191
+ type: "DISPLAY_ON_REVIEW";
2192
+ conditional: import("../conditionals/conditionals").JSONSchema;
2193
+ })[] | undefined;
2194
+ searchCriteriaLabelPrefix?: {
2195
+ id: string;
2196
+ description: string;
2197
+ defaultMessage: string;
2198
+ } | undefined;
2199
+ validations?: {
2200
+ message: {
2201
+ id: string;
2202
+ description: string;
2203
+ defaultMessage: string;
2204
+ };
2205
+ validator: import("../conditionals/conditionals").JSONSchema;
2206
+ }[] | undefined;
2207
+ } | {
2208
+ config: {
2209
+ type: "exact" | "fuzzy" | "range" | "within";
2210
+ searchFields?: string[] | undefined;
2211
+ };
2212
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
2213
+ fieldType: "event";
2214
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
2215
+ options?: {
2216
+ value: string;
2217
+ label: string | {
2218
+ id: string;
2219
+ description: string;
2220
+ defaultMessage: string;
2221
+ };
2222
+ }[] | undefined;
2223
+ label?: {
2224
+ id: string;
2225
+ description: string;
2226
+ defaultMessage: string;
2227
+ } | undefined;
2228
+ conditionals?: ({
2229
+ type: "SHOW";
2230
+ conditional: import("../conditionals/conditionals").JSONSchema;
2231
+ } | {
2232
+ type: "ENABLE";
2233
+ conditional: import("../conditionals/conditionals").JSONSchema;
2234
+ } | {
2235
+ type: "DISPLAY_ON_REVIEW";
2236
+ conditional: import("../conditionals/conditionals").JSONSchema;
2237
+ })[] | undefined;
2238
+ searchCriteriaLabelPrefix?: {
2239
+ id: string;
2240
+ description: string;
2241
+ defaultMessage: string;
2242
+ } | undefined;
2243
+ validations?: {
2244
+ message: {
2245
+ id: string;
2246
+ description: string;
2247
+ defaultMessage: string;
2248
+ };
2249
+ validator: import("../conditionals/conditionals").JSONSchema;
2250
+ }[] | undefined;
2251
+ })[];
2252
+ }[] | undefined;
2253
+ }>;
2254
+ export type EventConfig = z.infer<typeof EventConfig>;
2255
+ //# sourceMappingURL=EventConfig.d.ts.map