@openframe-org/criteria-set-protocol 2.5.0 → 3.0.0-alpha.10

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