@opencrvs/toolkit 1.9.15-rc.fc1c0fb → 2.0.0-rc.004e65c

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