@kl1/contracts 1.0.70 → 1.0.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/index.js +13 -19
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +13 -19
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +1110 -2579
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +222 -519
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +228 -482
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/comment/index.d.ts +222 -547
  12. package/dist/src/comment/index.d.ts.map +1 -1
  13. package/dist/src/comment/schema.d.ts +66 -165
  14. package/dist/src/comment/schema.d.ts.map +1 -1
  15. package/dist/src/contact/index.d.ts +1496 -1003
  16. package/dist/src/contact/index.d.ts.map +1 -1
  17. package/dist/src/contact/schema.d.ts +72 -200
  18. package/dist/src/contact/schema.d.ts.map +1 -1
  19. package/dist/src/contact/validation.d.ts +317 -806
  20. package/dist/src/contact/validation.d.ts.map +1 -1
  21. package/dist/src/contract.d.ts +6029 -8827
  22. package/dist/src/contract.d.ts.map +1 -1
  23. package/dist/src/custom-field-upload/schema.d.ts +2 -2
  24. package/dist/src/cx-log/index.d.ts +234 -573
  25. package/dist/src/cx-log/index.d.ts.map +1 -1
  26. package/dist/src/cx-log/schema.d.ts +198 -495
  27. package/dist/src/cx-log/schema.d.ts.map +1 -1
  28. package/dist/src/instagram/index.d.ts +138 -265
  29. package/dist/src/instagram/index.d.ts.map +1 -1
  30. package/dist/src/line/index.d.ts +138 -265
  31. package/dist/src/line/index.d.ts.map +1 -1
  32. package/dist/src/mail/mail-contract.d.ts +1330 -1330
  33. package/dist/src/mail/message-contract.d.ts +56 -56
  34. package/dist/src/mail/room-contract.d.ts +1258 -1258
  35. package/dist/src/mail/schemas/message.schema.d.ts +33 -33
  36. package/dist/src/mail/schemas/room-validation.schema.d.ts +420 -420
  37. package/dist/src/mail/schemas/room.schema.d.ts +284 -284
  38. package/dist/src/messenger/index.d.ts +138 -265
  39. package/dist/src/messenger/index.d.ts.map +1 -1
  40. package/dist/src/telephony-cdr/index.d.ts +198 -495
  41. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  42. package/dist/src/telephony-cdr/schema.d.ts +54 -139
  43. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  44. package/dist/src/ticket/index.d.ts +338 -818
  45. package/dist/src/ticket/index.d.ts.map +1 -1
  46. package/dist/src/ticket/schema.d.ts +54 -139
  47. package/dist/src/ticket/schema.d.ts.map +1 -1
  48. package/dist/src/viber/index.d.ts +138 -265
  49. package/dist/src/viber/index.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -414,77 +414,34 @@ export declare const ContactContractValidationSchema: {
414
414
  createdAt: z.ZodDate;
415
415
  updatedAt: z.ZodDate;
416
416
  deletedAt: z.ZodNullable<z.ZodDate>;
417
- customFieldId: z.ZodString;
418
- upload: z.ZodObject<{
419
- id: z.ZodString;
420
- createdAt: z.ZodDate;
421
- updatedAt: z.ZodDate;
422
- deletedAt: z.ZodNullable<z.ZodDate>;
423
- bucketName: z.ZodString;
424
- fileName: z.ZodString;
425
- fileSize: z.ZodNumber;
426
- fileKey: z.ZodString;
427
- fileUrl: z.ZodNullable<z.ZodString>;
428
- status: z.ZodOptional<z.ZodString>;
429
- }, "strip", z.ZodTypeAny, {
430
- id: string;
431
- createdAt: Date;
432
- updatedAt: Date;
433
- deletedAt: Date | null;
434
- fileName: string;
435
- fileKey: string;
436
- bucketName: string;
437
- fileSize: number;
438
- fileUrl: string | null;
439
- status?: string | undefined;
440
- }, {
441
- id: string;
442
- createdAt: Date;
443
- updatedAt: Date;
444
- deletedAt: Date | null;
445
- fileName: string;
446
- fileKey: string;
447
- bucketName: string;
448
- fileSize: number;
449
- fileUrl: string | null;
450
- status?: string | undefined;
451
- }>;
417
+ bucketName: z.ZodString;
418
+ fileName: z.ZodString;
419
+ fileSize: z.ZodNumber;
420
+ fileKey: z.ZodString;
421
+ fileUrl: z.ZodNullable<z.ZodString>;
422
+ status: z.ZodOptional<z.ZodString>;
452
423
  }, "strip", z.ZodTypeAny, {
453
424
  id: string;
454
425
  createdAt: Date;
455
426
  updatedAt: Date;
456
427
  deletedAt: Date | null;
457
- customFieldId: string;
458
- upload: {
459
- id: string;
460
- createdAt: Date;
461
- updatedAt: Date;
462
- deletedAt: Date | null;
463
- fileName: string;
464
- fileKey: string;
465
- bucketName: string;
466
- fileSize: number;
467
- fileUrl: string | null;
468
- status?: string | undefined;
469
- };
428
+ fileName: string;
429
+ fileKey: string;
430
+ bucketName: string;
431
+ fileSize: number;
432
+ fileUrl: string | null;
433
+ status?: string | undefined;
470
434
  }, {
471
435
  id: string;
472
436
  createdAt: Date;
473
437
  updatedAt: Date;
474
438
  deletedAt: Date | null;
475
- customFieldId: string;
476
- upload: {
477
- id: string;
478
- createdAt: Date;
479
- updatedAt: Date;
480
- deletedAt: Date | null;
481
- fileName: string;
482
- fileKey: string;
483
- bucketName: string;
484
- fileSize: number;
485
- fileUrl: string | null;
486
- status?: string | undefined;
487
- };
439
+ fileName: string;
440
+ fileKey: string;
441
+ bucketName: string;
442
+ fileSize: number;
443
+ fileUrl: string | null;
444
+ status?: string | undefined;
488
445
  }>, "many">;
489
446
  }, "strip", z.ZodTypeAny, {
490
447
  id: string;
@@ -514,19 +471,12 @@ export declare const ContactContractValidationSchema: {
514
471
  createdAt: Date;
515
472
  updatedAt: Date;
516
473
  deletedAt: Date | null;
517
- customFieldId: string;
518
- upload: {
519
- id: string;
520
- createdAt: Date;
521
- updatedAt: Date;
522
- deletedAt: Date | null;
523
- fileName: string;
524
- fileKey: string;
525
- bucketName: string;
526
- fileSize: number;
527
- fileUrl: string | null;
528
- status?: string | undefined;
529
- };
474
+ fileName: string;
475
+ fileKey: string;
476
+ bucketName: string;
477
+ fileSize: number;
478
+ fileUrl: string | null;
479
+ status?: string | undefined;
530
480
  }[];
531
481
  }, {
532
482
  id: string;
@@ -556,19 +506,12 @@ export declare const ContactContractValidationSchema: {
556
506
  createdAt: Date;
557
507
  updatedAt: Date;
558
508
  deletedAt: Date | null;
559
- customFieldId: string;
560
- upload: {
561
- id: string;
562
- createdAt: Date;
563
- updatedAt: Date;
564
- deletedAt: Date | null;
565
- fileName: string;
566
- fileKey: string;
567
- bucketName: string;
568
- fileSize: number;
569
- fileUrl: string | null;
570
- status?: string | undefined;
571
- };
509
+ fileName: string;
510
+ fileKey: string;
511
+ bucketName: string;
512
+ fileSize: number;
513
+ fileUrl: string | null;
514
+ status?: string | undefined;
572
515
  }[];
573
516
  }>, "many">;
574
517
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -711,19 +654,12 @@ export declare const ContactContractValidationSchema: {
711
654
  createdAt: Date;
712
655
  updatedAt: Date;
713
656
  deletedAt: Date | null;
714
- customFieldId: string;
715
- upload: {
716
- id: string;
717
- createdAt: Date;
718
- updatedAt: Date;
719
- deletedAt: Date | null;
720
- fileName: string;
721
- fileKey: string;
722
- bucketName: string;
723
- fileSize: number;
724
- fileUrl: string | null;
725
- status?: string | undefined;
726
- };
657
+ fileName: string;
658
+ fileKey: string;
659
+ bucketName: string;
660
+ fileSize: number;
661
+ fileUrl: string | null;
662
+ status?: string | undefined;
727
663
  }[];
728
664
  }[];
729
665
  company: {
@@ -814,19 +750,12 @@ export declare const ContactContractValidationSchema: {
814
750
  createdAt: Date;
815
751
  updatedAt: Date;
816
752
  deletedAt: Date | null;
817
- customFieldId: string;
818
- upload: {
819
- id: string;
820
- createdAt: Date;
821
- updatedAt: Date;
822
- deletedAt: Date | null;
823
- fileName: string;
824
- fileKey: string;
825
- bucketName: string;
826
- fileSize: number;
827
- fileUrl: string | null;
828
- status?: string | undefined;
829
- };
753
+ fileName: string;
754
+ fileKey: string;
755
+ bucketName: string;
756
+ fileSize: number;
757
+ fileUrl: string | null;
758
+ status?: string | undefined;
830
759
  }[];
831
760
  }[];
832
761
  company: {
@@ -1252,77 +1181,34 @@ export declare const ContactContractValidationSchema: {
1252
1181
  createdAt: z.ZodDate;
1253
1182
  updatedAt: z.ZodDate;
1254
1183
  deletedAt: z.ZodNullable<z.ZodDate>;
1255
- customFieldId: z.ZodString;
1256
- upload: z.ZodObject<{
1257
- id: z.ZodString;
1258
- createdAt: z.ZodDate;
1259
- updatedAt: z.ZodDate;
1260
- deletedAt: z.ZodNullable<z.ZodDate>;
1261
- bucketName: z.ZodString;
1262
- fileName: z.ZodString;
1263
- fileSize: z.ZodNumber;
1264
- fileKey: z.ZodString;
1265
- fileUrl: z.ZodNullable<z.ZodString>;
1266
- status: z.ZodOptional<z.ZodString>;
1267
- }, "strip", z.ZodTypeAny, {
1268
- id: string;
1269
- createdAt: Date;
1270
- updatedAt: Date;
1271
- deletedAt: Date | null;
1272
- fileName: string;
1273
- fileKey: string;
1274
- bucketName: string;
1275
- fileSize: number;
1276
- fileUrl: string | null;
1277
- status?: string | undefined;
1278
- }, {
1279
- id: string;
1280
- createdAt: Date;
1281
- updatedAt: Date;
1282
- deletedAt: Date | null;
1283
- fileName: string;
1284
- fileKey: string;
1285
- bucketName: string;
1286
- fileSize: number;
1287
- fileUrl: string | null;
1288
- status?: string | undefined;
1289
- }>;
1184
+ bucketName: z.ZodString;
1185
+ fileName: z.ZodString;
1186
+ fileSize: z.ZodNumber;
1187
+ fileKey: z.ZodString;
1188
+ fileUrl: z.ZodNullable<z.ZodString>;
1189
+ status: z.ZodOptional<z.ZodString>;
1290
1190
  }, "strip", z.ZodTypeAny, {
1291
1191
  id: string;
1292
1192
  createdAt: Date;
1293
1193
  updatedAt: Date;
1294
1194
  deletedAt: Date | null;
1295
- customFieldId: string;
1296
- upload: {
1297
- id: string;
1298
- createdAt: Date;
1299
- updatedAt: Date;
1300
- deletedAt: Date | null;
1301
- fileName: string;
1302
- fileKey: string;
1303
- bucketName: string;
1304
- fileSize: number;
1305
- fileUrl: string | null;
1306
- status?: string | undefined;
1307
- };
1195
+ fileName: string;
1196
+ fileKey: string;
1197
+ bucketName: string;
1198
+ fileSize: number;
1199
+ fileUrl: string | null;
1200
+ status?: string | undefined;
1308
1201
  }, {
1309
1202
  id: string;
1310
1203
  createdAt: Date;
1311
1204
  updatedAt: Date;
1312
1205
  deletedAt: Date | null;
1313
- customFieldId: string;
1314
- upload: {
1315
- id: string;
1316
- createdAt: Date;
1317
- updatedAt: Date;
1318
- deletedAt: Date | null;
1319
- fileName: string;
1320
- fileKey: string;
1321
- bucketName: string;
1322
- fileSize: number;
1323
- fileUrl: string | null;
1324
- status?: string | undefined;
1325
- };
1206
+ fileName: string;
1207
+ fileKey: string;
1208
+ bucketName: string;
1209
+ fileSize: number;
1210
+ fileUrl: string | null;
1211
+ status?: string | undefined;
1326
1212
  }>, "many">;
1327
1213
  }, "strip", z.ZodTypeAny, {
1328
1214
  id: string;
@@ -1352,19 +1238,12 @@ export declare const ContactContractValidationSchema: {
1352
1238
  createdAt: Date;
1353
1239
  updatedAt: Date;
1354
1240
  deletedAt: Date | null;
1355
- customFieldId: string;
1356
- upload: {
1357
- id: string;
1358
- createdAt: Date;
1359
- updatedAt: Date;
1360
- deletedAt: Date | null;
1361
- fileName: string;
1362
- fileKey: string;
1363
- bucketName: string;
1364
- fileSize: number;
1365
- fileUrl: string | null;
1366
- status?: string | undefined;
1367
- };
1241
+ fileName: string;
1242
+ fileKey: string;
1243
+ bucketName: string;
1244
+ fileSize: number;
1245
+ fileUrl: string | null;
1246
+ status?: string | undefined;
1368
1247
  }[];
1369
1248
  }, {
1370
1249
  id: string;
@@ -1394,19 +1273,12 @@ export declare const ContactContractValidationSchema: {
1394
1273
  createdAt: Date;
1395
1274
  updatedAt: Date;
1396
1275
  deletedAt: Date | null;
1397
- customFieldId: string;
1398
- upload: {
1399
- id: string;
1400
- createdAt: Date;
1401
- updatedAt: Date;
1402
- deletedAt: Date | null;
1403
- fileName: string;
1404
- fileKey: string;
1405
- bucketName: string;
1406
- fileSize: number;
1407
- fileUrl: string | null;
1408
- status?: string | undefined;
1409
- };
1276
+ fileName: string;
1277
+ fileKey: string;
1278
+ bucketName: string;
1279
+ fileSize: number;
1280
+ fileUrl: string | null;
1281
+ status?: string | undefined;
1410
1282
  }[];
1411
1283
  }>, "many">;
1412
1284
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1549,19 +1421,12 @@ export declare const ContactContractValidationSchema: {
1549
1421
  createdAt: Date;
1550
1422
  updatedAt: Date;
1551
1423
  deletedAt: Date | null;
1552
- customFieldId: string;
1553
- upload: {
1554
- id: string;
1555
- createdAt: Date;
1556
- updatedAt: Date;
1557
- deletedAt: Date | null;
1558
- fileName: string;
1559
- fileKey: string;
1560
- bucketName: string;
1561
- fileSize: number;
1562
- fileUrl: string | null;
1563
- status?: string | undefined;
1564
- };
1424
+ fileName: string;
1425
+ fileKey: string;
1426
+ bucketName: string;
1427
+ fileSize: number;
1428
+ fileUrl: string | null;
1429
+ status?: string | undefined;
1565
1430
  }[];
1566
1431
  }[];
1567
1432
  company: {
@@ -1652,19 +1517,12 @@ export declare const ContactContractValidationSchema: {
1652
1517
  createdAt: Date;
1653
1518
  updatedAt: Date;
1654
1519
  deletedAt: Date | null;
1655
- customFieldId: string;
1656
- upload: {
1657
- id: string;
1658
- createdAt: Date;
1659
- updatedAt: Date;
1660
- deletedAt: Date | null;
1661
- fileName: string;
1662
- fileKey: string;
1663
- bucketName: string;
1664
- fileSize: number;
1665
- fileUrl: string | null;
1666
- status?: string | undefined;
1667
- };
1520
+ fileName: string;
1521
+ fileKey: string;
1522
+ bucketName: string;
1523
+ fileSize: number;
1524
+ fileUrl: string | null;
1525
+ status?: string | undefined;
1668
1526
  }[];
1669
1527
  }[];
1670
1528
  company: {
@@ -2020,77 +1878,34 @@ export declare const ContactContractValidationSchema: {
2020
1878
  createdAt: z.ZodDate;
2021
1879
  updatedAt: z.ZodDate;
2022
1880
  deletedAt: z.ZodNullable<z.ZodDate>;
2023
- customFieldId: z.ZodString;
2024
- upload: z.ZodObject<{
2025
- id: z.ZodString;
2026
- createdAt: z.ZodDate;
2027
- updatedAt: z.ZodDate;
2028
- deletedAt: z.ZodNullable<z.ZodDate>;
2029
- bucketName: z.ZodString;
2030
- fileName: z.ZodString;
2031
- fileSize: z.ZodNumber;
2032
- fileKey: z.ZodString;
2033
- fileUrl: z.ZodNullable<z.ZodString>;
2034
- status: z.ZodOptional<z.ZodString>;
2035
- }, "strip", z.ZodTypeAny, {
2036
- id: string;
2037
- createdAt: Date;
2038
- updatedAt: Date;
2039
- deletedAt: Date | null;
2040
- fileName: string;
2041
- fileKey: string;
2042
- bucketName: string;
2043
- fileSize: number;
2044
- fileUrl: string | null;
2045
- status?: string | undefined;
2046
- }, {
2047
- id: string;
2048
- createdAt: Date;
2049
- updatedAt: Date;
2050
- deletedAt: Date | null;
2051
- fileName: string;
2052
- fileKey: string;
2053
- bucketName: string;
2054
- fileSize: number;
2055
- fileUrl: string | null;
2056
- status?: string | undefined;
2057
- }>;
1881
+ bucketName: z.ZodString;
1882
+ fileName: z.ZodString;
1883
+ fileSize: z.ZodNumber;
1884
+ fileKey: z.ZodString;
1885
+ fileUrl: z.ZodNullable<z.ZodString>;
1886
+ status: z.ZodOptional<z.ZodString>;
2058
1887
  }, "strip", z.ZodTypeAny, {
2059
1888
  id: string;
2060
1889
  createdAt: Date;
2061
1890
  updatedAt: Date;
2062
1891
  deletedAt: Date | null;
2063
- customFieldId: string;
2064
- upload: {
2065
- id: string;
2066
- createdAt: Date;
2067
- updatedAt: Date;
2068
- deletedAt: Date | null;
2069
- fileName: string;
2070
- fileKey: string;
2071
- bucketName: string;
2072
- fileSize: number;
2073
- fileUrl: string | null;
2074
- status?: string | undefined;
2075
- };
1892
+ fileName: string;
1893
+ fileKey: string;
1894
+ bucketName: string;
1895
+ fileSize: number;
1896
+ fileUrl: string | null;
1897
+ status?: string | undefined;
2076
1898
  }, {
2077
1899
  id: string;
2078
1900
  createdAt: Date;
2079
1901
  updatedAt: Date;
2080
1902
  deletedAt: Date | null;
2081
- customFieldId: string;
2082
- upload: {
2083
- id: string;
2084
- createdAt: Date;
2085
- updatedAt: Date;
2086
- deletedAt: Date | null;
2087
- fileName: string;
2088
- fileKey: string;
2089
- bucketName: string;
2090
- fileSize: number;
2091
- fileUrl: string | null;
2092
- status?: string | undefined;
2093
- };
1903
+ fileName: string;
1904
+ fileKey: string;
1905
+ bucketName: string;
1906
+ fileSize: number;
1907
+ fileUrl: string | null;
1908
+ status?: string | undefined;
2094
1909
  }>, "many">;
2095
1910
  }, "strip", z.ZodTypeAny, {
2096
1911
  id: string;
@@ -2120,19 +1935,12 @@ export declare const ContactContractValidationSchema: {
2120
1935
  createdAt: Date;
2121
1936
  updatedAt: Date;
2122
1937
  deletedAt: Date | null;
2123
- customFieldId: string;
2124
- upload: {
2125
- id: string;
2126
- createdAt: Date;
2127
- updatedAt: Date;
2128
- deletedAt: Date | null;
2129
- fileName: string;
2130
- fileKey: string;
2131
- bucketName: string;
2132
- fileSize: number;
2133
- fileUrl: string | null;
2134
- status?: string | undefined;
2135
- };
1938
+ fileName: string;
1939
+ fileKey: string;
1940
+ bucketName: string;
1941
+ fileSize: number;
1942
+ fileUrl: string | null;
1943
+ status?: string | undefined;
2136
1944
  }[];
2137
1945
  }, {
2138
1946
  id: string;
@@ -2162,19 +1970,12 @@ export declare const ContactContractValidationSchema: {
2162
1970
  createdAt: Date;
2163
1971
  updatedAt: Date;
2164
1972
  deletedAt: Date | null;
2165
- customFieldId: string;
2166
- upload: {
2167
- id: string;
2168
- createdAt: Date;
2169
- updatedAt: Date;
2170
- deletedAt: Date | null;
2171
- fileName: string;
2172
- fileKey: string;
2173
- bucketName: string;
2174
- fileSize: number;
2175
- fileUrl: string | null;
2176
- status?: string | undefined;
2177
- };
1973
+ fileName: string;
1974
+ fileKey: string;
1975
+ bucketName: string;
1976
+ fileSize: number;
1977
+ fileUrl: string | null;
1978
+ status?: string | undefined;
2178
1979
  }[];
2179
1980
  }>, "many">;
2180
1981
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -2317,19 +2118,12 @@ export declare const ContactContractValidationSchema: {
2317
2118
  createdAt: Date;
2318
2119
  updatedAt: Date;
2319
2120
  deletedAt: Date | null;
2320
- customFieldId: string;
2321
- upload: {
2322
- id: string;
2323
- createdAt: Date;
2324
- updatedAt: Date;
2325
- deletedAt: Date | null;
2326
- fileName: string;
2327
- fileKey: string;
2328
- bucketName: string;
2329
- fileSize: number;
2330
- fileUrl: string | null;
2331
- status?: string | undefined;
2332
- };
2121
+ fileName: string;
2122
+ fileKey: string;
2123
+ bucketName: string;
2124
+ fileSize: number;
2125
+ fileUrl: string | null;
2126
+ status?: string | undefined;
2333
2127
  }[];
2334
2128
  }[];
2335
2129
  company: {
@@ -2420,19 +2214,12 @@ export declare const ContactContractValidationSchema: {
2420
2214
  createdAt: Date;
2421
2215
  updatedAt: Date;
2422
2216
  deletedAt: Date | null;
2423
- customFieldId: string;
2424
- upload: {
2425
- id: string;
2426
- createdAt: Date;
2427
- updatedAt: Date;
2428
- deletedAt: Date | null;
2429
- fileName: string;
2430
- fileKey: string;
2431
- bucketName: string;
2432
- fileSize: number;
2433
- fileUrl: string | null;
2434
- status?: string | undefined;
2435
- };
2217
+ fileName: string;
2218
+ fileKey: string;
2219
+ bucketName: string;
2220
+ fileSize: number;
2221
+ fileUrl: string | null;
2222
+ status?: string | undefined;
2436
2223
  }[];
2437
2224
  }[];
2438
2225
  company: {
@@ -2787,77 +2574,34 @@ export declare const ContactContractValidationSchema: {
2787
2574
  createdAt: z.ZodDate;
2788
2575
  updatedAt: z.ZodDate;
2789
2576
  deletedAt: z.ZodNullable<z.ZodDate>;
2790
- customFieldId: z.ZodString;
2791
- upload: z.ZodObject<{
2792
- id: z.ZodString;
2793
- createdAt: z.ZodDate;
2794
- updatedAt: z.ZodDate;
2795
- deletedAt: z.ZodNullable<z.ZodDate>;
2796
- bucketName: z.ZodString;
2797
- fileName: z.ZodString;
2798
- fileSize: z.ZodNumber;
2799
- fileKey: z.ZodString;
2800
- fileUrl: z.ZodNullable<z.ZodString>;
2801
- status: z.ZodOptional<z.ZodString>;
2802
- }, "strip", z.ZodTypeAny, {
2803
- id: string;
2804
- createdAt: Date;
2805
- updatedAt: Date;
2806
- deletedAt: Date | null;
2807
- fileName: string;
2808
- fileKey: string;
2809
- bucketName: string;
2810
- fileSize: number;
2811
- fileUrl: string | null;
2812
- status?: string | undefined;
2813
- }, {
2814
- id: string;
2815
- createdAt: Date;
2816
- updatedAt: Date;
2817
- deletedAt: Date | null;
2818
- fileName: string;
2819
- fileKey: string;
2820
- bucketName: string;
2821
- fileSize: number;
2822
- fileUrl: string | null;
2823
- status?: string | undefined;
2824
- }>;
2577
+ bucketName: z.ZodString;
2578
+ fileName: z.ZodString;
2579
+ fileSize: z.ZodNumber;
2580
+ fileKey: z.ZodString;
2581
+ fileUrl: z.ZodNullable<z.ZodString>;
2582
+ status: z.ZodOptional<z.ZodString>;
2825
2583
  }, "strip", z.ZodTypeAny, {
2826
2584
  id: string;
2827
2585
  createdAt: Date;
2828
2586
  updatedAt: Date;
2829
2587
  deletedAt: Date | null;
2830
- customFieldId: string;
2831
- upload: {
2832
- id: string;
2833
- createdAt: Date;
2834
- updatedAt: Date;
2835
- deletedAt: Date | null;
2836
- fileName: string;
2837
- fileKey: string;
2838
- bucketName: string;
2839
- fileSize: number;
2840
- fileUrl: string | null;
2841
- status?: string | undefined;
2842
- };
2588
+ fileName: string;
2589
+ fileKey: string;
2590
+ bucketName: string;
2591
+ fileSize: number;
2592
+ fileUrl: string | null;
2593
+ status?: string | undefined;
2843
2594
  }, {
2844
2595
  id: string;
2845
2596
  createdAt: Date;
2846
2597
  updatedAt: Date;
2847
2598
  deletedAt: Date | null;
2848
- customFieldId: string;
2849
- upload: {
2850
- id: string;
2851
- createdAt: Date;
2852
- updatedAt: Date;
2853
- deletedAt: Date | null;
2854
- fileName: string;
2855
- fileKey: string;
2856
- bucketName: string;
2857
- fileSize: number;
2858
- fileUrl: string | null;
2859
- status?: string | undefined;
2860
- };
2599
+ fileName: string;
2600
+ fileKey: string;
2601
+ bucketName: string;
2602
+ fileSize: number;
2603
+ fileUrl: string | null;
2604
+ status?: string | undefined;
2861
2605
  }>, "many">;
2862
2606
  }, "strip", z.ZodTypeAny, {
2863
2607
  id: string;
@@ -2887,19 +2631,12 @@ export declare const ContactContractValidationSchema: {
2887
2631
  createdAt: Date;
2888
2632
  updatedAt: Date;
2889
2633
  deletedAt: Date | null;
2890
- customFieldId: string;
2891
- upload: {
2892
- id: string;
2893
- createdAt: Date;
2894
- updatedAt: Date;
2895
- deletedAt: Date | null;
2896
- fileName: string;
2897
- fileKey: string;
2898
- bucketName: string;
2899
- fileSize: number;
2900
- fileUrl: string | null;
2901
- status?: string | undefined;
2902
- };
2634
+ fileName: string;
2635
+ fileKey: string;
2636
+ bucketName: string;
2637
+ fileSize: number;
2638
+ fileUrl: string | null;
2639
+ status?: string | undefined;
2903
2640
  }[];
2904
2641
  }, {
2905
2642
  id: string;
@@ -2929,19 +2666,12 @@ export declare const ContactContractValidationSchema: {
2929
2666
  createdAt: Date;
2930
2667
  updatedAt: Date;
2931
2668
  deletedAt: Date | null;
2932
- customFieldId: string;
2933
- upload: {
2934
- id: string;
2935
- createdAt: Date;
2936
- updatedAt: Date;
2937
- deletedAt: Date | null;
2938
- fileName: string;
2939
- fileKey: string;
2940
- bucketName: string;
2941
- fileSize: number;
2942
- fileUrl: string | null;
2943
- status?: string | undefined;
2944
- };
2669
+ fileName: string;
2670
+ fileKey: string;
2671
+ bucketName: string;
2672
+ fileSize: number;
2673
+ fileUrl: string | null;
2674
+ status?: string | undefined;
2945
2675
  }[];
2946
2676
  }>, "many">;
2947
2677
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3084,19 +2814,12 @@ export declare const ContactContractValidationSchema: {
3084
2814
  createdAt: Date;
3085
2815
  updatedAt: Date;
3086
2816
  deletedAt: Date | null;
3087
- customFieldId: string;
3088
- upload: {
3089
- id: string;
3090
- createdAt: Date;
3091
- updatedAt: Date;
3092
- deletedAt: Date | null;
3093
- fileName: string;
3094
- fileKey: string;
3095
- bucketName: string;
3096
- fileSize: number;
3097
- fileUrl: string | null;
3098
- status?: string | undefined;
3099
- };
2817
+ fileName: string;
2818
+ fileKey: string;
2819
+ bucketName: string;
2820
+ fileSize: number;
2821
+ fileUrl: string | null;
2822
+ status?: string | undefined;
3100
2823
  }[];
3101
2824
  }[];
3102
2825
  company: {
@@ -3187,19 +2910,12 @@ export declare const ContactContractValidationSchema: {
3187
2910
  createdAt: Date;
3188
2911
  updatedAt: Date;
3189
2912
  deletedAt: Date | null;
3190
- customFieldId: string;
3191
- upload: {
3192
- id: string;
3193
- createdAt: Date;
3194
- updatedAt: Date;
3195
- deletedAt: Date | null;
3196
- fileName: string;
3197
- fileKey: string;
3198
- bucketName: string;
3199
- fileSize: number;
3200
- fileUrl: string | null;
3201
- status?: string | undefined;
3202
- };
2913
+ fileName: string;
2914
+ fileKey: string;
2915
+ bucketName: string;
2916
+ fileSize: number;
2917
+ fileUrl: string | null;
2918
+ status?: string | undefined;
3203
2919
  }[];
3204
2920
  }[];
3205
2921
  company: {
@@ -3553,81 +3269,38 @@ export declare const ContactContractValidationSchema: {
3553
3269
  isUnique: boolean;
3554
3270
  }>;
3555
3271
  uploads: z.ZodArray<z.ZodObject<{
3556
- id: z.ZodString;
3557
- createdAt: z.ZodDate;
3558
- updatedAt: z.ZodDate;
3559
- deletedAt: z.ZodNullable<z.ZodDate>;
3560
- customFieldId: z.ZodString;
3561
- upload: z.ZodObject<{
3562
- id: z.ZodString;
3563
- createdAt: z.ZodDate;
3564
- updatedAt: z.ZodDate;
3565
- deletedAt: z.ZodNullable<z.ZodDate>;
3566
- bucketName: z.ZodString;
3567
- fileName: z.ZodString;
3568
- fileSize: z.ZodNumber;
3569
- fileKey: z.ZodString;
3570
- fileUrl: z.ZodNullable<z.ZodString>;
3571
- status: z.ZodOptional<z.ZodString>;
3572
- }, "strip", z.ZodTypeAny, {
3573
- id: string;
3574
- createdAt: Date;
3575
- updatedAt: Date;
3576
- deletedAt: Date | null;
3577
- fileName: string;
3578
- fileKey: string;
3579
- bucketName: string;
3580
- fileSize: number;
3581
- fileUrl: string | null;
3582
- status?: string | undefined;
3583
- }, {
3584
- id: string;
3585
- createdAt: Date;
3586
- updatedAt: Date;
3587
- deletedAt: Date | null;
3588
- fileName: string;
3589
- fileKey: string;
3590
- bucketName: string;
3591
- fileSize: number;
3592
- fileUrl: string | null;
3593
- status?: string | undefined;
3594
- }>;
3595
- }, "strip", z.ZodTypeAny, {
3596
- id: string;
3597
- createdAt: Date;
3598
- updatedAt: Date;
3599
- deletedAt: Date | null;
3600
- customFieldId: string;
3601
- upload: {
3602
- id: string;
3603
- createdAt: Date;
3604
- updatedAt: Date;
3605
- deletedAt: Date | null;
3606
- fileName: string;
3607
- fileKey: string;
3608
- bucketName: string;
3609
- fileSize: number;
3610
- fileUrl: string | null;
3611
- status?: string | undefined;
3612
- };
3272
+ id: z.ZodString;
3273
+ createdAt: z.ZodDate;
3274
+ updatedAt: z.ZodDate;
3275
+ deletedAt: z.ZodNullable<z.ZodDate>;
3276
+ bucketName: z.ZodString;
3277
+ fileName: z.ZodString;
3278
+ fileSize: z.ZodNumber;
3279
+ fileKey: z.ZodString;
3280
+ fileUrl: z.ZodNullable<z.ZodString>;
3281
+ status: z.ZodOptional<z.ZodString>;
3282
+ }, "strip", z.ZodTypeAny, {
3283
+ id: string;
3284
+ createdAt: Date;
3285
+ updatedAt: Date;
3286
+ deletedAt: Date | null;
3287
+ fileName: string;
3288
+ fileKey: string;
3289
+ bucketName: string;
3290
+ fileSize: number;
3291
+ fileUrl: string | null;
3292
+ status?: string | undefined;
3613
3293
  }, {
3614
3294
  id: string;
3615
3295
  createdAt: Date;
3616
3296
  updatedAt: Date;
3617
3297
  deletedAt: Date | null;
3618
- customFieldId: string;
3619
- upload: {
3620
- id: string;
3621
- createdAt: Date;
3622
- updatedAt: Date;
3623
- deletedAt: Date | null;
3624
- fileName: string;
3625
- fileKey: string;
3626
- bucketName: string;
3627
- fileSize: number;
3628
- fileUrl: string | null;
3629
- status?: string | undefined;
3630
- };
3298
+ fileName: string;
3299
+ fileKey: string;
3300
+ bucketName: string;
3301
+ fileSize: number;
3302
+ fileUrl: string | null;
3303
+ status?: string | undefined;
3631
3304
  }>, "many">;
3632
3305
  }, "strip", z.ZodTypeAny, {
3633
3306
  id: string;
@@ -3657,19 +3330,12 @@ export declare const ContactContractValidationSchema: {
3657
3330
  createdAt: Date;
3658
3331
  updatedAt: Date;
3659
3332
  deletedAt: Date | null;
3660
- customFieldId: string;
3661
- upload: {
3662
- id: string;
3663
- createdAt: Date;
3664
- updatedAt: Date;
3665
- deletedAt: Date | null;
3666
- fileName: string;
3667
- fileKey: string;
3668
- bucketName: string;
3669
- fileSize: number;
3670
- fileUrl: string | null;
3671
- status?: string | undefined;
3672
- };
3333
+ fileName: string;
3334
+ fileKey: string;
3335
+ bucketName: string;
3336
+ fileSize: number;
3337
+ fileUrl: string | null;
3338
+ status?: string | undefined;
3673
3339
  }[];
3674
3340
  }, {
3675
3341
  id: string;
@@ -3699,19 +3365,12 @@ export declare const ContactContractValidationSchema: {
3699
3365
  createdAt: Date;
3700
3366
  updatedAt: Date;
3701
3367
  deletedAt: Date | null;
3702
- customFieldId: string;
3703
- upload: {
3704
- id: string;
3705
- createdAt: Date;
3706
- updatedAt: Date;
3707
- deletedAt: Date | null;
3708
- fileName: string;
3709
- fileKey: string;
3710
- bucketName: string;
3711
- fileSize: number;
3712
- fileUrl: string | null;
3713
- status?: string | undefined;
3714
- };
3368
+ fileName: string;
3369
+ fileKey: string;
3370
+ bucketName: string;
3371
+ fileSize: number;
3372
+ fileUrl: string | null;
3373
+ status?: string | undefined;
3715
3374
  }[];
3716
3375
  }>, "many">;
3717
3376
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3854,19 +3513,12 @@ export declare const ContactContractValidationSchema: {
3854
3513
  createdAt: Date;
3855
3514
  updatedAt: Date;
3856
3515
  deletedAt: Date | null;
3857
- customFieldId: string;
3858
- upload: {
3859
- id: string;
3860
- createdAt: Date;
3861
- updatedAt: Date;
3862
- deletedAt: Date | null;
3863
- fileName: string;
3864
- fileKey: string;
3865
- bucketName: string;
3866
- fileSize: number;
3867
- fileUrl: string | null;
3868
- status?: string | undefined;
3869
- };
3516
+ fileName: string;
3517
+ fileKey: string;
3518
+ bucketName: string;
3519
+ fileSize: number;
3520
+ fileUrl: string | null;
3521
+ status?: string | undefined;
3870
3522
  }[];
3871
3523
  }[];
3872
3524
  company: {
@@ -3957,19 +3609,12 @@ export declare const ContactContractValidationSchema: {
3957
3609
  createdAt: Date;
3958
3610
  updatedAt: Date;
3959
3611
  deletedAt: Date | null;
3960
- customFieldId: string;
3961
- upload: {
3962
- id: string;
3963
- createdAt: Date;
3964
- updatedAt: Date;
3965
- deletedAt: Date | null;
3966
- fileName: string;
3967
- fileKey: string;
3968
- bucketName: string;
3969
- fileSize: number;
3970
- fileUrl: string | null;
3971
- status?: string | undefined;
3972
- };
3612
+ fileName: string;
3613
+ fileKey: string;
3614
+ bucketName: string;
3615
+ fileSize: number;
3616
+ fileUrl: string | null;
3617
+ status?: string | undefined;
3973
3618
  }[];
3974
3619
  }[];
3975
3620
  company: {
@@ -4389,77 +4034,34 @@ export declare const ContactContractValidationSchema: {
4389
4034
  createdAt: z.ZodDate;
4390
4035
  updatedAt: z.ZodDate;
4391
4036
  deletedAt: z.ZodNullable<z.ZodDate>;
4392
- customFieldId: z.ZodString;
4393
- upload: z.ZodObject<{
4394
- id: z.ZodString;
4395
- createdAt: z.ZodDate;
4396
- updatedAt: z.ZodDate;
4397
- deletedAt: z.ZodNullable<z.ZodDate>;
4398
- bucketName: z.ZodString;
4399
- fileName: z.ZodString;
4400
- fileSize: z.ZodNumber;
4401
- fileKey: z.ZodString;
4402
- fileUrl: z.ZodNullable<z.ZodString>;
4403
- status: z.ZodOptional<z.ZodString>;
4404
- }, "strip", z.ZodTypeAny, {
4405
- id: string;
4406
- createdAt: Date;
4407
- updatedAt: Date;
4408
- deletedAt: Date | null;
4409
- fileName: string;
4410
- fileKey: string;
4411
- bucketName: string;
4412
- fileSize: number;
4413
- fileUrl: string | null;
4414
- status?: string | undefined;
4415
- }, {
4416
- id: string;
4417
- createdAt: Date;
4418
- updatedAt: Date;
4419
- deletedAt: Date | null;
4420
- fileName: string;
4421
- fileKey: string;
4422
- bucketName: string;
4423
- fileSize: number;
4424
- fileUrl: string | null;
4425
- status?: string | undefined;
4426
- }>;
4037
+ bucketName: z.ZodString;
4038
+ fileName: z.ZodString;
4039
+ fileSize: z.ZodNumber;
4040
+ fileKey: z.ZodString;
4041
+ fileUrl: z.ZodNullable<z.ZodString>;
4042
+ status: z.ZodOptional<z.ZodString>;
4427
4043
  }, "strip", z.ZodTypeAny, {
4428
4044
  id: string;
4429
4045
  createdAt: Date;
4430
4046
  updatedAt: Date;
4431
4047
  deletedAt: Date | null;
4432
- customFieldId: string;
4433
- upload: {
4434
- id: string;
4435
- createdAt: Date;
4436
- updatedAt: Date;
4437
- deletedAt: Date | null;
4438
- fileName: string;
4439
- fileKey: string;
4440
- bucketName: string;
4441
- fileSize: number;
4442
- fileUrl: string | null;
4443
- status?: string | undefined;
4444
- };
4048
+ fileName: string;
4049
+ fileKey: string;
4050
+ bucketName: string;
4051
+ fileSize: number;
4052
+ fileUrl: string | null;
4053
+ status?: string | undefined;
4445
4054
  }, {
4446
4055
  id: string;
4447
4056
  createdAt: Date;
4448
4057
  updatedAt: Date;
4449
4058
  deletedAt: Date | null;
4450
- customFieldId: string;
4451
- upload: {
4452
- id: string;
4453
- createdAt: Date;
4454
- updatedAt: Date;
4455
- deletedAt: Date | null;
4456
- fileName: string;
4457
- fileKey: string;
4458
- bucketName: string;
4459
- fileSize: number;
4460
- fileUrl: string | null;
4461
- status?: string | undefined;
4462
- };
4059
+ fileName: string;
4060
+ fileKey: string;
4061
+ bucketName: string;
4062
+ fileSize: number;
4063
+ fileUrl: string | null;
4064
+ status?: string | undefined;
4463
4065
  }>, "many">;
4464
4066
  }, "strip", z.ZodTypeAny, {
4465
4067
  id: string;
@@ -4489,19 +4091,12 @@ export declare const ContactContractValidationSchema: {
4489
4091
  createdAt: Date;
4490
4092
  updatedAt: Date;
4491
4093
  deletedAt: Date | null;
4492
- customFieldId: string;
4493
- upload: {
4494
- id: string;
4495
- createdAt: Date;
4496
- updatedAt: Date;
4497
- deletedAt: Date | null;
4498
- fileName: string;
4499
- fileKey: string;
4500
- bucketName: string;
4501
- fileSize: number;
4502
- fileUrl: string | null;
4503
- status?: string | undefined;
4504
- };
4094
+ fileName: string;
4095
+ fileKey: string;
4096
+ bucketName: string;
4097
+ fileSize: number;
4098
+ fileUrl: string | null;
4099
+ status?: string | undefined;
4505
4100
  }[];
4506
4101
  }, {
4507
4102
  id: string;
@@ -4531,19 +4126,12 @@ export declare const ContactContractValidationSchema: {
4531
4126
  createdAt: Date;
4532
4127
  updatedAt: Date;
4533
4128
  deletedAt: Date | null;
4534
- customFieldId: string;
4535
- upload: {
4536
- id: string;
4537
- createdAt: Date;
4538
- updatedAt: Date;
4539
- deletedAt: Date | null;
4540
- fileName: string;
4541
- fileKey: string;
4542
- bucketName: string;
4543
- fileSize: number;
4544
- fileUrl: string | null;
4545
- status?: string | undefined;
4546
- };
4129
+ fileName: string;
4130
+ fileKey: string;
4131
+ bucketName: string;
4132
+ fileSize: number;
4133
+ fileUrl: string | null;
4134
+ status?: string | undefined;
4547
4135
  }[];
4548
4136
  }>, "many">;
4549
4137
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -4686,19 +4274,12 @@ export declare const ContactContractValidationSchema: {
4686
4274
  createdAt: Date;
4687
4275
  updatedAt: Date;
4688
4276
  deletedAt: Date | null;
4689
- customFieldId: string;
4690
- upload: {
4691
- id: string;
4692
- createdAt: Date;
4693
- updatedAt: Date;
4694
- deletedAt: Date | null;
4695
- fileName: string;
4696
- fileKey: string;
4697
- bucketName: string;
4698
- fileSize: number;
4699
- fileUrl: string | null;
4700
- status?: string | undefined;
4701
- };
4277
+ fileName: string;
4278
+ fileKey: string;
4279
+ bucketName: string;
4280
+ fileSize: number;
4281
+ fileUrl: string | null;
4282
+ status?: string | undefined;
4702
4283
  }[];
4703
4284
  }[];
4704
4285
  company: {
@@ -4789,19 +4370,12 @@ export declare const ContactContractValidationSchema: {
4789
4370
  createdAt: Date;
4790
4371
  updatedAt: Date;
4791
4372
  deletedAt: Date | null;
4792
- customFieldId: string;
4793
- upload: {
4794
- id: string;
4795
- createdAt: Date;
4796
- updatedAt: Date;
4797
- deletedAt: Date | null;
4798
- fileName: string;
4799
- fileKey: string;
4800
- bucketName: string;
4801
- fileSize: number;
4802
- fileUrl: string | null;
4803
- status?: string | undefined;
4804
- };
4373
+ fileName: string;
4374
+ fileKey: string;
4375
+ bucketName: string;
4376
+ fileSize: number;
4377
+ fileUrl: string | null;
4378
+ status?: string | undefined;
4805
4379
  }[];
4806
4380
  }[];
4807
4381
  company: {
@@ -5193,77 +4767,34 @@ export declare const ContactContractValidationSchema: {
5193
4767
  createdAt: z.ZodDate;
5194
4768
  updatedAt: z.ZodDate;
5195
4769
  deletedAt: z.ZodNullable<z.ZodDate>;
5196
- customFieldId: z.ZodString;
5197
- upload: z.ZodObject<{
5198
- id: z.ZodString;
5199
- createdAt: z.ZodDate;
5200
- updatedAt: z.ZodDate;
5201
- deletedAt: z.ZodNullable<z.ZodDate>;
5202
- bucketName: z.ZodString;
5203
- fileName: z.ZodString;
5204
- fileSize: z.ZodNumber;
5205
- fileKey: z.ZodString;
5206
- fileUrl: z.ZodNullable<z.ZodString>;
5207
- status: z.ZodOptional<z.ZodString>;
5208
- }, "strip", z.ZodTypeAny, {
5209
- id: string;
5210
- createdAt: Date;
5211
- updatedAt: Date;
5212
- deletedAt: Date | null;
5213
- fileName: string;
5214
- fileKey: string;
5215
- bucketName: string;
5216
- fileSize: number;
5217
- fileUrl: string | null;
5218
- status?: string | undefined;
5219
- }, {
5220
- id: string;
5221
- createdAt: Date;
5222
- updatedAt: Date;
5223
- deletedAt: Date | null;
5224
- fileName: string;
5225
- fileKey: string;
5226
- bucketName: string;
5227
- fileSize: number;
5228
- fileUrl: string | null;
5229
- status?: string | undefined;
5230
- }>;
4770
+ bucketName: z.ZodString;
4771
+ fileName: z.ZodString;
4772
+ fileSize: z.ZodNumber;
4773
+ fileKey: z.ZodString;
4774
+ fileUrl: z.ZodNullable<z.ZodString>;
4775
+ status: z.ZodOptional<z.ZodString>;
5231
4776
  }, "strip", z.ZodTypeAny, {
5232
4777
  id: string;
5233
4778
  createdAt: Date;
5234
4779
  updatedAt: Date;
5235
4780
  deletedAt: Date | null;
5236
- customFieldId: string;
5237
- upload: {
5238
- id: string;
5239
- createdAt: Date;
5240
- updatedAt: Date;
5241
- deletedAt: Date | null;
5242
- fileName: string;
5243
- fileKey: string;
5244
- bucketName: string;
5245
- fileSize: number;
5246
- fileUrl: string | null;
5247
- status?: string | undefined;
5248
- };
4781
+ fileName: string;
4782
+ fileKey: string;
4783
+ bucketName: string;
4784
+ fileSize: number;
4785
+ fileUrl: string | null;
4786
+ status?: string | undefined;
5249
4787
  }, {
5250
4788
  id: string;
5251
4789
  createdAt: Date;
5252
4790
  updatedAt: Date;
5253
4791
  deletedAt: Date | null;
5254
- customFieldId: string;
5255
- upload: {
5256
- id: string;
5257
- createdAt: Date;
5258
- updatedAt: Date;
5259
- deletedAt: Date | null;
5260
- fileName: string;
5261
- fileKey: string;
5262
- bucketName: string;
5263
- fileSize: number;
5264
- fileUrl: string | null;
5265
- status?: string | undefined;
5266
- };
4792
+ fileName: string;
4793
+ fileKey: string;
4794
+ bucketName: string;
4795
+ fileSize: number;
4796
+ fileUrl: string | null;
4797
+ status?: string | undefined;
5267
4798
  }>, "many">;
5268
4799
  }, "strip", z.ZodTypeAny, {
5269
4800
  id: string;
@@ -5293,19 +4824,12 @@ export declare const ContactContractValidationSchema: {
5293
4824
  createdAt: Date;
5294
4825
  updatedAt: Date;
5295
4826
  deletedAt: Date | null;
5296
- customFieldId: string;
5297
- upload: {
5298
- id: string;
5299
- createdAt: Date;
5300
- updatedAt: Date;
5301
- deletedAt: Date | null;
5302
- fileName: string;
5303
- fileKey: string;
5304
- bucketName: string;
5305
- fileSize: number;
5306
- fileUrl: string | null;
5307
- status?: string | undefined;
5308
- };
4827
+ fileName: string;
4828
+ fileKey: string;
4829
+ bucketName: string;
4830
+ fileSize: number;
4831
+ fileUrl: string | null;
4832
+ status?: string | undefined;
5309
4833
  }[];
5310
4834
  }, {
5311
4835
  id: string;
@@ -5335,19 +4859,12 @@ export declare const ContactContractValidationSchema: {
5335
4859
  createdAt: Date;
5336
4860
  updatedAt: Date;
5337
4861
  deletedAt: Date | null;
5338
- customFieldId: string;
5339
- upload: {
5340
- id: string;
5341
- createdAt: Date;
5342
- updatedAt: Date;
5343
- deletedAt: Date | null;
5344
- fileName: string;
5345
- fileKey: string;
5346
- bucketName: string;
5347
- fileSize: number;
5348
- fileUrl: string | null;
5349
- status?: string | undefined;
5350
- };
4862
+ fileName: string;
4863
+ fileKey: string;
4864
+ bucketName: string;
4865
+ fileSize: number;
4866
+ fileUrl: string | null;
4867
+ status?: string | undefined;
5351
4868
  }[];
5352
4869
  }>, "many">;
5353
4870
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -5490,19 +5007,12 @@ export declare const ContactContractValidationSchema: {
5490
5007
  createdAt: Date;
5491
5008
  updatedAt: Date;
5492
5009
  deletedAt: Date | null;
5493
- customFieldId: string;
5494
- upload: {
5495
- id: string;
5496
- createdAt: Date;
5497
- updatedAt: Date;
5498
- deletedAt: Date | null;
5499
- fileName: string;
5500
- fileKey: string;
5501
- bucketName: string;
5502
- fileSize: number;
5503
- fileUrl: string | null;
5504
- status?: string | undefined;
5505
- };
5010
+ fileName: string;
5011
+ fileKey: string;
5012
+ bucketName: string;
5013
+ fileSize: number;
5014
+ fileUrl: string | null;
5015
+ status?: string | undefined;
5506
5016
  }[];
5507
5017
  }[];
5508
5018
  company: {
@@ -5593,19 +5103,12 @@ export declare const ContactContractValidationSchema: {
5593
5103
  createdAt: Date;
5594
5104
  updatedAt: Date;
5595
5105
  deletedAt: Date | null;
5596
- customFieldId: string;
5597
- upload: {
5598
- id: string;
5599
- createdAt: Date;
5600
- updatedAt: Date;
5601
- deletedAt: Date | null;
5602
- fileName: string;
5603
- fileKey: string;
5604
- bucketName: string;
5605
- fileSize: number;
5606
- fileUrl: string | null;
5607
- status?: string | undefined;
5608
- };
5106
+ fileName: string;
5107
+ fileKey: string;
5108
+ bucketName: string;
5109
+ fileSize: number;
5110
+ fileUrl: string | null;
5111
+ status?: string | undefined;
5609
5112
  }[];
5610
5113
  }[];
5611
5114
  company: {
@@ -5665,39 +5168,47 @@ export declare const ContactContractValidationSchema: {
5665
5168
  };
5666
5169
  addAttachments: {
5667
5170
  request: z.ZodObject<{
5171
+ contactId: z.ZodString;
5668
5172
  attributeId: z.ZodString;
5669
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
5173
+ contactAttachmentRecords: z.ZodArray<z.ZodObject<{
5670
5174
  bucketName: z.ZodString;
5671
5175
  fileKey: z.ZodString;
5672
5176
  fileName: z.ZodString;
5673
5177
  fileSize: z.ZodNumber;
5178
+ url: z.ZodString;
5674
5179
  }, "strip", z.ZodTypeAny, {
5180
+ url: string;
5675
5181
  fileName: string;
5676
5182
  fileKey: string;
5677
5183
  bucketName: string;
5678
5184
  fileSize: number;
5679
5185
  }, {
5186
+ url: string;
5680
5187
  fileName: string;
5681
5188
  fileKey: string;
5682
5189
  bucketName: string;
5683
5190
  fileSize: number;
5684
- }>, "many">>;
5191
+ }>, "many">;
5685
5192
  }, "strip", z.ZodTypeAny, {
5686
5193
  attributeId: string;
5687
- attachments?: {
5194
+ contactId: string;
5195
+ contactAttachmentRecords: {
5196
+ url: string;
5688
5197
  fileName: string;
5689
5198
  fileKey: string;
5690
5199
  bucketName: string;
5691
5200
  fileSize: number;
5692
- }[] | undefined;
5201
+ }[];
5693
5202
  }, {
5694
5203
  attributeId: string;
5695
- attachments?: {
5204
+ contactId: string;
5205
+ contactAttachmentRecords: {
5206
+ url: string;
5696
5207
  fileName: string;
5697
5208
  fileKey: string;
5698
5209
  bucketName: string;
5699
5210
  fileSize: number;
5700
- }[] | undefined;
5211
+ }[];
5701
5212
  }>;
5702
5213
  response: z.ZodObject<{
5703
5214
  id: z.ZodString;