zitejs 0.9.37 → 0.9.40

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