@opencrvs/toolkit 1.9.12-rc.8753d72 → 1.9.12-rc.8a4bacb

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