@deepintel-ltd/buildlink-api-contracts 0.2.35 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/README.md +1 -1
  2. package/contracts/auth.d.ts +35 -0
  3. package/contracts/auth.d.ts.map +1 -1
  4. package/contracts/auth.js +2 -1
  5. package/contracts/auth.js.map +1 -1
  6. package/contracts/budget.d.ts +5 -5
  7. package/contracts/commercial.d.ts +1 -1
  8. package/contracts/communication.d.ts +2 -2
  9. package/contracts/contractor-ledger.d.ts +2 -2
  10. package/contracts/daily-logs.d.ts +221 -7
  11. package/contracts/daily-logs.d.ts.map +1 -1
  12. package/contracts/daily-logs.js +18 -1
  13. package/contracts/daily-logs.js.map +1 -1
  14. package/contracts/deficiencies.d.ts +220 -156
  15. package/contracts/deficiencies.d.ts.map +1 -1
  16. package/contracts/deficiencies.js +2 -0
  17. package/contracts/deficiencies.js.map +1 -1
  18. package/contracts/documents.d.ts +70 -6
  19. package/contracts/documents.d.ts.map +1 -1
  20. package/contracts/documents.js +2 -0
  21. package/contracts/documents.js.map +1 -1
  22. package/contracts/drawings.d.ts +50 -50
  23. package/contracts/meetings.d.ts +1 -1
  24. package/contracts/packages.d.ts +208 -0
  25. package/contracts/packages.d.ts.map +1 -1
  26. package/contracts/projects.d.ts +42 -8
  27. package/contracts/projects.d.ts.map +1 -1
  28. package/contracts/reports.d.ts +1 -1
  29. package/contracts/safety.d.ts +70 -6
  30. package/contracts/safety.d.ts.map +1 -1
  31. package/contracts/safety.js +2 -0
  32. package/contracts/safety.js.map +1 -1
  33. package/contracts/schedule.d.ts +14 -14
  34. package/contracts/site-links.d.ts +352 -1
  35. package/contracts/site-links.d.ts.map +1 -1
  36. package/contracts/site-links.js +28 -1
  37. package/contracts/site-links.js.map +1 -1
  38. package/contracts/specifications.d.ts +70 -6
  39. package/contracts/specifications.d.ts.map +1 -1
  40. package/contracts/specifications.js +2 -0
  41. package/contracts/specifications.js.map +1 -1
  42. package/contracts/tasks.d.ts +28 -28
  43. package/contracts/tasks.d.ts.map +1 -1
  44. package/contracts/tasks.js +7 -7
  45. package/contracts/tasks.js.map +1 -1
  46. package/contracts/timecards.d.ts +356 -6
  47. package/contracts/timecards.d.ts.map +1 -1
  48. package/contracts/timecards.js +3 -3
  49. package/contracts/timecards.js.map +1 -1
  50. package/contracts/transmittals.d.ts +2 -2
  51. package/contracts/valuations-extras.d.ts +7 -0
  52. package/contracts/valuations-extras.d.ts.map +1 -1
  53. package/contracts/valuations.d.ts +713 -2
  54. package/contracts/valuations.d.ts.map +1 -1
  55. package/package.json +1 -1
  56. package/schemas/auth.d.ts +16 -0
  57. package/schemas/auth.d.ts.map +1 -1
  58. package/schemas/auth.js +2 -0
  59. package/schemas/auth.js.map +1 -1
  60. package/schemas/budget.d.ts +5 -5
  61. package/schemas/budget.d.ts.map +1 -1
  62. package/schemas/budget.js +34 -34
  63. package/schemas/budget.js.map +1 -1
  64. package/schemas/calendar-date.spec.d.ts +2 -0
  65. package/schemas/calendar-date.spec.d.ts.map +1 -0
  66. package/schemas/calendar-date.spec.js +54 -0
  67. package/schemas/calendar-date.spec.js.map +1 -0
  68. package/schemas/cash-flow.d.ts +10 -0
  69. package/schemas/cash-flow.d.ts.map +1 -1
  70. package/schemas/cash-flow.js +2 -0
  71. package/schemas/cash-flow.js.map +1 -1
  72. package/schemas/commercial.d.ts +1 -1
  73. package/schemas/commercial.d.ts.map +1 -1
  74. package/schemas/commercial.js +4 -3
  75. package/schemas/commercial.js.map +1 -1
  76. package/schemas/common.d.ts +3 -0
  77. package/schemas/common.d.ts.map +1 -1
  78. package/schemas/common.js +43 -0
  79. package/schemas/common.js.map +1 -1
  80. package/schemas/communication.d.ts +2 -2
  81. package/schemas/communication.d.ts.map +1 -1
  82. package/schemas/communication.js +4 -1
  83. package/schemas/communication.js.map +1 -1
  84. package/schemas/contractor-ledger.d.ts +2 -2
  85. package/schemas/contractor-ledger.js +3 -3
  86. package/schemas/contractor-ledger.js.map +1 -1
  87. package/schemas/daily-logs.d.ts +35 -7
  88. package/schemas/daily-logs.d.ts.map +1 -1
  89. package/schemas/daily-logs.js +22 -7
  90. package/schemas/daily-logs.js.map +1 -1
  91. package/schemas/deficiencies.d.ts +58 -58
  92. package/schemas/deficiencies.d.ts.map +1 -1
  93. package/schemas/deficiencies.js +11 -11
  94. package/schemas/deficiencies.js.map +1 -1
  95. package/schemas/directory.d.ts +4 -0
  96. package/schemas/directory.d.ts.map +1 -1
  97. package/schemas/directory.js +2 -0
  98. package/schemas/directory.js.map +1 -1
  99. package/schemas/documents.d.ts +4 -4
  100. package/schemas/drawings.d.ts +12 -12
  101. package/schemas/meetings.d.ts +1 -1
  102. package/schemas/meetings.js +2 -2
  103. package/schemas/meetings.js.map +1 -1
  104. package/schemas/packages.d.ts +86 -0
  105. package/schemas/packages.d.ts.map +1 -1
  106. package/schemas/packages.js +8 -0
  107. package/schemas/packages.js.map +1 -1
  108. package/schemas/projects.d.ts +14 -4
  109. package/schemas/projects.d.ts.map +1 -1
  110. package/schemas/projects.js +6 -3
  111. package/schemas/projects.js.map +1 -1
  112. package/schemas/reports.d.ts.map +1 -1
  113. package/schemas/reports.js +14 -7
  114. package/schemas/reports.js.map +1 -1
  115. package/schemas/safety.d.ts +6 -6
  116. package/schemas/safety.js +3 -3
  117. package/schemas/safety.js.map +1 -1
  118. package/schemas/schedule.d.ts +14 -14
  119. package/schemas/schedule.d.ts.map +1 -1
  120. package/schemas/schedule.js +15 -15
  121. package/schemas/schedule.js.map +1 -1
  122. package/schemas/site-links.d.ts +43 -1
  123. package/schemas/site-links.d.ts.map +1 -1
  124. package/schemas/site-links.js +22 -2
  125. package/schemas/site-links.js.map +1 -1
  126. package/schemas/specifications.d.ts +2 -2
  127. package/schemas/tasks.d.ts +13 -13
  128. package/schemas/tasks.d.ts.map +1 -1
  129. package/schemas/tasks.js +32 -31
  130. package/schemas/tasks.js.map +1 -1
  131. package/schemas/timecards.d.ts +98 -4
  132. package/schemas/timecards.d.ts.map +1 -1
  133. package/schemas/timecards.js +6 -4
  134. package/schemas/timecards.js.map +1 -1
  135. package/schemas/transmittals.d.ts +2 -2
  136. package/schemas/transmittals.js +3 -3
  137. package/schemas/transmittals.js.map +1 -1
  138. package/schemas/valuations.d.ts +146 -30
  139. package/schemas/valuations.d.ts.map +1 -1
  140. package/schemas/valuations.js +14 -13
  141. package/schemas/valuations.js.map +1 -1
@@ -167,6 +167,34 @@ export declare const valuationsContract: {
167
167
  certificateId: string;
168
168
  reason?: string | null | undefined;
169
169
  }>, "many">>;
170
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
171
+ id: z.ZodString;
172
+ certificateId: z.ZodString;
173
+ amount: z.ZodNumber;
174
+ paidAt: z.ZodString;
175
+ paidById: z.ZodString;
176
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
177
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
+ createdAt: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ id: string;
181
+ createdAt: string;
182
+ amount: number;
183
+ paidAt: string;
184
+ certificateId: string;
185
+ paidById: string;
186
+ reference?: string | null | undefined;
187
+ notes?: string | null | undefined;
188
+ }, {
189
+ id: string;
190
+ createdAt: string;
191
+ amount: number;
192
+ paidAt: string;
193
+ certificateId: string;
194
+ paidById: string;
195
+ reference?: string | null | undefined;
196
+ notes?: string | null | undefined;
197
+ }>, "many">>;
170
198
  createdAt: z.ZodString;
171
199
  updatedAt: z.ZodString;
172
200
  }, "id">, "strip", z.ZodTypeAny, {
@@ -229,6 +257,16 @@ export declare const valuationsContract: {
229
257
  certifiedById?: string | null | undefined;
230
258
  releaseRef?: string | null | undefined;
231
259
  paymentRef?: string | null | undefined;
260
+ payments?: {
261
+ id: string;
262
+ createdAt: string;
263
+ amount: number;
264
+ paidAt: string;
265
+ certificateId: string;
266
+ paidById: string;
267
+ reference?: string | null | undefined;
268
+ notes?: string | null | undefined;
269
+ }[] | undefined;
232
270
  }, {
233
271
  createdAt: string;
234
272
  updatedAt: string;
@@ -289,6 +327,16 @@ export declare const valuationsContract: {
289
327
  certifiedById?: string | null | undefined;
290
328
  releaseRef?: string | null | undefined;
291
329
  paymentRef?: string | null | undefined;
330
+ payments?: {
331
+ id: string;
332
+ createdAt: string;
333
+ amount: number;
334
+ paidAt: string;
335
+ certificateId: string;
336
+ paidById: string;
337
+ reference?: string | null | undefined;
338
+ notes?: string | null | undefined;
339
+ }[] | undefined;
292
340
  }>;
293
341
  }, "strip", z.ZodTypeAny, {
294
342
  id: string;
@@ -353,6 +401,16 @@ export declare const valuationsContract: {
353
401
  certifiedById?: string | null | undefined;
354
402
  releaseRef?: string | null | undefined;
355
403
  paymentRef?: string | null | undefined;
404
+ payments?: {
405
+ id: string;
406
+ createdAt: string;
407
+ amount: number;
408
+ paidAt: string;
409
+ certificateId: string;
410
+ paidById: string;
411
+ reference?: string | null | undefined;
412
+ notes?: string | null | undefined;
413
+ }[] | undefined;
356
414
  };
357
415
  }, {
358
416
  id: string;
@@ -417,6 +475,16 @@ export declare const valuationsContract: {
417
475
  certifiedById?: string | null | undefined;
418
476
  releaseRef?: string | null | undefined;
419
477
  paymentRef?: string | null | undefined;
478
+ payments?: {
479
+ id: string;
480
+ createdAt: string;
481
+ amount: number;
482
+ paidAt: string;
483
+ certificateId: string;
484
+ paidById: string;
485
+ reference?: string | null | undefined;
486
+ notes?: string | null | undefined;
487
+ }[] | undefined;
420
488
  };
421
489
  }>, "many">;
422
490
  meta: z.ZodOptional<z.ZodObject<{
@@ -524,6 +592,16 @@ export declare const valuationsContract: {
524
592
  certifiedById?: string | null | undefined;
525
593
  releaseRef?: string | null | undefined;
526
594
  paymentRef?: string | null | undefined;
595
+ payments?: {
596
+ id: string;
597
+ createdAt: string;
598
+ amount: number;
599
+ paidAt: string;
600
+ certificateId: string;
601
+ paidById: string;
602
+ reference?: string | null | undefined;
603
+ notes?: string | null | undefined;
604
+ }[] | undefined;
527
605
  };
528
606
  }[];
529
607
  meta?: {
@@ -605,6 +683,16 @@ export declare const valuationsContract: {
605
683
  certifiedById?: string | null | undefined;
606
684
  releaseRef?: string | null | undefined;
607
685
  paymentRef?: string | null | undefined;
686
+ payments?: {
687
+ id: string;
688
+ createdAt: string;
689
+ amount: number;
690
+ paidAt: string;
691
+ certificateId: string;
692
+ paidById: string;
693
+ reference?: string | null | undefined;
694
+ notes?: string | null | undefined;
695
+ }[] | undefined;
608
696
  };
609
697
  }[];
610
698
  meta?: {
@@ -702,8 +790,8 @@ export declare const valuationsContract: {
702
790
  body: z.ZodObject<{
703
791
  workPackageId: z.ZodOptional<z.ZodString>;
704
792
  certificateNumber: z.ZodString;
705
- periodStart: z.ZodString;
706
- periodEnd: z.ZodString;
793
+ periodStart: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
794
+ periodEnd: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
707
795
  retentionPct: z.ZodDefault<z.ZodNumber>;
708
796
  previousCertified: z.ZodDefault<z.ZodNumber>;
709
797
  notes: z.ZodOptional<z.ZodString>;
@@ -868,6 +956,34 @@ export declare const valuationsContract: {
868
956
  certificateId: string;
869
957
  reason?: string | null | undefined;
870
958
  }>, "many">>;
959
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
960
+ id: z.ZodString;
961
+ certificateId: z.ZodString;
962
+ amount: z.ZodNumber;
963
+ paidAt: z.ZodString;
964
+ paidById: z.ZodString;
965
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
966
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
967
+ createdAt: z.ZodString;
968
+ }, "strip", z.ZodTypeAny, {
969
+ id: string;
970
+ createdAt: string;
971
+ amount: number;
972
+ paidAt: string;
973
+ certificateId: string;
974
+ paidById: string;
975
+ reference?: string | null | undefined;
976
+ notes?: string | null | undefined;
977
+ }, {
978
+ id: string;
979
+ createdAt: string;
980
+ amount: number;
981
+ paidAt: string;
982
+ certificateId: string;
983
+ paidById: string;
984
+ reference?: string | null | undefined;
985
+ notes?: string | null | undefined;
986
+ }>, "many">>;
871
987
  createdAt: z.ZodString;
872
988
  updatedAt: z.ZodString;
873
989
  }, "id">, "strip", z.ZodTypeAny, {
@@ -930,6 +1046,16 @@ export declare const valuationsContract: {
930
1046
  certifiedById?: string | null | undefined;
931
1047
  releaseRef?: string | null | undefined;
932
1048
  paymentRef?: string | null | undefined;
1049
+ payments?: {
1050
+ id: string;
1051
+ createdAt: string;
1052
+ amount: number;
1053
+ paidAt: string;
1054
+ certificateId: string;
1055
+ paidById: string;
1056
+ reference?: string | null | undefined;
1057
+ notes?: string | null | undefined;
1058
+ }[] | undefined;
933
1059
  }, {
934
1060
  createdAt: string;
935
1061
  updatedAt: string;
@@ -990,6 +1116,16 @@ export declare const valuationsContract: {
990
1116
  certifiedById?: string | null | undefined;
991
1117
  releaseRef?: string | null | undefined;
992
1118
  paymentRef?: string | null | undefined;
1119
+ payments?: {
1120
+ id: string;
1121
+ createdAt: string;
1122
+ amount: number;
1123
+ paidAt: string;
1124
+ certificateId: string;
1125
+ paidById: string;
1126
+ reference?: string | null | undefined;
1127
+ notes?: string | null | undefined;
1128
+ }[] | undefined;
993
1129
  }>;
994
1130
  }, "strip", z.ZodTypeAny, {
995
1131
  id: string;
@@ -1054,6 +1190,16 @@ export declare const valuationsContract: {
1054
1190
  certifiedById?: string | null | undefined;
1055
1191
  releaseRef?: string | null | undefined;
1056
1192
  paymentRef?: string | null | undefined;
1193
+ payments?: {
1194
+ id: string;
1195
+ createdAt: string;
1196
+ amount: number;
1197
+ paidAt: string;
1198
+ certificateId: string;
1199
+ paidById: string;
1200
+ reference?: string | null | undefined;
1201
+ notes?: string | null | undefined;
1202
+ }[] | undefined;
1057
1203
  };
1058
1204
  }, {
1059
1205
  id: string;
@@ -1118,6 +1264,16 @@ export declare const valuationsContract: {
1118
1264
  certifiedById?: string | null | undefined;
1119
1265
  releaseRef?: string | null | undefined;
1120
1266
  paymentRef?: string | null | undefined;
1267
+ payments?: {
1268
+ id: string;
1269
+ createdAt: string;
1270
+ amount: number;
1271
+ paidAt: string;
1272
+ certificateId: string;
1273
+ paidById: string;
1274
+ reference?: string | null | undefined;
1275
+ notes?: string | null | undefined;
1276
+ }[] | undefined;
1121
1277
  };
1122
1278
  }>;
1123
1279
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1220,6 +1376,16 @@ export declare const valuationsContract: {
1220
1376
  certifiedById?: string | null | undefined;
1221
1377
  releaseRef?: string | null | undefined;
1222
1378
  paymentRef?: string | null | undefined;
1379
+ payments?: {
1380
+ id: string;
1381
+ createdAt: string;
1382
+ amount: number;
1383
+ paidAt: string;
1384
+ certificateId: string;
1385
+ paidById: string;
1386
+ reference?: string | null | undefined;
1387
+ notes?: string | null | undefined;
1388
+ }[] | undefined;
1223
1389
  };
1224
1390
  };
1225
1391
  meta?: Record<string, unknown> | undefined;
@@ -1300,6 +1466,16 @@ export declare const valuationsContract: {
1300
1466
  certifiedById?: string | null | undefined;
1301
1467
  releaseRef?: string | null | undefined;
1302
1468
  paymentRef?: string | null | undefined;
1469
+ payments?: {
1470
+ id: string;
1471
+ createdAt: string;
1472
+ amount: number;
1473
+ paidAt: string;
1474
+ certificateId: string;
1475
+ paidById: string;
1476
+ reference?: string | null | undefined;
1477
+ notes?: string | null | undefined;
1478
+ }[] | undefined;
1303
1479
  };
1304
1480
  };
1305
1481
  meta?: Record<string, unknown> | undefined;
@@ -1569,6 +1745,34 @@ export declare const valuationsContract: {
1569
1745
  certificateId: string;
1570
1746
  reason?: string | null | undefined;
1571
1747
  }>, "many">>;
1748
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1749
+ id: z.ZodString;
1750
+ certificateId: z.ZodString;
1751
+ amount: z.ZodNumber;
1752
+ paidAt: z.ZodString;
1753
+ paidById: z.ZodString;
1754
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1755
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1756
+ createdAt: z.ZodString;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ id: string;
1759
+ createdAt: string;
1760
+ amount: number;
1761
+ paidAt: string;
1762
+ certificateId: string;
1763
+ paidById: string;
1764
+ reference?: string | null | undefined;
1765
+ notes?: string | null | undefined;
1766
+ }, {
1767
+ id: string;
1768
+ createdAt: string;
1769
+ amount: number;
1770
+ paidAt: string;
1771
+ certificateId: string;
1772
+ paidById: string;
1773
+ reference?: string | null | undefined;
1774
+ notes?: string | null | undefined;
1775
+ }>, "many">>;
1572
1776
  createdAt: z.ZodString;
1573
1777
  updatedAt: z.ZodString;
1574
1778
  }, "id">, "strip", z.ZodTypeAny, {
@@ -1631,6 +1835,16 @@ export declare const valuationsContract: {
1631
1835
  certifiedById?: string | null | undefined;
1632
1836
  releaseRef?: string | null | undefined;
1633
1837
  paymentRef?: string | null | undefined;
1838
+ payments?: {
1839
+ id: string;
1840
+ createdAt: string;
1841
+ amount: number;
1842
+ paidAt: string;
1843
+ certificateId: string;
1844
+ paidById: string;
1845
+ reference?: string | null | undefined;
1846
+ notes?: string | null | undefined;
1847
+ }[] | undefined;
1634
1848
  }, {
1635
1849
  createdAt: string;
1636
1850
  updatedAt: string;
@@ -1691,6 +1905,16 @@ export declare const valuationsContract: {
1691
1905
  certifiedById?: string | null | undefined;
1692
1906
  releaseRef?: string | null | undefined;
1693
1907
  paymentRef?: string | null | undefined;
1908
+ payments?: {
1909
+ id: string;
1910
+ createdAt: string;
1911
+ amount: number;
1912
+ paidAt: string;
1913
+ certificateId: string;
1914
+ paidById: string;
1915
+ reference?: string | null | undefined;
1916
+ notes?: string | null | undefined;
1917
+ }[] | undefined;
1694
1918
  }>;
1695
1919
  }, "strip", z.ZodTypeAny, {
1696
1920
  id: string;
@@ -1755,6 +1979,16 @@ export declare const valuationsContract: {
1755
1979
  certifiedById?: string | null | undefined;
1756
1980
  releaseRef?: string | null | undefined;
1757
1981
  paymentRef?: string | null | undefined;
1982
+ payments?: {
1983
+ id: string;
1984
+ createdAt: string;
1985
+ amount: number;
1986
+ paidAt: string;
1987
+ certificateId: string;
1988
+ paidById: string;
1989
+ reference?: string | null | undefined;
1990
+ notes?: string | null | undefined;
1991
+ }[] | undefined;
1758
1992
  };
1759
1993
  }, {
1760
1994
  id: string;
@@ -1819,6 +2053,16 @@ export declare const valuationsContract: {
1819
2053
  certifiedById?: string | null | undefined;
1820
2054
  releaseRef?: string | null | undefined;
1821
2055
  paymentRef?: string | null | undefined;
2056
+ payments?: {
2057
+ id: string;
2058
+ createdAt: string;
2059
+ amount: number;
2060
+ paidAt: string;
2061
+ certificateId: string;
2062
+ paidById: string;
2063
+ reference?: string | null | undefined;
2064
+ notes?: string | null | undefined;
2065
+ }[] | undefined;
1822
2066
  };
1823
2067
  }>;
1824
2068
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1921,6 +2165,16 @@ export declare const valuationsContract: {
1921
2165
  certifiedById?: string | null | undefined;
1922
2166
  releaseRef?: string | null | undefined;
1923
2167
  paymentRef?: string | null | undefined;
2168
+ payments?: {
2169
+ id: string;
2170
+ createdAt: string;
2171
+ amount: number;
2172
+ paidAt: string;
2173
+ certificateId: string;
2174
+ paidById: string;
2175
+ reference?: string | null | undefined;
2176
+ notes?: string | null | undefined;
2177
+ }[] | undefined;
1924
2178
  };
1925
2179
  };
1926
2180
  meta?: Record<string, unknown> | undefined;
@@ -2001,6 +2255,16 @@ export declare const valuationsContract: {
2001
2255
  certifiedById?: string | null | undefined;
2002
2256
  releaseRef?: string | null | undefined;
2003
2257
  paymentRef?: string | null | undefined;
2258
+ payments?: {
2259
+ id: string;
2260
+ createdAt: string;
2261
+ amount: number;
2262
+ paidAt: string;
2263
+ certificateId: string;
2264
+ paidById: string;
2265
+ reference?: string | null | undefined;
2266
+ notes?: string | null | undefined;
2267
+ }[] | undefined;
2004
2268
  };
2005
2269
  };
2006
2270
  meta?: Record<string, unknown> | undefined;
@@ -2356,6 +2620,34 @@ export declare const valuationsContract: {
2356
2620
  certificateId: string;
2357
2621
  reason?: string | null | undefined;
2358
2622
  }>, "many">>;
2623
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2624
+ id: z.ZodString;
2625
+ certificateId: z.ZodString;
2626
+ amount: z.ZodNumber;
2627
+ paidAt: z.ZodString;
2628
+ paidById: z.ZodString;
2629
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2630
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2631
+ createdAt: z.ZodString;
2632
+ }, "strip", z.ZodTypeAny, {
2633
+ id: string;
2634
+ createdAt: string;
2635
+ amount: number;
2636
+ paidAt: string;
2637
+ certificateId: string;
2638
+ paidById: string;
2639
+ reference?: string | null | undefined;
2640
+ notes?: string | null | undefined;
2641
+ }, {
2642
+ id: string;
2643
+ createdAt: string;
2644
+ amount: number;
2645
+ paidAt: string;
2646
+ certificateId: string;
2647
+ paidById: string;
2648
+ reference?: string | null | undefined;
2649
+ notes?: string | null | undefined;
2650
+ }>, "many">>;
2359
2651
  createdAt: z.ZodString;
2360
2652
  updatedAt: z.ZodString;
2361
2653
  }, "id">, "strip", z.ZodTypeAny, {
@@ -2418,6 +2710,16 @@ export declare const valuationsContract: {
2418
2710
  certifiedById?: string | null | undefined;
2419
2711
  releaseRef?: string | null | undefined;
2420
2712
  paymentRef?: string | null | undefined;
2713
+ payments?: {
2714
+ id: string;
2715
+ createdAt: string;
2716
+ amount: number;
2717
+ paidAt: string;
2718
+ certificateId: string;
2719
+ paidById: string;
2720
+ reference?: string | null | undefined;
2721
+ notes?: string | null | undefined;
2722
+ }[] | undefined;
2421
2723
  }, {
2422
2724
  createdAt: string;
2423
2725
  updatedAt: string;
@@ -2478,6 +2780,16 @@ export declare const valuationsContract: {
2478
2780
  certifiedById?: string | null | undefined;
2479
2781
  releaseRef?: string | null | undefined;
2480
2782
  paymentRef?: string | null | undefined;
2783
+ payments?: {
2784
+ id: string;
2785
+ createdAt: string;
2786
+ amount: number;
2787
+ paidAt: string;
2788
+ certificateId: string;
2789
+ paidById: string;
2790
+ reference?: string | null | undefined;
2791
+ notes?: string | null | undefined;
2792
+ }[] | undefined;
2481
2793
  }>;
2482
2794
  }, "strip", z.ZodTypeAny, {
2483
2795
  id: string;
@@ -2542,6 +2854,16 @@ export declare const valuationsContract: {
2542
2854
  certifiedById?: string | null | undefined;
2543
2855
  releaseRef?: string | null | undefined;
2544
2856
  paymentRef?: string | null | undefined;
2857
+ payments?: {
2858
+ id: string;
2859
+ createdAt: string;
2860
+ amount: number;
2861
+ paidAt: string;
2862
+ certificateId: string;
2863
+ paidById: string;
2864
+ reference?: string | null | undefined;
2865
+ notes?: string | null | undefined;
2866
+ }[] | undefined;
2545
2867
  };
2546
2868
  }, {
2547
2869
  id: string;
@@ -2606,6 +2928,16 @@ export declare const valuationsContract: {
2606
2928
  certifiedById?: string | null | undefined;
2607
2929
  releaseRef?: string | null | undefined;
2608
2930
  paymentRef?: string | null | undefined;
2931
+ payments?: {
2932
+ id: string;
2933
+ createdAt: string;
2934
+ amount: number;
2935
+ paidAt: string;
2936
+ certificateId: string;
2937
+ paidById: string;
2938
+ reference?: string | null | undefined;
2939
+ notes?: string | null | undefined;
2940
+ }[] | undefined;
2609
2941
  };
2610
2942
  }>;
2611
2943
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2708,6 +3040,16 @@ export declare const valuationsContract: {
2708
3040
  certifiedById?: string | null | undefined;
2709
3041
  releaseRef?: string | null | undefined;
2710
3042
  paymentRef?: string | null | undefined;
3043
+ payments?: {
3044
+ id: string;
3045
+ createdAt: string;
3046
+ amount: number;
3047
+ paidAt: string;
3048
+ certificateId: string;
3049
+ paidById: string;
3050
+ reference?: string | null | undefined;
3051
+ notes?: string | null | undefined;
3052
+ }[] | undefined;
2711
3053
  };
2712
3054
  };
2713
3055
  meta?: Record<string, unknown> | undefined;
@@ -2788,6 +3130,16 @@ export declare const valuationsContract: {
2788
3130
  certifiedById?: string | null | undefined;
2789
3131
  releaseRef?: string | null | undefined;
2790
3132
  paymentRef?: string | null | undefined;
3133
+ payments?: {
3134
+ id: string;
3135
+ createdAt: string;
3136
+ amount: number;
3137
+ paidAt: string;
3138
+ certificateId: string;
3139
+ paidById: string;
3140
+ reference?: string | null | undefined;
3141
+ notes?: string | null | undefined;
3142
+ }[] | undefined;
2791
3143
  };
2792
3144
  };
2793
3145
  meta?: Record<string, unknown> | undefined;
@@ -3076,6 +3428,34 @@ export declare const valuationsContract: {
3076
3428
  certificateId: string;
3077
3429
  reason?: string | null | undefined;
3078
3430
  }>, "many">>;
3431
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3432
+ id: z.ZodString;
3433
+ certificateId: z.ZodString;
3434
+ amount: z.ZodNumber;
3435
+ paidAt: z.ZodString;
3436
+ paidById: z.ZodString;
3437
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3438
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3439
+ createdAt: z.ZodString;
3440
+ }, "strip", z.ZodTypeAny, {
3441
+ id: string;
3442
+ createdAt: string;
3443
+ amount: number;
3444
+ paidAt: string;
3445
+ certificateId: string;
3446
+ paidById: string;
3447
+ reference?: string | null | undefined;
3448
+ notes?: string | null | undefined;
3449
+ }, {
3450
+ id: string;
3451
+ createdAt: string;
3452
+ amount: number;
3453
+ paidAt: string;
3454
+ certificateId: string;
3455
+ paidById: string;
3456
+ reference?: string | null | undefined;
3457
+ notes?: string | null | undefined;
3458
+ }>, "many">>;
3079
3459
  createdAt: z.ZodString;
3080
3460
  updatedAt: z.ZodString;
3081
3461
  }, "id">, "strip", z.ZodTypeAny, {
@@ -3138,6 +3518,16 @@ export declare const valuationsContract: {
3138
3518
  certifiedById?: string | null | undefined;
3139
3519
  releaseRef?: string | null | undefined;
3140
3520
  paymentRef?: string | null | undefined;
3521
+ payments?: {
3522
+ id: string;
3523
+ createdAt: string;
3524
+ amount: number;
3525
+ paidAt: string;
3526
+ certificateId: string;
3527
+ paidById: string;
3528
+ reference?: string | null | undefined;
3529
+ notes?: string | null | undefined;
3530
+ }[] | undefined;
3141
3531
  }, {
3142
3532
  createdAt: string;
3143
3533
  updatedAt: string;
@@ -3198,6 +3588,16 @@ export declare const valuationsContract: {
3198
3588
  certifiedById?: string | null | undefined;
3199
3589
  releaseRef?: string | null | undefined;
3200
3590
  paymentRef?: string | null | undefined;
3591
+ payments?: {
3592
+ id: string;
3593
+ createdAt: string;
3594
+ amount: number;
3595
+ paidAt: string;
3596
+ certificateId: string;
3597
+ paidById: string;
3598
+ reference?: string | null | undefined;
3599
+ notes?: string | null | undefined;
3600
+ }[] | undefined;
3201
3601
  }>;
3202
3602
  }, "strip", z.ZodTypeAny, {
3203
3603
  id: string;
@@ -3262,6 +3662,16 @@ export declare const valuationsContract: {
3262
3662
  certifiedById?: string | null | undefined;
3263
3663
  releaseRef?: string | null | undefined;
3264
3664
  paymentRef?: string | null | undefined;
3665
+ payments?: {
3666
+ id: string;
3667
+ createdAt: string;
3668
+ amount: number;
3669
+ paidAt: string;
3670
+ certificateId: string;
3671
+ paidById: string;
3672
+ reference?: string | null | undefined;
3673
+ notes?: string | null | undefined;
3674
+ }[] | undefined;
3265
3675
  };
3266
3676
  }, {
3267
3677
  id: string;
@@ -3326,6 +3736,16 @@ export declare const valuationsContract: {
3326
3736
  certifiedById?: string | null | undefined;
3327
3737
  releaseRef?: string | null | undefined;
3328
3738
  paymentRef?: string | null | undefined;
3739
+ payments?: {
3740
+ id: string;
3741
+ createdAt: string;
3742
+ amount: number;
3743
+ paidAt: string;
3744
+ certificateId: string;
3745
+ paidById: string;
3746
+ reference?: string | null | undefined;
3747
+ notes?: string | null | undefined;
3748
+ }[] | undefined;
3329
3749
  };
3330
3750
  }>;
3331
3751
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -3428,6 +3848,16 @@ export declare const valuationsContract: {
3428
3848
  certifiedById?: string | null | undefined;
3429
3849
  releaseRef?: string | null | undefined;
3430
3850
  paymentRef?: string | null | undefined;
3851
+ payments?: {
3852
+ id: string;
3853
+ createdAt: string;
3854
+ amount: number;
3855
+ paidAt: string;
3856
+ certificateId: string;
3857
+ paidById: string;
3858
+ reference?: string | null | undefined;
3859
+ notes?: string | null | undefined;
3860
+ }[] | undefined;
3431
3861
  };
3432
3862
  };
3433
3863
  meta?: Record<string, unknown> | undefined;
@@ -3508,6 +3938,16 @@ export declare const valuationsContract: {
3508
3938
  certifiedById?: string | null | undefined;
3509
3939
  releaseRef?: string | null | undefined;
3510
3940
  paymentRef?: string | null | undefined;
3941
+ payments?: {
3942
+ id: string;
3943
+ createdAt: string;
3944
+ amount: number;
3945
+ paidAt: string;
3946
+ certificateId: string;
3947
+ paidById: string;
3948
+ reference?: string | null | undefined;
3949
+ notes?: string | null | undefined;
3950
+ }[] | undefined;
3511
3951
  };
3512
3952
  };
3513
3953
  meta?: Record<string, unknown> | undefined;
@@ -3784,6 +4224,34 @@ export declare const valuationsContract: {
3784
4224
  certificateId: string;
3785
4225
  reason?: string | null | undefined;
3786
4226
  }>, "many">>;
4227
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
4228
+ id: z.ZodString;
4229
+ certificateId: z.ZodString;
4230
+ amount: z.ZodNumber;
4231
+ paidAt: z.ZodString;
4232
+ paidById: z.ZodString;
4233
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4234
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4235
+ createdAt: z.ZodString;
4236
+ }, "strip", z.ZodTypeAny, {
4237
+ id: string;
4238
+ createdAt: string;
4239
+ amount: number;
4240
+ paidAt: string;
4241
+ certificateId: string;
4242
+ paidById: string;
4243
+ reference?: string | null | undefined;
4244
+ notes?: string | null | undefined;
4245
+ }, {
4246
+ id: string;
4247
+ createdAt: string;
4248
+ amount: number;
4249
+ paidAt: string;
4250
+ certificateId: string;
4251
+ paidById: string;
4252
+ reference?: string | null | undefined;
4253
+ notes?: string | null | undefined;
4254
+ }>, "many">>;
3787
4255
  createdAt: z.ZodString;
3788
4256
  updatedAt: z.ZodString;
3789
4257
  }, "id">, "strip", z.ZodTypeAny, {
@@ -3846,6 +4314,16 @@ export declare const valuationsContract: {
3846
4314
  certifiedById?: string | null | undefined;
3847
4315
  releaseRef?: string | null | undefined;
3848
4316
  paymentRef?: string | null | undefined;
4317
+ payments?: {
4318
+ id: string;
4319
+ createdAt: string;
4320
+ amount: number;
4321
+ paidAt: string;
4322
+ certificateId: string;
4323
+ paidById: string;
4324
+ reference?: string | null | undefined;
4325
+ notes?: string | null | undefined;
4326
+ }[] | undefined;
3849
4327
  }, {
3850
4328
  createdAt: string;
3851
4329
  updatedAt: string;
@@ -3906,6 +4384,16 @@ export declare const valuationsContract: {
3906
4384
  certifiedById?: string | null | undefined;
3907
4385
  releaseRef?: string | null | undefined;
3908
4386
  paymentRef?: string | null | undefined;
4387
+ payments?: {
4388
+ id: string;
4389
+ createdAt: string;
4390
+ amount: number;
4391
+ paidAt: string;
4392
+ certificateId: string;
4393
+ paidById: string;
4394
+ reference?: string | null | undefined;
4395
+ notes?: string | null | undefined;
4396
+ }[] | undefined;
3909
4397
  }>;
3910
4398
  }, "strip", z.ZodTypeAny, {
3911
4399
  id: string;
@@ -3970,6 +4458,16 @@ export declare const valuationsContract: {
3970
4458
  certifiedById?: string | null | undefined;
3971
4459
  releaseRef?: string | null | undefined;
3972
4460
  paymentRef?: string | null | undefined;
4461
+ payments?: {
4462
+ id: string;
4463
+ createdAt: string;
4464
+ amount: number;
4465
+ paidAt: string;
4466
+ certificateId: string;
4467
+ paidById: string;
4468
+ reference?: string | null | undefined;
4469
+ notes?: string | null | undefined;
4470
+ }[] | undefined;
3973
4471
  };
3974
4472
  }, {
3975
4473
  id: string;
@@ -4034,6 +4532,16 @@ export declare const valuationsContract: {
4034
4532
  certifiedById?: string | null | undefined;
4035
4533
  releaseRef?: string | null | undefined;
4036
4534
  paymentRef?: string | null | undefined;
4535
+ payments?: {
4536
+ id: string;
4537
+ createdAt: string;
4538
+ amount: number;
4539
+ paidAt: string;
4540
+ certificateId: string;
4541
+ paidById: string;
4542
+ reference?: string | null | undefined;
4543
+ notes?: string | null | undefined;
4544
+ }[] | undefined;
4037
4545
  };
4038
4546
  }>;
4039
4547
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4136,6 +4644,16 @@ export declare const valuationsContract: {
4136
4644
  certifiedById?: string | null | undefined;
4137
4645
  releaseRef?: string | null | undefined;
4138
4646
  paymentRef?: string | null | undefined;
4647
+ payments?: {
4648
+ id: string;
4649
+ createdAt: string;
4650
+ amount: number;
4651
+ paidAt: string;
4652
+ certificateId: string;
4653
+ paidById: string;
4654
+ reference?: string | null | undefined;
4655
+ notes?: string | null | undefined;
4656
+ }[] | undefined;
4139
4657
  };
4140
4658
  };
4141
4659
  meta?: Record<string, unknown> | undefined;
@@ -4216,6 +4734,16 @@ export declare const valuationsContract: {
4216
4734
  certifiedById?: string | null | undefined;
4217
4735
  releaseRef?: string | null | undefined;
4218
4736
  paymentRef?: string | null | undefined;
4737
+ payments?: {
4738
+ id: string;
4739
+ createdAt: string;
4740
+ amount: number;
4741
+ paidAt: string;
4742
+ certificateId: string;
4743
+ paidById: string;
4744
+ reference?: string | null | undefined;
4745
+ notes?: string | null | undefined;
4746
+ }[] | undefined;
4219
4747
  };
4220
4748
  };
4221
4749
  meta?: Record<string, unknown> | undefined;
@@ -4495,6 +5023,34 @@ export declare const valuationsContract: {
4495
5023
  certificateId: string;
4496
5024
  reason?: string | null | undefined;
4497
5025
  }>, "many">>;
5026
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
5027
+ id: z.ZodString;
5028
+ certificateId: z.ZodString;
5029
+ amount: z.ZodNumber;
5030
+ paidAt: z.ZodString;
5031
+ paidById: z.ZodString;
5032
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5033
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5034
+ createdAt: z.ZodString;
5035
+ }, "strip", z.ZodTypeAny, {
5036
+ id: string;
5037
+ createdAt: string;
5038
+ amount: number;
5039
+ paidAt: string;
5040
+ certificateId: string;
5041
+ paidById: string;
5042
+ reference?: string | null | undefined;
5043
+ notes?: string | null | undefined;
5044
+ }, {
5045
+ id: string;
5046
+ createdAt: string;
5047
+ amount: number;
5048
+ paidAt: string;
5049
+ certificateId: string;
5050
+ paidById: string;
5051
+ reference?: string | null | undefined;
5052
+ notes?: string | null | undefined;
5053
+ }>, "many">>;
4498
5054
  createdAt: z.ZodString;
4499
5055
  updatedAt: z.ZodString;
4500
5056
  }, "id">, "strip", z.ZodTypeAny, {
@@ -4557,6 +5113,16 @@ export declare const valuationsContract: {
4557
5113
  certifiedById?: string | null | undefined;
4558
5114
  releaseRef?: string | null | undefined;
4559
5115
  paymentRef?: string | null | undefined;
5116
+ payments?: {
5117
+ id: string;
5118
+ createdAt: string;
5119
+ amount: number;
5120
+ paidAt: string;
5121
+ certificateId: string;
5122
+ paidById: string;
5123
+ reference?: string | null | undefined;
5124
+ notes?: string | null | undefined;
5125
+ }[] | undefined;
4560
5126
  }, {
4561
5127
  createdAt: string;
4562
5128
  updatedAt: string;
@@ -4617,6 +5183,16 @@ export declare const valuationsContract: {
4617
5183
  certifiedById?: string | null | undefined;
4618
5184
  releaseRef?: string | null | undefined;
4619
5185
  paymentRef?: string | null | undefined;
5186
+ payments?: {
5187
+ id: string;
5188
+ createdAt: string;
5189
+ amount: number;
5190
+ paidAt: string;
5191
+ certificateId: string;
5192
+ paidById: string;
5193
+ reference?: string | null | undefined;
5194
+ notes?: string | null | undefined;
5195
+ }[] | undefined;
4620
5196
  }>;
4621
5197
  }, "strip", z.ZodTypeAny, {
4622
5198
  id: string;
@@ -4681,6 +5257,16 @@ export declare const valuationsContract: {
4681
5257
  certifiedById?: string | null | undefined;
4682
5258
  releaseRef?: string | null | undefined;
4683
5259
  paymentRef?: string | null | undefined;
5260
+ payments?: {
5261
+ id: string;
5262
+ createdAt: string;
5263
+ amount: number;
5264
+ paidAt: string;
5265
+ certificateId: string;
5266
+ paidById: string;
5267
+ reference?: string | null | undefined;
5268
+ notes?: string | null | undefined;
5269
+ }[] | undefined;
4684
5270
  };
4685
5271
  }, {
4686
5272
  id: string;
@@ -4745,6 +5331,16 @@ export declare const valuationsContract: {
4745
5331
  certifiedById?: string | null | undefined;
4746
5332
  releaseRef?: string | null | undefined;
4747
5333
  paymentRef?: string | null | undefined;
5334
+ payments?: {
5335
+ id: string;
5336
+ createdAt: string;
5337
+ amount: number;
5338
+ paidAt: string;
5339
+ certificateId: string;
5340
+ paidById: string;
5341
+ reference?: string | null | undefined;
5342
+ notes?: string | null | undefined;
5343
+ }[] | undefined;
4748
5344
  };
4749
5345
  }>;
4750
5346
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -4847,6 +5443,16 @@ export declare const valuationsContract: {
4847
5443
  certifiedById?: string | null | undefined;
4848
5444
  releaseRef?: string | null | undefined;
4849
5445
  paymentRef?: string | null | undefined;
5446
+ payments?: {
5447
+ id: string;
5448
+ createdAt: string;
5449
+ amount: number;
5450
+ paidAt: string;
5451
+ certificateId: string;
5452
+ paidById: string;
5453
+ reference?: string | null | undefined;
5454
+ notes?: string | null | undefined;
5455
+ }[] | undefined;
4850
5456
  };
4851
5457
  };
4852
5458
  meta?: Record<string, unknown> | undefined;
@@ -4927,6 +5533,16 @@ export declare const valuationsContract: {
4927
5533
  certifiedById?: string | null | undefined;
4928
5534
  releaseRef?: string | null | undefined;
4929
5535
  paymentRef?: string | null | undefined;
5536
+ payments?: {
5537
+ id: string;
5538
+ createdAt: string;
5539
+ amount: number;
5540
+ paidAt: string;
5541
+ certificateId: string;
5542
+ paidById: string;
5543
+ reference?: string | null | undefined;
5544
+ notes?: string | null | undefined;
5545
+ }[] | undefined;
4930
5546
  };
4931
5547
  };
4932
5548
  meta?: Record<string, unknown> | undefined;
@@ -5203,6 +5819,34 @@ export declare const valuationsContract: {
5203
5819
  certificateId: string;
5204
5820
  reason?: string | null | undefined;
5205
5821
  }>, "many">>;
5822
+ payments: z.ZodOptional<z.ZodArray<z.ZodObject<{
5823
+ id: z.ZodString;
5824
+ certificateId: z.ZodString;
5825
+ amount: z.ZodNumber;
5826
+ paidAt: z.ZodString;
5827
+ paidById: z.ZodString;
5828
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5829
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5830
+ createdAt: z.ZodString;
5831
+ }, "strip", z.ZodTypeAny, {
5832
+ id: string;
5833
+ createdAt: string;
5834
+ amount: number;
5835
+ paidAt: string;
5836
+ certificateId: string;
5837
+ paidById: string;
5838
+ reference?: string | null | undefined;
5839
+ notes?: string | null | undefined;
5840
+ }, {
5841
+ id: string;
5842
+ createdAt: string;
5843
+ amount: number;
5844
+ paidAt: string;
5845
+ certificateId: string;
5846
+ paidById: string;
5847
+ reference?: string | null | undefined;
5848
+ notes?: string | null | undefined;
5849
+ }>, "many">>;
5206
5850
  createdAt: z.ZodString;
5207
5851
  updatedAt: z.ZodString;
5208
5852
  }, "id">, "strip", z.ZodTypeAny, {
@@ -5265,6 +5909,16 @@ export declare const valuationsContract: {
5265
5909
  certifiedById?: string | null | undefined;
5266
5910
  releaseRef?: string | null | undefined;
5267
5911
  paymentRef?: string | null | undefined;
5912
+ payments?: {
5913
+ id: string;
5914
+ createdAt: string;
5915
+ amount: number;
5916
+ paidAt: string;
5917
+ certificateId: string;
5918
+ paidById: string;
5919
+ reference?: string | null | undefined;
5920
+ notes?: string | null | undefined;
5921
+ }[] | undefined;
5268
5922
  }, {
5269
5923
  createdAt: string;
5270
5924
  updatedAt: string;
@@ -5325,6 +5979,16 @@ export declare const valuationsContract: {
5325
5979
  certifiedById?: string | null | undefined;
5326
5980
  releaseRef?: string | null | undefined;
5327
5981
  paymentRef?: string | null | undefined;
5982
+ payments?: {
5983
+ id: string;
5984
+ createdAt: string;
5985
+ amount: number;
5986
+ paidAt: string;
5987
+ certificateId: string;
5988
+ paidById: string;
5989
+ reference?: string | null | undefined;
5990
+ notes?: string | null | undefined;
5991
+ }[] | undefined;
5328
5992
  }>;
5329
5993
  }, "strip", z.ZodTypeAny, {
5330
5994
  id: string;
@@ -5389,6 +6053,16 @@ export declare const valuationsContract: {
5389
6053
  certifiedById?: string | null | undefined;
5390
6054
  releaseRef?: string | null | undefined;
5391
6055
  paymentRef?: string | null | undefined;
6056
+ payments?: {
6057
+ id: string;
6058
+ createdAt: string;
6059
+ amount: number;
6060
+ paidAt: string;
6061
+ certificateId: string;
6062
+ paidById: string;
6063
+ reference?: string | null | undefined;
6064
+ notes?: string | null | undefined;
6065
+ }[] | undefined;
5392
6066
  };
5393
6067
  }, {
5394
6068
  id: string;
@@ -5453,6 +6127,16 @@ export declare const valuationsContract: {
5453
6127
  certifiedById?: string | null | undefined;
5454
6128
  releaseRef?: string | null | undefined;
5455
6129
  paymentRef?: string | null | undefined;
6130
+ payments?: {
6131
+ id: string;
6132
+ createdAt: string;
6133
+ amount: number;
6134
+ paidAt: string;
6135
+ certificateId: string;
6136
+ paidById: string;
6137
+ reference?: string | null | undefined;
6138
+ notes?: string | null | undefined;
6139
+ }[] | undefined;
5456
6140
  };
5457
6141
  }>;
5458
6142
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5555,6 +6239,16 @@ export declare const valuationsContract: {
5555
6239
  certifiedById?: string | null | undefined;
5556
6240
  releaseRef?: string | null | undefined;
5557
6241
  paymentRef?: string | null | undefined;
6242
+ payments?: {
6243
+ id: string;
6244
+ createdAt: string;
6245
+ amount: number;
6246
+ paidAt: string;
6247
+ certificateId: string;
6248
+ paidById: string;
6249
+ reference?: string | null | undefined;
6250
+ notes?: string | null | undefined;
6251
+ }[] | undefined;
5558
6252
  };
5559
6253
  };
5560
6254
  meta?: Record<string, unknown> | undefined;
@@ -5635,6 +6329,16 @@ export declare const valuationsContract: {
5635
6329
  certifiedById?: string | null | undefined;
5636
6330
  releaseRef?: string | null | undefined;
5637
6331
  paymentRef?: string | null | undefined;
6332
+ payments?: {
6333
+ id: string;
6334
+ createdAt: string;
6335
+ amount: number;
6336
+ paidAt: string;
6337
+ certificateId: string;
6338
+ paidById: string;
6339
+ reference?: string | null | undefined;
6340
+ notes?: string | null | undefined;
6341
+ }[] | undefined;
5638
6342
  };
5639
6343
  };
5640
6344
  meta?: Record<string, unknown> | undefined;
@@ -7353,6 +8057,7 @@ export declare const valuationsContract: {
7353
8057
  attributes: z.ZodObject<{
7354
8058
  projectId: z.ZodString;
7355
8059
  currency: z.ZodString;
8060
+ requireClientApproval: z.ZodOptional<z.ZodBoolean>;
7356
8061
  boqTotal: z.ZodNumber;
7357
8062
  cumulativeCertified: z.ZodNumber;
7358
8063
  cumulativeReleased: z.ZodNumber;
@@ -7368,6 +8073,7 @@ export declare const valuationsContract: {
7368
8073
  cumulativeCertified: number;
7369
8074
  cumulativeReleased: number;
7370
8075
  cumulativePaid: number;
8076
+ requireClientApproval?: boolean | undefined;
7371
8077
  practicalCompletionDate?: string | null | undefined;
7372
8078
  defectsLiabilityMonths?: number | null | undefined;
7373
8079
  }, {
@@ -7378,6 +8084,7 @@ export declare const valuationsContract: {
7378
8084
  cumulativeCertified: number;
7379
8085
  cumulativeReleased: number;
7380
8086
  cumulativePaid: number;
8087
+ requireClientApproval?: boolean | undefined;
7381
8088
  practicalCompletionDate?: string | null | undefined;
7382
8089
  defectsLiabilityMonths?: number | null | undefined;
7383
8090
  }>;
@@ -7392,6 +8099,7 @@ export declare const valuationsContract: {
7392
8099
  cumulativeCertified: number;
7393
8100
  cumulativeReleased: number;
7394
8101
  cumulativePaid: number;
8102
+ requireClientApproval?: boolean | undefined;
7395
8103
  practicalCompletionDate?: string | null | undefined;
7396
8104
  defectsLiabilityMonths?: number | null | undefined;
7397
8105
  };
@@ -7406,6 +8114,7 @@ export declare const valuationsContract: {
7406
8114
  cumulativeCertified: number;
7407
8115
  cumulativeReleased: number;
7408
8116
  cumulativePaid: number;
8117
+ requireClientApproval?: boolean | undefined;
7409
8118
  practicalCompletionDate?: string | null | undefined;
7410
8119
  defectsLiabilityMonths?: number | null | undefined;
7411
8120
  };
@@ -7458,6 +8167,7 @@ export declare const valuationsContract: {
7458
8167
  cumulativeCertified: number;
7459
8168
  cumulativeReleased: number;
7460
8169
  cumulativePaid: number;
8170
+ requireClientApproval?: boolean | undefined;
7461
8171
  practicalCompletionDate?: string | null | undefined;
7462
8172
  defectsLiabilityMonths?: number | null | undefined;
7463
8173
  };
@@ -7488,6 +8198,7 @@ export declare const valuationsContract: {
7488
8198
  cumulativeCertified: number;
7489
8199
  cumulativeReleased: number;
7490
8200
  cumulativePaid: number;
8201
+ requireClientApproval?: boolean | undefined;
7491
8202
  practicalCompletionDate?: string | null | undefined;
7492
8203
  defectsLiabilityMonths?: number | null | undefined;
7493
8204
  };