zitejs 0.9.55 → 0.9.56

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.
@@ -202,6 +202,67 @@ export declare const fieldSchema: z.ZodIntersection<z.ZodObject<{
202
202
  text: "text";
203
203
  }>>;
204
204
  }, z.core.$strip>;
205
+ }, z.core.$strip>, z.ZodObject<{
206
+ name: z.ZodString;
207
+ type: z.ZodLiteral<"rollup">;
208
+ template: z.ZodObject<{
209
+ linkedRecordFieldId: z.ZodString;
210
+ rollupFieldId: z.ZodString;
211
+ aggregationFormula: z.ZodString;
212
+ formulaExpression: z.ZodOptional<z.ZodString>;
213
+ formatting: z.ZodOptional<z.ZodObject<{
214
+ numberDisplayType: z.ZodOptional<z.ZodEnum<{
215
+ number: "number";
216
+ currency: "currency";
217
+ duration: "duration";
218
+ percent: "percent";
219
+ }>>;
220
+ currencyCode: z.ZodOptional<z.ZodString>;
221
+ decimalPlaces: z.ZodOptional<z.ZodNumber>;
222
+ numberFormat: z.ZodOptional<z.ZodEnum<{
223
+ local: "local";
224
+ comma_period: "comma_period";
225
+ period_comma: "period_comma";
226
+ space_comma: "space_comma";
227
+ space_period: "space_period";
228
+ no_separator: "no_separator";
229
+ }>>;
230
+ displayTimeZone: z.ZodOptional<z.ZodBoolean>;
231
+ dateFormat: z.ZodOptional<z.ZodEnum<{
232
+ local: "local";
233
+ long: "long";
234
+ us: "us";
235
+ european: "european";
236
+ iso: "iso";
237
+ }>>;
238
+ timeFormat: z.ZodOptional<z.ZodEnum<{
239
+ "12h": "12h";
240
+ "24h": "24h";
241
+ }>>;
242
+ timezone: z.ZodOptional<z.ZodString>;
243
+ trueDisplay: z.ZodOptional<z.ZodString>;
244
+ falseDisplay: z.ZodOptional<z.ZodString>;
245
+ }, z.core.$strip>>;
246
+ filterEnabled: z.ZodOptional<z.ZodBoolean>;
247
+ sortEnabled: z.ZodOptional<z.ZodBoolean>;
248
+ resultType: z.ZodOptional<z.ZodEnum<{
249
+ number: "number";
250
+ boolean: "boolean";
251
+ date: "date";
252
+ array: "array";
253
+ text: "text";
254
+ }>>;
255
+ }, z.core.$strip>;
256
+ }, z.core.$strip>, z.ZodObject<{
257
+ name: z.ZodString;
258
+ type: z.ZodLiteral<"updated_by">;
259
+ template: z.ZodObject<{}, z.core.$strip>;
260
+ }, z.core.$strip>, z.ZodObject<{
261
+ name: z.ZodString;
262
+ type: z.ZodLiteral<"user">;
263
+ template: z.ZodObject<{
264
+ allowMultiple: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean, boolean | null | undefined>>;
265
+ }, z.core.$strip>;
205
266
  }, z.core.$strip>, z.ZodObject<{
206
267
  name: z.ZodString;
207
268
  type: z.ZodLiteral<"source">;
@@ -493,6 +554,67 @@ export declare const tableSchema: z.ZodObject<{
493
554
  text: "text";
494
555
  }>>;
495
556
  }, z.core.$strip>;
557
+ }, z.core.$strip>, z.ZodObject<{
558
+ name: z.ZodString;
559
+ type: z.ZodLiteral<"rollup">;
560
+ template: z.ZodObject<{
561
+ linkedRecordFieldId: z.ZodString;
562
+ rollupFieldId: z.ZodString;
563
+ aggregationFormula: z.ZodString;
564
+ formulaExpression: z.ZodOptional<z.ZodString>;
565
+ formatting: z.ZodOptional<z.ZodObject<{
566
+ numberDisplayType: z.ZodOptional<z.ZodEnum<{
567
+ number: "number";
568
+ currency: "currency";
569
+ duration: "duration";
570
+ percent: "percent";
571
+ }>>;
572
+ currencyCode: z.ZodOptional<z.ZodString>;
573
+ decimalPlaces: z.ZodOptional<z.ZodNumber>;
574
+ numberFormat: z.ZodOptional<z.ZodEnum<{
575
+ local: "local";
576
+ comma_period: "comma_period";
577
+ period_comma: "period_comma";
578
+ space_comma: "space_comma";
579
+ space_period: "space_period";
580
+ no_separator: "no_separator";
581
+ }>>;
582
+ displayTimeZone: z.ZodOptional<z.ZodBoolean>;
583
+ dateFormat: z.ZodOptional<z.ZodEnum<{
584
+ local: "local";
585
+ long: "long";
586
+ us: "us";
587
+ european: "european";
588
+ iso: "iso";
589
+ }>>;
590
+ timeFormat: z.ZodOptional<z.ZodEnum<{
591
+ "12h": "12h";
592
+ "24h": "24h";
593
+ }>>;
594
+ timezone: z.ZodOptional<z.ZodString>;
595
+ trueDisplay: z.ZodOptional<z.ZodString>;
596
+ falseDisplay: z.ZodOptional<z.ZodString>;
597
+ }, z.core.$strip>>;
598
+ filterEnabled: z.ZodOptional<z.ZodBoolean>;
599
+ sortEnabled: z.ZodOptional<z.ZodBoolean>;
600
+ resultType: z.ZodOptional<z.ZodEnum<{
601
+ number: "number";
602
+ boolean: "boolean";
603
+ date: "date";
604
+ array: "array";
605
+ text: "text";
606
+ }>>;
607
+ }, z.core.$strip>;
608
+ }, z.core.$strip>, z.ZodObject<{
609
+ name: z.ZodString;
610
+ type: z.ZodLiteral<"updated_by">;
611
+ template: z.ZodObject<{}, z.core.$strip>;
612
+ }, z.core.$strip>, z.ZodObject<{
613
+ name: z.ZodString;
614
+ type: z.ZodLiteral<"user">;
615
+ template: z.ZodObject<{
616
+ allowMultiple: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean, boolean | null | undefined>>;
617
+ }, z.core.$strip>;
496
618
  }, z.core.$strip>, z.ZodObject<{
497
619
  name: z.ZodString;
498
620
  type: z.ZodLiteral<"source">;
@@ -779,6 +901,67 @@ export declare const publicTableDefinitionSchema: z.ZodObject<{
779
901
  text: "text";
780
902
  }>>;
781
903
  }, z.core.$strip>;
904
+ }, z.core.$strip>, z.ZodObject<{
905
+ name: z.ZodString;
906
+ type: z.ZodLiteral<"rollup">;
907
+ template: z.ZodObject<{
908
+ linkedRecordFieldId: z.ZodString;
909
+ rollupFieldId: z.ZodString;
910
+ aggregationFormula: z.ZodString;
911
+ formulaExpression: z.ZodOptional<z.ZodString>;
912
+ formatting: z.ZodOptional<z.ZodObject<{
913
+ numberDisplayType: z.ZodOptional<z.ZodEnum<{
914
+ number: "number";
915
+ currency: "currency";
916
+ duration: "duration";
917
+ percent: "percent";
918
+ }>>;
919
+ currencyCode: z.ZodOptional<z.ZodString>;
920
+ decimalPlaces: z.ZodOptional<z.ZodNumber>;
921
+ numberFormat: z.ZodOptional<z.ZodEnum<{
922
+ local: "local";
923
+ comma_period: "comma_period";
924
+ period_comma: "period_comma";
925
+ space_comma: "space_comma";
926
+ space_period: "space_period";
927
+ no_separator: "no_separator";
928
+ }>>;
929
+ displayTimeZone: z.ZodOptional<z.ZodBoolean>;
930
+ dateFormat: z.ZodOptional<z.ZodEnum<{
931
+ local: "local";
932
+ long: "long";
933
+ us: "us";
934
+ european: "european";
935
+ iso: "iso";
936
+ }>>;
937
+ timeFormat: z.ZodOptional<z.ZodEnum<{
938
+ "12h": "12h";
939
+ "24h": "24h";
940
+ }>>;
941
+ timezone: z.ZodOptional<z.ZodString>;
942
+ trueDisplay: z.ZodOptional<z.ZodString>;
943
+ falseDisplay: z.ZodOptional<z.ZodString>;
944
+ }, z.core.$strip>>;
945
+ filterEnabled: z.ZodOptional<z.ZodBoolean>;
946
+ sortEnabled: z.ZodOptional<z.ZodBoolean>;
947
+ resultType: z.ZodOptional<z.ZodEnum<{
948
+ number: "number";
949
+ boolean: "boolean";
950
+ date: "date";
951
+ array: "array";
952
+ text: "text";
953
+ }>>;
954
+ }, z.core.$strip>;
955
+ }, z.core.$strip>, z.ZodObject<{
956
+ name: z.ZodString;
957
+ type: z.ZodLiteral<"updated_by">;
958
+ template: z.ZodObject<{}, z.core.$strip>;
959
+ }, z.core.$strip>, z.ZodObject<{
960
+ name: z.ZodString;
961
+ type: z.ZodLiteral<"user">;
962
+ template: z.ZodObject<{
963
+ allowMultiple: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean, boolean | null | undefined>>;
964
+ }, z.core.$strip>;
782
965
  }, z.core.$strip>, z.ZodObject<{
783
966
  name: z.ZodString;
784
967
  type: z.ZodLiteral<"source">;
@@ -1067,6 +1250,67 @@ export declare const databaseSchema: z.ZodObject<{
1067
1250
  text: "text";
1068
1251
  }>>;
1069
1252
  }, z.core.$strip>;
1253
+ }, z.core.$strip>, z.ZodObject<{
1254
+ name: z.ZodString;
1255
+ type: z.ZodLiteral<"rollup">;
1256
+ template: z.ZodObject<{
1257
+ linkedRecordFieldId: z.ZodString;
1258
+ rollupFieldId: z.ZodString;
1259
+ aggregationFormula: z.ZodString;
1260
+ formulaExpression: z.ZodOptional<z.ZodString>;
1261
+ formatting: z.ZodOptional<z.ZodObject<{
1262
+ numberDisplayType: z.ZodOptional<z.ZodEnum<{
1263
+ number: "number";
1264
+ currency: "currency";
1265
+ duration: "duration";
1266
+ percent: "percent";
1267
+ }>>;
1268
+ currencyCode: z.ZodOptional<z.ZodString>;
1269
+ decimalPlaces: z.ZodOptional<z.ZodNumber>;
1270
+ numberFormat: z.ZodOptional<z.ZodEnum<{
1271
+ local: "local";
1272
+ comma_period: "comma_period";
1273
+ period_comma: "period_comma";
1274
+ space_comma: "space_comma";
1275
+ space_period: "space_period";
1276
+ no_separator: "no_separator";
1277
+ }>>;
1278
+ displayTimeZone: z.ZodOptional<z.ZodBoolean>;
1279
+ dateFormat: z.ZodOptional<z.ZodEnum<{
1280
+ local: "local";
1281
+ long: "long";
1282
+ us: "us";
1283
+ european: "european";
1284
+ iso: "iso";
1285
+ }>>;
1286
+ timeFormat: z.ZodOptional<z.ZodEnum<{
1287
+ "12h": "12h";
1288
+ "24h": "24h";
1289
+ }>>;
1290
+ timezone: z.ZodOptional<z.ZodString>;
1291
+ trueDisplay: z.ZodOptional<z.ZodString>;
1292
+ falseDisplay: z.ZodOptional<z.ZodString>;
1293
+ }, z.core.$strip>>;
1294
+ filterEnabled: z.ZodOptional<z.ZodBoolean>;
1295
+ sortEnabled: z.ZodOptional<z.ZodBoolean>;
1296
+ resultType: z.ZodOptional<z.ZodEnum<{
1297
+ number: "number";
1298
+ boolean: "boolean";
1299
+ date: "date";
1300
+ array: "array";
1301
+ text: "text";
1302
+ }>>;
1303
+ }, z.core.$strip>;
1304
+ }, z.core.$strip>, z.ZodObject<{
1305
+ name: z.ZodString;
1306
+ type: z.ZodLiteral<"updated_by">;
1307
+ template: z.ZodObject<{}, z.core.$strip>;
1308
+ }, z.core.$strip>, z.ZodObject<{
1309
+ name: z.ZodString;
1310
+ type: z.ZodLiteral<"user">;
1311
+ template: z.ZodObject<{
1312
+ allowMultiple: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean, boolean | null | undefined>>;
1313
+ }, z.core.$strip>;
1070
1314
  }, z.core.$strip>, z.ZodObject<{
1071
1315
  name: z.ZodString;
1072
1316
  type: z.ZodLiteral<"source">;
@@ -251,6 +251,40 @@ export declare class Zite {
251
251
  formulaExpression?: string | undefined;
252
252
  resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
253
253
  };
254
+ } | {
255
+ name: string;
256
+ type: "rollup";
257
+ template: {
258
+ linkedRecordFieldId: string;
259
+ rollupFieldId: string;
260
+ aggregationFormula: string;
261
+ formulaExpression?: string | undefined;
262
+ formatting?: {
263
+ numberDisplayType?: "number" | "currency" | "duration" | "percent" | undefined;
264
+ currencyCode?: string | undefined;
265
+ decimalPlaces?: number | undefined;
266
+ numberFormat?: "local" | "comma_period" | "period_comma" | "space_comma" | "space_period" | "no_separator" | undefined;
267
+ displayTimeZone?: boolean | undefined;
268
+ dateFormat?: "local" | "long" | "us" | "european" | "iso" | undefined;
269
+ timeFormat?: "12h" | "24h" | undefined;
270
+ timezone?: string | undefined;
271
+ trueDisplay?: string | undefined;
272
+ falseDisplay?: string | undefined;
273
+ } | undefined;
274
+ filterEnabled?: boolean | undefined;
275
+ sortEnabled?: boolean | undefined;
276
+ resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
277
+ };
278
+ } | {
279
+ name: string;
280
+ type: "updated_by";
281
+ template: globalThis.Record<string, never>;
282
+ } | {
283
+ name: string;
284
+ type: "user";
285
+ template: {
286
+ allowMultiple: boolean;
287
+ };
254
288
  } | {
255
289
  name: string;
256
290
  type: "source";
@@ -430,6 +464,40 @@ export declare class Zite {
430
464
  formulaExpression?: string | undefined;
431
465
  resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
432
466
  };
467
+ } | {
468
+ name: string;
469
+ type: "rollup";
470
+ template: {
471
+ linkedRecordFieldId: string;
472
+ rollupFieldId: string;
473
+ aggregationFormula: string;
474
+ formulaExpression?: string | undefined;
475
+ formatting?: {
476
+ numberDisplayType?: "number" | "currency" | "duration" | "percent" | undefined;
477
+ currencyCode?: string | undefined;
478
+ decimalPlaces?: number | undefined;
479
+ numberFormat?: "local" | "comma_period" | "period_comma" | "space_comma" | "space_period" | "no_separator" | undefined;
480
+ displayTimeZone?: boolean | undefined;
481
+ dateFormat?: "local" | "long" | "us" | "european" | "iso" | undefined;
482
+ timeFormat?: "12h" | "24h" | undefined;
483
+ timezone?: string | undefined;
484
+ trueDisplay?: string | undefined;
485
+ falseDisplay?: string | undefined;
486
+ } | undefined;
487
+ filterEnabled?: boolean | undefined;
488
+ sortEnabled?: boolean | undefined;
489
+ resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
490
+ };
491
+ } | {
492
+ name: string;
493
+ type: "updated_by";
494
+ template: globalThis.Record<string, never>;
495
+ } | {
496
+ name: string;
497
+ type: "user";
498
+ template: {
499
+ allowMultiple: boolean;
500
+ };
433
501
  } | {
434
502
  name: string;
435
503
  type: "source";
@@ -619,6 +687,40 @@ export declare class Zite {
619
687
  formulaExpression?: string | undefined;
620
688
  resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
621
689
  };
690
+ } | {
691
+ name: string;
692
+ type: "rollup";
693
+ template: {
694
+ linkedRecordFieldId: string;
695
+ rollupFieldId: string;
696
+ aggregationFormula: string;
697
+ formulaExpression?: string | undefined;
698
+ formatting?: {
699
+ numberDisplayType?: "number" | "currency" | "duration" | "percent" | undefined;
700
+ currencyCode?: string | undefined;
701
+ decimalPlaces?: number | undefined;
702
+ numberFormat?: "local" | "comma_period" | "period_comma" | "space_comma" | "space_period" | "no_separator" | undefined;
703
+ displayTimeZone?: boolean | undefined;
704
+ dateFormat?: "local" | "long" | "us" | "european" | "iso" | undefined;
705
+ timeFormat?: "12h" | "24h" | undefined;
706
+ timezone?: string | undefined;
707
+ trueDisplay?: string | undefined;
708
+ falseDisplay?: string | undefined;
709
+ } | undefined;
710
+ filterEnabled?: boolean | undefined;
711
+ sortEnabled?: boolean | undefined;
712
+ resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
713
+ };
714
+ } | {
715
+ name: string;
716
+ type: "updated_by";
717
+ template: globalThis.Record<string, never>;
718
+ } | {
719
+ name: string;
720
+ type: "user";
721
+ template: {
722
+ allowMultiple: boolean;
723
+ };
622
724
  } | {
623
725
  name: string;
624
726
  type: "source";
@@ -811,6 +913,40 @@ export declare class Zite {
811
913
  formulaExpression?: string | undefined;
812
914
  resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
813
915
  };
916
+ } | {
917
+ name: string;
918
+ type: "rollup";
919
+ template: {
920
+ linkedRecordFieldId: string;
921
+ rollupFieldId: string;
922
+ aggregationFormula: string;
923
+ formulaExpression?: string | undefined;
924
+ formatting?: {
925
+ numberDisplayType?: "number" | "currency" | "duration" | "percent" | undefined;
926
+ currencyCode?: string | undefined;
927
+ decimalPlaces?: number | undefined;
928
+ numberFormat?: "local" | "comma_period" | "period_comma" | "space_comma" | "space_period" | "no_separator" | undefined;
929
+ displayTimeZone?: boolean | undefined;
930
+ dateFormat?: "local" | "long" | "us" | "european" | "iso" | undefined;
931
+ timeFormat?: "12h" | "24h" | undefined;
932
+ timezone?: string | undefined;
933
+ trueDisplay?: string | undefined;
934
+ falseDisplay?: string | undefined;
935
+ } | undefined;
936
+ filterEnabled?: boolean | undefined;
937
+ sortEnabled?: boolean | undefined;
938
+ resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
939
+ };
940
+ } | {
941
+ name: string;
942
+ type: "updated_by";
943
+ template: globalThis.Record<string, never>;
944
+ } | {
945
+ name: string;
946
+ type: "user";
947
+ template: {
948
+ allowMultiple: boolean;
949
+ };
814
950
  } | {
815
951
  name: string;
816
952
  type: "source";
@@ -1011,6 +1147,40 @@ export declare class Zite {
1011
1147
  formulaExpression?: string | undefined;
1012
1148
  resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
1013
1149
  };
1150
+ } | {
1151
+ name: string;
1152
+ type: "rollup";
1153
+ template: {
1154
+ linkedRecordFieldId: string;
1155
+ rollupFieldId: string;
1156
+ aggregationFormula: string;
1157
+ formulaExpression?: string | undefined;
1158
+ formatting?: {
1159
+ numberDisplayType?: "number" | "currency" | "duration" | "percent" | undefined;
1160
+ currencyCode?: string | undefined;
1161
+ decimalPlaces?: number | undefined;
1162
+ numberFormat?: "local" | "comma_period" | "period_comma" | "space_comma" | "space_period" | "no_separator" | undefined;
1163
+ displayTimeZone?: boolean | undefined;
1164
+ dateFormat?: "local" | "long" | "us" | "european" | "iso" | undefined;
1165
+ timeFormat?: "12h" | "24h" | undefined;
1166
+ timezone?: string | undefined;
1167
+ trueDisplay?: string | undefined;
1168
+ falseDisplay?: string | undefined;
1169
+ } | undefined;
1170
+ filterEnabled?: boolean | undefined;
1171
+ sortEnabled?: boolean | undefined;
1172
+ resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
1173
+ };
1174
+ } | {
1175
+ name: string;
1176
+ type: "updated_by";
1177
+ template: globalThis.Record<string, never>;
1178
+ } | {
1179
+ name: string;
1180
+ type: "user";
1181
+ template: {
1182
+ allowMultiple: boolean;
1183
+ };
1014
1184
  } | {
1015
1185
  name: string;
1016
1186
  type: "source";
@@ -1212,6 +1382,40 @@ export declare class Zite {
1212
1382
  formulaExpression?: string | undefined;
1213
1383
  resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
1214
1384
  };
1385
+ } | {
1386
+ name: string;
1387
+ type: "rollup";
1388
+ template: {
1389
+ linkedRecordFieldId: string;
1390
+ rollupFieldId: string;
1391
+ aggregationFormula: string;
1392
+ formulaExpression?: string | undefined;
1393
+ formatting?: {
1394
+ numberDisplayType?: "number" | "currency" | "duration" | "percent" | undefined;
1395
+ currencyCode?: string | undefined;
1396
+ decimalPlaces?: number | undefined;
1397
+ numberFormat?: "local" | "comma_period" | "period_comma" | "space_comma" | "space_period" | "no_separator" | undefined;
1398
+ displayTimeZone?: boolean | undefined;
1399
+ dateFormat?: "local" | "long" | "us" | "european" | "iso" | undefined;
1400
+ timeFormat?: "12h" | "24h" | undefined;
1401
+ timezone?: string | undefined;
1402
+ trueDisplay?: string | undefined;
1403
+ falseDisplay?: string | undefined;
1404
+ } | undefined;
1405
+ filterEnabled?: boolean | undefined;
1406
+ sortEnabled?: boolean | undefined;
1407
+ resultType?: "number" | "boolean" | "date" | "array" | "text" | undefined;
1408
+ };
1409
+ } | {
1410
+ name: string;
1411
+ type: "updated_by";
1412
+ template: globalThis.Record<string, never>;
1413
+ } | {
1414
+ name: string;
1415
+ type: "user";
1416
+ template: {
1417
+ allowMultiple: boolean;
1418
+ };
1215
1419
  } | {
1216
1420
  name: string;
1217
1421
  type: "source";
@@ -7,7 +7,7 @@ export declare const timeFormatEnum: readonly ["12h", "24h"];
7
7
  export type TimeFormat = (typeof timeFormatEnum)[number];
8
8
  export declare const durationFormatEnum: readonly ["h:mm", "h:mm:ss", "h:mm:ss.s", "h:mm:ss.ss", "h:mm:ss.sss"];
9
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"];
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", "rollup", "updated_by", "user"];
11
11
  export type FieldType = (typeof fieldTypeEnum)[number];
12
12
  export declare const fieldTypeSchema: z.ZodEnum<{
13
13
  number: "number";
@@ -34,6 +34,9 @@ export declare const fieldTypeSchema: z.ZodEnum<{
34
34
  autonumber: "autonumber";
35
35
  created_at: "created_at";
36
36
  updated_at: "updated_at";
37
+ rollup: "rollup";
38
+ updated_by: "updated_by";
39
+ user: "user";
37
40
  }>;
38
41
  export declare const selectOptionSchema: z.ZodObject<{
39
42
  value: z.ZodString;
@@ -189,6 +192,58 @@ export declare const lookupTemplateSchema: z.ZodObject<{
189
192
  text: "text";
190
193
  }>>;
191
194
  }, z.core.$strip>;
195
+ export declare const rollupTemplateSchema: z.ZodObject<{
196
+ linkedRecordFieldId: z.ZodString;
197
+ rollupFieldId: z.ZodString;
198
+ aggregationFormula: z.ZodString;
199
+ formulaExpression: z.ZodOptional<z.ZodString>;
200
+ formatting: z.ZodOptional<z.ZodObject<{
201
+ numberDisplayType: z.ZodOptional<z.ZodEnum<{
202
+ number: "number";
203
+ currency: "currency";
204
+ duration: "duration";
205
+ percent: "percent";
206
+ }>>;
207
+ currencyCode: z.ZodOptional<z.ZodString>;
208
+ decimalPlaces: z.ZodOptional<z.ZodNumber>;
209
+ numberFormat: z.ZodOptional<z.ZodEnum<{
210
+ local: "local";
211
+ comma_period: "comma_period";
212
+ period_comma: "period_comma";
213
+ space_comma: "space_comma";
214
+ space_period: "space_period";
215
+ no_separator: "no_separator";
216
+ }>>;
217
+ displayTimeZone: z.ZodOptional<z.ZodBoolean>;
218
+ dateFormat: z.ZodOptional<z.ZodEnum<{
219
+ local: "local";
220
+ long: "long";
221
+ us: "us";
222
+ european: "european";
223
+ iso: "iso";
224
+ }>>;
225
+ timeFormat: z.ZodOptional<z.ZodEnum<{
226
+ "12h": "12h";
227
+ "24h": "24h";
228
+ }>>;
229
+ timezone: z.ZodOptional<z.ZodString>;
230
+ trueDisplay: z.ZodOptional<z.ZodString>;
231
+ falseDisplay: z.ZodOptional<z.ZodString>;
232
+ }, z.core.$strip>>;
233
+ filterEnabled: z.ZodOptional<z.ZodBoolean>;
234
+ sortEnabled: z.ZodOptional<z.ZodBoolean>;
235
+ resultType: z.ZodOptional<z.ZodEnum<{
236
+ number: "number";
237
+ boolean: "boolean";
238
+ date: "date";
239
+ array: "array";
240
+ text: "text";
241
+ }>>;
242
+ }, z.core.$strip>;
243
+ export declare const updatedByTemplateSchema: z.ZodObject<{}, z.core.$strip>;
244
+ export declare const userTemplateSchema: z.ZodObject<{
245
+ allowMultiple: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean, boolean | null | undefined>>;
246
+ }, z.core.$strip>;
192
247
  export declare const sourceTemplateSchema: z.ZodObject<{}, z.core.$strip>;
193
248
  export declare const formulaTemplateSchema: z.ZodObject<{
194
249
  expression: z.ZodString;
@@ -448,6 +503,67 @@ export declare const publicFieldDefinitionSchema: z.ZodDiscriminatedUnion<[z.Zod
448
503
  text: "text";
449
504
  }>>;
450
505
  }, z.core.$strip>;
506
+ }, z.core.$strip>, z.ZodObject<{
507
+ name: z.ZodString;
508
+ type: z.ZodLiteral<"rollup">;
509
+ template: z.ZodObject<{
510
+ linkedRecordFieldId: z.ZodString;
511
+ rollupFieldId: z.ZodString;
512
+ aggregationFormula: z.ZodString;
513
+ formulaExpression: z.ZodOptional<z.ZodString>;
514
+ formatting: z.ZodOptional<z.ZodObject<{
515
+ numberDisplayType: z.ZodOptional<z.ZodEnum<{
516
+ number: "number";
517
+ currency: "currency";
518
+ duration: "duration";
519
+ percent: "percent";
520
+ }>>;
521
+ currencyCode: z.ZodOptional<z.ZodString>;
522
+ decimalPlaces: z.ZodOptional<z.ZodNumber>;
523
+ numberFormat: z.ZodOptional<z.ZodEnum<{
524
+ local: "local";
525
+ comma_period: "comma_period";
526
+ period_comma: "period_comma";
527
+ space_comma: "space_comma";
528
+ space_period: "space_period";
529
+ no_separator: "no_separator";
530
+ }>>;
531
+ displayTimeZone: z.ZodOptional<z.ZodBoolean>;
532
+ dateFormat: z.ZodOptional<z.ZodEnum<{
533
+ local: "local";
534
+ long: "long";
535
+ us: "us";
536
+ european: "european";
537
+ iso: "iso";
538
+ }>>;
539
+ timeFormat: z.ZodOptional<z.ZodEnum<{
540
+ "12h": "12h";
541
+ "24h": "24h";
542
+ }>>;
543
+ timezone: z.ZodOptional<z.ZodString>;
544
+ trueDisplay: z.ZodOptional<z.ZodString>;
545
+ falseDisplay: z.ZodOptional<z.ZodString>;
546
+ }, z.core.$strip>>;
547
+ filterEnabled: z.ZodOptional<z.ZodBoolean>;
548
+ sortEnabled: z.ZodOptional<z.ZodBoolean>;
549
+ resultType: z.ZodOptional<z.ZodEnum<{
550
+ number: "number";
551
+ boolean: "boolean";
552
+ date: "date";
553
+ array: "array";
554
+ text: "text";
555
+ }>>;
556
+ }, z.core.$strip>;
557
+ }, z.core.$strip>, z.ZodObject<{
558
+ name: z.ZodString;
559
+ type: z.ZodLiteral<"updated_by">;
560
+ template: z.ZodObject<{}, z.core.$strip>;
561
+ }, z.core.$strip>, z.ZodObject<{
562
+ name: z.ZodString;
563
+ type: z.ZodLiteral<"user">;
564
+ template: z.ZodObject<{
565
+ allowMultiple: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>, z.ZodTransform<boolean, boolean | null | undefined>>;
566
+ }, z.core.$strip>;
451
567
  }, z.core.$strip>, z.ZodObject<{
452
568
  name: z.ZodString;
453
569
  type: z.ZodLiteral<"source">;
@@ -544,6 +660,9 @@ export type FieldTemplateMap = {
544
660
  percent: z.infer<typeof percentTemplateSchema>;
545
661
  linked_record: z.infer<typeof linkedRecordTemplateSchema>;
546
662
  lookup: z.infer<typeof lookupTemplateSchema>;
663
+ rollup: z.infer<typeof rollupTemplateSchema>;
664
+ updated_by: z.infer<typeof updatedByTemplateSchema>;
665
+ user: z.infer<typeof userTemplateSchema>;
547
666
  source: z.infer<typeof sourceTemplateSchema>;
548
667
  formula: z.infer<typeof formulaTemplateSchema>;
549
668
  autonumber: z.infer<typeof autonumberTemplateSchema>;