@deepintel-ltd/buildlink-api-contracts 0.2.28 → 0.2.30

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 (115) hide show
  1. package/README.md +1 -1
  2. package/contracts/auth.d.ts +68 -68
  3. package/contracts/boq.d.ts +18 -18
  4. package/contracts/budget.d.ts +1969 -173
  5. package/contracts/budget.d.ts.map +1 -1
  6. package/contracts/budget.js +36 -1
  7. package/contracts/budget.js.map +1 -1
  8. package/contracts/communication.d.ts +560 -0
  9. package/contracts/communication.d.ts.map +1 -1
  10. package/contracts/contractor-ledger.d.ts +508 -12
  11. package/contracts/contractor-ledger.d.ts.map +1 -1
  12. package/contracts/contractor-ledger.js +29 -1
  13. package/contracts/contractor-ledger.js.map +1 -1
  14. package/contracts/daily-logs.d.ts +1362 -74
  15. package/contracts/daily-logs.d.ts.map +1 -1
  16. package/contracts/deficiencies.d.ts +4516 -436
  17. package/contracts/deficiencies.d.ts.map +1 -1
  18. package/contracts/deficiencies.js +99 -1
  19. package/contracts/deficiencies.js.map +1 -1
  20. package/contracts/directory.d.ts +48 -48
  21. package/contracts/documents.d.ts +149 -149
  22. package/contracts/drawings.d.ts +246 -246
  23. package/contracts/hub.d.ts +18 -18
  24. package/contracts/index.d.ts +3 -2
  25. package/contracts/index.d.ts.map +1 -1
  26. package/contracts/index.js +2 -2
  27. package/contracts/index.js.map +1 -1
  28. package/contracts/maps.d.ts +42 -42
  29. package/contracts/packages.d.ts +24 -24
  30. package/contracts/projects.d.ts +610 -50
  31. package/contracts/projects.d.ts.map +1 -1
  32. package/contracts/proof.d.ts +694 -0
  33. package/contracts/proof.d.ts.map +1 -1
  34. package/contracts/proof.js +41 -1
  35. package/contracts/proof.js.map +1 -1
  36. package/contracts/qaqc.d.ts +546 -0
  37. package/contracts/qaqc.d.ts.map +1 -1
  38. package/contracts/qaqc.js +15 -1
  39. package/contracts/qaqc.js.map +1 -1
  40. package/contracts/rbac.d.ts +6 -6
  41. package/contracts/resources.d.ts +60 -60
  42. package/contracts/rfi-submittal.d.ts +128 -128
  43. package/contracts/safety.d.ts +2156 -162
  44. package/contracts/safety.d.ts.map +1 -1
  45. package/contracts/safety.js +44 -1
  46. package/contracts/safety.js.map +1 -1
  47. package/contracts/schedule.d.ts +84 -84
  48. package/contracts/specifications.d.ts +156 -156
  49. package/contracts/tasks.d.ts +2312 -229
  50. package/contracts/tasks.d.ts.map +1 -1
  51. package/contracts/tasks.js +55 -1
  52. package/contracts/tasks.js.map +1 -1
  53. package/contracts/timecards.d.ts +32 -32
  54. package/contracts/valuations.d.ts +64 -64
  55. package/package.json +1 -1
  56. package/schemas/auth.d.ts +36 -36
  57. package/schemas/boq.d.ts +6 -6
  58. package/schemas/budget.d.ts +168 -4
  59. package/schemas/budget.d.ts.map +1 -1
  60. package/schemas/budget.js +31 -1
  61. package/schemas/budget.js.map +1 -1
  62. package/schemas/common.d.ts +37 -0
  63. package/schemas/common.d.ts.map +1 -1
  64. package/schemas/common.js +34 -0
  65. package/schemas/common.js.map +1 -1
  66. package/schemas/common.person-summary.spec.d.ts +2 -0
  67. package/schemas/common.person-summary.spec.d.ts.map +1 -0
  68. package/schemas/common.person-summary.spec.js +33 -0
  69. package/schemas/common.person-summary.spec.js.map +1 -0
  70. package/schemas/communication.d.ts +94 -0
  71. package/schemas/communication.d.ts.map +1 -1
  72. package/schemas/communication.js +3 -1
  73. package/schemas/communication.js.map +1 -1
  74. package/schemas/contractor-ledger.d.ts +77 -6
  75. package/schemas/contractor-ledger.d.ts.map +1 -1
  76. package/schemas/contractor-ledger.js +13 -0
  77. package/schemas/contractor-ledger.js.map +1 -1
  78. package/schemas/daily-logs.d.ts +232 -22
  79. package/schemas/daily-logs.d.ts.map +1 -1
  80. package/schemas/daily-logs.js +7 -1
  81. package/schemas/daily-logs.js.map +1 -1
  82. package/schemas/deficiencies.d.ts +793 -100
  83. package/schemas/deficiencies.d.ts.map +1 -1
  84. package/schemas/deficiencies.js +79 -6
  85. package/schemas/deficiencies.js.map +1 -1
  86. package/schemas/directory.d.ts +20 -20
  87. package/schemas/documents.d.ts +3 -3
  88. package/schemas/drawings.d.ts +74 -74
  89. package/schemas/hub.d.ts +6 -6
  90. package/schemas/maps.d.ts +6 -6
  91. package/schemas/packages.d.ts +6 -6
  92. package/schemas/projects.d.ts +8 -8
  93. package/schemas/proof.d.ts +20 -0
  94. package/schemas/proof.d.ts.map +1 -1
  95. package/schemas/proof.js +7 -0
  96. package/schemas/proof.js.map +1 -1
  97. package/schemas/qaqc.d.ts +74 -0
  98. package/schemas/qaqc.d.ts.map +1 -1
  99. package/schemas/qaqc.js +26 -1
  100. package/schemas/qaqc.js.map +1 -1
  101. package/schemas/resources.d.ts +18 -18
  102. package/schemas/rfi.d.ts +52 -52
  103. package/schemas/safety.d.ts +491 -0
  104. package/schemas/safety.d.ts.map +1 -1
  105. package/schemas/safety.js +54 -1
  106. package/schemas/safety.js.map +1 -1
  107. package/schemas/schedule.d.ts +68 -68
  108. package/schemas/specifications.d.ts +134 -134
  109. package/schemas/submittal.d.ts +52 -52
  110. package/schemas/tasks.d.ts +111 -23
  111. package/schemas/tasks.d.ts.map +1 -1
  112. package/schemas/tasks.js +11 -2
  113. package/schemas/tasks.js.map +1 -1
  114. package/schemas/timecards.d.ts +6 -6
  115. package/schemas/valuations.d.ts +12 -12
@@ -1 +1 @@
1
- {"version":3,"file":"communication.d.ts","sourceRoot":"","sources":["../../../src/contracts/communication.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;CA8QhC,CAAC"}
@@ -1,5 +1,501 @@
1
1
  import { z } from 'zod';
2
2
  export declare const contractorLedgerContract: {
3
+ getSummary: {
4
+ pathParams: z.ZodObject<{
5
+ projectId: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ projectId: string;
8
+ }, {
9
+ projectId: string;
10
+ }>;
11
+ summary: "Contractor margin summary (contractValue, totalJobCosts, margin)";
12
+ method: "GET";
13
+ path: "/projects/:projectId/contractor/summary";
14
+ responses: {
15
+ 200: z.ZodObject<{
16
+ data: z.ZodObject<{
17
+ type: z.ZodLiteral<"contractor-summaries">;
18
+ id: z.ZodString;
19
+ attributes: z.ZodObject<{
20
+ projectId: z.ZodString;
21
+ companyId: z.ZodString;
22
+ contractValue: z.ZodNullable<z.ZodNumber>;
23
+ totalJobCosts: z.ZodNumber;
24
+ margin: z.ZodNullable<z.ZodNumber>;
25
+ currency: z.ZodOptional<z.ZodString>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ companyId: string;
28
+ projectId: string;
29
+ contractValue: number | null;
30
+ totalJobCosts: number;
31
+ margin: number | null;
32
+ currency?: string | undefined;
33
+ }, {
34
+ companyId: string;
35
+ projectId: string;
36
+ contractValue: number | null;
37
+ totalJobCosts: number;
38
+ margin: number | null;
39
+ currency?: string | undefined;
40
+ }>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ id: string;
43
+ type: "contractor-summaries";
44
+ attributes: {
45
+ companyId: string;
46
+ projectId: string;
47
+ contractValue: number | null;
48
+ totalJobCosts: number;
49
+ margin: number | null;
50
+ currency?: string | undefined;
51
+ };
52
+ }, {
53
+ id: string;
54
+ type: "contractor-summaries";
55
+ attributes: {
56
+ companyId: string;
57
+ projectId: string;
58
+ contractValue: number | null;
59
+ totalJobCosts: number;
60
+ margin: number | null;
61
+ currency?: string | undefined;
62
+ };
63
+ }>;
64
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
65
+ links: z.ZodOptional<z.ZodObject<{
66
+ self: z.ZodString;
67
+ first: z.ZodOptional<z.ZodString>;
68
+ last: z.ZodOptional<z.ZodString>;
69
+ prev: z.ZodOptional<z.ZodString>;
70
+ next: z.ZodOptional<z.ZodString>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ self: string;
73
+ first?: string | undefined;
74
+ last?: string | undefined;
75
+ prev?: string | undefined;
76
+ next?: string | undefined;
77
+ }, {
78
+ self: string;
79
+ first?: string | undefined;
80
+ last?: string | undefined;
81
+ prev?: string | undefined;
82
+ next?: string | undefined;
83
+ }>>;
84
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
85
+ status: z.ZodString;
86
+ title: z.ZodString;
87
+ detail: z.ZodOptional<z.ZodString>;
88
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ status: string;
91
+ title: string;
92
+ detail?: string | undefined;
93
+ meta?: Record<string, unknown> | undefined;
94
+ }, {
95
+ status: string;
96
+ title: string;
97
+ detail?: string | undefined;
98
+ meta?: Record<string, unknown> | undefined;
99
+ }>, "many">>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ data: {
102
+ id: string;
103
+ type: "contractor-summaries";
104
+ attributes: {
105
+ companyId: string;
106
+ projectId: string;
107
+ contractValue: number | null;
108
+ totalJobCosts: number;
109
+ margin: number | null;
110
+ currency?: string | undefined;
111
+ };
112
+ };
113
+ meta?: Record<string, unknown> | undefined;
114
+ links?: {
115
+ self: string;
116
+ first?: string | undefined;
117
+ last?: string | undefined;
118
+ prev?: string | undefined;
119
+ next?: string | undefined;
120
+ } | undefined;
121
+ errors?: {
122
+ status: string;
123
+ title: string;
124
+ detail?: string | undefined;
125
+ meta?: Record<string, unknown> | undefined;
126
+ }[] | undefined;
127
+ }, {
128
+ data: {
129
+ id: string;
130
+ type: "contractor-summaries";
131
+ attributes: {
132
+ companyId: string;
133
+ projectId: string;
134
+ contractValue: number | null;
135
+ totalJobCosts: number;
136
+ margin: number | null;
137
+ currency?: string | undefined;
138
+ };
139
+ };
140
+ meta?: Record<string, unknown> | undefined;
141
+ links?: {
142
+ self: string;
143
+ first?: string | undefined;
144
+ last?: string | undefined;
145
+ prev?: string | undefined;
146
+ next?: string | undefined;
147
+ } | undefined;
148
+ errors?: {
149
+ status: string;
150
+ title: string;
151
+ detail?: string | undefined;
152
+ meta?: Record<string, unknown> | undefined;
153
+ }[] | undefined;
154
+ }>;
155
+ 401: z.ZodObject<{
156
+ errors: z.ZodArray<z.ZodObject<{
157
+ status: z.ZodString;
158
+ title: z.ZodString;
159
+ detail: z.ZodOptional<z.ZodString>;
160
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ status: string;
163
+ title: string;
164
+ detail?: string | undefined;
165
+ meta?: Record<string, unknown> | undefined;
166
+ }, {
167
+ status: string;
168
+ title: string;
169
+ detail?: string | undefined;
170
+ meta?: Record<string, unknown> | undefined;
171
+ }>, "many">;
172
+ }, "strip", z.ZodTypeAny, {
173
+ errors: {
174
+ status: string;
175
+ title: string;
176
+ detail?: string | undefined;
177
+ meta?: Record<string, unknown> | undefined;
178
+ }[];
179
+ }, {
180
+ errors: {
181
+ status: string;
182
+ title: string;
183
+ detail?: string | undefined;
184
+ meta?: Record<string, unknown> | undefined;
185
+ }[];
186
+ }>;
187
+ 403: z.ZodObject<{
188
+ errors: z.ZodArray<z.ZodObject<{
189
+ status: z.ZodString;
190
+ title: z.ZodString;
191
+ detail: z.ZodOptional<z.ZodString>;
192
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
193
+ }, "strip", z.ZodTypeAny, {
194
+ status: string;
195
+ title: string;
196
+ detail?: string | undefined;
197
+ meta?: Record<string, unknown> | undefined;
198
+ }, {
199
+ status: string;
200
+ title: string;
201
+ detail?: string | undefined;
202
+ meta?: Record<string, unknown> | undefined;
203
+ }>, "many">;
204
+ }, "strip", z.ZodTypeAny, {
205
+ errors: {
206
+ status: string;
207
+ title: string;
208
+ detail?: string | undefined;
209
+ meta?: Record<string, unknown> | undefined;
210
+ }[];
211
+ }, {
212
+ errors: {
213
+ status: string;
214
+ title: string;
215
+ detail?: string | undefined;
216
+ meta?: Record<string, unknown> | undefined;
217
+ }[];
218
+ }>;
219
+ 404: z.ZodObject<{
220
+ errors: z.ZodArray<z.ZodObject<{
221
+ status: z.ZodString;
222
+ title: z.ZodString;
223
+ detail: z.ZodOptional<z.ZodString>;
224
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ status: string;
227
+ title: string;
228
+ detail?: string | undefined;
229
+ meta?: Record<string, unknown> | undefined;
230
+ }, {
231
+ status: string;
232
+ title: string;
233
+ detail?: string | undefined;
234
+ meta?: Record<string, unknown> | undefined;
235
+ }>, "many">;
236
+ }, "strip", z.ZodTypeAny, {
237
+ errors: {
238
+ status: string;
239
+ title: string;
240
+ detail?: string | undefined;
241
+ meta?: Record<string, unknown> | undefined;
242
+ }[];
243
+ }, {
244
+ errors: {
245
+ status: string;
246
+ title: string;
247
+ detail?: string | undefined;
248
+ meta?: Record<string, unknown> | undefined;
249
+ }[];
250
+ }>;
251
+ };
252
+ };
253
+ listStockMovements: {
254
+ pathParams: z.ZodObject<{
255
+ projectId: z.ZodString;
256
+ }, "strip", z.ZodTypeAny, {
257
+ projectId: string;
258
+ }, {
259
+ projectId: string;
260
+ }>;
261
+ query: z.ZodObject<{
262
+ sku: z.ZodOptional<z.ZodString>;
263
+ page: z.ZodDefault<z.ZodNumber>;
264
+ limit: z.ZodDefault<z.ZodNumber>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ page: number;
267
+ limit: number;
268
+ sku?: string | undefined;
269
+ }, {
270
+ page?: number | undefined;
271
+ limit?: number | undefined;
272
+ sku?: string | undefined;
273
+ }>;
274
+ summary: "List contractor stock movements for a project";
275
+ method: "GET";
276
+ path: "/projects/:projectId/contractor/stock-movements";
277
+ responses: {
278
+ 200: z.ZodObject<{
279
+ data: z.ZodArray<z.ZodObject<{
280
+ type: z.ZodLiteral<"contractor-stock-movements">;
281
+ id: z.ZodString;
282
+ attributes: z.ZodObject<Omit<{
283
+ id: z.ZodString;
284
+ stockItemId: z.ZodString;
285
+ type: z.ZodEnum<["DELIVERED", "USED", "ADJUST"]>;
286
+ quantity: z.ZodNumber;
287
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
+ idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
+ createdById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
290
+ createdAt: z.ZodString;
291
+ }, "id">, "strip", z.ZodTypeAny, {
292
+ createdAt: string;
293
+ type: "DELIVERED" | "USED" | "ADJUST";
294
+ quantity: number;
295
+ stockItemId: string;
296
+ createdById?: string | null | undefined;
297
+ note?: string | null | undefined;
298
+ idempotencyKey?: string | null | undefined;
299
+ }, {
300
+ createdAt: string;
301
+ type: "DELIVERED" | "USED" | "ADJUST";
302
+ quantity: number;
303
+ stockItemId: string;
304
+ createdById?: string | null | undefined;
305
+ note?: string | null | undefined;
306
+ idempotencyKey?: string | null | undefined;
307
+ }>;
308
+ }, "strip", z.ZodTypeAny, {
309
+ id: string;
310
+ type: "contractor-stock-movements";
311
+ attributes: {
312
+ createdAt: string;
313
+ type: "DELIVERED" | "USED" | "ADJUST";
314
+ quantity: number;
315
+ stockItemId: string;
316
+ createdById?: string | null | undefined;
317
+ note?: string | null | undefined;
318
+ idempotencyKey?: string | null | undefined;
319
+ };
320
+ }, {
321
+ id: string;
322
+ type: "contractor-stock-movements";
323
+ attributes: {
324
+ createdAt: string;
325
+ type: "DELIVERED" | "USED" | "ADJUST";
326
+ quantity: number;
327
+ stockItemId: string;
328
+ createdById?: string | null | undefined;
329
+ note?: string | null | undefined;
330
+ idempotencyKey?: string | null | undefined;
331
+ };
332
+ }>, "many">;
333
+ meta: z.ZodOptional<z.ZodObject<{
334
+ total: z.ZodOptional<z.ZodNumber>;
335
+ page: z.ZodOptional<z.ZodNumber>;
336
+ size: z.ZodOptional<z.ZodNumber>;
337
+ pages: z.ZodOptional<z.ZodNumber>;
338
+ hasNextPage: z.ZodOptional<z.ZodBoolean>;
339
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ page?: number | undefined;
342
+ total?: number | undefined;
343
+ size?: number | undefined;
344
+ pages?: number | undefined;
345
+ hasNextPage?: boolean | undefined;
346
+ hasPreviousPage?: boolean | undefined;
347
+ }, {
348
+ page?: number | undefined;
349
+ total?: number | undefined;
350
+ size?: number | undefined;
351
+ pages?: number | undefined;
352
+ hasNextPage?: boolean | undefined;
353
+ hasPreviousPage?: boolean | undefined;
354
+ }>>;
355
+ links: z.ZodOptional<z.ZodObject<{
356
+ self: z.ZodString;
357
+ first: z.ZodOptional<z.ZodString>;
358
+ last: z.ZodOptional<z.ZodString>;
359
+ prev: z.ZodOptional<z.ZodString>;
360
+ next: z.ZodOptional<z.ZodString>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ self: string;
363
+ first?: string | undefined;
364
+ last?: string | undefined;
365
+ prev?: string | undefined;
366
+ next?: string | undefined;
367
+ }, {
368
+ self: string;
369
+ first?: string | undefined;
370
+ last?: string | undefined;
371
+ prev?: string | undefined;
372
+ next?: string | undefined;
373
+ }>>;
374
+ }, "strip", z.ZodTypeAny, {
375
+ data: {
376
+ id: string;
377
+ type: "contractor-stock-movements";
378
+ attributes: {
379
+ createdAt: string;
380
+ type: "DELIVERED" | "USED" | "ADJUST";
381
+ quantity: number;
382
+ stockItemId: string;
383
+ createdById?: string | null | undefined;
384
+ note?: string | null | undefined;
385
+ idempotencyKey?: string | null | undefined;
386
+ };
387
+ }[];
388
+ meta?: {
389
+ page?: number | undefined;
390
+ total?: number | undefined;
391
+ size?: number | undefined;
392
+ pages?: number | undefined;
393
+ hasNextPage?: boolean | undefined;
394
+ hasPreviousPage?: boolean | undefined;
395
+ } | undefined;
396
+ links?: {
397
+ self: string;
398
+ first?: string | undefined;
399
+ last?: string | undefined;
400
+ prev?: string | undefined;
401
+ next?: string | undefined;
402
+ } | undefined;
403
+ }, {
404
+ data: {
405
+ id: string;
406
+ type: "contractor-stock-movements";
407
+ attributes: {
408
+ createdAt: string;
409
+ type: "DELIVERED" | "USED" | "ADJUST";
410
+ quantity: number;
411
+ stockItemId: string;
412
+ createdById?: string | null | undefined;
413
+ note?: string | null | undefined;
414
+ idempotencyKey?: string | null | undefined;
415
+ };
416
+ }[];
417
+ meta?: {
418
+ page?: number | undefined;
419
+ total?: number | undefined;
420
+ size?: number | undefined;
421
+ pages?: number | undefined;
422
+ hasNextPage?: boolean | undefined;
423
+ hasPreviousPage?: boolean | undefined;
424
+ } | undefined;
425
+ links?: {
426
+ self: string;
427
+ first?: string | undefined;
428
+ last?: string | undefined;
429
+ prev?: string | undefined;
430
+ next?: string | undefined;
431
+ } | undefined;
432
+ }>;
433
+ 401: z.ZodObject<{
434
+ errors: z.ZodArray<z.ZodObject<{
435
+ status: z.ZodString;
436
+ title: z.ZodString;
437
+ detail: z.ZodOptional<z.ZodString>;
438
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ status: string;
441
+ title: string;
442
+ detail?: string | undefined;
443
+ meta?: Record<string, unknown> | undefined;
444
+ }, {
445
+ status: string;
446
+ title: string;
447
+ detail?: string | undefined;
448
+ meta?: Record<string, unknown> | undefined;
449
+ }>, "many">;
450
+ }, "strip", z.ZodTypeAny, {
451
+ errors: {
452
+ status: string;
453
+ title: string;
454
+ detail?: string | undefined;
455
+ meta?: Record<string, unknown> | undefined;
456
+ }[];
457
+ }, {
458
+ errors: {
459
+ status: string;
460
+ title: string;
461
+ detail?: string | undefined;
462
+ meta?: Record<string, unknown> | undefined;
463
+ }[];
464
+ }>;
465
+ 403: z.ZodObject<{
466
+ errors: z.ZodArray<z.ZodObject<{
467
+ status: z.ZodString;
468
+ title: z.ZodString;
469
+ detail: z.ZodOptional<z.ZodString>;
470
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ status: string;
473
+ title: string;
474
+ detail?: string | undefined;
475
+ meta?: Record<string, unknown> | undefined;
476
+ }, {
477
+ status: string;
478
+ title: string;
479
+ detail?: string | undefined;
480
+ meta?: Record<string, unknown> | undefined;
481
+ }>, "many">;
482
+ }, "strip", z.ZodTypeAny, {
483
+ errors: {
484
+ status: string;
485
+ title: string;
486
+ detail?: string | undefined;
487
+ meta?: Record<string, unknown> | undefined;
488
+ }[];
489
+ }, {
490
+ errors: {
491
+ status: string;
492
+ title: string;
493
+ detail?: string | undefined;
494
+ meta?: Record<string, unknown> | undefined;
495
+ }[];
496
+ }>;
497
+ };
498
+ };
3
499
  listJobCosts: {
4
500
  pathParams: z.ZodObject<{
5
501
  projectId: z.ZodString;
@@ -552,8 +1048,8 @@ export declare const contractorLedgerContract: {
552
1048
  createdAt: string;
553
1049
  updatedAt: string;
554
1050
  companyId: string;
555
- projectId: string;
556
1051
  name: string;
1052
+ projectId: string;
557
1053
  unit: string;
558
1054
  quantity: number;
559
1055
  sku: string;
@@ -563,8 +1059,8 @@ export declare const contractorLedgerContract: {
563
1059
  createdAt: string;
564
1060
  updatedAt: string;
565
1061
  companyId: string;
566
- projectId: string;
567
1062
  name: string;
1063
+ projectId: string;
568
1064
  unit: string;
569
1065
  quantity: number;
570
1066
  sku: string;
@@ -578,8 +1074,8 @@ export declare const contractorLedgerContract: {
578
1074
  createdAt: string;
579
1075
  updatedAt: string;
580
1076
  companyId: string;
581
- projectId: string;
582
1077
  name: string;
1078
+ projectId: string;
583
1079
  unit: string;
584
1080
  quantity: number;
585
1081
  sku: string;
@@ -593,8 +1089,8 @@ export declare const contractorLedgerContract: {
593
1089
  createdAt: string;
594
1090
  updatedAt: string;
595
1091
  companyId: string;
596
- projectId: string;
597
1092
  name: string;
1093
+ projectId: string;
598
1094
  unit: string;
599
1095
  quantity: number;
600
1096
  sku: string;
@@ -651,8 +1147,8 @@ export declare const contractorLedgerContract: {
651
1147
  createdAt: string;
652
1148
  updatedAt: string;
653
1149
  companyId: string;
654
- projectId: string;
655
1150
  name: string;
1151
+ projectId: string;
656
1152
  unit: string;
657
1153
  quantity: number;
658
1154
  sku: string;
@@ -683,8 +1179,8 @@ export declare const contractorLedgerContract: {
683
1179
  createdAt: string;
684
1180
  updatedAt: string;
685
1181
  companyId: string;
686
- projectId: string;
687
1182
  name: string;
1183
+ projectId: string;
688
1184
  unit: string;
689
1185
  quantity: number;
690
1186
  sku: string;
@@ -828,8 +1324,8 @@ export declare const contractorLedgerContract: {
828
1324
  createdAt: string;
829
1325
  updatedAt: string;
830
1326
  companyId: string;
831
- projectId: string;
832
1327
  name: string;
1328
+ projectId: string;
833
1329
  unit: string;
834
1330
  quantity: number;
835
1331
  sku: string;
@@ -839,8 +1335,8 @@ export declare const contractorLedgerContract: {
839
1335
  createdAt: string;
840
1336
  updatedAt: string;
841
1337
  companyId: string;
842
- projectId: string;
843
1338
  name: string;
1339
+ projectId: string;
844
1340
  unit: string;
845
1341
  quantity: number;
846
1342
  sku: string;
@@ -854,8 +1350,8 @@ export declare const contractorLedgerContract: {
854
1350
  createdAt: string;
855
1351
  updatedAt: string;
856
1352
  companyId: string;
857
- projectId: string;
858
1353
  name: string;
1354
+ projectId: string;
859
1355
  unit: string;
860
1356
  quantity: number;
861
1357
  sku: string;
@@ -869,8 +1365,8 @@ export declare const contractorLedgerContract: {
869
1365
  createdAt: string;
870
1366
  updatedAt: string;
871
1367
  companyId: string;
872
- projectId: string;
873
1368
  name: string;
1369
+ projectId: string;
874
1370
  unit: string;
875
1371
  quantity: number;
876
1372
  sku: string;
@@ -922,8 +1418,8 @@ export declare const contractorLedgerContract: {
922
1418
  createdAt: string;
923
1419
  updatedAt: string;
924
1420
  companyId: string;
925
- projectId: string;
926
1421
  name: string;
1422
+ projectId: string;
927
1423
  unit: string;
928
1424
  quantity: number;
929
1425
  sku: string;
@@ -953,8 +1449,8 @@ export declare const contractorLedgerContract: {
953
1449
  createdAt: string;
954
1450
  updatedAt: string;
955
1451
  companyId: string;
956
- projectId: string;
957
1452
  name: string;
1453
+ projectId: string;
958
1454
  unit: string;
959
1455
  quantity: number;
960
1456
  sku: string;
@@ -1 +1 @@
1
- {"version":3,"file":"contractor-ledger.d.ts","sourceRoot":"","sources":["../../../src/contracts/contractor-ledger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsBxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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