@deepintel-ltd/buildlink-api-contracts 0.2.25 → 0.2.26

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 (179) hide show
  1. package/README.md +1 -1
  2. package/contracts/auth.d.ts +32 -32
  3. package/contracts/boq.d.ts +117 -0
  4. package/contracts/boq.d.ts.map +1 -1
  5. package/contracts/boq.js +33 -5
  6. package/contracts/boq.js.map +1 -1
  7. package/contracts/client-progress.d.ts +493 -0
  8. package/contracts/client-progress.d.ts.map +1 -0
  9. package/contracts/client-progress.js +20 -0
  10. package/contracts/client-progress.js.map +1 -0
  11. package/contracts/commercial.d.ts +309 -310
  12. package/contracts/commercial.d.ts.map +1 -1
  13. package/contracts/commercial.js +44 -14
  14. package/contracts/commercial.js.map +1 -1
  15. package/contracts/communication.d.ts +64 -64
  16. package/contracts/contractor-ledger.d.ts +525 -8
  17. package/contracts/contractor-ledger.d.ts.map +1 -1
  18. package/contracts/contractor-ledger.js +61 -12
  19. package/contracts/contractor-ledger.js.map +1 -1
  20. package/contracts/daily-logs.d.ts +1288 -0
  21. package/contracts/daily-logs.d.ts.map +1 -1
  22. package/contracts/daily-logs.js.map +1 -1
  23. package/contracts/dashboard.d.ts +411 -0
  24. package/contracts/dashboard.d.ts.map +1 -0
  25. package/contracts/dashboard.js +16 -0
  26. package/contracts/dashboard.js.map +1 -0
  27. package/contracts/deficiencies.d.ts +110 -110
  28. package/contracts/documents.d.ts +600 -1
  29. package/contracts/documents.d.ts.map +1 -1
  30. package/contracts/documents.js +37 -2
  31. package/contracts/documents.js.map +1 -1
  32. package/contracts/drawings.d.ts +532 -532
  33. package/contracts/hub.d.ts.map +1 -1
  34. package/contracts/hub.js +37 -12
  35. package/contracts/hub.js.map +1 -1
  36. package/contracts/index.d.ts +25 -10
  37. package/contracts/index.d.ts.map +1 -1
  38. package/contracts/index.js +23 -8
  39. package/contracts/index.js.map +1 -1
  40. package/contracts/material-index.d.ts +560 -0
  41. package/contracts/material-index.d.ts.map +1 -0
  42. package/contracts/material-index.js +31 -0
  43. package/contracts/material-index.js.map +1 -0
  44. package/contracts/meetings.d.ts +136 -136
  45. package/contracts/projects.d.ts +141 -93
  46. package/contracts/projects.d.ts.map +1 -1
  47. package/contracts/proof.d.ts +24 -24
  48. package/contracts/proof.d.ts.map +1 -1
  49. package/contracts/proof.js +29 -10
  50. package/contracts/proof.js.map +1 -1
  51. package/contracts/qaqc.d.ts +18 -18
  52. package/contracts/qaqc.d.ts.map +1 -1
  53. package/contracts/qaqc.js +37 -11
  54. package/contracts/qaqc.js.map +1 -1
  55. package/contracts/rbac.d.ts +49 -49
  56. package/contracts/reports.d.ts +72 -624
  57. package/contracts/reports.d.ts.map +1 -1
  58. package/contracts/reports.js.map +1 -1
  59. package/contracts/resources.d.ts +10 -10
  60. package/contracts/safety.d.ts +164 -164
  61. package/contracts/schedule.d.ts +68 -68
  62. package/contracts/site-links.d.ts +641 -0
  63. package/contracts/site-links.d.ts.map +1 -0
  64. package/contracts/site-links.js +48 -0
  65. package/contracts/site-links.js.map +1 -0
  66. package/contracts/spec-equal.d.ts.map +1 -1
  67. package/contracts/spec-equal.js +23 -8
  68. package/contracts/spec-equal.js.map +1 -1
  69. package/contracts/specifications.d.ts +296 -296
  70. package/contracts/tasks.d.ts +110 -110
  71. package/contracts/tours.d.ts +503 -0
  72. package/contracts/tours.d.ts.map +1 -0
  73. package/contracts/tours.js +39 -0
  74. package/contracts/tours.js.map +1 -0
  75. package/contracts/transmittals.d.ts +64 -64
  76. package/contracts/valuations-extras.d.ts +758 -0
  77. package/contracts/valuations-extras.d.ts.map +1 -0
  78. package/contracts/valuations-extras.js +61 -0
  79. package/contracts/valuations-extras.js.map +1 -0
  80. package/contracts/valuations.d.ts +4425 -559
  81. package/contracts/valuations.d.ts.map +1 -1
  82. package/contracts/valuations.js +93 -2
  83. package/contracts/valuations.js.map +1 -1
  84. package/package.json +31 -1
  85. package/schemas/auth.d.ts +13 -13
  86. package/schemas/boq.d.ts +23 -0
  87. package/schemas/boq.d.ts.map +1 -1
  88. package/schemas/boq.js +2 -0
  89. package/schemas/boq.js.map +1 -1
  90. package/schemas/cash-flow.d.ts +99 -0
  91. package/schemas/cash-flow.d.ts.map +1 -0
  92. package/schemas/cash-flow.js +21 -0
  93. package/schemas/cash-flow.js.map +1 -0
  94. package/schemas/client-progress.d.ts +436 -0
  95. package/schemas/client-progress.d.ts.map +1 -0
  96. package/schemas/client-progress.js +45 -0
  97. package/schemas/client-progress.js.map +1 -0
  98. package/schemas/commercial.d.ts.map +1 -1
  99. package/schemas/commercial.js +56 -19
  100. package/schemas/commercial.js.map +1 -1
  101. package/schemas/common.d.ts +3 -3
  102. package/schemas/common.d.ts.map +1 -1
  103. package/schemas/common.js +8 -7
  104. package/schemas/common.js.map +1 -1
  105. package/schemas/communication.d.ts +10 -10
  106. package/schemas/contractor-ledger.d.ts +245 -8
  107. package/schemas/contractor-ledger.d.ts.map +1 -1
  108. package/schemas/contractor-ledger.js +108 -19
  109. package/schemas/contractor-ledger.js.map +1 -1
  110. package/schemas/cursor-pagination.d.ts +2 -2
  111. package/schemas/daily-logs.d.ts +420 -0
  112. package/schemas/daily-logs.d.ts.map +1 -1
  113. package/schemas/daily-logs.js +9 -0
  114. package/schemas/daily-logs.js.map +1 -1
  115. package/schemas/dashboard.d.ts +455 -0
  116. package/schemas/dashboard.d.ts.map +1 -0
  117. package/schemas/dashboard.js +47 -0
  118. package/schemas/dashboard.js.map +1 -0
  119. package/schemas/deficiencies.d.ts +22 -22
  120. package/schemas/documents.d.ts +86 -0
  121. package/schemas/documents.d.ts.map +1 -1
  122. package/schemas/documents.js +30 -0
  123. package/schemas/documents.js.map +1 -1
  124. package/schemas/drawings.d.ts +133 -133
  125. package/schemas/evidence.d.ts +75 -0
  126. package/schemas/evidence.d.ts.map +1 -0
  127. package/schemas/evidence.js +79 -0
  128. package/schemas/evidence.js.map +1 -0
  129. package/schemas/hub.d.ts.map +1 -1
  130. package/schemas/hub.js +52 -15
  131. package/schemas/hub.js.map +1 -1
  132. package/schemas/maps.d.ts.map +1 -1
  133. package/schemas/maps.js.map +1 -1
  134. package/schemas/material-index.d.ts +256 -0
  135. package/schemas/material-index.d.ts.map +1 -0
  136. package/schemas/material-index.js +47 -0
  137. package/schemas/material-index.js.map +1 -0
  138. package/schemas/meetings.d.ts +32 -32
  139. package/schemas/projects.d.ts +27 -16
  140. package/schemas/projects.d.ts.map +1 -1
  141. package/schemas/projects.js +4 -0
  142. package/schemas/projects.js.map +1 -1
  143. package/schemas/proof.d.ts +12 -12
  144. package/schemas/proof.d.ts.map +1 -1
  145. package/schemas/proof.js +30 -11
  146. package/schemas/proof.js.map +1 -1
  147. package/schemas/qaqc.d.ts +11 -6
  148. package/schemas/qaqc.d.ts.map +1 -1
  149. package/schemas/qaqc.js +5 -0
  150. package/schemas/qaqc.js.map +1 -1
  151. package/schemas/rbac.d.ts +28 -28
  152. package/schemas/rbac.d.ts.map +1 -1
  153. package/schemas/rbac.js +3 -0
  154. package/schemas/rbac.js.map +1 -1
  155. package/schemas/reports.d.ts +56 -236
  156. package/schemas/reports.d.ts.map +1 -1
  157. package/schemas/reports.js +0 -20
  158. package/schemas/reports.js.map +1 -1
  159. package/schemas/resources.d.ts +18 -18
  160. package/schemas/safety.d.ts +34 -34
  161. package/schemas/schedule.d.ts +48 -48
  162. package/schemas/site-links.d.ts +183 -0
  163. package/schemas/site-links.d.ts.map +1 -0
  164. package/schemas/site-links.js +40 -0
  165. package/schemas/site-links.js.map +1 -0
  166. package/schemas/spec-equal.d.ts.map +1 -1
  167. package/schemas/spec-equal.js +10 -4
  168. package/schemas/spec-equal.js.map +1 -1
  169. package/schemas/specifications.d.ts +108 -108
  170. package/schemas/tasks.d.ts +12 -12
  171. package/schemas/tours.d.ts +114 -0
  172. package/schemas/tours.d.ts.map +1 -0
  173. package/schemas/tours.js +29 -0
  174. package/schemas/tours.js.map +1 -0
  175. package/schemas/transmittals.d.ts +22 -22
  176. package/schemas/valuations.d.ts +556 -58
  177. package/schemas/valuations.d.ts.map +1 -1
  178. package/schemas/valuations.js +44 -3
  179. package/schemas/valuations.js.map +1 -1
@@ -0,0 +1,758 @@
1
+ import { z } from 'zod';
2
+ export declare const MissingEvidenceItemSchema: z.ZodObject<{
3
+ lineId: z.ZodString;
4
+ boqLineId: z.ZodString;
5
+ itemCode: z.ZodString;
6
+ mosEvidenceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ evidenceStrength: z.ZodEnum<["STRONG", "WEAK", "OUT_OF_SITE"]>;
8
+ reason: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ itemCode: string;
11
+ reason: string;
12
+ boqLineId: string;
13
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
14
+ lineId: string;
15
+ mosEvidenceUrl?: string | null | undefined;
16
+ }, {
17
+ itemCode: string;
18
+ reason: string;
19
+ boqLineId: string;
20
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
21
+ lineId: string;
22
+ mosEvidenceUrl?: string | null | undefined;
23
+ }>;
24
+ export declare const MissingEvidenceSchema: z.ZodObject<{
25
+ certificateId: z.ZodString;
26
+ items: z.ZodArray<z.ZodObject<{
27
+ lineId: z.ZodString;
28
+ boqLineId: z.ZodString;
29
+ itemCode: z.ZodString;
30
+ mosEvidenceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ evidenceStrength: z.ZodEnum<["STRONG", "WEAK", "OUT_OF_SITE"]>;
32
+ reason: z.ZodString;
33
+ }, "strip", z.ZodTypeAny, {
34
+ itemCode: string;
35
+ reason: string;
36
+ boqLineId: string;
37
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
38
+ lineId: string;
39
+ mosEvidenceUrl?: string | null | undefined;
40
+ }, {
41
+ itemCode: string;
42
+ reason: string;
43
+ boqLineId: string;
44
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
45
+ lineId: string;
46
+ mosEvidenceUrl?: string | null | undefined;
47
+ }>, "many">;
48
+ }, "strip", z.ZodTypeAny, {
49
+ items: {
50
+ itemCode: string;
51
+ reason: string;
52
+ boqLineId: string;
53
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
54
+ lineId: string;
55
+ mosEvidenceUrl?: string | null | undefined;
56
+ }[];
57
+ certificateId: string;
58
+ }, {
59
+ items: {
60
+ itemCode: string;
61
+ reason: string;
62
+ boqLineId: string;
63
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
64
+ lineId: string;
65
+ mosEvidenceUrl?: string | null | undefined;
66
+ }[];
67
+ certificateId: string;
68
+ }>;
69
+ export declare const MissingEvidenceResourceSchema: z.ZodObject<{
70
+ type: z.ZodLiteral<"missing-evidence">;
71
+ id: z.ZodString;
72
+ attributes: z.ZodObject<{
73
+ certificateId: z.ZodString;
74
+ items: z.ZodArray<z.ZodObject<{
75
+ lineId: z.ZodString;
76
+ boqLineId: z.ZodString;
77
+ itemCode: z.ZodString;
78
+ mosEvidenceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ evidenceStrength: z.ZodEnum<["STRONG", "WEAK", "OUT_OF_SITE"]>;
80
+ reason: z.ZodString;
81
+ }, "strip", z.ZodTypeAny, {
82
+ itemCode: string;
83
+ reason: string;
84
+ boqLineId: string;
85
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
86
+ lineId: string;
87
+ mosEvidenceUrl?: string | null | undefined;
88
+ }, {
89
+ itemCode: string;
90
+ reason: string;
91
+ boqLineId: string;
92
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
93
+ lineId: string;
94
+ mosEvidenceUrl?: string | null | undefined;
95
+ }>, "many">;
96
+ }, "strip", z.ZodTypeAny, {
97
+ items: {
98
+ itemCode: string;
99
+ reason: string;
100
+ boqLineId: string;
101
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
102
+ lineId: string;
103
+ mosEvidenceUrl?: string | null | undefined;
104
+ }[];
105
+ certificateId: string;
106
+ }, {
107
+ items: {
108
+ itemCode: string;
109
+ reason: string;
110
+ boqLineId: string;
111
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
112
+ lineId: string;
113
+ mosEvidenceUrl?: string | null | undefined;
114
+ }[];
115
+ certificateId: string;
116
+ }>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ id: string;
119
+ type: "missing-evidence";
120
+ attributes: {
121
+ items: {
122
+ itemCode: string;
123
+ reason: string;
124
+ boqLineId: string;
125
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
126
+ lineId: string;
127
+ mosEvidenceUrl?: string | null | undefined;
128
+ }[];
129
+ certificateId: string;
130
+ };
131
+ }, {
132
+ id: string;
133
+ type: "missing-evidence";
134
+ attributes: {
135
+ items: {
136
+ itemCode: string;
137
+ reason: string;
138
+ boqLineId: string;
139
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
140
+ lineId: string;
141
+ mosEvidenceUrl?: string | null | undefined;
142
+ }[];
143
+ certificateId: string;
144
+ };
145
+ }>;
146
+ /** Extra valuation endpoints for cash-flow + missing evidence (merged into valuationsContract). */
147
+ export declare const valuationsExtrasContract: {
148
+ cashFlow: {
149
+ pathParams: z.ZodObject<{
150
+ projectId: z.ZodString;
151
+ }, "strip", z.ZodTypeAny, {
152
+ projectId: string;
153
+ }, {
154
+ projectId: string;
155
+ }>;
156
+ summary: "Cumulative certified/released/paid vs BOQ";
157
+ method: "GET";
158
+ path: "/projects/:projectId/cash-flow";
159
+ responses: {
160
+ 200: z.ZodObject<{
161
+ data: z.ZodObject<{
162
+ type: z.ZodLiteral<"cash-flow">;
163
+ id: z.ZodString;
164
+ attributes: z.ZodObject<{
165
+ projectId: z.ZodString;
166
+ currency: z.ZodString;
167
+ boqTotal: z.ZodNumber;
168
+ cumulativeCertified: z.ZodNumber;
169
+ cumulativeReleased: z.ZodNumber;
170
+ cumulativePaid: z.ZodNumber;
171
+ remaining: z.ZodNumber;
172
+ practicalCompletionDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ defectsLiabilityMonths: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ projectId: string;
176
+ currency: string;
177
+ remaining: number;
178
+ boqTotal: number;
179
+ cumulativeCertified: number;
180
+ cumulativeReleased: number;
181
+ cumulativePaid: number;
182
+ practicalCompletionDate?: string | null | undefined;
183
+ defectsLiabilityMonths?: number | null | undefined;
184
+ }, {
185
+ projectId: string;
186
+ currency: string;
187
+ remaining: number;
188
+ boqTotal: number;
189
+ cumulativeCertified: number;
190
+ cumulativeReleased: number;
191
+ cumulativePaid: number;
192
+ practicalCompletionDate?: string | null | undefined;
193
+ defectsLiabilityMonths?: number | null | undefined;
194
+ }>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ id: string;
197
+ type: "cash-flow";
198
+ attributes: {
199
+ projectId: string;
200
+ currency: string;
201
+ remaining: number;
202
+ boqTotal: number;
203
+ cumulativeCertified: number;
204
+ cumulativeReleased: number;
205
+ cumulativePaid: number;
206
+ practicalCompletionDate?: string | null | undefined;
207
+ defectsLiabilityMonths?: number | null | undefined;
208
+ };
209
+ }, {
210
+ id: string;
211
+ type: "cash-flow";
212
+ attributes: {
213
+ projectId: string;
214
+ currency: string;
215
+ remaining: number;
216
+ boqTotal: number;
217
+ cumulativeCertified: number;
218
+ cumulativeReleased: number;
219
+ cumulativePaid: number;
220
+ practicalCompletionDate?: string | null | undefined;
221
+ defectsLiabilityMonths?: number | null | undefined;
222
+ };
223
+ }>;
224
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
225
+ links: z.ZodOptional<z.ZodObject<{
226
+ self: z.ZodString;
227
+ first: z.ZodOptional<z.ZodString>;
228
+ last: z.ZodOptional<z.ZodString>;
229
+ prev: z.ZodOptional<z.ZodString>;
230
+ next: z.ZodOptional<z.ZodString>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ self: string;
233
+ first?: string | undefined;
234
+ last?: string | undefined;
235
+ prev?: string | undefined;
236
+ next?: string | undefined;
237
+ }, {
238
+ self: string;
239
+ first?: string | undefined;
240
+ last?: string | undefined;
241
+ prev?: string | undefined;
242
+ next?: string | undefined;
243
+ }>>;
244
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
245
+ status: z.ZodString;
246
+ title: z.ZodString;
247
+ detail: z.ZodOptional<z.ZodString>;
248
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
249
+ }, "strip", z.ZodTypeAny, {
250
+ status: string;
251
+ title: string;
252
+ detail?: string | undefined;
253
+ meta?: Record<string, unknown> | undefined;
254
+ }, {
255
+ status: string;
256
+ title: string;
257
+ detail?: string | undefined;
258
+ meta?: Record<string, unknown> | undefined;
259
+ }>, "many">>;
260
+ }, "strip", z.ZodTypeAny, {
261
+ data: {
262
+ id: string;
263
+ type: "cash-flow";
264
+ attributes: {
265
+ projectId: string;
266
+ currency: string;
267
+ remaining: number;
268
+ boqTotal: number;
269
+ cumulativeCertified: number;
270
+ cumulativeReleased: number;
271
+ cumulativePaid: number;
272
+ practicalCompletionDate?: string | null | undefined;
273
+ defectsLiabilityMonths?: number | null | undefined;
274
+ };
275
+ };
276
+ meta?: Record<string, unknown> | undefined;
277
+ links?: {
278
+ self: string;
279
+ first?: string | undefined;
280
+ last?: string | undefined;
281
+ prev?: string | undefined;
282
+ next?: string | undefined;
283
+ } | undefined;
284
+ errors?: {
285
+ status: string;
286
+ title: string;
287
+ detail?: string | undefined;
288
+ meta?: Record<string, unknown> | undefined;
289
+ }[] | undefined;
290
+ }, {
291
+ data: {
292
+ id: string;
293
+ type: "cash-flow";
294
+ attributes: {
295
+ projectId: string;
296
+ currency: string;
297
+ remaining: number;
298
+ boqTotal: number;
299
+ cumulativeCertified: number;
300
+ cumulativeReleased: number;
301
+ cumulativePaid: number;
302
+ practicalCompletionDate?: string | null | undefined;
303
+ defectsLiabilityMonths?: number | null | undefined;
304
+ };
305
+ };
306
+ meta?: Record<string, unknown> | undefined;
307
+ links?: {
308
+ self: string;
309
+ first?: string | undefined;
310
+ last?: string | undefined;
311
+ prev?: string | undefined;
312
+ next?: string | undefined;
313
+ } | undefined;
314
+ errors?: {
315
+ status: string;
316
+ title: string;
317
+ detail?: string | undefined;
318
+ meta?: Record<string, unknown> | undefined;
319
+ }[] | undefined;
320
+ }>;
321
+ 401: z.ZodObject<{
322
+ errors: z.ZodArray<z.ZodObject<{
323
+ status: z.ZodString;
324
+ title: z.ZodString;
325
+ detail: z.ZodOptional<z.ZodString>;
326
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ status: string;
329
+ title: string;
330
+ detail?: string | undefined;
331
+ meta?: Record<string, unknown> | undefined;
332
+ }, {
333
+ status: string;
334
+ title: string;
335
+ detail?: string | undefined;
336
+ meta?: Record<string, unknown> | undefined;
337
+ }>, "many">;
338
+ }, "strip", z.ZodTypeAny, {
339
+ errors: {
340
+ status: string;
341
+ title: string;
342
+ detail?: string | undefined;
343
+ meta?: Record<string, unknown> | undefined;
344
+ }[];
345
+ }, {
346
+ errors: {
347
+ status: string;
348
+ title: string;
349
+ detail?: string | undefined;
350
+ meta?: Record<string, unknown> | undefined;
351
+ }[];
352
+ }>;
353
+ 403: z.ZodObject<{
354
+ errors: z.ZodArray<z.ZodObject<{
355
+ status: z.ZodString;
356
+ title: z.ZodString;
357
+ detail: z.ZodOptional<z.ZodString>;
358
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ status: string;
361
+ title: string;
362
+ detail?: string | undefined;
363
+ meta?: Record<string, unknown> | undefined;
364
+ }, {
365
+ status: string;
366
+ title: string;
367
+ detail?: string | undefined;
368
+ meta?: Record<string, unknown> | undefined;
369
+ }>, "many">;
370
+ }, "strip", z.ZodTypeAny, {
371
+ errors: {
372
+ status: string;
373
+ title: string;
374
+ detail?: string | undefined;
375
+ meta?: Record<string, unknown> | undefined;
376
+ }[];
377
+ }, {
378
+ errors: {
379
+ status: string;
380
+ title: string;
381
+ detail?: string | undefined;
382
+ meta?: Record<string, unknown> | undefined;
383
+ }[];
384
+ }>;
385
+ };
386
+ };
387
+ missingEvidence: {
388
+ pathParams: z.ZodObject<{
389
+ certificateId: z.ZodString;
390
+ }, "strip", z.ZodTypeAny, {
391
+ certificateId: string;
392
+ }, {
393
+ certificateId: string;
394
+ }>;
395
+ summary: "Claim lines without STRONG MOS evidence";
396
+ method: "GET";
397
+ path: "/valuations/:certificateId/missing-evidence";
398
+ responses: {
399
+ 200: z.ZodObject<{
400
+ data: z.ZodObject<{
401
+ type: z.ZodLiteral<"missing-evidence">;
402
+ id: z.ZodString;
403
+ attributes: z.ZodObject<{
404
+ certificateId: z.ZodString;
405
+ items: z.ZodArray<z.ZodObject<{
406
+ lineId: z.ZodString;
407
+ boqLineId: z.ZodString;
408
+ itemCode: z.ZodString;
409
+ mosEvidenceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
+ evidenceStrength: z.ZodEnum<["STRONG", "WEAK", "OUT_OF_SITE"]>;
411
+ reason: z.ZodString;
412
+ }, "strip", z.ZodTypeAny, {
413
+ itemCode: string;
414
+ reason: string;
415
+ boqLineId: string;
416
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
417
+ lineId: string;
418
+ mosEvidenceUrl?: string | null | undefined;
419
+ }, {
420
+ itemCode: string;
421
+ reason: string;
422
+ boqLineId: string;
423
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
424
+ lineId: string;
425
+ mosEvidenceUrl?: string | null | undefined;
426
+ }>, "many">;
427
+ }, "strip", z.ZodTypeAny, {
428
+ items: {
429
+ itemCode: string;
430
+ reason: string;
431
+ boqLineId: string;
432
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
433
+ lineId: string;
434
+ mosEvidenceUrl?: string | null | undefined;
435
+ }[];
436
+ certificateId: string;
437
+ }, {
438
+ items: {
439
+ itemCode: string;
440
+ reason: string;
441
+ boqLineId: string;
442
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
443
+ lineId: string;
444
+ mosEvidenceUrl?: string | null | undefined;
445
+ }[];
446
+ certificateId: string;
447
+ }>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ id: string;
450
+ type: "missing-evidence";
451
+ attributes: {
452
+ items: {
453
+ itemCode: string;
454
+ reason: string;
455
+ boqLineId: string;
456
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
457
+ lineId: string;
458
+ mosEvidenceUrl?: string | null | undefined;
459
+ }[];
460
+ certificateId: string;
461
+ };
462
+ }, {
463
+ id: string;
464
+ type: "missing-evidence";
465
+ attributes: {
466
+ items: {
467
+ itemCode: string;
468
+ reason: string;
469
+ boqLineId: string;
470
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
471
+ lineId: string;
472
+ mosEvidenceUrl?: string | null | undefined;
473
+ }[];
474
+ certificateId: string;
475
+ };
476
+ }>;
477
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
478
+ links: z.ZodOptional<z.ZodObject<{
479
+ self: z.ZodString;
480
+ first: z.ZodOptional<z.ZodString>;
481
+ last: z.ZodOptional<z.ZodString>;
482
+ prev: z.ZodOptional<z.ZodString>;
483
+ next: z.ZodOptional<z.ZodString>;
484
+ }, "strip", z.ZodTypeAny, {
485
+ self: string;
486
+ first?: string | undefined;
487
+ last?: string | undefined;
488
+ prev?: string | undefined;
489
+ next?: string | undefined;
490
+ }, {
491
+ self: string;
492
+ first?: string | undefined;
493
+ last?: string | undefined;
494
+ prev?: string | undefined;
495
+ next?: string | undefined;
496
+ }>>;
497
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
498
+ status: z.ZodString;
499
+ title: z.ZodString;
500
+ detail: z.ZodOptional<z.ZodString>;
501
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ status: string;
504
+ title: string;
505
+ detail?: string | undefined;
506
+ meta?: Record<string, unknown> | undefined;
507
+ }, {
508
+ status: string;
509
+ title: string;
510
+ detail?: string | undefined;
511
+ meta?: Record<string, unknown> | undefined;
512
+ }>, "many">>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ data: {
515
+ id: string;
516
+ type: "missing-evidence";
517
+ attributes: {
518
+ items: {
519
+ itemCode: string;
520
+ reason: string;
521
+ boqLineId: string;
522
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
523
+ lineId: string;
524
+ mosEvidenceUrl?: string | null | undefined;
525
+ }[];
526
+ certificateId: string;
527
+ };
528
+ };
529
+ meta?: Record<string, unknown> | undefined;
530
+ links?: {
531
+ self: string;
532
+ first?: string | undefined;
533
+ last?: string | undefined;
534
+ prev?: string | undefined;
535
+ next?: string | undefined;
536
+ } | undefined;
537
+ errors?: {
538
+ status: string;
539
+ title: string;
540
+ detail?: string | undefined;
541
+ meta?: Record<string, unknown> | undefined;
542
+ }[] | undefined;
543
+ }, {
544
+ data: {
545
+ id: string;
546
+ type: "missing-evidence";
547
+ attributes: {
548
+ items: {
549
+ itemCode: string;
550
+ reason: string;
551
+ boqLineId: string;
552
+ evidenceStrength: "STRONG" | "WEAK" | "OUT_OF_SITE";
553
+ lineId: string;
554
+ mosEvidenceUrl?: string | null | undefined;
555
+ }[];
556
+ certificateId: string;
557
+ };
558
+ };
559
+ meta?: Record<string, unknown> | undefined;
560
+ links?: {
561
+ self: string;
562
+ first?: string | undefined;
563
+ last?: string | undefined;
564
+ prev?: string | undefined;
565
+ next?: string | undefined;
566
+ } | undefined;
567
+ errors?: {
568
+ status: string;
569
+ title: string;
570
+ detail?: string | undefined;
571
+ meta?: Record<string, unknown> | undefined;
572
+ }[] | undefined;
573
+ }>;
574
+ 401: z.ZodObject<{
575
+ errors: z.ZodArray<z.ZodObject<{
576
+ status: z.ZodString;
577
+ title: z.ZodString;
578
+ detail: z.ZodOptional<z.ZodString>;
579
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ status: string;
582
+ title: string;
583
+ detail?: string | undefined;
584
+ meta?: Record<string, unknown> | undefined;
585
+ }, {
586
+ status: string;
587
+ title: string;
588
+ detail?: string | undefined;
589
+ meta?: Record<string, unknown> | undefined;
590
+ }>, "many">;
591
+ }, "strip", z.ZodTypeAny, {
592
+ errors: {
593
+ status: string;
594
+ title: string;
595
+ detail?: string | undefined;
596
+ meta?: Record<string, unknown> | undefined;
597
+ }[];
598
+ }, {
599
+ errors: {
600
+ status: string;
601
+ title: string;
602
+ detail?: string | undefined;
603
+ meta?: Record<string, unknown> | undefined;
604
+ }[];
605
+ }>;
606
+ 403: z.ZodObject<{
607
+ errors: z.ZodArray<z.ZodObject<{
608
+ status: z.ZodString;
609
+ title: z.ZodString;
610
+ detail: z.ZodOptional<z.ZodString>;
611
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ status: string;
614
+ title: string;
615
+ detail?: string | undefined;
616
+ meta?: Record<string, unknown> | undefined;
617
+ }, {
618
+ status: string;
619
+ title: string;
620
+ detail?: string | undefined;
621
+ meta?: Record<string, unknown> | undefined;
622
+ }>, "many">;
623
+ }, "strip", z.ZodTypeAny, {
624
+ errors: {
625
+ status: string;
626
+ title: string;
627
+ detail?: string | undefined;
628
+ meta?: Record<string, unknown> | undefined;
629
+ }[];
630
+ }, {
631
+ errors: {
632
+ status: string;
633
+ title: string;
634
+ detail?: string | undefined;
635
+ meta?: Record<string, unknown> | undefined;
636
+ }[];
637
+ }>;
638
+ 404: z.ZodObject<{
639
+ errors: z.ZodArray<z.ZodObject<{
640
+ status: z.ZodString;
641
+ title: z.ZodString;
642
+ detail: z.ZodOptional<z.ZodString>;
643
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
644
+ }, "strip", z.ZodTypeAny, {
645
+ status: string;
646
+ title: string;
647
+ detail?: string | undefined;
648
+ meta?: Record<string, unknown> | undefined;
649
+ }, {
650
+ status: string;
651
+ title: string;
652
+ detail?: string | undefined;
653
+ meta?: Record<string, unknown> | undefined;
654
+ }>, "many">;
655
+ }, "strip", z.ZodTypeAny, {
656
+ errors: {
657
+ status: string;
658
+ title: string;
659
+ detail?: string | undefined;
660
+ meta?: Record<string, unknown> | undefined;
661
+ }[];
662
+ }, {
663
+ errors: {
664
+ status: string;
665
+ title: string;
666
+ detail?: string | undefined;
667
+ meta?: Record<string, unknown> | undefined;
668
+ }[];
669
+ }>;
670
+ };
671
+ };
672
+ exportPaymentsCsv: {
673
+ pathParams: z.ZodObject<{
674
+ projectId: z.ZodString;
675
+ }, "strip", z.ZodTypeAny, {
676
+ projectId: string;
677
+ }, {
678
+ projectId: string;
679
+ }>;
680
+ summary: "Export valuation payments as CSV";
681
+ method: "GET";
682
+ path: "/projects/:projectId/valuations/payments.csv";
683
+ responses: {
684
+ 200: z.ZodObject<{
685
+ csv: z.ZodString;
686
+ }, "strip", z.ZodTypeAny, {
687
+ csv: string;
688
+ }, {
689
+ csv: string;
690
+ }>;
691
+ 401: z.ZodObject<{
692
+ errors: z.ZodArray<z.ZodObject<{
693
+ status: z.ZodString;
694
+ title: z.ZodString;
695
+ detail: z.ZodOptional<z.ZodString>;
696
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
697
+ }, "strip", z.ZodTypeAny, {
698
+ status: string;
699
+ title: string;
700
+ detail?: string | undefined;
701
+ meta?: Record<string, unknown> | undefined;
702
+ }, {
703
+ status: string;
704
+ title: string;
705
+ detail?: string | undefined;
706
+ meta?: Record<string, unknown> | undefined;
707
+ }>, "many">;
708
+ }, "strip", z.ZodTypeAny, {
709
+ errors: {
710
+ status: string;
711
+ title: string;
712
+ detail?: string | undefined;
713
+ meta?: Record<string, unknown> | undefined;
714
+ }[];
715
+ }, {
716
+ errors: {
717
+ status: string;
718
+ title: string;
719
+ detail?: string | undefined;
720
+ meta?: Record<string, unknown> | undefined;
721
+ }[];
722
+ }>;
723
+ 403: z.ZodObject<{
724
+ errors: z.ZodArray<z.ZodObject<{
725
+ status: z.ZodString;
726
+ title: z.ZodString;
727
+ detail: z.ZodOptional<z.ZodString>;
728
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
729
+ }, "strip", z.ZodTypeAny, {
730
+ status: string;
731
+ title: string;
732
+ detail?: string | undefined;
733
+ meta?: Record<string, unknown> | undefined;
734
+ }, {
735
+ status: string;
736
+ title: string;
737
+ detail?: string | undefined;
738
+ meta?: Record<string, unknown> | undefined;
739
+ }>, "many">;
740
+ }, "strip", z.ZodTypeAny, {
741
+ errors: {
742
+ status: string;
743
+ title: string;
744
+ detail?: string | undefined;
745
+ meta?: Record<string, unknown> | undefined;
746
+ }[];
747
+ }, {
748
+ errors: {
749
+ status: string;
750
+ title: string;
751
+ detail?: string | undefined;
752
+ meta?: Record<string, unknown> | undefined;
753
+ }[];
754
+ }>;
755
+ };
756
+ };
757
+ };
758
+ //# sourceMappingURL=valuations-extras.d.ts.map