@deepintel-ltd/buildlink-api-contracts 0.2.23

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 (278) hide show
  1. package/README.md +27 -0
  2. package/contracts/auth.d.ts +3641 -0
  3. package/contracts/auth.d.ts.map +1 -0
  4. package/contracts/auth.js +266 -0
  5. package/contracts/auth.js.map +1 -0
  6. package/contracts/billing.d.ts +2167 -0
  7. package/contracts/billing.d.ts.map +1 -0
  8. package/contracts/billing.js +55 -0
  9. package/contracts/billing.js.map +1 -0
  10. package/contracts/boq.d.ts +1214 -0
  11. package/contracts/boq.d.ts.map +1 -0
  12. package/contracts/boq.js +31 -0
  13. package/contracts/boq.js.map +1 -0
  14. package/contracts/budget.d.ts +10677 -0
  15. package/contracts/budget.d.ts.map +1 -0
  16. package/contracts/budget.js +599 -0
  17. package/contracts/budget.js.map +1 -0
  18. package/contracts/commercial.d.ts +1475 -0
  19. package/contracts/commercial.d.ts.map +1 -0
  20. package/contracts/commercial.js +40 -0
  21. package/contracts/commercial.js.map +1 -0
  22. package/contracts/communication.d.ts +5389 -0
  23. package/contracts/communication.d.ts.map +1 -0
  24. package/contracts/communication.js +255 -0
  25. package/contracts/communication.js.map +1 -0
  26. package/contracts/contractor-ledger.d.ts +1293 -0
  27. package/contracts/contractor-ledger.d.ts.map +1 -0
  28. package/contracts/contractor-ledger.js +41 -0
  29. package/contracts/contractor-ledger.js.map +1 -0
  30. package/contracts/daily-logs.d.ts +9132 -0
  31. package/contracts/daily-logs.d.ts.map +1 -0
  32. package/contracts/daily-logs.js +188 -0
  33. package/contracts/daily-logs.js.map +1 -0
  34. package/contracts/deficiencies.d.ts +11786 -0
  35. package/contracts/deficiencies.d.ts.map +1 -0
  36. package/contracts/deficiencies.js +312 -0
  37. package/contracts/deficiencies.js.map +1 -0
  38. package/contracts/directory.d.ts +3116 -0
  39. package/contracts/directory.d.ts.map +1 -0
  40. package/contracts/directory.js +117 -0
  41. package/contracts/directory.js.map +1 -0
  42. package/contracts/documents.d.ts +4944 -0
  43. package/contracts/documents.d.ts.map +1 -0
  44. package/contracts/documents.js +251 -0
  45. package/contracts/documents.js.map +1 -0
  46. package/contracts/drawings.d.ts +10552 -0
  47. package/contracts/drawings.d.ts.map +1 -0
  48. package/contracts/drawings.js +321 -0
  49. package/contracts/drawings.js.map +1 -0
  50. package/contracts/hub.d.ts +1174 -0
  51. package/contracts/hub.d.ts.map +1 -0
  52. package/contracts/hub.js +42 -0
  53. package/contracts/hub.js.map +1 -0
  54. package/contracts/index.d.ts +128 -0
  55. package/contracts/index.d.ts.map +1 -0
  56. package/contracts/index.js +119 -0
  57. package/contracts/index.js.map +1 -0
  58. package/contracts/integrations.d.ts +4163 -0
  59. package/contracts/integrations.d.ts.map +1 -0
  60. package/contracts/integrations.js +326 -0
  61. package/contracts/integrations.js.map +1 -0
  62. package/contracts/maps.d.ts +4911 -0
  63. package/contracts/maps.d.ts.map +1 -0
  64. package/contracts/maps.js +276 -0
  65. package/contracts/maps.js.map +1 -0
  66. package/contracts/meetings.d.ts +4194 -0
  67. package/contracts/meetings.d.ts.map +1 -0
  68. package/contracts/meetings.js +115 -0
  69. package/contracts/meetings.js.map +1 -0
  70. package/contracts/monitoring.d.ts +2749 -0
  71. package/contracts/monitoring.d.ts.map +1 -0
  72. package/contracts/monitoring.js +289 -0
  73. package/contracts/monitoring.js.map +1 -0
  74. package/contracts/packages.d.ts +1470 -0
  75. package/contracts/packages.d.ts.map +1 -0
  76. package/contracts/packages.js +74 -0
  77. package/contracts/packages.js.map +1 -0
  78. package/contracts/projects.d.ts +6281 -0
  79. package/contracts/projects.d.ts.map +1 -0
  80. package/contracts/projects.js +448 -0
  81. package/contracts/projects.js.map +1 -0
  82. package/contracts/proof.d.ts +962 -0
  83. package/contracts/proof.d.ts.map +1 -0
  84. package/contracts/proof.js +34 -0
  85. package/contracts/proof.js.map +1 -0
  86. package/contracts/qaqc.d.ts +1184 -0
  87. package/contracts/qaqc.d.ts.map +1 -0
  88. package/contracts/qaqc.js +35 -0
  89. package/contracts/qaqc.js.map +1 -0
  90. package/contracts/rbac.d.ts +5227 -0
  91. package/contracts/rbac.d.ts.map +1 -0
  92. package/contracts/rbac.js +357 -0
  93. package/contracts/rbac.js.map +1 -0
  94. package/contracts/reports.d.ts +8468 -0
  95. package/contracts/reports.d.ts.map +1 -0
  96. package/contracts/reports.js +377 -0
  97. package/contracts/reports.js.map +1 -0
  98. package/contracts/resources.d.ts +15870 -0
  99. package/contracts/resources.d.ts.map +1 -0
  100. package/contracts/resources.js +869 -0
  101. package/contracts/resources.js.map +1 -0
  102. package/contracts/rfi-submittal.d.ts +2545 -0
  103. package/contracts/rfi-submittal.d.ts.map +1 -0
  104. package/contracts/rfi-submittal.js +159 -0
  105. package/contracts/rfi-submittal.js.map +1 -0
  106. package/contracts/safety.d.ts +7162 -0
  107. package/contracts/safety.d.ts.map +1 -0
  108. package/contracts/safety.js +519 -0
  109. package/contracts/safety.js.map +1 -0
  110. package/contracts/schedule.d.ts +9456 -0
  111. package/contracts/schedule.d.ts.map +1 -0
  112. package/contracts/schedule.js +460 -0
  113. package/contracts/schedule.js.map +1 -0
  114. package/contracts/spec-equal.d.ts +841 -0
  115. package/contracts/spec-equal.d.ts.map +1 -0
  116. package/contracts/spec-equal.js +28 -0
  117. package/contracts/spec-equal.js.map +1 -0
  118. package/contracts/specifications.d.ts +15478 -0
  119. package/contracts/specifications.d.ts.map +1 -0
  120. package/contracts/specifications.js +521 -0
  121. package/contracts/specifications.js.map +1 -0
  122. package/contracts/tasks.d.ts +11037 -0
  123. package/contracts/tasks.d.ts.map +1 -0
  124. package/contracts/tasks.js +693 -0
  125. package/contracts/tasks.js.map +1 -0
  126. package/contracts/timecards.d.ts +3130 -0
  127. package/contracts/timecards.d.ts.map +1 -0
  128. package/contracts/timecards.js +133 -0
  129. package/contracts/timecards.js.map +1 -0
  130. package/contracts/transmittals.d.ts +3921 -0
  131. package/contracts/transmittals.d.ts.map +1 -0
  132. package/contracts/transmittals.js +156 -0
  133. package/contracts/transmittals.js.map +1 -0
  134. package/contracts/valuations.d.ts +3266 -0
  135. package/contracts/valuations.d.ts.map +1 -0
  136. package/contracts/valuations.js +116 -0
  137. package/contracts/valuations.js.map +1 -0
  138. package/package.json +216 -0
  139. package/schemas/auth.d.ts +449 -0
  140. package/schemas/auth.d.ts.map +1 -0
  141. package/schemas/auth.js +103 -0
  142. package/schemas/auth.js.map +1 -0
  143. package/schemas/billing.d.ts +710 -0
  144. package/schemas/billing.d.ts.map +1 -0
  145. package/schemas/billing.js +82 -0
  146. package/schemas/billing.js.map +1 -0
  147. package/schemas/boq.d.ts +385 -0
  148. package/schemas/boq.d.ts.map +1 -0
  149. package/schemas/boq.js +49 -0
  150. package/schemas/boq.js.map +1 -0
  151. package/schemas/budget.d.ts +737 -0
  152. package/schemas/budget.d.ts.map +1 -0
  153. package/schemas/budget.js +272 -0
  154. package/schemas/budget.js.map +1 -0
  155. package/schemas/commercial.d.ts +358 -0
  156. package/schemas/commercial.d.ts.map +1 -0
  157. package/schemas/commercial.js +36 -0
  158. package/schemas/commercial.js.map +1 -0
  159. package/schemas/common.d.ts +865 -0
  160. package/schemas/common.d.ts.map +1 -0
  161. package/schemas/common.js +193 -0
  162. package/schemas/common.js.map +1 -0
  163. package/schemas/communication.d.ts +884 -0
  164. package/schemas/communication.d.ts.map +1 -0
  165. package/schemas/communication.js +245 -0
  166. package/schemas/communication.js.map +1 -0
  167. package/schemas/contractor-ledger.d.ts +364 -0
  168. package/schemas/contractor-ledger.d.ts.map +1 -0
  169. package/schemas/contractor-ledger.js +36 -0
  170. package/schemas/contractor-ledger.js.map +1 -0
  171. package/schemas/cursor-pagination.d.ts +258 -0
  172. package/schemas/cursor-pagination.d.ts.map +1 -0
  173. package/schemas/cursor-pagination.js +84 -0
  174. package/schemas/cursor-pagination.js.map +1 -0
  175. package/schemas/daily-logs.d.ts +2339 -0
  176. package/schemas/daily-logs.d.ts.map +1 -0
  177. package/schemas/daily-logs.js +235 -0
  178. package/schemas/daily-logs.js.map +1 -0
  179. package/schemas/deficiencies.d.ts +2496 -0
  180. package/schemas/deficiencies.d.ts.map +1 -0
  181. package/schemas/deficiencies.js +338 -0
  182. package/schemas/deficiencies.js.map +1 -0
  183. package/schemas/directory.d.ts +783 -0
  184. package/schemas/directory.d.ts.map +1 -0
  185. package/schemas/directory.js +122 -0
  186. package/schemas/directory.js.map +1 -0
  187. package/schemas/documents.d.ts +202 -0
  188. package/schemas/documents.d.ts.map +1 -0
  189. package/schemas/documents.js +76 -0
  190. package/schemas/documents.js.map +1 -0
  191. package/schemas/drawings.d.ts +2042 -0
  192. package/schemas/drawings.d.ts.map +1 -0
  193. package/schemas/drawings.js +350 -0
  194. package/schemas/drawings.js.map +1 -0
  195. package/schemas/hub.d.ts +288 -0
  196. package/schemas/hub.d.ts.map +1 -0
  197. package/schemas/hub.js +32 -0
  198. package/schemas/hub.js.map +1 -0
  199. package/schemas/integrations.d.ts +508 -0
  200. package/schemas/integrations.d.ts.map +1 -0
  201. package/schemas/integrations.js +119 -0
  202. package/schemas/integrations.js.map +1 -0
  203. package/schemas/maps.d.ts +793 -0
  204. package/schemas/maps.d.ts.map +1 -0
  205. package/schemas/maps.js +118 -0
  206. package/schemas/maps.js.map +1 -0
  207. package/schemas/meetings.d.ts +888 -0
  208. package/schemas/meetings.d.ts.map +1 -0
  209. package/schemas/meetings.js +138 -0
  210. package/schemas/meetings.js.map +1 -0
  211. package/schemas/packages.d.ts +236 -0
  212. package/schemas/packages.d.ts.map +1 -0
  213. package/schemas/packages.js +53 -0
  214. package/schemas/packages.js.map +1 -0
  215. package/schemas/projects.d.ts +306 -0
  216. package/schemas/projects.d.ts.map +1 -0
  217. package/schemas/projects.js +92 -0
  218. package/schemas/projects.js.map +1 -0
  219. package/schemas/proof.d.ts +210 -0
  220. package/schemas/proof.d.ts.map +1 -0
  221. package/schemas/proof.js +26 -0
  222. package/schemas/proof.js.map +1 -0
  223. package/schemas/qaqc.d.ts +235 -0
  224. package/schemas/qaqc.d.ts.map +1 -0
  225. package/schemas/qaqc.js +47 -0
  226. package/schemas/qaqc.js.map +1 -0
  227. package/schemas/rbac.d.ts +730 -0
  228. package/schemas/rbac.d.ts.map +1 -0
  229. package/schemas/rbac.js +230 -0
  230. package/schemas/rbac.js.map +1 -0
  231. package/schemas/reports.d.ts +5729 -0
  232. package/schemas/reports.d.ts.map +1 -0
  233. package/schemas/reports.js +589 -0
  234. package/schemas/reports.js.map +1 -0
  235. package/schemas/resources.d.ts +5190 -0
  236. package/schemas/resources.d.ts.map +1 -0
  237. package/schemas/resources.js +678 -0
  238. package/schemas/resources.js.map +1 -0
  239. package/schemas/rfi.d.ts +877 -0
  240. package/schemas/rfi.d.ts.map +1 -0
  241. package/schemas/rfi.js +84 -0
  242. package/schemas/rfi.js.map +1 -0
  243. package/schemas/safety.d.ts +1080 -0
  244. package/schemas/safety.d.ts.map +1 -0
  245. package/schemas/safety.js +237 -0
  246. package/schemas/safety.js.map +1 -0
  247. package/schemas/schedule.d.ts +4657 -0
  248. package/schemas/schedule.d.ts.map +1 -0
  249. package/schemas/schedule.js +441 -0
  250. package/schemas/schedule.js.map +1 -0
  251. package/schemas/spec-equal.d.ts +162 -0
  252. package/schemas/spec-equal.d.ts.map +1 -0
  253. package/schemas/spec-equal.js +29 -0
  254. package/schemas/spec-equal.js.map +1 -0
  255. package/schemas/specifications.d.ts +5241 -0
  256. package/schemas/specifications.d.ts.map +1 -0
  257. package/schemas/specifications.js +426 -0
  258. package/schemas/specifications.js.map +1 -0
  259. package/schemas/submittal.d.ts +867 -0
  260. package/schemas/submittal.d.ts.map +1 -0
  261. package/schemas/submittal.js +87 -0
  262. package/schemas/submittal.js.map +1 -0
  263. package/schemas/tasks.d.ts +610 -0
  264. package/schemas/tasks.d.ts.map +1 -0
  265. package/schemas/tasks.js +133 -0
  266. package/schemas/tasks.js.map +1 -0
  267. package/schemas/timecards.d.ts +618 -0
  268. package/schemas/timecards.d.ts.map +1 -0
  269. package/schemas/timecards.js +80 -0
  270. package/schemas/timecards.js.map +1 -0
  271. package/schemas/transmittals.d.ts +662 -0
  272. package/schemas/transmittals.d.ts.map +1 -0
  273. package/schemas/transmittals.js +132 -0
  274. package/schemas/transmittals.js.map +1 -0
  275. package/schemas/valuations.d.ts +713 -0
  276. package/schemas/valuations.d.ts.map +1 -0
  277. package/schemas/valuations.js +116 -0
  278. package/schemas/valuations.js.map +1 -0
@@ -0,0 +1,713 @@
1
+ import { z } from 'zod';
2
+ export declare const ValuationCertStatusSchema: z.ZodEnum<["DRAFT", "SUBMITTED", "CERTIFIED", "AMENDED", "REJECTED", "PAID"]>;
3
+ export declare const ClaimLineStatusSchema: z.ZodEnum<["CLAIMED", "CERTIFIED", "AMENDED", "REJECTED"]>;
4
+ export declare const VariationStatusSchema: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
5
+ export declare const ValuationClaimLineSchema: z.ZodObject<{
6
+ id: z.ZodString;
7
+ certificateId: z.ZodString;
8
+ boqLineId: z.ZodString;
9
+ qtySupplyClaimed: z.ZodNumber;
10
+ qtyInstallClaimed: z.ZodNumber;
11
+ qtySupplyCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ qtyInstallCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ amountClaimed: z.ZodNumber;
14
+ amountCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ status: z.ZodEnum<["CLAIMED", "CERTIFIED", "AMENDED", "REJECTED"]>;
16
+ mosEvidenceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ qsNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ id: string;
20
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
21
+ certificateId: string;
22
+ boqLineId: string;
23
+ qtySupplyClaimed: number;
24
+ qtyInstallClaimed: number;
25
+ amountClaimed: number;
26
+ qtySupplyCertified?: number | null | undefined;
27
+ qtyInstallCertified?: number | null | undefined;
28
+ amountCertified?: number | null | undefined;
29
+ mosEvidenceUrl?: string | null | undefined;
30
+ qsNotes?: string | null | undefined;
31
+ }, {
32
+ id: string;
33
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
34
+ certificateId: string;
35
+ boqLineId: string;
36
+ qtySupplyClaimed: number;
37
+ qtyInstallClaimed: number;
38
+ amountClaimed: number;
39
+ qtySupplyCertified?: number | null | undefined;
40
+ qtyInstallCertified?: number | null | undefined;
41
+ amountCertified?: number | null | undefined;
42
+ mosEvidenceUrl?: string | null | undefined;
43
+ qsNotes?: string | null | undefined;
44
+ }>;
45
+ export declare const ValuationCertificateSchema: z.ZodObject<{
46
+ id: z.ZodString;
47
+ projectId: z.ZodString;
48
+ companyId: z.ZodString;
49
+ workPackageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ certificateNumber: z.ZodString;
51
+ periodStart: z.ZodString;
52
+ periodEnd: z.ZodString;
53
+ status: z.ZodEnum<["DRAFT", "SUBMITTED", "CERTIFIED", "AMENDED", "REJECTED", "PAID"]>;
54
+ retentionPct: z.ZodNumber;
55
+ grossAmount: z.ZodNumber;
56
+ previousCertified: z.ZodNumber;
57
+ retentionAmount: z.ZodNumber;
58
+ netPayable: z.ZodNumber;
59
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ submittedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ certifiedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ certifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ paidAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ paymentRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
66
+ id: z.ZodString;
67
+ certificateId: z.ZodString;
68
+ boqLineId: z.ZodString;
69
+ qtySupplyClaimed: z.ZodNumber;
70
+ qtyInstallClaimed: z.ZodNumber;
71
+ qtySupplyCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
+ qtyInstallCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
73
+ amountClaimed: z.ZodNumber;
74
+ amountCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ status: z.ZodEnum<["CLAIMED", "CERTIFIED", "AMENDED", "REJECTED"]>;
76
+ mosEvidenceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
+ qsNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ id: string;
80
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
81
+ certificateId: string;
82
+ boqLineId: string;
83
+ qtySupplyClaimed: number;
84
+ qtyInstallClaimed: number;
85
+ amountClaimed: number;
86
+ qtySupplyCertified?: number | null | undefined;
87
+ qtyInstallCertified?: number | null | undefined;
88
+ amountCertified?: number | null | undefined;
89
+ mosEvidenceUrl?: string | null | undefined;
90
+ qsNotes?: string | null | undefined;
91
+ }, {
92
+ id: string;
93
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
94
+ certificateId: string;
95
+ boqLineId: string;
96
+ qtySupplyClaimed: number;
97
+ qtyInstallClaimed: number;
98
+ amountClaimed: number;
99
+ qtySupplyCertified?: number | null | undefined;
100
+ qtyInstallCertified?: number | null | undefined;
101
+ amountCertified?: number | null | undefined;
102
+ mosEvidenceUrl?: string | null | undefined;
103
+ qsNotes?: string | null | undefined;
104
+ }>, "many">>;
105
+ createdAt: z.ZodString;
106
+ updatedAt: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ id: string;
109
+ createdAt: string;
110
+ updatedAt: string;
111
+ companyId: string;
112
+ status: "SUBMITTED" | "REJECTED" | "PAID" | "DRAFT" | "CERTIFIED" | "AMENDED";
113
+ projectId: string;
114
+ periodStart: string;
115
+ periodEnd: string;
116
+ certificateNumber: string;
117
+ retentionPct: number;
118
+ grossAmount: number;
119
+ previousCertified: number;
120
+ retentionAmount: number;
121
+ netPayable: number;
122
+ paidAt?: string | null | undefined;
123
+ workPackageId?: string | null | undefined;
124
+ lines?: {
125
+ id: string;
126
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
127
+ certificateId: string;
128
+ boqLineId: string;
129
+ qtySupplyClaimed: number;
130
+ qtyInstallClaimed: number;
131
+ amountClaimed: number;
132
+ qtySupplyCertified?: number | null | undefined;
133
+ qtyInstallCertified?: number | null | undefined;
134
+ amountCertified?: number | null | undefined;
135
+ mosEvidenceUrl?: string | null | undefined;
136
+ qsNotes?: string | null | undefined;
137
+ }[] | undefined;
138
+ notes?: string | null | undefined;
139
+ submittedById?: string | null | undefined;
140
+ certifiedById?: string | null | undefined;
141
+ certifiedAt?: string | null | undefined;
142
+ paymentRef?: string | null | undefined;
143
+ }, {
144
+ id: string;
145
+ createdAt: string;
146
+ updatedAt: string;
147
+ companyId: string;
148
+ status: "SUBMITTED" | "REJECTED" | "PAID" | "DRAFT" | "CERTIFIED" | "AMENDED";
149
+ projectId: string;
150
+ periodStart: string;
151
+ periodEnd: string;
152
+ certificateNumber: string;
153
+ retentionPct: number;
154
+ grossAmount: number;
155
+ previousCertified: number;
156
+ retentionAmount: number;
157
+ netPayable: number;
158
+ paidAt?: string | null | undefined;
159
+ workPackageId?: string | null | undefined;
160
+ lines?: {
161
+ id: string;
162
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
163
+ certificateId: string;
164
+ boqLineId: string;
165
+ qtySupplyClaimed: number;
166
+ qtyInstallClaimed: number;
167
+ amountClaimed: number;
168
+ qtySupplyCertified?: number | null | undefined;
169
+ qtyInstallCertified?: number | null | undefined;
170
+ amountCertified?: number | null | undefined;
171
+ mosEvidenceUrl?: string | null | undefined;
172
+ qsNotes?: string | null | undefined;
173
+ }[] | undefined;
174
+ notes?: string | null | undefined;
175
+ submittedById?: string | null | undefined;
176
+ certifiedById?: string | null | undefined;
177
+ certifiedAt?: string | null | undefined;
178
+ paymentRef?: string | null | undefined;
179
+ }>;
180
+ export declare const CreateCertificateRequestSchema: z.ZodObject<{
181
+ workPackageId: z.ZodOptional<z.ZodString>;
182
+ certificateNumber: z.ZodString;
183
+ periodStart: z.ZodString;
184
+ periodEnd: z.ZodString;
185
+ retentionPct: z.ZodDefault<z.ZodNumber>;
186
+ previousCertified: z.ZodDefault<z.ZodNumber>;
187
+ notes: z.ZodOptional<z.ZodString>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ periodStart: string;
190
+ periodEnd: string;
191
+ certificateNumber: string;
192
+ retentionPct: number;
193
+ previousCertified: number;
194
+ workPackageId?: string | undefined;
195
+ notes?: string | undefined;
196
+ }, {
197
+ periodStart: string;
198
+ periodEnd: string;
199
+ certificateNumber: string;
200
+ workPackageId?: string | undefined;
201
+ notes?: string | undefined;
202
+ retentionPct?: number | undefined;
203
+ previousCertified?: number | undefined;
204
+ }>;
205
+ export declare const ClaimLineRequestSchema: z.ZodObject<{
206
+ boqLineId: z.ZodString;
207
+ qtySupplyClaimed: z.ZodNumber;
208
+ qtyInstallClaimed: z.ZodNumber;
209
+ mosEvidenceUrl: z.ZodOptional<z.ZodString>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ boqLineId: string;
212
+ qtySupplyClaimed: number;
213
+ qtyInstallClaimed: number;
214
+ mosEvidenceUrl?: string | undefined;
215
+ }, {
216
+ boqLineId: string;
217
+ qtySupplyClaimed: number;
218
+ qtyInstallClaimed: number;
219
+ mosEvidenceUrl?: string | undefined;
220
+ }>;
221
+ export declare const SubmitClaimsRequestSchema: z.ZodObject<{
222
+ lines: z.ZodArray<z.ZodObject<{
223
+ boqLineId: z.ZodString;
224
+ qtySupplyClaimed: z.ZodNumber;
225
+ qtyInstallClaimed: z.ZodNumber;
226
+ mosEvidenceUrl: z.ZodOptional<z.ZodString>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ boqLineId: string;
229
+ qtySupplyClaimed: number;
230
+ qtyInstallClaimed: number;
231
+ mosEvidenceUrl?: string | undefined;
232
+ }, {
233
+ boqLineId: string;
234
+ qtySupplyClaimed: number;
235
+ qtyInstallClaimed: number;
236
+ mosEvidenceUrl?: string | undefined;
237
+ }>, "many">;
238
+ }, "strip", z.ZodTypeAny, {
239
+ lines: {
240
+ boqLineId: string;
241
+ qtySupplyClaimed: number;
242
+ qtyInstallClaimed: number;
243
+ mosEvidenceUrl?: string | undefined;
244
+ }[];
245
+ }, {
246
+ lines: {
247
+ boqLineId: string;
248
+ qtySupplyClaimed: number;
249
+ qtyInstallClaimed: number;
250
+ mosEvidenceUrl?: string | undefined;
251
+ }[];
252
+ }>;
253
+ export declare const CertifyLineRequestSchema: z.ZodObject<{
254
+ action: z.ZodEnum<["CERTIFY", "AMEND", "REJECT"]>;
255
+ qtySupplyCertified: z.ZodOptional<z.ZodNumber>;
256
+ qtyInstallCertified: z.ZodOptional<z.ZodNumber>;
257
+ qsNotes: z.ZodOptional<z.ZodString>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ action: "REJECT" | "CERTIFY" | "AMEND";
260
+ qtySupplyCertified?: number | undefined;
261
+ qtyInstallCertified?: number | undefined;
262
+ qsNotes?: string | undefined;
263
+ }, {
264
+ action: "REJECT" | "CERTIFY" | "AMEND";
265
+ qtySupplyCertified?: number | undefined;
266
+ qtyInstallCertified?: number | undefined;
267
+ qsNotes?: string | undefined;
268
+ }>;
269
+ export declare const RecordPaymentRequestSchema: z.ZodObject<{
270
+ amount: z.ZodNumber;
271
+ paidAt: z.ZodString;
272
+ reference: z.ZodOptional<z.ZodString>;
273
+ notes: z.ZodOptional<z.ZodString>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ amount: number;
276
+ paidAt: string;
277
+ reference?: string | undefined;
278
+ notes?: string | undefined;
279
+ }, {
280
+ amount: number;
281
+ paidAt: string;
282
+ reference?: string | undefined;
283
+ notes?: string | undefined;
284
+ }>;
285
+ export declare const VariationSchema: z.ZodObject<{
286
+ id: z.ZodString;
287
+ projectId: z.ZodString;
288
+ companyId: z.ZodString;
289
+ workPackageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
+ title: z.ZodString;
291
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ amount: z.ZodNumber;
293
+ status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
294
+ createdById: z.ZodString;
295
+ createdAt: z.ZodString;
296
+ updatedAt: z.ZodString;
297
+ }, "strip", z.ZodTypeAny, {
298
+ id: string;
299
+ createdAt: string;
300
+ updatedAt: string;
301
+ companyId: string;
302
+ status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
303
+ title: string;
304
+ projectId: string;
305
+ amount: number;
306
+ createdById: string;
307
+ description?: string | null | undefined;
308
+ workPackageId?: string | null | undefined;
309
+ }, {
310
+ id: string;
311
+ createdAt: string;
312
+ updatedAt: string;
313
+ companyId: string;
314
+ status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
315
+ title: string;
316
+ projectId: string;
317
+ amount: number;
318
+ createdById: string;
319
+ description?: string | null | undefined;
320
+ workPackageId?: string | null | undefined;
321
+ }>;
322
+ export declare const CreateVariationRequestSchema: z.ZodObject<{
323
+ workPackageId: z.ZodOptional<z.ZodString>;
324
+ title: z.ZodString;
325
+ description: z.ZodOptional<z.ZodString>;
326
+ amount: z.ZodNumber;
327
+ }, "strip", z.ZodTypeAny, {
328
+ title: string;
329
+ amount: number;
330
+ description?: string | undefined;
331
+ workPackageId?: string | undefined;
332
+ }, {
333
+ title: string;
334
+ amount: number;
335
+ description?: string | undefined;
336
+ workPackageId?: string | undefined;
337
+ }>;
338
+ export declare const ValuationCertificateResourceSchema: z.ZodObject<{
339
+ type: z.ZodLiteral<"valuation-certificates">;
340
+ id: z.ZodString;
341
+ attributes: z.ZodObject<Omit<{
342
+ id: z.ZodString;
343
+ projectId: z.ZodString;
344
+ companyId: z.ZodString;
345
+ workPackageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
346
+ certificateNumber: z.ZodString;
347
+ periodStart: z.ZodString;
348
+ periodEnd: z.ZodString;
349
+ status: z.ZodEnum<["DRAFT", "SUBMITTED", "CERTIFIED", "AMENDED", "REJECTED", "PAID"]>;
350
+ retentionPct: z.ZodNumber;
351
+ grossAmount: z.ZodNumber;
352
+ previousCertified: z.ZodNumber;
353
+ retentionAmount: z.ZodNumber;
354
+ netPayable: z.ZodNumber;
355
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
356
+ submittedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
357
+ certifiedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
+ certifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
+ paidAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
360
+ paymentRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
+ lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
362
+ id: z.ZodString;
363
+ certificateId: z.ZodString;
364
+ boqLineId: z.ZodString;
365
+ qtySupplyClaimed: z.ZodNumber;
366
+ qtyInstallClaimed: z.ZodNumber;
367
+ qtySupplyCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
368
+ qtyInstallCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
369
+ amountClaimed: z.ZodNumber;
370
+ amountCertified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
371
+ status: z.ZodEnum<["CLAIMED", "CERTIFIED", "AMENDED", "REJECTED"]>;
372
+ mosEvidenceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
373
+ qsNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
374
+ }, "strip", z.ZodTypeAny, {
375
+ id: string;
376
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
377
+ certificateId: string;
378
+ boqLineId: string;
379
+ qtySupplyClaimed: number;
380
+ qtyInstallClaimed: number;
381
+ amountClaimed: number;
382
+ qtySupplyCertified?: number | null | undefined;
383
+ qtyInstallCertified?: number | null | undefined;
384
+ amountCertified?: number | null | undefined;
385
+ mosEvidenceUrl?: string | null | undefined;
386
+ qsNotes?: string | null | undefined;
387
+ }, {
388
+ id: string;
389
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
390
+ certificateId: string;
391
+ boqLineId: string;
392
+ qtySupplyClaimed: number;
393
+ qtyInstallClaimed: number;
394
+ amountClaimed: number;
395
+ qtySupplyCertified?: number | null | undefined;
396
+ qtyInstallCertified?: number | null | undefined;
397
+ amountCertified?: number | null | undefined;
398
+ mosEvidenceUrl?: string | null | undefined;
399
+ qsNotes?: string | null | undefined;
400
+ }>, "many">>;
401
+ createdAt: z.ZodString;
402
+ updatedAt: z.ZodString;
403
+ }, "id">, "strip", z.ZodTypeAny, {
404
+ createdAt: string;
405
+ updatedAt: string;
406
+ companyId: string;
407
+ status: "SUBMITTED" | "REJECTED" | "PAID" | "DRAFT" | "CERTIFIED" | "AMENDED";
408
+ projectId: string;
409
+ periodStart: string;
410
+ periodEnd: string;
411
+ certificateNumber: string;
412
+ retentionPct: number;
413
+ grossAmount: number;
414
+ previousCertified: number;
415
+ retentionAmount: number;
416
+ netPayable: number;
417
+ paidAt?: string | null | undefined;
418
+ workPackageId?: string | null | undefined;
419
+ lines?: {
420
+ id: string;
421
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
422
+ certificateId: string;
423
+ boqLineId: string;
424
+ qtySupplyClaimed: number;
425
+ qtyInstallClaimed: number;
426
+ amountClaimed: number;
427
+ qtySupplyCertified?: number | null | undefined;
428
+ qtyInstallCertified?: number | null | undefined;
429
+ amountCertified?: number | null | undefined;
430
+ mosEvidenceUrl?: string | null | undefined;
431
+ qsNotes?: string | null | undefined;
432
+ }[] | undefined;
433
+ notes?: string | null | undefined;
434
+ submittedById?: string | null | undefined;
435
+ certifiedById?: string | null | undefined;
436
+ certifiedAt?: string | null | undefined;
437
+ paymentRef?: string | null | undefined;
438
+ }, {
439
+ createdAt: string;
440
+ updatedAt: string;
441
+ companyId: string;
442
+ status: "SUBMITTED" | "REJECTED" | "PAID" | "DRAFT" | "CERTIFIED" | "AMENDED";
443
+ projectId: string;
444
+ periodStart: string;
445
+ periodEnd: string;
446
+ certificateNumber: string;
447
+ retentionPct: number;
448
+ grossAmount: number;
449
+ previousCertified: number;
450
+ retentionAmount: number;
451
+ netPayable: number;
452
+ paidAt?: string | null | undefined;
453
+ workPackageId?: string | null | undefined;
454
+ lines?: {
455
+ id: string;
456
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
457
+ certificateId: string;
458
+ boqLineId: string;
459
+ qtySupplyClaimed: number;
460
+ qtyInstallClaimed: number;
461
+ amountClaimed: number;
462
+ qtySupplyCertified?: number | null | undefined;
463
+ qtyInstallCertified?: number | null | undefined;
464
+ amountCertified?: number | null | undefined;
465
+ mosEvidenceUrl?: string | null | undefined;
466
+ qsNotes?: string | null | undefined;
467
+ }[] | undefined;
468
+ notes?: string | null | undefined;
469
+ submittedById?: string | null | undefined;
470
+ certifiedById?: string | null | undefined;
471
+ certifiedAt?: string | null | undefined;
472
+ paymentRef?: string | null | undefined;
473
+ }>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ id: string;
476
+ type: "valuation-certificates";
477
+ attributes: {
478
+ createdAt: string;
479
+ updatedAt: string;
480
+ companyId: string;
481
+ status: "SUBMITTED" | "REJECTED" | "PAID" | "DRAFT" | "CERTIFIED" | "AMENDED";
482
+ projectId: string;
483
+ periodStart: string;
484
+ periodEnd: string;
485
+ certificateNumber: string;
486
+ retentionPct: number;
487
+ grossAmount: number;
488
+ previousCertified: number;
489
+ retentionAmount: number;
490
+ netPayable: number;
491
+ paidAt?: string | null | undefined;
492
+ workPackageId?: string | null | undefined;
493
+ lines?: {
494
+ id: string;
495
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
496
+ certificateId: string;
497
+ boqLineId: string;
498
+ qtySupplyClaimed: number;
499
+ qtyInstallClaimed: number;
500
+ amountClaimed: number;
501
+ qtySupplyCertified?: number | null | undefined;
502
+ qtyInstallCertified?: number | null | undefined;
503
+ amountCertified?: number | null | undefined;
504
+ mosEvidenceUrl?: string | null | undefined;
505
+ qsNotes?: string | null | undefined;
506
+ }[] | undefined;
507
+ notes?: string | null | undefined;
508
+ submittedById?: string | null | undefined;
509
+ certifiedById?: string | null | undefined;
510
+ certifiedAt?: string | null | undefined;
511
+ paymentRef?: string | null | undefined;
512
+ };
513
+ }, {
514
+ id: string;
515
+ type: "valuation-certificates";
516
+ attributes: {
517
+ createdAt: string;
518
+ updatedAt: string;
519
+ companyId: string;
520
+ status: "SUBMITTED" | "REJECTED" | "PAID" | "DRAFT" | "CERTIFIED" | "AMENDED";
521
+ projectId: string;
522
+ periodStart: string;
523
+ periodEnd: string;
524
+ certificateNumber: string;
525
+ retentionPct: number;
526
+ grossAmount: number;
527
+ previousCertified: number;
528
+ retentionAmount: number;
529
+ netPayable: number;
530
+ paidAt?: string | null | undefined;
531
+ workPackageId?: string | null | undefined;
532
+ lines?: {
533
+ id: string;
534
+ status: "REJECTED" | "CERTIFIED" | "AMENDED" | "CLAIMED";
535
+ certificateId: string;
536
+ boqLineId: string;
537
+ qtySupplyClaimed: number;
538
+ qtyInstallClaimed: number;
539
+ amountClaimed: number;
540
+ qtySupplyCertified?: number | null | undefined;
541
+ qtyInstallCertified?: number | null | undefined;
542
+ amountCertified?: number | null | undefined;
543
+ mosEvidenceUrl?: string | null | undefined;
544
+ qsNotes?: string | null | undefined;
545
+ }[] | undefined;
546
+ notes?: string | null | undefined;
547
+ submittedById?: string | null | undefined;
548
+ certifiedById?: string | null | undefined;
549
+ certifiedAt?: string | null | undefined;
550
+ paymentRef?: string | null | undefined;
551
+ };
552
+ }>;
553
+ export declare const VariationResourceSchema: z.ZodObject<{
554
+ type: z.ZodLiteral<"variations">;
555
+ id: z.ZodString;
556
+ attributes: z.ZodObject<Omit<{
557
+ id: z.ZodString;
558
+ projectId: z.ZodString;
559
+ companyId: z.ZodString;
560
+ workPackageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
561
+ title: z.ZodString;
562
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
563
+ amount: z.ZodNumber;
564
+ status: z.ZodEnum<["DRAFT", "SUBMITTED", "APPROVED", "REJECTED"]>;
565
+ createdById: z.ZodString;
566
+ createdAt: z.ZodString;
567
+ updatedAt: z.ZodString;
568
+ }, "id">, "strip", z.ZodTypeAny, {
569
+ createdAt: string;
570
+ updatedAt: string;
571
+ companyId: string;
572
+ status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
573
+ title: string;
574
+ projectId: string;
575
+ amount: number;
576
+ createdById: string;
577
+ description?: string | null | undefined;
578
+ workPackageId?: string | null | undefined;
579
+ }, {
580
+ createdAt: string;
581
+ updatedAt: string;
582
+ companyId: string;
583
+ status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
584
+ title: string;
585
+ projectId: string;
586
+ amount: number;
587
+ createdById: string;
588
+ description?: string | null | undefined;
589
+ workPackageId?: string | null | undefined;
590
+ }>;
591
+ }, "strip", z.ZodTypeAny, {
592
+ id: string;
593
+ type: "variations";
594
+ attributes: {
595
+ createdAt: string;
596
+ updatedAt: string;
597
+ companyId: string;
598
+ status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
599
+ title: string;
600
+ projectId: string;
601
+ amount: number;
602
+ createdById: string;
603
+ description?: string | null | undefined;
604
+ workPackageId?: string | null | undefined;
605
+ };
606
+ }, {
607
+ id: string;
608
+ type: "variations";
609
+ attributes: {
610
+ createdAt: string;
611
+ updatedAt: string;
612
+ companyId: string;
613
+ status: "SUBMITTED" | "APPROVED" | "REJECTED" | "DRAFT";
614
+ title: string;
615
+ projectId: string;
616
+ amount: number;
617
+ createdById: string;
618
+ description?: string | null | undefined;
619
+ workPackageId?: string | null | undefined;
620
+ };
621
+ }>;
622
+ export declare const ValuationPaymentSchema: z.ZodObject<{
623
+ id: z.ZodString;
624
+ certificateId: z.ZodString;
625
+ amount: z.ZodNumber;
626
+ paidAt: z.ZodString;
627
+ paidById: z.ZodString;
628
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
629
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
630
+ createdAt: z.ZodString;
631
+ }, "strip", z.ZodTypeAny, {
632
+ id: string;
633
+ createdAt: string;
634
+ amount: number;
635
+ paidAt: string;
636
+ certificateId: string;
637
+ paidById: string;
638
+ reference?: string | null | undefined;
639
+ notes?: string | null | undefined;
640
+ }, {
641
+ id: string;
642
+ createdAt: string;
643
+ amount: number;
644
+ paidAt: string;
645
+ certificateId: string;
646
+ paidById: string;
647
+ reference?: string | null | undefined;
648
+ notes?: string | null | undefined;
649
+ }>;
650
+ export declare const ValuationPaymentResourceSchema: z.ZodObject<{
651
+ type: z.ZodLiteral<"valuation-payments">;
652
+ id: z.ZodString;
653
+ attributes: z.ZodObject<Omit<{
654
+ id: z.ZodString;
655
+ certificateId: z.ZodString;
656
+ amount: z.ZodNumber;
657
+ paidAt: z.ZodString;
658
+ paidById: z.ZodString;
659
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
661
+ createdAt: z.ZodString;
662
+ }, "id">, "strip", z.ZodTypeAny, {
663
+ createdAt: string;
664
+ amount: number;
665
+ paidAt: string;
666
+ certificateId: string;
667
+ paidById: string;
668
+ reference?: string | null | undefined;
669
+ notes?: string | null | undefined;
670
+ }, {
671
+ createdAt: string;
672
+ amount: number;
673
+ paidAt: string;
674
+ certificateId: string;
675
+ paidById: string;
676
+ reference?: string | null | undefined;
677
+ notes?: string | null | undefined;
678
+ }>;
679
+ }, "strip", z.ZodTypeAny, {
680
+ id: string;
681
+ type: "valuation-payments";
682
+ attributes: {
683
+ createdAt: string;
684
+ amount: number;
685
+ paidAt: string;
686
+ certificateId: string;
687
+ paidById: string;
688
+ reference?: string | null | undefined;
689
+ notes?: string | null | undefined;
690
+ };
691
+ }, {
692
+ id: string;
693
+ type: "valuation-payments";
694
+ attributes: {
695
+ createdAt: string;
696
+ amount: number;
697
+ paidAt: string;
698
+ certificateId: string;
699
+ paidById: string;
700
+ reference?: string | null | undefined;
701
+ notes?: string | null | undefined;
702
+ };
703
+ }>;
704
+ export type ValuationCertificate = z.infer<typeof ValuationCertificateSchema>;
705
+ export type ValuationClaimLine = z.infer<typeof ValuationClaimLineSchema>;
706
+ export type CreateCertificateRequest = z.infer<typeof CreateCertificateRequestSchema>;
707
+ export type SubmitClaimsRequest = z.infer<typeof SubmitClaimsRequestSchema>;
708
+ export type CertifyLineRequest = z.infer<typeof CertifyLineRequestSchema>;
709
+ export type RecordPaymentRequest = z.infer<typeof RecordPaymentRequestSchema>;
710
+ export type Variation = z.infer<typeof VariationSchema>;
711
+ export type CreateVariationRequest = z.infer<typeof CreateVariationRequestSchema>;
712
+ export type ValuationPayment = z.infer<typeof ValuationPaymentSchema>;
713
+ //# sourceMappingURL=valuations.d.ts.map