@adrekic/zod-fieldsjson 0.0.1 → 0.0.2-condition-modifier-seperation.0

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 (45) hide show
  1. package/dist/conditions/base.d.ts +3 -3
  2. package/dist/conditions/boolean.d.ts +32 -6
  3. package/dist/conditions/checkbox-list.d.ts +80 -6
  4. package/dist/conditions/date.d.ts +115 -7
  5. package/dist/conditions/index.d.ts +453 -57
  6. package/dist/conditions/multi-select.d.ts +80 -6
  7. package/dist/conditions/multi-string.d.ts +80 -6
  8. package/dist/conditions/number.d.ts +147 -7
  9. package/dist/conditions/otp.d.ts +64 -6
  10. package/dist/conditions/pass-fail.d.ts +64 -6
  11. package/dist/conditions/radio.d.ts +64 -6
  12. package/dist/conditions/rating.d.ts +147 -7
  13. package/dist/conditions/scan.d.ts +64 -6
  14. package/dist/conditions/select.d.ts +64 -6
  15. package/dist/conditions/string.d.ts +64 -6
  16. package/dist/conditions/text.d.ts +64 -6
  17. package/dist/conditions/time.d.ts +115 -7
  18. package/dist/conditions/upload.d.ts +32 -6
  19. package/dist/conditions/url.d.ts +64 -6
  20. package/dist/elements/base.d.ts +1 -1
  21. package/dist/elements/index.d.ts +612 -218
  22. package/dist/elements/section.d.ts +987 -196
  23. package/dist/fields/base.d.ts +14 -14
  24. package/dist/fields/boolean.d.ts +4 -4
  25. package/dist/fields/checkbox-list.d.ts +4 -4
  26. package/dist/fields/date.d.ts +4 -4
  27. package/dist/fields/index.d.ts +78 -79
  28. package/dist/fields/multi-select.d.ts +4 -4
  29. package/dist/fields/multi-string.d.ts +6 -6
  30. package/dist/fields/number.d.ts +4 -4
  31. package/dist/fields/otp.d.ts +5 -8
  32. package/dist/fields/pass-fail.d.ts +4 -4
  33. package/dist/fields/radio.d.ts +4 -4
  34. package/dist/fields/rating.d.ts +5 -5
  35. package/dist/fields/scan.d.ts +4 -4
  36. package/dist/fields/select.d.ts +4 -4
  37. package/dist/fields/string.d.ts +6 -6
  38. package/dist/fields/text.d.ts +6 -6
  39. package/dist/fields/time.d.ts +4 -4
  40. package/dist/fields/upload.d.ts +6 -6
  41. package/dist/fields/url.d.ts +4 -4
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.js +360 -279
  44. package/dist/schema.d.ts +534 -139
  45. package/package.json +3 -3
@@ -1,285 +1,1077 @@
1
1
  import * as z from "zod/v4";
2
2
  export declare const JSONFieldSectionTypeSchema: z.ZodLiteral<"section">;
3
3
  export type JSONFieldSectionTypeSchemaType = z.infer<typeof JSONFieldSectionTypeSchema>;
4
- export declare const JSONFieldSectionConditionsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ export declare const JSONFieldSectionConditionsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  type: z.ZodLiteral<"boolean">;
7
- fieldId: z.ZodString;
8
- conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
9
- conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
7
+ field: z.ZodString;
8
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
9
+ modifier: z.ZodLiteral<"equals">;
10
10
  }, z.core.$strip>, z.ZodObject<{
11
+ id: z.ZodString;
12
+ type: z.ZodLiteral<"boolean">;
13
+ field: z.ZodString;
14
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
15
+ modifier: z.ZodLiteral<"notEquals">;
16
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
11
17
  id: z.ZodString;
12
18
  type: z.ZodLiteral<"checkbox-list">;
13
- fieldId: z.ZodString;
14
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
15
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
19
+ field: z.ZodString;
20
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
21
+ modifier: z.ZodLiteral<"equals">;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ id: z.ZodString;
24
+ type: z.ZodLiteral<"checkbox-list">;
25
+ field: z.ZodString;
26
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
27
+ modifier: z.ZodLiteral<"notEquals">;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ id: z.ZodString;
30
+ type: z.ZodLiteral<"checkbox-list">;
31
+ field: z.ZodString;
32
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
33
+ modifier: z.ZodLiteral<"every">;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ id: z.ZodString;
36
+ type: z.ZodLiteral<"checkbox-list">;
37
+ field: z.ZodString;
38
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
39
+ modifier: z.ZodLiteral<"some">;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ id: z.ZodString;
42
+ type: z.ZodLiteral<"checkbox-list">;
43
+ field: z.ZodString;
44
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
45
+ modifier: z.ZodLiteral<"none">;
46
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
47
+ id: z.ZodString;
48
+ type: z.ZodLiteral<"date">;
49
+ field: z.ZodString;
50
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
51
+ modifier: z.ZodLiteral<"equals">;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ id: z.ZodString;
54
+ type: z.ZodLiteral<"date">;
55
+ field: z.ZodString;
56
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
57
+ modifier: z.ZodLiteral<"notEquals">;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ id: z.ZodString;
60
+ type: z.ZodLiteral<"date">;
61
+ field: z.ZodString;
62
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
63
+ modifier: z.ZodLiteral<"before">;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ id: z.ZodString;
66
+ type: z.ZodLiteral<"date">;
67
+ field: z.ZodString;
68
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
69
+ modifier: z.ZodLiteral<"after">;
16
70
  }, z.core.$strip>, z.ZodObject<{
17
71
  id: z.ZodString;
18
72
  type: z.ZodLiteral<"date">;
19
- fieldId: z.ZodString;
20
- conditionValue: z.ZodType<string | {
73
+ field: z.ZodString;
74
+ value: z.ZodType<{
21
75
  from: string | null;
22
76
  to: string | null;
23
- }, unknown, z.core.$ZodTypeInternals<string | {
77
+ }, unknown, z.core.$ZodTypeInternals<{
24
78
  from: string | null;
25
79
  to: string | null;
26
80
  }, unknown>>;
27
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
81
+ modifier: z.ZodLiteral<"in">;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ id: z.ZodString;
84
+ type: z.ZodLiteral<"date">;
85
+ field: z.ZodString;
86
+ value: z.ZodType<{
87
+ from: string | null;
88
+ to: string | null;
89
+ }, unknown, z.core.$ZodTypeInternals<{
90
+ from: string | null;
91
+ to: string | null;
92
+ }, unknown>>;
93
+ modifier: z.ZodLiteral<"notIn">;
94
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
95
+ id: z.ZodString;
96
+ type: z.ZodLiteral<"multi-select">;
97
+ field: z.ZodString;
98
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
99
+ modifier: z.ZodLiteral<"equals">;
100
+ }, z.core.$strip>, z.ZodObject<{
101
+ id: z.ZodString;
102
+ type: z.ZodLiteral<"multi-select">;
103
+ field: z.ZodString;
104
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
105
+ modifier: z.ZodLiteral<"notEquals">;
28
106
  }, z.core.$strip>, z.ZodObject<{
29
107
  id: z.ZodString;
30
108
  type: z.ZodLiteral<"multi-select">;
31
- fieldId: z.ZodString;
32
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
33
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
109
+ field: z.ZodString;
110
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
111
+ modifier: z.ZodLiteral<"every">;
112
+ }, z.core.$strip>, z.ZodObject<{
113
+ id: z.ZodString;
114
+ type: z.ZodLiteral<"multi-select">;
115
+ field: z.ZodString;
116
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
117
+ modifier: z.ZodLiteral<"some">;
118
+ }, z.core.$strip>, z.ZodObject<{
119
+ id: z.ZodString;
120
+ type: z.ZodLiteral<"multi-select">;
121
+ field: z.ZodString;
122
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
123
+ modifier: z.ZodLiteral<"none">;
124
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
125
+ id: z.ZodString;
126
+ type: z.ZodLiteral<"multi-string">;
127
+ field: z.ZodString;
128
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
129
+ modifier: z.ZodLiteral<"equals">;
130
+ }, z.core.$strip>, z.ZodObject<{
131
+ id: z.ZodString;
132
+ type: z.ZodLiteral<"multi-string">;
133
+ field: z.ZodString;
134
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
135
+ modifier: z.ZodLiteral<"notEquals">;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ id: z.ZodString;
138
+ type: z.ZodLiteral<"multi-string">;
139
+ field: z.ZodString;
140
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
141
+ modifier: z.ZodLiteral<"every">;
34
142
  }, z.core.$strip>, z.ZodObject<{
35
143
  id: z.ZodString;
36
144
  type: z.ZodLiteral<"multi-string">;
37
- fieldId: z.ZodString;
38
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
39
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
145
+ field: z.ZodString;
146
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
147
+ modifier: z.ZodLiteral<"some">;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ id: z.ZodString;
150
+ type: z.ZodLiteral<"multi-string">;
151
+ field: z.ZodString;
152
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
153
+ modifier: z.ZodLiteral<"none">;
154
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
155
+ id: z.ZodString;
156
+ type: z.ZodLiteral<"number">;
157
+ field: z.ZodString;
158
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
159
+ modifier: z.ZodLiteral<"equals">;
160
+ }, z.core.$strip>, z.ZodObject<{
161
+ id: z.ZodString;
162
+ type: z.ZodLiteral<"number">;
163
+ field: z.ZodString;
164
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
165
+ modifier: z.ZodLiteral<"notEquals">;
166
+ }, z.core.$strip>, z.ZodObject<{
167
+ id: z.ZodString;
168
+ type: z.ZodLiteral<"number">;
169
+ field: z.ZodString;
170
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
171
+ modifier: z.ZodLiteral<"lessThan">;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ id: z.ZodString;
174
+ type: z.ZodLiteral<"number">;
175
+ field: z.ZodString;
176
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
177
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
178
+ }, z.core.$strip>, z.ZodObject<{
179
+ id: z.ZodString;
180
+ type: z.ZodLiteral<"number">;
181
+ field: z.ZodString;
182
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
183
+ modifier: z.ZodLiteral<"greaterThan">;
184
+ }, z.core.$strip>, z.ZodObject<{
185
+ id: z.ZodString;
186
+ type: z.ZodLiteral<"number">;
187
+ field: z.ZodString;
188
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
189
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
190
+ }, z.core.$strip>, z.ZodObject<{
191
+ id: z.ZodString;
192
+ type: z.ZodLiteral<"number">;
193
+ field: z.ZodString;
194
+ value: z.ZodType<{
195
+ from: number | null;
196
+ to: number | null;
197
+ }, unknown, z.core.$ZodTypeInternals<{
198
+ from: number | null;
199
+ to: number | null;
200
+ }, unknown>>;
201
+ modifier: z.ZodLiteral<"inRange">;
40
202
  }, z.core.$strip>, z.ZodObject<{
41
203
  id: z.ZodString;
42
204
  type: z.ZodLiteral<"number">;
43
- fieldId: z.ZodString;
44
- conditionValue: z.ZodType<number | {
205
+ field: z.ZodString;
206
+ value: z.ZodType<{
45
207
  from: number | null;
46
208
  to: number | null;
47
- }, unknown, z.core.$ZodTypeInternals<number | {
209
+ }, unknown, z.core.$ZodTypeInternals<{
48
210
  from: number | null;
49
211
  to: number | null;
50
212
  }, unknown>>;
51
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
213
+ modifier: z.ZodLiteral<"notInRange">;
214
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
215
+ id: z.ZodString;
216
+ type: z.ZodLiteral<"otp">;
217
+ field: z.ZodString;
218
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
219
+ modifier: z.ZodLiteral<"equals">;
52
220
  }, z.core.$strip>, z.ZodObject<{
53
221
  id: z.ZodString;
54
222
  type: z.ZodLiteral<"otp">;
55
- fieldId: z.ZodString;
56
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
57
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
223
+ field: z.ZodString;
224
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
225
+ modifier: z.ZodLiteral<"notEquals">;
58
226
  }, z.core.$strip>, z.ZodObject<{
227
+ id: z.ZodString;
228
+ type: z.ZodLiteral<"otp">;
229
+ field: z.ZodString;
230
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
231
+ modifier: z.ZodLiteral<"includes">;
232
+ }, z.core.$strip>, z.ZodObject<{
233
+ id: z.ZodString;
234
+ type: z.ZodLiteral<"otp">;
235
+ field: z.ZodString;
236
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
237
+ modifier: z.ZodLiteral<"excludes">;
238
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
59
239
  id: z.ZodString;
60
240
  type: z.ZodLiteral<"pass-fail">;
61
- fieldId: z.ZodString;
62
- conditionValue: z.ZodType<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown>>;
63
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
241
+ field: z.ZodString;
242
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
243
+ modifier: z.ZodLiteral<"equals">;
244
+ }, z.core.$strip>, z.ZodObject<{
245
+ id: z.ZodString;
246
+ type: z.ZodLiteral<"pass-fail">;
247
+ field: z.ZodString;
248
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
249
+ modifier: z.ZodLiteral<"notEquals">;
250
+ }, z.core.$strip>, z.ZodObject<{
251
+ id: z.ZodString;
252
+ type: z.ZodLiteral<"pass-fail">;
253
+ field: z.ZodString;
254
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
255
+ modifier: z.ZodLiteral<"includes">;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ id: z.ZodString;
258
+ type: z.ZodLiteral<"pass-fail">;
259
+ field: z.ZodString;
260
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
261
+ modifier: z.ZodLiteral<"excludes">;
262
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
263
+ id: z.ZodString;
264
+ type: z.ZodLiteral<"radio">;
265
+ field: z.ZodString;
266
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
267
+ modifier: z.ZodLiteral<"equals">;
64
268
  }, z.core.$strip>, z.ZodObject<{
65
269
  id: z.ZodString;
66
270
  type: z.ZodLiteral<"radio">;
67
- fieldId: z.ZodString;
68
- conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
69
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
271
+ field: z.ZodString;
272
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
273
+ modifier: z.ZodLiteral<"notEquals">;
274
+ }, z.core.$strip>, z.ZodObject<{
275
+ id: z.ZodString;
276
+ type: z.ZodLiteral<"radio">;
277
+ field: z.ZodString;
278
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
279
+ modifier: z.ZodLiteral<"includes">;
280
+ }, z.core.$strip>, z.ZodObject<{
281
+ id: z.ZodString;
282
+ type: z.ZodLiteral<"radio">;
283
+ field: z.ZodString;
284
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
285
+ modifier: z.ZodLiteral<"excludes">;
286
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
287
+ id: z.ZodString;
288
+ type: z.ZodLiteral<"rating">;
289
+ field: z.ZodString;
290
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
291
+ modifier: z.ZodLiteral<"equals">;
292
+ }, z.core.$strip>, z.ZodObject<{
293
+ id: z.ZodString;
294
+ type: z.ZodLiteral<"rating">;
295
+ field: z.ZodString;
296
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
297
+ modifier: z.ZodLiteral<"notEquals">;
298
+ }, z.core.$strip>, z.ZodObject<{
299
+ id: z.ZodString;
300
+ type: z.ZodLiteral<"rating">;
301
+ field: z.ZodString;
302
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
303
+ modifier: z.ZodLiteral<"lessThan">;
304
+ }, z.core.$strip>, z.ZodObject<{
305
+ id: z.ZodString;
306
+ type: z.ZodLiteral<"rating">;
307
+ field: z.ZodString;
308
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
309
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
310
+ }, z.core.$strip>, z.ZodObject<{
311
+ id: z.ZodString;
312
+ type: z.ZodLiteral<"rating">;
313
+ field: z.ZodString;
314
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
315
+ modifier: z.ZodLiteral<"greaterThan">;
316
+ }, z.core.$strip>, z.ZodObject<{
317
+ id: z.ZodString;
318
+ type: z.ZodLiteral<"rating">;
319
+ field: z.ZodString;
320
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
321
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
322
+ }, z.core.$strip>, z.ZodObject<{
323
+ id: z.ZodString;
324
+ type: z.ZodLiteral<"rating">;
325
+ field: z.ZodString;
326
+ value: z.ZodType<{
327
+ from: number | null;
328
+ to: number | null;
329
+ }, unknown, z.core.$ZodTypeInternals<{
330
+ from: number | null;
331
+ to: number | null;
332
+ }, unknown>>;
333
+ modifier: z.ZodLiteral<"inRange">;
70
334
  }, z.core.$strip>, z.ZodObject<{
71
335
  id: z.ZodString;
72
336
  type: z.ZodLiteral<"rating">;
73
- fieldId: z.ZodString;
74
- conditionValue: z.ZodType<number | {
337
+ field: z.ZodString;
338
+ value: z.ZodType<{
75
339
  from: number | null;
76
340
  to: number | null;
77
- }, unknown, z.core.$ZodTypeInternals<number | {
341
+ }, unknown, z.core.$ZodTypeInternals<{
78
342
  from: number | null;
79
343
  to: number | null;
80
344
  }, unknown>>;
81
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
345
+ modifier: z.ZodLiteral<"notInRange">;
346
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
347
+ id: z.ZodString;
348
+ type: z.ZodLiteral<"qr">;
349
+ field: z.ZodString;
350
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
351
+ modifier: z.ZodLiteral<"equals">;
82
352
  }, z.core.$strip>, z.ZodObject<{
83
353
  id: z.ZodString;
84
354
  type: z.ZodLiteral<"qr">;
85
- fieldId: z.ZodString;
86
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
87
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
355
+ field: z.ZodString;
356
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
357
+ modifier: z.ZodLiteral<"notEquals">;
88
358
  }, z.core.$strip>, z.ZodObject<{
359
+ id: z.ZodString;
360
+ type: z.ZodLiteral<"qr">;
361
+ field: z.ZodString;
362
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
363
+ modifier: z.ZodLiteral<"includes">;
364
+ }, z.core.$strip>, z.ZodObject<{
365
+ id: z.ZodString;
366
+ type: z.ZodLiteral<"qr">;
367
+ field: z.ZodString;
368
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
369
+ modifier: z.ZodLiteral<"excludes">;
370
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
89
371
  id: z.ZodString;
90
372
  type: z.ZodLiteral<"select">;
91
- fieldId: z.ZodString;
92
- conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
93
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
373
+ field: z.ZodString;
374
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
375
+ modifier: z.ZodLiteral<"equals">;
376
+ }, z.core.$strip>, z.ZodObject<{
377
+ id: z.ZodString;
378
+ type: z.ZodLiteral<"select">;
379
+ field: z.ZodString;
380
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
381
+ modifier: z.ZodLiteral<"notEquals">;
382
+ }, z.core.$strip>, z.ZodObject<{
383
+ id: z.ZodString;
384
+ type: z.ZodLiteral<"select">;
385
+ field: z.ZodString;
386
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
387
+ modifier: z.ZodLiteral<"includes">;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ id: z.ZodString;
390
+ type: z.ZodLiteral<"select">;
391
+ field: z.ZodString;
392
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
393
+ modifier: z.ZodLiteral<"excludes">;
394
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
395
+ id: z.ZodString;
396
+ type: z.ZodLiteral<"string">;
397
+ field: z.ZodString;
398
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
399
+ modifier: z.ZodLiteral<"equals">;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ id: z.ZodString;
402
+ type: z.ZodLiteral<"string">;
403
+ field: z.ZodString;
404
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
405
+ modifier: z.ZodLiteral<"notEquals">;
94
406
  }, z.core.$strip>, z.ZodObject<{
95
407
  id: z.ZodString;
96
408
  type: z.ZodLiteral<"string">;
97
- fieldId: z.ZodString;
98
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
99
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
409
+ field: z.ZodString;
410
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
411
+ modifier: z.ZodLiteral<"includes">;
100
412
  }, z.core.$strip>, z.ZodObject<{
413
+ id: z.ZodString;
414
+ type: z.ZodLiteral<"string">;
415
+ field: z.ZodString;
416
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
417
+ modifier: z.ZodLiteral<"excludes">;
418
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
101
419
  id: z.ZodString;
102
420
  type: z.ZodLiteral<"text">;
103
- fieldId: z.ZodString;
104
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
105
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
421
+ field: z.ZodString;
422
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
423
+ modifier: z.ZodLiteral<"equals">;
424
+ }, z.core.$strip>, z.ZodObject<{
425
+ id: z.ZodString;
426
+ type: z.ZodLiteral<"text">;
427
+ field: z.ZodString;
428
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
429
+ modifier: z.ZodLiteral<"notEquals">;
430
+ }, z.core.$strip>, z.ZodObject<{
431
+ id: z.ZodString;
432
+ type: z.ZodLiteral<"text">;
433
+ field: z.ZodString;
434
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
435
+ modifier: z.ZodLiteral<"includes">;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ id: z.ZodString;
438
+ type: z.ZodLiteral<"text">;
439
+ field: z.ZodString;
440
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
441
+ modifier: z.ZodLiteral<"excludes">;
442
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
443
+ id: z.ZodString;
444
+ type: z.ZodLiteral<"time">;
445
+ field: z.ZodString;
446
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
447
+ modifier: z.ZodLiteral<"equals">;
106
448
  }, z.core.$strip>, z.ZodObject<{
107
449
  id: z.ZodString;
108
450
  type: z.ZodLiteral<"time">;
109
- fieldId: z.ZodString;
110
- conditionValue: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
451
+ field: z.ZodString;
452
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
453
+ modifier: z.ZodLiteral<"notEquals">;
454
+ }, z.core.$strip>, z.ZodObject<{
455
+ id: z.ZodString;
456
+ type: z.ZodLiteral<"time">;
457
+ field: z.ZodString;
458
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
459
+ modifier: z.ZodLiteral<"before">;
460
+ }, z.core.$strip>, z.ZodObject<{
461
+ id: z.ZodString;
462
+ type: z.ZodLiteral<"time">;
463
+ field: z.ZodString;
464
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
465
+ modifier: z.ZodLiteral<"after">;
466
+ }, z.core.$strip>, z.ZodObject<{
467
+ id: z.ZodString;
468
+ type: z.ZodLiteral<"time">;
469
+ field: z.ZodString;
470
+ value: z.ZodType<{
111
471
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
112
472
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
113
- }, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
473
+ }, unknown, z.core.$ZodTypeInternals<{
114
474
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
115
475
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
116
476
  }, unknown>>;
117
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
477
+ modifier: z.ZodLiteral<"in">;
478
+ }, z.core.$strip>, z.ZodObject<{
479
+ id: z.ZodString;
480
+ type: z.ZodLiteral<"time">;
481
+ field: z.ZodString;
482
+ value: z.ZodType<{
483
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
484
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
485
+ }, unknown, z.core.$ZodTypeInternals<{
486
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
487
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
488
+ }, unknown>>;
489
+ modifier: z.ZodLiteral<"notIn">;
490
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
491
+ id: z.ZodString;
492
+ type: z.ZodLiteral<"upload">;
493
+ field: z.ZodString;
494
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
495
+ modifier: z.ZodLiteral<"equals">;
118
496
  }, z.core.$strip>, z.ZodObject<{
119
497
  id: z.ZodString;
120
498
  type: z.ZodLiteral<"upload">;
121
- fieldId: z.ZodString;
122
- conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
123
- conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
499
+ field: z.ZodString;
500
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
501
+ modifier: z.ZodLiteral<"notEquals">;
502
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
503
+ id: z.ZodString;
504
+ type: z.ZodLiteral<"url">;
505
+ field: z.ZodString;
506
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
507
+ modifier: z.ZodLiteral<"equals">;
508
+ }, z.core.$strip>, z.ZodObject<{
509
+ id: z.ZodString;
510
+ type: z.ZodLiteral<"url">;
511
+ field: z.ZodString;
512
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
513
+ modifier: z.ZodLiteral<"notEquals">;
124
514
  }, z.core.$strip>, z.ZodObject<{
125
515
  id: z.ZodString;
126
516
  type: z.ZodLiteral<"url">;
127
- fieldId: z.ZodString;
128
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
129
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
130
- }, z.core.$strip>], "type">>>;
517
+ field: z.ZodString;
518
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
519
+ modifier: z.ZodLiteral<"includes">;
520
+ }, z.core.$strip>, z.ZodObject<{
521
+ id: z.ZodString;
522
+ type: z.ZodLiteral<"url">;
523
+ field: z.ZodString;
524
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
525
+ modifier: z.ZodLiteral<"excludes">;
526
+ }, z.core.$strip>], "modifier">], "type">>>;
131
527
  export type JSONFieldSectionConditionsSchemaType = z.infer<typeof JSONFieldSectionConditionsSchema>;
132
528
  export declare const JSONFieldSectionSchema: z.ZodObject<{
133
- label: z.ZodNullable<z.ZodString>;
134
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
- conditions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
529
+ label: z.ZodOptional<z.ZodString>;
530
+ description: z.ZodOptional<z.ZodString>;
531
+ conditions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
532
+ id: z.ZodString;
533
+ type: z.ZodLiteral<"boolean">;
534
+ field: z.ZodString;
535
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
536
+ modifier: z.ZodLiteral<"equals">;
537
+ }, z.core.$strip>, z.ZodObject<{
136
538
  id: z.ZodString;
137
539
  type: z.ZodLiteral<"boolean">;
138
- fieldId: z.ZodString;
139
- conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
140
- conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
540
+ field: z.ZodString;
541
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
542
+ modifier: z.ZodLiteral<"notEquals">;
543
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
544
+ id: z.ZodString;
545
+ type: z.ZodLiteral<"checkbox-list">;
546
+ field: z.ZodString;
547
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
548
+ modifier: z.ZodLiteral<"equals">;
549
+ }, z.core.$strip>, z.ZodObject<{
550
+ id: z.ZodString;
551
+ type: z.ZodLiteral<"checkbox-list">;
552
+ field: z.ZodString;
553
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
554
+ modifier: z.ZodLiteral<"notEquals">;
555
+ }, z.core.$strip>, z.ZodObject<{
556
+ id: z.ZodString;
557
+ type: z.ZodLiteral<"checkbox-list">;
558
+ field: z.ZodString;
559
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
560
+ modifier: z.ZodLiteral<"every">;
141
561
  }, z.core.$strip>, z.ZodObject<{
142
562
  id: z.ZodString;
143
563
  type: z.ZodLiteral<"checkbox-list">;
144
- fieldId: z.ZodString;
145
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
146
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
564
+ field: z.ZodString;
565
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
566
+ modifier: z.ZodLiteral<"some">;
567
+ }, z.core.$strip>, z.ZodObject<{
568
+ id: z.ZodString;
569
+ type: z.ZodLiteral<"checkbox-list">;
570
+ field: z.ZodString;
571
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
572
+ modifier: z.ZodLiteral<"none">;
573
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
574
+ id: z.ZodString;
575
+ type: z.ZodLiteral<"date">;
576
+ field: z.ZodString;
577
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
578
+ modifier: z.ZodLiteral<"equals">;
579
+ }, z.core.$strip>, z.ZodObject<{
580
+ id: z.ZodString;
581
+ type: z.ZodLiteral<"date">;
582
+ field: z.ZodString;
583
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
584
+ modifier: z.ZodLiteral<"notEquals">;
585
+ }, z.core.$strip>, z.ZodObject<{
586
+ id: z.ZodString;
587
+ type: z.ZodLiteral<"date">;
588
+ field: z.ZodString;
589
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
590
+ modifier: z.ZodLiteral<"before">;
147
591
  }, z.core.$strip>, z.ZodObject<{
148
592
  id: z.ZodString;
149
593
  type: z.ZodLiteral<"date">;
150
- fieldId: z.ZodString;
151
- conditionValue: z.ZodType<string | {
594
+ field: z.ZodString;
595
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
596
+ modifier: z.ZodLiteral<"after">;
597
+ }, z.core.$strip>, z.ZodObject<{
598
+ id: z.ZodString;
599
+ type: z.ZodLiteral<"date">;
600
+ field: z.ZodString;
601
+ value: z.ZodType<{
602
+ from: string | null;
603
+ to: string | null;
604
+ }, unknown, z.core.$ZodTypeInternals<{
605
+ from: string | null;
606
+ to: string | null;
607
+ }, unknown>>;
608
+ modifier: z.ZodLiteral<"in">;
609
+ }, z.core.$strip>, z.ZodObject<{
610
+ id: z.ZodString;
611
+ type: z.ZodLiteral<"date">;
612
+ field: z.ZodString;
613
+ value: z.ZodType<{
152
614
  from: string | null;
153
615
  to: string | null;
154
- }, unknown, z.core.$ZodTypeInternals<string | {
616
+ }, unknown, z.core.$ZodTypeInternals<{
155
617
  from: string | null;
156
618
  to: string | null;
157
619
  }, unknown>>;
158
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
620
+ modifier: z.ZodLiteral<"notIn">;
621
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
622
+ id: z.ZodString;
623
+ type: z.ZodLiteral<"multi-select">;
624
+ field: z.ZodString;
625
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
626
+ modifier: z.ZodLiteral<"equals">;
627
+ }, z.core.$strip>, z.ZodObject<{
628
+ id: z.ZodString;
629
+ type: z.ZodLiteral<"multi-select">;
630
+ field: z.ZodString;
631
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
632
+ modifier: z.ZodLiteral<"notEquals">;
633
+ }, z.core.$strip>, z.ZodObject<{
634
+ id: z.ZodString;
635
+ type: z.ZodLiteral<"multi-select">;
636
+ field: z.ZodString;
637
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
638
+ modifier: z.ZodLiteral<"every">;
159
639
  }, z.core.$strip>, z.ZodObject<{
160
640
  id: z.ZodString;
161
641
  type: z.ZodLiteral<"multi-select">;
162
- fieldId: z.ZodString;
163
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
164
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
642
+ field: z.ZodString;
643
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
644
+ modifier: z.ZodLiteral<"some">;
645
+ }, z.core.$strip>, z.ZodObject<{
646
+ id: z.ZodString;
647
+ type: z.ZodLiteral<"multi-select">;
648
+ field: z.ZodString;
649
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
650
+ modifier: z.ZodLiteral<"none">;
651
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
652
+ id: z.ZodString;
653
+ type: z.ZodLiteral<"multi-string">;
654
+ field: z.ZodString;
655
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
656
+ modifier: z.ZodLiteral<"equals">;
165
657
  }, z.core.$strip>, z.ZodObject<{
166
658
  id: z.ZodString;
167
659
  type: z.ZodLiteral<"multi-string">;
168
- fieldId: z.ZodString;
169
- conditionValue: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
170
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "every" | "some" | "none">;
660
+ field: z.ZodString;
661
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
662
+ modifier: z.ZodLiteral<"notEquals">;
663
+ }, z.core.$strip>, z.ZodObject<{
664
+ id: z.ZodString;
665
+ type: z.ZodLiteral<"multi-string">;
666
+ field: z.ZodString;
667
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
668
+ modifier: z.ZodLiteral<"every">;
669
+ }, z.core.$strip>, z.ZodObject<{
670
+ id: z.ZodString;
671
+ type: z.ZodLiteral<"multi-string">;
672
+ field: z.ZodString;
673
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
674
+ modifier: z.ZodLiteral<"some">;
675
+ }, z.core.$strip>, z.ZodObject<{
676
+ id: z.ZodString;
677
+ type: z.ZodLiteral<"multi-string">;
678
+ field: z.ZodString;
679
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
680
+ modifier: z.ZodLiteral<"none">;
681
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
682
+ id: z.ZodString;
683
+ type: z.ZodLiteral<"number">;
684
+ field: z.ZodString;
685
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
686
+ modifier: z.ZodLiteral<"equals">;
687
+ }, z.core.$strip>, z.ZodObject<{
688
+ id: z.ZodString;
689
+ type: z.ZodLiteral<"number">;
690
+ field: z.ZodString;
691
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
692
+ modifier: z.ZodLiteral<"notEquals">;
693
+ }, z.core.$strip>, z.ZodObject<{
694
+ id: z.ZodString;
695
+ type: z.ZodLiteral<"number">;
696
+ field: z.ZodString;
697
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
698
+ modifier: z.ZodLiteral<"lessThan">;
699
+ }, z.core.$strip>, z.ZodObject<{
700
+ id: z.ZodString;
701
+ type: z.ZodLiteral<"number">;
702
+ field: z.ZodString;
703
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
704
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
705
+ }, z.core.$strip>, z.ZodObject<{
706
+ id: z.ZodString;
707
+ type: z.ZodLiteral<"number">;
708
+ field: z.ZodString;
709
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
710
+ modifier: z.ZodLiteral<"greaterThan">;
711
+ }, z.core.$strip>, z.ZodObject<{
712
+ id: z.ZodString;
713
+ type: z.ZodLiteral<"number">;
714
+ field: z.ZodString;
715
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
716
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
171
717
  }, z.core.$strip>, z.ZodObject<{
172
718
  id: z.ZodString;
173
719
  type: z.ZodLiteral<"number">;
174
- fieldId: z.ZodString;
175
- conditionValue: z.ZodType<number | {
720
+ field: z.ZodString;
721
+ value: z.ZodType<{
176
722
  from: number | null;
177
723
  to: number | null;
178
- }, unknown, z.core.$ZodTypeInternals<number | {
724
+ }, unknown, z.core.$ZodTypeInternals<{
179
725
  from: number | null;
180
726
  to: number | null;
181
727
  }, unknown>>;
182
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
728
+ modifier: z.ZodLiteral<"inRange">;
729
+ }, z.core.$strip>, z.ZodObject<{
730
+ id: z.ZodString;
731
+ type: z.ZodLiteral<"number">;
732
+ field: z.ZodString;
733
+ value: z.ZodType<{
734
+ from: number | null;
735
+ to: number | null;
736
+ }, unknown, z.core.$ZodTypeInternals<{
737
+ from: number | null;
738
+ to: number | null;
739
+ }, unknown>>;
740
+ modifier: z.ZodLiteral<"notInRange">;
741
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
742
+ id: z.ZodString;
743
+ type: z.ZodLiteral<"otp">;
744
+ field: z.ZodString;
745
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
746
+ modifier: z.ZodLiteral<"equals">;
747
+ }, z.core.$strip>, z.ZodObject<{
748
+ id: z.ZodString;
749
+ type: z.ZodLiteral<"otp">;
750
+ field: z.ZodString;
751
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
752
+ modifier: z.ZodLiteral<"notEquals">;
183
753
  }, z.core.$strip>, z.ZodObject<{
184
754
  id: z.ZodString;
185
755
  type: z.ZodLiteral<"otp">;
186
- fieldId: z.ZodString;
187
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
188
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
756
+ field: z.ZodString;
757
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
758
+ modifier: z.ZodLiteral<"includes">;
189
759
  }, z.core.$strip>, z.ZodObject<{
760
+ id: z.ZodString;
761
+ type: z.ZodLiteral<"otp">;
762
+ field: z.ZodString;
763
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
764
+ modifier: z.ZodLiteral<"excludes">;
765
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
190
766
  id: z.ZodString;
191
767
  type: z.ZodLiteral<"pass-fail">;
192
- fieldId: z.ZodString;
193
- conditionValue: z.ZodType<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na" | ("pass" | "fail" | "na")[], unknown>>;
194
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
768
+ field: z.ZodString;
769
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
770
+ modifier: z.ZodLiteral<"equals">;
195
771
  }, z.core.$strip>, z.ZodObject<{
772
+ id: z.ZodString;
773
+ type: z.ZodLiteral<"pass-fail">;
774
+ field: z.ZodString;
775
+ value: z.ZodType<"pass" | "fail" | "na", unknown, z.core.$ZodTypeInternals<"pass" | "fail" | "na", unknown>>;
776
+ modifier: z.ZodLiteral<"notEquals">;
777
+ }, z.core.$strip>, z.ZodObject<{
778
+ id: z.ZodString;
779
+ type: z.ZodLiteral<"pass-fail">;
780
+ field: z.ZodString;
781
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
782
+ modifier: z.ZodLiteral<"includes">;
783
+ }, z.core.$strip>, z.ZodObject<{
784
+ id: z.ZodString;
785
+ type: z.ZodLiteral<"pass-fail">;
786
+ field: z.ZodString;
787
+ value: z.ZodType<("pass" | "fail" | "na")[], unknown, z.core.$ZodTypeInternals<("pass" | "fail" | "na")[], unknown>>;
788
+ modifier: z.ZodLiteral<"excludes">;
789
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
196
790
  id: z.ZodString;
197
791
  type: z.ZodLiteral<"radio">;
198
- fieldId: z.ZodString;
199
- conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
200
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
792
+ field: z.ZodString;
793
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
794
+ modifier: z.ZodLiteral<"equals">;
795
+ }, z.core.$strip>, z.ZodObject<{
796
+ id: z.ZodString;
797
+ type: z.ZodLiteral<"radio">;
798
+ field: z.ZodString;
799
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
800
+ modifier: z.ZodLiteral<"notEquals">;
801
+ }, z.core.$strip>, z.ZodObject<{
802
+ id: z.ZodString;
803
+ type: z.ZodLiteral<"radio">;
804
+ field: z.ZodString;
805
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
806
+ modifier: z.ZodLiteral<"includes">;
807
+ }, z.core.$strip>, z.ZodObject<{
808
+ id: z.ZodString;
809
+ type: z.ZodLiteral<"radio">;
810
+ field: z.ZodString;
811
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
812
+ modifier: z.ZodLiteral<"excludes">;
813
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
814
+ id: z.ZodString;
815
+ type: z.ZodLiteral<"rating">;
816
+ field: z.ZodString;
817
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
818
+ modifier: z.ZodLiteral<"equals">;
819
+ }, z.core.$strip>, z.ZodObject<{
820
+ id: z.ZodString;
821
+ type: z.ZodLiteral<"rating">;
822
+ field: z.ZodString;
823
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
824
+ modifier: z.ZodLiteral<"notEquals">;
201
825
  }, z.core.$strip>, z.ZodObject<{
202
826
  id: z.ZodString;
203
827
  type: z.ZodLiteral<"rating">;
204
- fieldId: z.ZodString;
205
- conditionValue: z.ZodType<number | {
828
+ field: z.ZodString;
829
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
830
+ modifier: z.ZodLiteral<"lessThan">;
831
+ }, z.core.$strip>, z.ZodObject<{
832
+ id: z.ZodString;
833
+ type: z.ZodLiteral<"rating">;
834
+ field: z.ZodString;
835
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
836
+ modifier: z.ZodLiteral<"lessThanOrEquals">;
837
+ }, z.core.$strip>, z.ZodObject<{
838
+ id: z.ZodString;
839
+ type: z.ZodLiteral<"rating">;
840
+ field: z.ZodString;
841
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
842
+ modifier: z.ZodLiteral<"greaterThan">;
843
+ }, z.core.$strip>, z.ZodObject<{
844
+ id: z.ZodString;
845
+ type: z.ZodLiteral<"rating">;
846
+ field: z.ZodString;
847
+ value: z.ZodType<number, unknown, z.core.$ZodTypeInternals<number, unknown>>;
848
+ modifier: z.ZodLiteral<"greaterThanOrEquals">;
849
+ }, z.core.$strip>, z.ZodObject<{
850
+ id: z.ZodString;
851
+ type: z.ZodLiteral<"rating">;
852
+ field: z.ZodString;
853
+ value: z.ZodType<{
206
854
  from: number | null;
207
855
  to: number | null;
208
- }, unknown, z.core.$ZodTypeInternals<number | {
856
+ }, unknown, z.core.$ZodTypeInternals<{
209
857
  from: number | null;
210
858
  to: number | null;
211
859
  }, unknown>>;
212
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "lessThan" | "lessThanOrEquals" | "greaterThan" | "greaterThanOrEquals" | "inRange" | "notInRange">;
860
+ modifier: z.ZodLiteral<"inRange">;
861
+ }, z.core.$strip>, z.ZodObject<{
862
+ id: z.ZodString;
863
+ type: z.ZodLiteral<"rating">;
864
+ field: z.ZodString;
865
+ value: z.ZodType<{
866
+ from: number | null;
867
+ to: number | null;
868
+ }, unknown, z.core.$ZodTypeInternals<{
869
+ from: number | null;
870
+ to: number | null;
871
+ }, unknown>>;
872
+ modifier: z.ZodLiteral<"notInRange">;
873
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
874
+ id: z.ZodString;
875
+ type: z.ZodLiteral<"qr">;
876
+ field: z.ZodString;
877
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
878
+ modifier: z.ZodLiteral<"equals">;
879
+ }, z.core.$strip>, z.ZodObject<{
880
+ id: z.ZodString;
881
+ type: z.ZodLiteral<"qr">;
882
+ field: z.ZodString;
883
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
884
+ modifier: z.ZodLiteral<"notEquals">;
213
885
  }, z.core.$strip>, z.ZodObject<{
214
886
  id: z.ZodString;
215
887
  type: z.ZodLiteral<"qr">;
216
- fieldId: z.ZodString;
217
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
218
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
888
+ field: z.ZodString;
889
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
890
+ modifier: z.ZodLiteral<"includes">;
219
891
  }, z.core.$strip>, z.ZodObject<{
892
+ id: z.ZodString;
893
+ type: z.ZodLiteral<"qr">;
894
+ field: z.ZodString;
895
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
896
+ modifier: z.ZodLiteral<"excludes">;
897
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
220
898
  id: z.ZodString;
221
899
  type: z.ZodLiteral<"select">;
222
- fieldId: z.ZodString;
223
- conditionValue: z.ZodType<string | string[], unknown, z.core.$ZodTypeInternals<string | string[], unknown>>;
224
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
900
+ field: z.ZodString;
901
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
902
+ modifier: z.ZodLiteral<"equals">;
903
+ }, z.core.$strip>, z.ZodObject<{
904
+ id: z.ZodString;
905
+ type: z.ZodLiteral<"select">;
906
+ field: z.ZodString;
907
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
908
+ modifier: z.ZodLiteral<"notEquals">;
909
+ }, z.core.$strip>, z.ZodObject<{
910
+ id: z.ZodString;
911
+ type: z.ZodLiteral<"select">;
912
+ field: z.ZodString;
913
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
914
+ modifier: z.ZodLiteral<"includes">;
915
+ }, z.core.$strip>, z.ZodObject<{
916
+ id: z.ZodString;
917
+ type: z.ZodLiteral<"select">;
918
+ field: z.ZodString;
919
+ value: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
920
+ modifier: z.ZodLiteral<"excludes">;
921
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
922
+ id: z.ZodString;
923
+ type: z.ZodLiteral<"string">;
924
+ field: z.ZodString;
925
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
926
+ modifier: z.ZodLiteral<"equals">;
225
927
  }, z.core.$strip>, z.ZodObject<{
226
928
  id: z.ZodString;
227
929
  type: z.ZodLiteral<"string">;
228
- fieldId: z.ZodString;
229
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
230
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
930
+ field: z.ZodString;
931
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
932
+ modifier: z.ZodLiteral<"notEquals">;
933
+ }, z.core.$strip>, z.ZodObject<{
934
+ id: z.ZodString;
935
+ type: z.ZodLiteral<"string">;
936
+ field: z.ZodString;
937
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
938
+ modifier: z.ZodLiteral<"includes">;
939
+ }, z.core.$strip>, z.ZodObject<{
940
+ id: z.ZodString;
941
+ type: z.ZodLiteral<"string">;
942
+ field: z.ZodString;
943
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
944
+ modifier: z.ZodLiteral<"excludes">;
945
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
946
+ id: z.ZodString;
947
+ type: z.ZodLiteral<"text">;
948
+ field: z.ZodString;
949
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
950
+ modifier: z.ZodLiteral<"equals">;
951
+ }, z.core.$strip>, z.ZodObject<{
952
+ id: z.ZodString;
953
+ type: z.ZodLiteral<"text">;
954
+ field: z.ZodString;
955
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
956
+ modifier: z.ZodLiteral<"notEquals">;
231
957
  }, z.core.$strip>, z.ZodObject<{
232
958
  id: z.ZodString;
233
959
  type: z.ZodLiteral<"text">;
234
- fieldId: z.ZodString;
235
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
236
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
960
+ field: z.ZodString;
961
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
962
+ modifier: z.ZodLiteral<"includes">;
963
+ }, z.core.$strip>, z.ZodObject<{
964
+ id: z.ZodString;
965
+ type: z.ZodLiteral<"text">;
966
+ field: z.ZodString;
967
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
968
+ modifier: z.ZodLiteral<"excludes">;
969
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
970
+ id: z.ZodString;
971
+ type: z.ZodLiteral<"time">;
972
+ field: z.ZodString;
973
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
974
+ modifier: z.ZodLiteral<"equals">;
975
+ }, z.core.$strip>, z.ZodObject<{
976
+ id: z.ZodString;
977
+ type: z.ZodLiteral<"time">;
978
+ field: z.ZodString;
979
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
980
+ modifier: z.ZodLiteral<"notEquals">;
981
+ }, z.core.$strip>, z.ZodObject<{
982
+ id: z.ZodString;
983
+ type: z.ZodLiteral<"time">;
984
+ field: z.ZodString;
985
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
986
+ modifier: z.ZodLiteral<"before">;
987
+ }, z.core.$strip>, z.ZodObject<{
988
+ id: z.ZodString;
989
+ type: z.ZodLiteral<"time">;
990
+ field: z.ZodString;
991
+ value: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}`, unknown>>;
992
+ modifier: z.ZodLiteral<"after">;
237
993
  }, z.core.$strip>, z.ZodObject<{
238
994
  id: z.ZodString;
239
995
  type: z.ZodLiteral<"time">;
240
- fieldId: z.ZodString;
241
- conditionValue: z.ZodType<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
996
+ field: z.ZodString;
997
+ value: z.ZodType<{
242
998
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
243
999
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
244
- }, unknown, z.core.$ZodTypeInternals<`T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | {
1000
+ }, unknown, z.core.$ZodTypeInternals<{
245
1001
  from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
246
1002
  to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
247
1003
  }, unknown>>;
248
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "in" | "before" | "after" | "notIn">;
1004
+ modifier: z.ZodLiteral<"in">;
1005
+ }, z.core.$strip>, z.ZodObject<{
1006
+ id: z.ZodString;
1007
+ type: z.ZodLiteral<"time">;
1008
+ field: z.ZodString;
1009
+ value: z.ZodType<{
1010
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1011
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1012
+ }, unknown, z.core.$ZodTypeInternals<{
1013
+ from: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1014
+ to: `T${string}:${string}:00+${string}:${string}` | `T${string}:${string}:00-${string}:${string}` | null;
1015
+ }, unknown>>;
1016
+ modifier: z.ZodLiteral<"notIn">;
1017
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
1018
+ id: z.ZodString;
1019
+ type: z.ZodLiteral<"upload">;
1020
+ field: z.ZodString;
1021
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
1022
+ modifier: z.ZodLiteral<"equals">;
249
1023
  }, z.core.$strip>, z.ZodObject<{
250
1024
  id: z.ZodString;
251
1025
  type: z.ZodLiteral<"upload">;
252
- fieldId: z.ZodString;
253
- conditionValue: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
254
- conditionModifier: z.ZodLiteral<"equals" | "notEquals">;
1026
+ field: z.ZodString;
1027
+ value: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
1028
+ modifier: z.ZodLiteral<"notEquals">;
1029
+ }, z.core.$strip>], "modifier">, z.ZodDiscriminatedUnion<[z.ZodObject<{
1030
+ id: z.ZodString;
1031
+ type: z.ZodLiteral<"url">;
1032
+ field: z.ZodString;
1033
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1034
+ modifier: z.ZodLiteral<"equals">;
255
1035
  }, z.core.$strip>, z.ZodObject<{
256
1036
  id: z.ZodString;
257
1037
  type: z.ZodLiteral<"url">;
258
- fieldId: z.ZodString;
259
- conditionValue: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
260
- conditionModifier: z.ZodLiteral<"equals" | "notEquals" | "includes" | "excludes">;
261
- }, z.core.$strip>], "type">>>;
1038
+ field: z.ZodString;
1039
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1040
+ modifier: z.ZodLiteral<"notEquals">;
1041
+ }, z.core.$strip>, z.ZodObject<{
1042
+ id: z.ZodString;
1043
+ type: z.ZodLiteral<"url">;
1044
+ field: z.ZodString;
1045
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1046
+ modifier: z.ZodLiteral<"includes">;
1047
+ }, z.core.$strip>, z.ZodObject<{
1048
+ id: z.ZodString;
1049
+ type: z.ZodLiteral<"url">;
1050
+ field: z.ZodString;
1051
+ value: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
1052
+ modifier: z.ZodLiteral<"excludes">;
1053
+ }, z.core.$strip>], "modifier">], "type">>>>;
262
1054
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
263
- label: z.ZodString;
264
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
265
- required: z.ZodBoolean;
266
- identifier: z.ZodString;
1055
+ label: z.ZodOptional<z.ZodString>;
1056
+ description: z.ZodOptional<z.ZodString>;
1057
+ required: z.ZodOptional<z.ZodBoolean>;
1058
+ id: z.ZodString;
267
1059
  type: z.ZodLiteral<"boolean">;
268
1060
  }, z.core.$strip>, z.ZodObject<{
269
1061
  options: z.ZodArray<z.ZodObject<{
270
1062
  value: z.ZodString;
271
1063
  label: z.ZodString;
272
1064
  }, z.core.$strip>>;
273
- label: z.ZodString;
274
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
- required: z.ZodBoolean;
276
- identifier: z.ZodString;
1065
+ label: z.ZodOptional<z.ZodString>;
1066
+ description: z.ZodOptional<z.ZodString>;
1067
+ required: z.ZodOptional<z.ZodBoolean>;
1068
+ id: z.ZodString;
277
1069
  type: z.ZodLiteral<"checkbox-list">;
278
1070
  }, z.core.$strip>, z.ZodObject<{
279
- label: z.ZodString;
280
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
- required: z.ZodBoolean;
282
- identifier: z.ZodString;
1071
+ label: z.ZodOptional<z.ZodString>;
1072
+ description: z.ZodOptional<z.ZodString>;
1073
+ required: z.ZodOptional<z.ZodBoolean>;
1074
+ id: z.ZodString;
283
1075
  type: z.ZodLiteral<"date">;
284
1076
  }, z.core.$strip>, z.ZodObject<{
285
1077
  placeholder: z.ZodOptional<z.ZodString>;
@@ -287,67 +1079,66 @@ export declare const JSONFieldSectionSchema: z.ZodObject<{
287
1079
  value: z.ZodString;
288
1080
  label: z.ZodString;
289
1081
  }, z.core.$strip>>;
290
- label: z.ZodString;
291
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
- required: z.ZodBoolean;
293
- identifier: z.ZodString;
1082
+ label: z.ZodOptional<z.ZodString>;
1083
+ description: z.ZodOptional<z.ZodString>;
1084
+ required: z.ZodOptional<z.ZodBoolean>;
1085
+ id: z.ZodString;
294
1086
  type: z.ZodLiteral<"multi-select">;
295
1087
  }, z.core.$strip>, z.ZodObject<{
296
- minimum_length: z.ZodOptional<z.ZodNumber>;
297
- maximum_length: z.ZodOptional<z.ZodNumber>;
1088
+ minLength: z.ZodOptional<z.ZodInt>;
1089
+ maxLength: z.ZodOptional<z.ZodInt>;
298
1090
  placeholder: z.ZodOptional<z.ZodString>;
299
- label: z.ZodString;
300
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
301
- required: z.ZodBoolean;
302
- identifier: z.ZodString;
1091
+ label: z.ZodOptional<z.ZodString>;
1092
+ description: z.ZodOptional<z.ZodString>;
1093
+ required: z.ZodOptional<z.ZodBoolean>;
1094
+ id: z.ZodString;
303
1095
  type: z.ZodLiteral<"multi-string">;
304
1096
  }, z.core.$strip>, z.ZodObject<{
305
1097
  minimum: z.ZodOptional<z.ZodNumber>;
306
1098
  maximum: z.ZodOptional<z.ZodNumber>;
307
1099
  integers: z.ZodOptional<z.ZodBoolean>;
308
1100
  placeholder: z.ZodOptional<z.ZodString>;
309
- label: z.ZodString;
310
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
- required: z.ZodBoolean;
312
- identifier: z.ZodString;
1101
+ label: z.ZodOptional<z.ZodString>;
1102
+ description: z.ZodOptional<z.ZodString>;
1103
+ required: z.ZodOptional<z.ZodBoolean>;
1104
+ id: z.ZodString;
313
1105
  type: z.ZodLiteral<"number">;
314
1106
  }, z.core.$strip>, z.ZodObject<{
315
- length: z.ZodNumber;
316
- validationType: z.ZodLiteral<"none" | "alpha" | "numeric" | "alphanumeric">;
317
- label: z.ZodString;
318
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
- required: z.ZodBoolean;
320
- identifier: z.ZodString;
1107
+ length: z.ZodInt;
1108
+ label: z.ZodOptional<z.ZodString>;
1109
+ description: z.ZodOptional<z.ZodString>;
1110
+ required: z.ZodOptional<z.ZodBoolean>;
1111
+ id: z.ZodString;
321
1112
  type: z.ZodLiteral<"otp">;
322
1113
  }, z.core.$strip>, z.ZodObject<{
323
1114
  showNotesAndFilesOn: z.ZodArray<z.ZodLiteral<"pass" | "fail" | "na">>;
324
- label: z.ZodString;
325
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
- required: z.ZodBoolean;
327
- identifier: z.ZodString;
1115
+ label: z.ZodOptional<z.ZodString>;
1116
+ description: z.ZodOptional<z.ZodString>;
1117
+ required: z.ZodOptional<z.ZodBoolean>;
1118
+ id: z.ZodString;
328
1119
  type: z.ZodLiteral<"pass-fail">;
329
1120
  }, z.core.$strip>, z.ZodObject<{
330
1121
  options: z.ZodArray<z.ZodObject<{
331
1122
  value: z.ZodString;
332
1123
  label: z.ZodString;
333
1124
  }, z.core.$strip>>;
334
- label: z.ZodString;
335
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
336
- required: z.ZodBoolean;
337
- identifier: z.ZodString;
1125
+ label: z.ZodOptional<z.ZodString>;
1126
+ description: z.ZodOptional<z.ZodString>;
1127
+ required: z.ZodOptional<z.ZodBoolean>;
1128
+ id: z.ZodString;
338
1129
  type: z.ZodLiteral<"radio">;
339
1130
  }, z.core.$strip>, z.ZodObject<{
340
- maxRating: z.ZodNumber;
341
- label: z.ZodString;
342
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
- required: z.ZodBoolean;
344
- identifier: z.ZodString;
1131
+ maxRating: z.ZodInt;
1132
+ label: z.ZodOptional<z.ZodString>;
1133
+ description: z.ZodOptional<z.ZodString>;
1134
+ required: z.ZodOptional<z.ZodBoolean>;
1135
+ id: z.ZodString;
345
1136
  type: z.ZodLiteral<"rating">;
346
1137
  }, z.core.$strip>, z.ZodObject<{
347
- label: z.ZodString;
348
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
- required: z.ZodBoolean;
350
- identifier: z.ZodString;
1138
+ label: z.ZodOptional<z.ZodString>;
1139
+ description: z.ZodOptional<z.ZodString>;
1140
+ required: z.ZodOptional<z.ZodBoolean>;
1141
+ id: z.ZodString;
351
1142
  type: z.ZodLiteral<"qr">;
352
1143
  }, z.core.$strip>, z.ZodObject<{
353
1144
  placeholder: z.ZodOptional<z.ZodString>;
@@ -355,53 +1146,53 @@ export declare const JSONFieldSectionSchema: z.ZodObject<{
355
1146
  value: z.ZodString;
356
1147
  label: z.ZodString;
357
1148
  }, z.core.$strip>>;
358
- label: z.ZodString;
359
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
- required: z.ZodBoolean;
361
- identifier: z.ZodString;
1149
+ label: z.ZodOptional<z.ZodString>;
1150
+ description: z.ZodOptional<z.ZodString>;
1151
+ required: z.ZodOptional<z.ZodBoolean>;
1152
+ id: z.ZodString;
362
1153
  type: z.ZodLiteral<"select">;
363
1154
  }, z.core.$strip>, z.ZodObject<{
364
- minimum_length: z.ZodOptional<z.ZodNumber>;
365
- maximum_length: z.ZodOptional<z.ZodNumber>;
1155
+ minLength: z.ZodOptional<z.ZodInt>;
1156
+ maxLength: z.ZodOptional<z.ZodInt>;
366
1157
  placeholder: z.ZodOptional<z.ZodString>;
367
- label: z.ZodString;
368
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
369
- required: z.ZodBoolean;
370
- identifier: z.ZodString;
1158
+ label: z.ZodOptional<z.ZodString>;
1159
+ description: z.ZodOptional<z.ZodString>;
1160
+ required: z.ZodOptional<z.ZodBoolean>;
1161
+ id: z.ZodString;
371
1162
  type: z.ZodLiteral<"string">;
372
1163
  }, z.core.$strip>, z.ZodObject<{
373
- minimum_length: z.ZodOptional<z.ZodNumber>;
374
- maximum_length: z.ZodOptional<z.ZodNumber>;
1164
+ minLength: z.ZodOptional<z.ZodInt>;
1165
+ maxLength: z.ZodOptional<z.ZodInt>;
375
1166
  placeholder: z.ZodOptional<z.ZodString>;
376
- label: z.ZodString;
377
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
378
- required: z.ZodBoolean;
379
- identifier: z.ZodString;
1167
+ label: z.ZodOptional<z.ZodString>;
1168
+ description: z.ZodOptional<z.ZodString>;
1169
+ required: z.ZodOptional<z.ZodBoolean>;
1170
+ id: z.ZodString;
380
1171
  type: z.ZodLiteral<"text">;
381
1172
  }, z.core.$strip>, z.ZodObject<{
382
- label: z.ZodString;
383
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
384
- required: z.ZodBoolean;
385
- identifier: z.ZodString;
1173
+ label: z.ZodOptional<z.ZodString>;
1174
+ description: z.ZodOptional<z.ZodString>;
1175
+ required: z.ZodOptional<z.ZodBoolean>;
1176
+ id: z.ZodString;
386
1177
  type: z.ZodLiteral<"time">;
387
1178
  }, z.core.$strip>, z.ZodObject<{
388
1179
  extensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
- maximum_size: z.ZodOptional<z.ZodNumber>;
390
- maximum_files: z.ZodOptional<z.ZodNumber>;
391
- label: z.ZodString;
392
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
- required: z.ZodBoolean;
394
- identifier: z.ZodString;
1180
+ maxSize: z.ZodOptional<z.ZodInt>;
1181
+ maxFiles: z.ZodOptional<z.ZodInt>;
1182
+ label: z.ZodOptional<z.ZodString>;
1183
+ description: z.ZodOptional<z.ZodString>;
1184
+ required: z.ZodOptional<z.ZodBoolean>;
1185
+ id: z.ZodString;
395
1186
  type: z.ZodLiteral<"upload">;
396
1187
  }, z.core.$strip>, z.ZodObject<{
397
1188
  placeholder: z.ZodOptional<z.ZodString>;
398
- label: z.ZodString;
399
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
- required: z.ZodBoolean;
401
- identifier: z.ZodString;
1189
+ label: z.ZodOptional<z.ZodString>;
1190
+ description: z.ZodOptional<z.ZodString>;
1191
+ required: z.ZodOptional<z.ZodBoolean>;
1192
+ id: z.ZodString;
402
1193
  type: z.ZodLiteral<"url">;
403
1194
  }, z.core.$strip>], "type">>;
404
- identifier: z.ZodString;
1195
+ id: z.ZodString;
405
1196
  type: z.ZodLiteral<"section">;
406
1197
  }, z.core.$strip>;
407
1198
  export type JSONFieldSectionSchemaType = z.infer<typeof JSONFieldSectionSchema>;