@opencrvs/toolkit 1.9.13-rc.72233cd → 1.9.13-rc.797da9b

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 (122) hide show
  1. package/build.sh +0 -13
  2. package/dist/api/index.d.ts.map +1 -1
  3. package/dist/commons/api/router.d.ts +4561 -3370
  4. package/dist/commons/conditionals/conditionals.d.ts +295 -28
  5. package/dist/commons/conditionals/validate.d.ts +9 -11
  6. package/dist/commons/events/ActionConfig.d.ts +1555 -415
  7. package/dist/commons/events/ActionDocument.d.ts +1941 -888
  8. package/dist/commons/events/ActionInput.d.ts +1277 -277
  9. package/dist/commons/events/ActionType.d.ts +11 -91
  10. package/dist/commons/events/AdvancedSearchConfig.d.ts +1496 -294
  11. package/dist/commons/events/CompositeFieldValue.d.ts +190 -30
  12. package/dist/commons/events/Conditional.d.ts +38 -26
  13. package/dist/commons/events/Constants.d.ts +1 -1
  14. package/dist/commons/events/CountryConfigQueryInput.d.ts +4471 -1592
  15. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  16. package/dist/commons/events/DeduplicationConfig.d.ts +171 -15
  17. package/dist/commons/events/Draft.d.ts +113 -72
  18. package/dist/commons/events/DynamicFieldValue.d.ts +78 -12
  19. package/dist/commons/events/EventConfig.d.ts +2420 -35
  20. package/dist/commons/events/EventConfigInput.d.ts +3 -0
  21. package/dist/commons/events/EventDocument.d.ts +1366 -354
  22. package/dist/commons/events/EventIndex.d.ts +1010 -212
  23. package/dist/commons/events/EventInput.d.ts +8 -3
  24. package/dist/commons/events/EventMetadata.d.ts +357 -130
  25. package/dist/commons/events/FieldConfig.d.ts +16025 -2936
  26. package/dist/commons/events/FieldType.d.ts +4 -26
  27. package/dist/commons/events/FieldTypeMapping.d.ts +906 -314
  28. package/dist/commons/events/FieldValue.d.ts +527 -149
  29. package/dist/commons/events/FileUtils.d.ts +2 -2
  30. package/dist/commons/events/FormConfig.d.ts +721 -54
  31. package/dist/commons/events/PageConfig.d.ts +320 -58
  32. package/dist/commons/events/PlainDate.d.ts +1 -1
  33. package/dist/commons/events/SummaryConfig.d.ts +161 -14
  34. package/dist/commons/events/TemplateConfig.d.ts +3 -2
  35. package/dist/commons/events/TranslationConfig.d.ts +2 -2
  36. package/dist/commons/events/WorkqueueColumnConfig.d.ts +37 -74
  37. package/dist/commons/events/WorkqueueConfig.d.ts +7480 -2135
  38. package/dist/commons/events/deduplication.d.ts +3 -3
  39. package/dist/commons/events/defineConfig.d.ts +247 -2
  40. package/dist/commons/events/field.d.ts +22 -0
  41. package/dist/commons/events/index.d.ts +0 -3
  42. package/dist/commons/events/locations.d.ts +20 -57
  43. package/dist/commons/events/scopes.d.ts +34 -35
  44. package/dist/commons/events/state/availableActions.d.ts +2 -7
  45. package/dist/commons/events/state/flags.d.ts +3 -21
  46. package/dist/commons/events/state/index.d.ts +27 -30
  47. package/dist/commons/events/state/utils.d.ts +172 -190
  48. package/dist/commons/events/test.utils.d.ts +11 -52
  49. package/dist/commons/events/transactions.d.ts +1 -1
  50. package/dist/commons/events/utils.d.ts +273 -373
  51. package/dist/commons/notification/UserNotifications.d.ts +637 -61
  52. package/dist/conditionals/index.d.ts.map +1 -1
  53. package/dist/conditionals/index.js +2006 -270
  54. package/dist/events/deduplication.d.ts +3 -3
  55. package/dist/events/index.js +2203 -2847
  56. package/dist/notification/index.d.ts.map +1 -1
  57. package/dist/notification/index.js +1844 -2076
  58. package/dist/scopes/index.d.ts +353 -640
  59. package/dist/scopes/index.d.ts.map +1 -1
  60. package/dist/scopes/index.js +300 -340
  61. package/package.json +3 -13
  62. package/tsconfig.json +2 -12
  63. package/tsconfig.tsbuildinfo +1 -1
  64. package/dist/application-config/index.d.ts +0 -2
  65. package/dist/application-config/index.d.ts.map +0 -1
  66. package/dist/application-config/index.js +0 -2128
  67. package/dist/cli.d.ts +0 -2
  68. package/dist/cli.d.ts.map +0 -1
  69. package/dist/cli.js +0 -3237
  70. package/dist/commons/application-config/index.d.ts +0 -84
  71. package/dist/commons/events/AuditLog.d.ts +0 -405
  72. package/dist/commons/events/Flag.d.ts +0 -67
  73. package/dist/commons/events/eventConfigValidation.d.ts +0 -8
  74. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +0 -3
  75. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +0 -1
  76. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +0 -405
  77. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +0 -2
  78. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +0 -1
  79. package/dist/migrations/v2.0/convert-config-files-to-ts.js +0 -829
  80. package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +0 -3
  81. package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +0 -1
  82. package/dist/migrations/v2.0/convert-paragraph-to-heading.js +0 -159
  83. package/dist/migrations/v2.0/index.d.ts +0 -7
  84. package/dist/migrations/v2.0/index.d.ts.map +0 -1
  85. package/dist/migrations/v2.0/index.js +0 -3176
  86. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +0 -3
  87. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +0 -1
  88. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +0 -344
  89. package/dist/migrations/v2.0/migrate-scopes.d.ts +0 -3
  90. package/dist/migrations/v2.0/migrate-scopes.d.ts.map +0 -1
  91. package/dist/migrations/v2.0/migrate-scopes.js +0 -282
  92. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +0 -3
  93. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +0 -1
  94. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +0 -268
  95. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +0 -3
  96. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +0 -1
  97. package/dist/migrations/v2.0/migrate-workqueue-configs.js +0 -237
  98. package/dist/migrations/v2.0/remove-delete-actions.d.ts +0 -3
  99. package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +0 -1
  100. package/dist/migrations/v2.0/remove-delete-actions.js +0 -157
  101. package/dist/migrations/v2.0/remove-demo-scope.d.ts +0 -3
  102. package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +0 -1
  103. package/dist/migrations/v2.0/remove-demo-scope.js +0 -75
  104. package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +0 -3
  105. package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +0 -1
  106. package/dist/migrations/v2.0/remove-deprecated-imports.js +0 -97
  107. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +0 -3
  108. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +0 -1
  109. package/dist/migrations/v2.0/remove-hearth-migrations.js +0 -78
  110. package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +0 -3
  111. package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +0 -1
  112. package/dist/migrations/v2.0/remove-pending-certification-flag.js +0 -110
  113. package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +0 -3
  114. package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +0 -1
  115. package/dist/migrations/v2.0/remove-review-from-register-action.js +0 -164
  116. package/dist/migrations/v2.0/rename-api-paths.d.ts +0 -3
  117. package/dist/migrations/v2.0/rename-api-paths.d.ts.map +0 -1
  118. package/dist/migrations/v2.0/rename-api-paths.js +0 -188
  119. package/dist/migrations/v2.0/rename-location-parent-id.d.ts +0 -3
  120. package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +0 -1
  121. package/dist/migrations/v2.0/rename-location-parent-id.js +0 -181
  122. package/opencrvs-toolkit-1.9.13-rc.72233cd.tgz +0 -0
@@ -1,5 +1,5 @@
1
- import * as z from 'zod/v4';
2
- import { AddressFieldUpdateValue, AddressFieldValue, CustomFieldValue, FileFieldValue, FileFieldWithOptionValue, HttpFieldUpdateValue, IdReaderFieldValue, NameFieldUpdateValue, NameFieldValue, NumberWithUnitFieldUpdateValue, NumberWithUnitFieldValue, QrReaderFieldValue, QueryParamReaderFieldUpdateValue } from './CompositeFieldValue';
1
+ import { z } from 'zod';
2
+ import { AddressFieldValue, AddressFieldUpdateValue, FileFieldValue, FileFieldWithOptionValue, NameFieldValue, NameFieldUpdateValue, NumberWithUnitFieldValue, NumberWithUnitFieldUpdateValue, HttpFieldUpdateValue, QueryParamReaderFieldUpdateValue, QrReaderFieldValue, IdReaderFieldValue } from './CompositeFieldValue';
3
3
  import { PlainDate, plainDateToLocalDate } from './PlainDate';
4
4
  export { PlainDate, plainDateToLocalDate };
5
5
  /**
@@ -15,274 +15,652 @@ export { PlainDate, plainDateToLocalDate };
15
15
  *
16
16
  */
17
17
  export declare const TextValue: z.ZodString;
18
- export declare const HiddenFieldValue: z.ZodString;
19
18
  export declare const NonEmptyTextValue: z.ZodString;
20
- export declare const DateValue: z.ZodISODate;
21
- export type DateValue = z.infer<typeof DateValue>;
22
19
  export declare const AgeValue: z.ZodObject<{
23
20
  age: z.ZodNumber;
24
21
  asOfDateRef: z.ZodString;
25
- }, z.core.$strip>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ age: number;
24
+ asOfDateRef: string;
25
+ }, {
26
+ age: number;
27
+ asOfDateRef: string;
28
+ }>;
26
29
  export type AgeValue = z.infer<typeof AgeValue>;
27
30
  export declare const AgeUpdateValue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
28
31
  age: z.ZodNumber;
29
32
  asOfDateRef: z.ZodString;
30
- }, z.core.$strip>>>;
31
- export declare const AutocompleteValue: z.ZodObject<{
32
- label: z.ZodString;
33
- value: z.ZodString;
34
- }, z.core.$strip>;
35
- export type AutocompleteValue = z.infer<typeof AutocompleteValue>;
36
- export declare const AutocompleteUpdateValue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
37
- label: z.ZodString;
38
- value: z.ZodString;
39
- }, z.core.$strip>>>;
40
- export type AutocompleteUpdateValue = z.infer<typeof AutocompleteUpdateValue>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ age: number;
35
+ asOfDateRef: string;
36
+ }, {
37
+ age: number;
38
+ asOfDateRef: string;
39
+ }>>>;
41
40
  export declare const TimeValue: z.ZodString;
42
41
  export type TimeValue = z.infer<typeof TimeValue>;
43
- export declare const DatetimeValue: z.ZodISODateTime;
44
- export declare const SelectDateRangeValue: z.ZodEnum<{
45
- last7Days: "last7Days";
46
- last30Days: "last30Days";
47
- last90Days: "last90Days";
48
- last365Days: "last365Days";
49
- }>;
42
+ export declare const DatetimeValue: z.ZodString;
43
+ export declare const SelectDateRangeValue: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
50
44
  export declare const DateRangeFieldValue: z.ZodUnion<[z.ZodObject<{
51
- start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
52
- end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
53
- }, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>;
45
+ start: z.ZodBranded<z.ZodString, "PlainDate">;
46
+ end: z.ZodBranded<z.ZodString, "PlainDate">;
47
+ }, "strip", z.ZodTypeAny, {
48
+ start: string & z.BRAND<"PlainDate">;
49
+ end: string & z.BRAND<"PlainDate">;
50
+ }, {
51
+ start: string;
52
+ end: string;
53
+ }>, z.ZodBranded<z.ZodString, "PlainDate">]>;
54
54
  export type DateRangeFieldValue = z.infer<typeof DateRangeFieldValue>;
55
55
  export type SelectDateRangeValue = z.infer<typeof SelectDateRangeValue>;
56
- export declare const EmailValue: z.ZodEmail;
56
+ export declare const EmailValue: z.ZodString;
57
57
  export declare const CheckboxFieldValue: z.ZodBoolean;
58
58
  export type CheckboxFieldValue = z.infer<typeof CheckboxFieldValue>;
59
59
  export declare const NumberFieldValue: z.ZodNumber;
60
60
  export type NumberFieldValue = z.infer<typeof NumberFieldValue>;
61
+ export declare const SignatureFieldValue: z.ZodString;
62
+ export type SignatureFieldValue = z.infer<typeof SignatureFieldValue>;
61
63
  export declare const ButtonFieldValue: z.ZodNumber;
62
64
  export type ButtonFieldValue = z.infer<typeof ButtonFieldValue>;
63
- export declare const VerificationStatusValue: z.ZodEnum<{
64
- verified: "verified";
65
- authenticated: "authenticated";
66
- failed: "failed";
67
- pending: "pending";
68
- }>;
65
+ export declare const VerificationStatusValue: z.ZodEnum<["verified", "authenticated", "failed", "pending"]>;
69
66
  export type VerificationStatusValue = z.infer<typeof VerificationStatusValue>;
70
- declare const LeafFieldValues: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
67
+ declare const LeafFieldValues: z.ZodUnion<[z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
71
68
  country: z.ZodString;
72
69
  streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
70
+ }, {
73
71
  addressType: z.ZodLiteral<"DOMESTIC">;
74
72
  administrativeArea: z.ZodString;
75
- }, z.core.$strip>, z.ZodObject<{
73
+ }>, "strip", z.ZodTypeAny, {
74
+ country: string;
75
+ addressType: "DOMESTIC";
76
+ administrativeArea: string;
77
+ streetLevelDetails?: Record<string, string> | undefined;
78
+ }, {
79
+ country: string;
80
+ addressType: "DOMESTIC";
81
+ administrativeArea: string;
82
+ streetLevelDetails?: Record<string, string> | undefined;
83
+ }>, z.ZodObject<z.objectUtil.extendShape<{
76
84
  country: z.ZodString;
77
85
  streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
86
+ }, {
78
87
  addressType: z.ZodLiteral<"INTERNATIONAL">;
79
- }, z.core.$strip>], "addressType">, z.ZodString, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">, z.ZodObject<{
88
+ }>, "strip", z.ZodTypeAny, {
89
+ country: string;
90
+ addressType: "INTERNATIONAL";
91
+ streetLevelDetails?: Record<string, string> | undefined;
92
+ }, {
93
+ country: string;
94
+ addressType: "INTERNATIONAL";
95
+ streetLevelDetails?: Record<string, string> | undefined;
96
+ }>]>, z.ZodString, z.ZodBranded<z.ZodString, "PlainDate">, z.ZodObject<{
80
97
  age: z.ZodNumber;
81
98
  asOfDateRef: z.ZodString;
82
- }, z.core.$strip>, z.ZodString, z.ZodUnion<[z.ZodObject<{
83
- start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
84
- end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
85
- }, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
86
- last7Days: "last7Days";
87
- last30Days: "last30Days";
88
- last90Days: "last90Days";
89
- last365Days: "last365Days";
90
- }>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
91
- path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
99
+ }, "strip", z.ZodTypeAny, {
100
+ age: number;
101
+ asOfDateRef: string;
102
+ }, {
103
+ age: number;
104
+ asOfDateRef: string;
105
+ }>, z.ZodString, z.ZodUnion<[z.ZodObject<{
106
+ start: z.ZodBranded<z.ZodString, "PlainDate">;
107
+ end: z.ZodBranded<z.ZodString, "PlainDate">;
108
+ }, "strip", z.ZodTypeAny, {
109
+ start: string & z.BRAND<"PlainDate">;
110
+ end: string & z.BRAND<"PlainDate">;
111
+ }, {
112
+ start: string;
113
+ end: string;
114
+ }>, z.ZodBranded<z.ZodString, "PlainDate">]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
115
+ path: z.ZodEffects<z.ZodString, string, string>;
92
116
  originalFilename: z.ZodString;
93
117
  type: z.ZodString;
94
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
95
- path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
118
+ }, "strip", z.ZodTypeAny, {
119
+ type: string;
120
+ path: string;
121
+ originalFilename: string;
122
+ }, {
123
+ type: string;
124
+ path: string;
125
+ originalFilename: string;
126
+ }>, z.ZodArray<z.ZodObject<{
127
+ path: z.ZodEffects<z.ZodString, string, string>;
96
128
  originalFilename: z.ZodString;
97
129
  type: z.ZodString;
98
130
  option: z.ZodString;
99
- }, z.core.$strip>>, z.ZodObject<{
131
+ }, "strip", z.ZodTypeAny, {
132
+ type: string;
133
+ option: string;
134
+ path: string;
135
+ originalFilename: string;
136
+ }, {
137
+ type: string;
138
+ option: string;
139
+ path: string;
140
+ originalFilename: string;
141
+ }>, "many">, z.ZodObject<{
100
142
  firstname: z.ZodString;
101
143
  surname: z.ZodString;
102
144
  middlename: z.ZodOptional<z.ZodString>;
103
- }, z.core.$strip>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
145
+ }, "strip", z.ZodTypeAny, {
146
+ firstname: string;
147
+ surname: string;
148
+ middlename?: string | undefined;
149
+ }, {
150
+ firstname: string;
151
+ surname: string;
152
+ middlename?: string | undefined;
153
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
104
154
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
155
  surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
156
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
- }, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
157
+ }, "strip", z.ZodTypeAny, {
158
+ firstname?: string | null | undefined;
159
+ surname?: string | null | undefined;
160
+ middlename?: string | null | undefined;
161
+ }, {
162
+ firstname?: string | null | undefined;
163
+ surname?: string | null | undefined;
164
+ middlename?: string | null | undefined;
165
+ }>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
108
166
  loading: z.ZodBoolean;
109
167
  error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
110
168
  statusCode: z.ZodNumber;
111
169
  message: z.ZodString;
112
- }, z.core.$strip>>>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ message: string;
172
+ statusCode: number;
173
+ }, {
174
+ message: string;
175
+ statusCode: number;
176
+ }>>>;
113
177
  data: z.ZodAny;
114
- }, z.core.$strip>, z.ZodEnum<{
115
- verified: "verified";
116
- authenticated: "authenticated";
117
- failed: "failed";
118
- pending: "pending";
119
- }>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
178
+ }, "strip", z.ZodTypeAny, {
179
+ loading: boolean;
180
+ data?: any;
181
+ error?: {
182
+ message: string;
183
+ statusCode: number;
184
+ } | null | undefined;
185
+ }, {
186
+ loading: boolean;
187
+ data?: any;
188
+ error?: {
189
+ message: string;
190
+ statusCode: number;
191
+ } | null | undefined;
192
+ }>, z.ZodEnum<["verified", "authenticated", "failed", "pending"]>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
120
193
  data: z.ZodRecord<z.ZodString, z.ZodString>;
121
- updatedAt: z.ZodISODateTime;
122
- }, z.core.$strip>>>, z.ZodObject<{
194
+ }, "strip", z.ZodTypeAny, {
195
+ data: Record<string, string>;
196
+ }, {
197
+ data: Record<string, string>;
198
+ }>>>, z.ZodObject<{
123
199
  data: z.ZodAny;
124
- }, z.core.$strip>, z.ZodObject<{
200
+ }, "strip", z.ZodTypeAny, {
201
+ data?: any;
202
+ }, {
203
+ data?: any;
204
+ }>, z.ZodObject<{
125
205
  data: z.ZodAny;
126
- }, z.core.$strip>, z.ZodObject<{
206
+ }, "strip", z.ZodTypeAny, {
207
+ data?: any;
208
+ }, {
209
+ data?: any;
210
+ }>, z.ZodObject<{
127
211
  numericValue: z.ZodNumber;
128
212
  unit: z.ZodString;
129
- }, z.core.$strip>, z.ZodObject<{
213
+ }, "strip", z.ZodTypeAny, {
214
+ numericValue: number;
215
+ unit: string;
216
+ }, {
217
+ numericValue: number;
218
+ unit: string;
219
+ }>, z.ZodObject<{
130
220
  numericValue: z.ZodOptional<z.ZodNumber>;
131
221
  unit: z.ZodOptional<z.ZodString>;
132
- }, z.core.$strip>, z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">, z.ZodObject<{
133
- label: z.ZodString;
134
- value: z.ZodString;
135
- }, z.core.$strip>, z.ZodNullable<z.ZodOptional<z.ZodObject<{
136
- label: z.ZodString;
137
- value: z.ZodString;
138
- }, z.core.$strip>>>]>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ numericValue?: number | undefined;
224
+ unit?: string | undefined;
225
+ }, {
226
+ numericValue?: number | undefined;
227
+ unit?: string | undefined;
228
+ }>]>;
139
229
  type LeafFieldValues = z.infer<typeof LeafFieldValues>;
140
- export declare const FieldGroupValue: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
230
+ export declare const FieldGroupValue: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
141
231
  country: z.ZodString;
142
232
  streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
233
+ }, {
143
234
  addressType: z.ZodLiteral<"DOMESTIC">;
144
235
  administrativeArea: z.ZodString;
145
- }, z.core.$strip>, z.ZodObject<{
236
+ }>, "strip", z.ZodTypeAny, {
237
+ country: string;
238
+ addressType: "DOMESTIC";
239
+ administrativeArea: string;
240
+ streetLevelDetails?: Record<string, string> | undefined;
241
+ }, {
242
+ country: string;
243
+ addressType: "DOMESTIC";
244
+ administrativeArea: string;
245
+ streetLevelDetails?: Record<string, string> | undefined;
246
+ }>, z.ZodObject<z.objectUtil.extendShape<{
146
247
  country: z.ZodString;
147
248
  streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
249
+ }, {
148
250
  addressType: z.ZodLiteral<"INTERNATIONAL">;
149
- }, z.core.$strip>], "addressType">, z.ZodString, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">, z.ZodObject<{
251
+ }>, "strip", z.ZodTypeAny, {
252
+ country: string;
253
+ addressType: "INTERNATIONAL";
254
+ streetLevelDetails?: Record<string, string> | undefined;
255
+ }, {
256
+ country: string;
257
+ addressType: "INTERNATIONAL";
258
+ streetLevelDetails?: Record<string, string> | undefined;
259
+ }>]>, z.ZodString, z.ZodBranded<z.ZodString, "PlainDate">, z.ZodObject<{
150
260
  age: z.ZodNumber;
151
261
  asOfDateRef: z.ZodString;
152
- }, z.core.$strip>, z.ZodString, z.ZodUnion<[z.ZodObject<{
153
- start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
154
- end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
155
- }, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
156
- last7Days: "last7Days";
157
- last30Days: "last30Days";
158
- last90Days: "last90Days";
159
- last365Days: "last365Days";
160
- }>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
161
- path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
262
+ }, "strip", z.ZodTypeAny, {
263
+ age: number;
264
+ asOfDateRef: string;
265
+ }, {
266
+ age: number;
267
+ asOfDateRef: string;
268
+ }>, z.ZodString, z.ZodUnion<[z.ZodObject<{
269
+ start: z.ZodBranded<z.ZodString, "PlainDate">;
270
+ end: z.ZodBranded<z.ZodString, "PlainDate">;
271
+ }, "strip", z.ZodTypeAny, {
272
+ start: string & z.BRAND<"PlainDate">;
273
+ end: string & z.BRAND<"PlainDate">;
274
+ }, {
275
+ start: string;
276
+ end: string;
277
+ }>, z.ZodBranded<z.ZodString, "PlainDate">]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
278
+ path: z.ZodEffects<z.ZodString, string, string>;
162
279
  originalFilename: z.ZodString;
163
280
  type: z.ZodString;
164
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
165
- path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
281
+ }, "strip", z.ZodTypeAny, {
282
+ type: string;
283
+ path: string;
284
+ originalFilename: string;
285
+ }, {
286
+ type: string;
287
+ path: string;
288
+ originalFilename: string;
289
+ }>, z.ZodArray<z.ZodObject<{
290
+ path: z.ZodEffects<z.ZodString, string, string>;
166
291
  originalFilename: z.ZodString;
167
292
  type: z.ZodString;
168
293
  option: z.ZodString;
169
- }, z.core.$strip>>, z.ZodObject<{
294
+ }, "strip", z.ZodTypeAny, {
295
+ type: string;
296
+ option: string;
297
+ path: string;
298
+ originalFilename: string;
299
+ }, {
300
+ type: string;
301
+ option: string;
302
+ path: string;
303
+ originalFilename: string;
304
+ }>, "many">, z.ZodObject<{
170
305
  firstname: z.ZodString;
171
306
  surname: z.ZodString;
172
307
  middlename: z.ZodOptional<z.ZodString>;
173
- }, z.core.$strip>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
308
+ }, "strip", z.ZodTypeAny, {
309
+ firstname: string;
310
+ surname: string;
311
+ middlename?: string | undefined;
312
+ }, {
313
+ firstname: string;
314
+ surname: string;
315
+ middlename?: string | undefined;
316
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
174
317
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
175
318
  surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
319
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
177
- }, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
320
+ }, "strip", z.ZodTypeAny, {
321
+ firstname?: string | null | undefined;
322
+ surname?: string | null | undefined;
323
+ middlename?: string | null | undefined;
324
+ }, {
325
+ firstname?: string | null | undefined;
326
+ surname?: string | null | undefined;
327
+ middlename?: string | null | undefined;
328
+ }>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
178
329
  loading: z.ZodBoolean;
179
330
  error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
180
331
  statusCode: z.ZodNumber;
181
332
  message: z.ZodString;
182
- }, z.core.$strip>>>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ message: string;
335
+ statusCode: number;
336
+ }, {
337
+ message: string;
338
+ statusCode: number;
339
+ }>>>;
183
340
  data: z.ZodAny;
184
- }, z.core.$strip>, z.ZodEnum<{
185
- verified: "verified";
186
- authenticated: "authenticated";
187
- failed: "failed";
188
- pending: "pending";
189
- }>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
341
+ }, "strip", z.ZodTypeAny, {
342
+ loading: boolean;
343
+ data?: any;
344
+ error?: {
345
+ message: string;
346
+ statusCode: number;
347
+ } | null | undefined;
348
+ }, {
349
+ loading: boolean;
350
+ data?: any;
351
+ error?: {
352
+ message: string;
353
+ statusCode: number;
354
+ } | null | undefined;
355
+ }>, z.ZodEnum<["verified", "authenticated", "failed", "pending"]>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
190
356
  data: z.ZodRecord<z.ZodString, z.ZodString>;
191
- updatedAt: z.ZodISODateTime;
192
- }, z.core.$strip>>>, z.ZodObject<{
357
+ }, "strip", z.ZodTypeAny, {
358
+ data: Record<string, string>;
359
+ }, {
360
+ data: Record<string, string>;
361
+ }>>>, z.ZodObject<{
193
362
  data: z.ZodAny;
194
- }, z.core.$strip>, z.ZodObject<{
363
+ }, "strip", z.ZodTypeAny, {
364
+ data?: any;
365
+ }, {
366
+ data?: any;
367
+ }>, z.ZodObject<{
195
368
  data: z.ZodAny;
196
- }, z.core.$strip>, z.ZodObject<{
369
+ }, "strip", z.ZodTypeAny, {
370
+ data?: any;
371
+ }, {
372
+ data?: any;
373
+ }>, z.ZodObject<{
197
374
  numericValue: z.ZodNumber;
198
375
  unit: z.ZodString;
199
- }, z.core.$strip>, z.ZodObject<{
376
+ }, "strip", z.ZodTypeAny, {
377
+ numericValue: number;
378
+ unit: string;
379
+ }, {
380
+ numericValue: number;
381
+ unit: string;
382
+ }>, z.ZodObject<{
200
383
  numericValue: z.ZodOptional<z.ZodNumber>;
201
384
  unit: z.ZodOptional<z.ZodString>;
202
- }, z.core.$strip>, z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">, z.ZodObject<{
203
- label: z.ZodString;
204
- value: z.ZodString;
205
- }, z.core.$strip>, z.ZodNullable<z.ZodOptional<z.ZodObject<{
206
- label: z.ZodString;
207
- value: z.ZodString;
208
- }, z.core.$strip>>>]>>;
385
+ }, "strip", z.ZodTypeAny, {
386
+ numericValue?: number | undefined;
387
+ unit?: string | undefined;
388
+ }, {
389
+ numericValue?: number | undefined;
390
+ unit?: string | undefined;
391
+ }>]>>;
209
392
  export type FieldGroupValue = z.infer<typeof FieldGroupValue>;
210
393
  export declare const DataFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
211
- data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
394
+ data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodDiscriminatedUnion<"addressType", [z.ZodObject<z.objectUtil.extendShape<{
212
395
  country: z.ZodString;
213
396
  streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
397
+ }, {
214
398
  addressType: z.ZodLiteral<"DOMESTIC">;
215
399
  administrativeArea: z.ZodString;
216
- }, z.core.$strip>, z.ZodObject<{
400
+ }>, "strip", z.ZodTypeAny, {
401
+ country: string;
402
+ addressType: "DOMESTIC";
403
+ administrativeArea: string;
404
+ streetLevelDetails?: Record<string, string> | undefined;
405
+ }, {
406
+ country: string;
407
+ addressType: "DOMESTIC";
408
+ administrativeArea: string;
409
+ streetLevelDetails?: Record<string, string> | undefined;
410
+ }>, z.ZodObject<z.objectUtil.extendShape<{
217
411
  country: z.ZodString;
218
412
  streetLevelDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
413
+ }, {
219
414
  addressType: z.ZodLiteral<"INTERNATIONAL">;
220
- }, z.core.$strip>], "addressType">, z.ZodString, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">, z.ZodObject<{
415
+ }>, "strip", z.ZodTypeAny, {
416
+ country: string;
417
+ addressType: "INTERNATIONAL";
418
+ streetLevelDetails?: Record<string, string> | undefined;
419
+ }, {
420
+ country: string;
421
+ addressType: "INTERNATIONAL";
422
+ streetLevelDetails?: Record<string, string> | undefined;
423
+ }>]>, z.ZodString, z.ZodBranded<z.ZodString, "PlainDate">, z.ZodObject<{
221
424
  age: z.ZodNumber;
222
425
  asOfDateRef: z.ZodString;
223
- }, z.core.$strip>, z.ZodString, z.ZodUnion<[z.ZodObject<{
224
- start: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
225
- end: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
226
- }, z.core.$strip>, z.core.$ZodBranded<z.ZodString, "PlainDate", "out">]>, z.ZodEnum<{
227
- last7Days: "last7Days";
228
- last30Days: "last30Days";
229
- last90Days: "last90Days";
230
- last365Days: "last365Days";
231
- }>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
232
- path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
426
+ }, "strip", z.ZodTypeAny, {
427
+ age: number;
428
+ asOfDateRef: string;
429
+ }, {
430
+ age: number;
431
+ asOfDateRef: string;
432
+ }>, z.ZodString, z.ZodUnion<[z.ZodObject<{
433
+ start: z.ZodBranded<z.ZodString, "PlainDate">;
434
+ end: z.ZodBranded<z.ZodString, "PlainDate">;
435
+ }, "strip", z.ZodTypeAny, {
436
+ start: string & z.BRAND<"PlainDate">;
437
+ end: string & z.BRAND<"PlainDate">;
438
+ }, {
439
+ start: string;
440
+ end: string;
441
+ }>, z.ZodBranded<z.ZodString, "PlainDate">]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
442
+ path: z.ZodEffects<z.ZodString, string, string>;
233
443
  originalFilename: z.ZodString;
234
444
  type: z.ZodString;
235
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
236
- path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
445
+ }, "strip", z.ZodTypeAny, {
446
+ type: string;
447
+ path: string;
448
+ originalFilename: string;
449
+ }, {
450
+ type: string;
451
+ path: string;
452
+ originalFilename: string;
453
+ }>, z.ZodArray<z.ZodObject<{
454
+ path: z.ZodEffects<z.ZodString, string, string>;
237
455
  originalFilename: z.ZodString;
238
456
  type: z.ZodString;
239
457
  option: z.ZodString;
240
- }, z.core.$strip>>, z.ZodObject<{
458
+ }, "strip", z.ZodTypeAny, {
459
+ type: string;
460
+ option: string;
461
+ path: string;
462
+ originalFilename: string;
463
+ }, {
464
+ type: string;
465
+ option: string;
466
+ path: string;
467
+ originalFilename: string;
468
+ }>, "many">, z.ZodObject<{
241
469
  firstname: z.ZodString;
242
470
  surname: z.ZodString;
243
471
  middlename: z.ZodOptional<z.ZodString>;
244
- }, z.core.$strip>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
472
+ }, "strip", z.ZodTypeAny, {
473
+ firstname: string;
474
+ surname: string;
475
+ middlename?: string | undefined;
476
+ }, {
477
+ firstname: string;
478
+ surname: string;
479
+ middlename?: string | undefined;
480
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
245
481
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
482
  surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
247
483
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
- }, z.core.$strip>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
484
+ }, "strip", z.ZodTypeAny, {
485
+ firstname?: string | null | undefined;
486
+ surname?: string | null | undefined;
487
+ middlename?: string | null | undefined;
488
+ }, {
489
+ firstname?: string | null | undefined;
490
+ surname?: string | null | undefined;
491
+ middlename?: string | null | undefined;
492
+ }>, z.ZodNull]>, z.ZodUndefined]>, z.ZodNumber, z.ZodObject<{
249
493
  loading: z.ZodBoolean;
250
494
  error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
251
495
  statusCode: z.ZodNumber;
252
496
  message: z.ZodString;
253
- }, z.core.$strip>>>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ message: string;
499
+ statusCode: number;
500
+ }, {
501
+ message: string;
502
+ statusCode: number;
503
+ }>>>;
254
504
  data: z.ZodAny;
255
- }, z.core.$strip>, z.ZodEnum<{
256
- verified: "verified";
257
- authenticated: "authenticated";
258
- failed: "failed";
259
- pending: "pending";
260
- }>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
505
+ }, "strip", z.ZodTypeAny, {
506
+ loading: boolean;
507
+ data?: any;
508
+ error?: {
509
+ message: string;
510
+ statusCode: number;
511
+ } | null | undefined;
512
+ }, {
513
+ loading: boolean;
514
+ data?: any;
515
+ error?: {
516
+ message: string;
517
+ statusCode: number;
518
+ } | null | undefined;
519
+ }>, z.ZodEnum<["verified", "authenticated", "failed", "pending"]>, z.ZodOptional<z.ZodNullable<z.ZodObject<{
261
520
  data: z.ZodRecord<z.ZodString, z.ZodString>;
262
- updatedAt: z.ZodISODateTime;
263
- }, z.core.$strip>>>, z.ZodObject<{
521
+ }, "strip", z.ZodTypeAny, {
522
+ data: Record<string, string>;
523
+ }, {
524
+ data: Record<string, string>;
525
+ }>>>, z.ZodObject<{
264
526
  data: z.ZodAny;
265
- }, z.core.$strip>, z.ZodObject<{
527
+ }, "strip", z.ZodTypeAny, {
528
+ data?: any;
529
+ }, {
530
+ data?: any;
531
+ }>, z.ZodObject<{
266
532
  data: z.ZodAny;
267
- }, z.core.$strip>, z.ZodObject<{
533
+ }, "strip", z.ZodTypeAny, {
534
+ data?: any;
535
+ }, {
536
+ data?: any;
537
+ }>, z.ZodObject<{
268
538
  numericValue: z.ZodNumber;
269
539
  unit: z.ZodString;
270
- }, z.core.$strip>, z.ZodObject<{
540
+ }, "strip", z.ZodTypeAny, {
541
+ numericValue: number;
542
+ unit: string;
543
+ }, {
544
+ numericValue: number;
545
+ unit: string;
546
+ }>, z.ZodObject<{
271
547
  numericValue: z.ZodOptional<z.ZodNumber>;
272
548
  unit: z.ZodOptional<z.ZodString>;
273
- }, z.core.$strip>, z.core.$ZodBranded<z.ZodUnknown, "CustomFieldValue", "out">, z.ZodObject<{
274
- label: z.ZodString;
275
- value: z.ZodString;
276
- }, z.core.$strip>, z.ZodNullable<z.ZodOptional<z.ZodObject<{
277
- label: z.ZodString;
278
- value: z.ZodString;
279
- }, z.core.$strip>>>]>>;
280
- }, z.core.$strip>>>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ numericValue?: number | undefined;
551
+ unit?: string | undefined;
552
+ }, {
553
+ numericValue?: number | undefined;
554
+ unit?: string | undefined;
555
+ }>]>>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ data: Record<string, string | number | boolean | {
558
+ type: string;
559
+ path: string;
560
+ originalFilename: string;
561
+ } | {
562
+ firstname: string;
563
+ surname: string;
564
+ middlename?: string | undefined;
565
+ } | {
566
+ firstname?: string | null | undefined;
567
+ surname?: string | null | undefined;
568
+ middlename?: string | null | undefined;
569
+ } | {
570
+ country: string;
571
+ addressType: "DOMESTIC";
572
+ administrativeArea: string;
573
+ streetLevelDetails?: Record<string, string> | undefined;
574
+ } | {
575
+ country: string;
576
+ addressType: "INTERNATIONAL";
577
+ streetLevelDetails?: Record<string, string> | undefined;
578
+ } | {
579
+ type: string;
580
+ option: string;
581
+ path: string;
582
+ originalFilename: string;
583
+ }[] | {
584
+ loading: boolean;
585
+ data?: any;
586
+ error?: {
587
+ message: string;
588
+ statusCode: number;
589
+ } | null | undefined;
590
+ } | {
591
+ data: Record<string, string>;
592
+ } | {
593
+ data?: any;
594
+ } | {
595
+ numericValue: number;
596
+ unit: string;
597
+ } | {
598
+ numericValue?: number | undefined;
599
+ unit?: string | undefined;
600
+ } | (string & z.BRAND<"PlainDate">) | {
601
+ age: number;
602
+ asOfDateRef: string;
603
+ } | {
604
+ start: string & z.BRAND<"PlainDate">;
605
+ end: string & z.BRAND<"PlainDate">;
606
+ } | null | undefined>;
607
+ }, {
608
+ data: Record<string, string | number | boolean | {
609
+ type: string;
610
+ path: string;
611
+ originalFilename: string;
612
+ } | {
613
+ firstname: string;
614
+ surname: string;
615
+ middlename?: string | undefined;
616
+ } | {
617
+ firstname?: string | null | undefined;
618
+ surname?: string | null | undefined;
619
+ middlename?: string | null | undefined;
620
+ } | {
621
+ country: string;
622
+ addressType: "DOMESTIC";
623
+ administrativeArea: string;
624
+ streetLevelDetails?: Record<string, string> | undefined;
625
+ } | {
626
+ country: string;
627
+ addressType: "INTERNATIONAL";
628
+ streetLevelDetails?: Record<string, string> | undefined;
629
+ } | {
630
+ type: string;
631
+ option: string;
632
+ path: string;
633
+ originalFilename: string;
634
+ }[] | {
635
+ loading: boolean;
636
+ data?: any;
637
+ error?: {
638
+ message: string;
639
+ statusCode: number;
640
+ } | null | undefined;
641
+ } | {
642
+ data: Record<string, string>;
643
+ } | {
644
+ data?: any;
645
+ } | {
646
+ numericValue: number;
647
+ unit: string;
648
+ } | {
649
+ numericValue?: number | undefined;
650
+ unit?: string | undefined;
651
+ } | {
652
+ age: number;
653
+ asOfDateRef: string;
654
+ } | {
655
+ start: string;
656
+ end: string;
657
+ } | null | undefined>;
658
+ }>>>;
281
659
  export type DataFieldValue = z.infer<typeof DataFieldValue>;
282
660
  export type FieldValue = LeafFieldValues | DataFieldValue | FieldGroupValue;
283
661
  export declare const FieldValue: z.ZodType<FieldValue>;
284
- export declare function safeUnion<T extends [z.ZodTypeAny, ...z.ZodTypeAny[]]>(schemas: T): z.ZodAny;
285
- export type FieldUpdateValue = z.infer<typeof TextValue> | PlainDate | z.infer<typeof TimeValue> | z.infer<typeof AgeUpdateValue> | z.infer<typeof AddressFieldUpdateValue> | z.infer<typeof DateRangeFieldValue> | z.infer<typeof SelectDateRangeValue> | z.infer<typeof CheckboxFieldValue> | z.infer<typeof NumberFieldValue> | z.infer<typeof NumberWithUnitFieldUpdateValue> | z.infer<typeof FileFieldValue> | z.infer<typeof FileFieldWithOptionValue> | DataFieldValue | FieldGroupValue | z.infer<typeof NameFieldUpdateValue> | z.infer<typeof HttpFieldUpdateValue> | z.infer<typeof QueryParamReaderFieldUpdateValue> | z.infer<typeof CustomFieldValue> | z.infer<typeof HiddenFieldValue> | z.infer<typeof AutocompleteUpdateValue>;
662
+ export declare function safeUnion<T extends [z.ZodTypeAny, ...z.ZodTypeAny[]]>(schemas: T): z.ZodType<z.TypeOf<T[number]>, z.ZodTypeDef, z.TypeOf<T[number]>>;
663
+ export type FieldUpdateValue = z.infer<typeof TextValue> | PlainDate | z.infer<typeof TimeValue> | z.infer<typeof AgeUpdateValue> | z.infer<typeof AddressFieldUpdateValue> | z.infer<typeof DateRangeFieldValue> | z.infer<typeof SelectDateRangeValue> | z.infer<typeof CheckboxFieldValue> | z.infer<typeof NumberFieldValue> | z.infer<typeof NumberWithUnitFieldUpdateValue> | z.infer<typeof FileFieldValue> | z.infer<typeof FileFieldWithOptionValue> | DataFieldValue | FieldGroupValue | z.infer<typeof NameFieldUpdateValue> | z.infer<typeof HttpFieldUpdateValue> | z.infer<typeof QueryParamReaderFieldUpdateValue>;
286
664
  export declare const FieldUpdateValue: z.ZodType<FieldUpdateValue>;
287
665
  /**
288
666
  * NOTE: This is an exception. We need schema as a type in order to generate schema dynamically.
@@ -293,5 +671,5 @@ export type FieldValueSchema = typeof FileFieldValue | typeof FileFieldWithOptio
293
671
  *
294
672
  * FieldValueInputSchema uses Input types which have set optional values as nullish
295
673
  * */
296
- export type FieldUpdateValueSchema = typeof PlainDate | typeof DateRangeFieldValue | typeof AgeValue | typeof SelectDateRangeValue | typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldUpdateValue | typeof NumberFieldValue | typeof NumberWithUnitFieldValue | typeof NumberWithUnitFieldUpdateValue | typeof DataFieldValue | typeof FieldGroupValue | typeof NameFieldValue | typeof NameFieldUpdateValue | typeof HttpFieldUpdateValue | typeof QueryParamReaderFieldUpdateValue | typeof ButtonFieldValue | typeof QrReaderFieldValue | typeof IdReaderFieldValue | typeof DateValue | typeof EmailValue | typeof CustomFieldValue | typeof AutocompleteValue | z.ZodString | z.ZodBoolean;
674
+ export type FieldUpdateValueSchema = typeof PlainDate | typeof DateRangeFieldValue | typeof AgeValue | typeof SelectDateRangeValue | typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldUpdateValue | typeof NumberFieldValue | typeof NumberWithUnitFieldValue | typeof NumberWithUnitFieldUpdateValue | typeof DataFieldValue | typeof FieldGroupValue | typeof NameFieldValue | typeof NameFieldUpdateValue | typeof HttpFieldUpdateValue | typeof QueryParamReaderFieldUpdateValue | typeof ButtonFieldValue | typeof QrReaderFieldValue | typeof IdReaderFieldValue | z.ZodString | z.ZodBoolean;
297
675
  //# sourceMappingURL=FieldValue.d.ts.map