@kynver-app/mcp-estimator 0.2.16 → 0.2.17

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 (45) hide show
  1. package/dist/index.js +1 -14
  2. package/dist/sse.js +1 -9
  3. package/package.json +5 -4
  4. package/dist/index.d.ts +0 -7
  5. package/dist/lib/kynver-client.d.ts +0 -20
  6. package/dist/lib/kynver-client.js +0 -115
  7. package/dist/lib/mcp-sse-server.d.ts +0 -44
  8. package/dist/lib/mcp-sse-server.js +0 -441
  9. package/dist/lib/package-version.d.ts +0 -7
  10. package/dist/lib/package-version.js +0 -44
  11. package/dist/server.d.ts +0 -6
  12. package/dist/server.js +0 -119
  13. package/dist/sse.d.ts +0 -1
  14. package/dist/tools/catalog-tools.d.ts +0 -381
  15. package/dist/tools/catalog-tools.js +0 -192
  16. package/dist/tools/client-tools.d.ts +0 -193
  17. package/dist/tools/client-tools.js +0 -105
  18. package/dist/tools/company-tools.d.ts +0 -163
  19. package/dist/tools/company-tools.js +0 -98
  20. package/dist/tools/email-pdf-tools.d.ts +0 -51
  21. package/dist/tools/email-pdf-tools.js +0 -22
  22. package/dist/tools/estimate-tools.d.ts +0 -531
  23. package/dist/tools/estimate-tools.js +0 -259
  24. package/dist/tools/intake-tools.d.ts +0 -463
  25. package/dist/tools/intake-tools.js +0 -82
  26. package/dist/tools/photo-tools.d.ts +0 -77
  27. package/dist/tools/photo-tools.js +0 -51
  28. package/dist/tools/price-catalog-tools.d.ts +0 -96
  29. package/dist/tools/price-catalog-tools.js +0 -72
  30. package/dist/tools/remodel-deliverable-tools.d.ts +0 -1868
  31. package/dist/tools/remodel-deliverable-tools.js +0 -138
  32. package/dist/tools/remodel-estimate-tools.d.ts +0 -525
  33. package/dist/tools/remodel-estimate-tools.js +0 -71
  34. package/dist/tools/signing-tools.d.ts +0 -89
  35. package/dist/tools/signing-tools.js +0 -51
  36. package/dist/tools/stats-pdf-tools.d.ts +0 -113
  37. package/dist/tools/stats-pdf-tools.js +0 -73
  38. package/dist/tools/takeoff-tools.d.ts +0 -730
  39. package/dist/tools/takeoff-tools.js +0 -297
  40. package/dist/tools/template-tools.d.ts +0 -96
  41. package/dist/tools/template-tools.js +0 -70
  42. package/dist/tools/version-tools.d.ts +0 -46
  43. package/dist/tools/version-tools.js +0 -33
  44. package/dist/tools/vision-tools.d.ts +0 -52
  45. package/dist/tools/vision-tools.js +0 -42
@@ -1,730 +0,0 @@
1
- import { z } from "zod";
2
- declare const projectIdSchema: z.ZodObject<{
3
- projectId: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- projectId: string;
6
- }, {
7
- projectId: string;
8
- }>;
9
- declare const createTakeoffProjectSchema: z.ZodObject<{
10
- projectName: z.ZodString;
11
- buildingType: z.ZodEnum<["commercial", "residential"]>;
12
- siteAddress: z.ZodOptional<z.ZodString>;
13
- clientId: z.ZodOptional<z.ZodString>;
14
- companyId: z.ZodOptional<z.ZodString>;
15
- }, "strip", z.ZodTypeAny, {
16
- projectName: string;
17
- buildingType: "commercial" | "residential";
18
- clientId?: string | undefined;
19
- companyId?: string | undefined;
20
- siteAddress?: string | undefined;
21
- }, {
22
- projectName: string;
23
- buildingType: "commercial" | "residential";
24
- clientId?: string | undefined;
25
- companyId?: string | undefined;
26
- siteAddress?: string | undefined;
27
- }>;
28
- declare const listTakeoffProjectsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
29
- declare const uploadTakeoffInputSchema: z.ZodObject<{
30
- projectId: z.ZodString;
31
- kind: z.ZodString;
32
- fileName: z.ZodString;
33
- base64: z.ZodString;
34
- mimeType: z.ZodOptional<z.ZodString>;
35
- remodelHints: z.ZodOptional<z.ZodObject<{
36
- cabinetLinearFt: z.ZodOptional<z.ZodNumber>;
37
- rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
38
- name: z.ZodString;
39
- lengthFt: z.ZodOptional<z.ZodNumber>;
40
- widthFt: z.ZodOptional<z.ZodNumber>;
41
- }, "strip", z.ZodTypeAny, {
42
- name: string;
43
- lengthFt?: number | undefined;
44
- widthFt?: number | undefined;
45
- }, {
46
- name: string;
47
- lengthFt?: number | undefined;
48
- widthFt?: number | undefined;
49
- }>, "many">>;
50
- baths: z.ZodOptional<z.ZodArray<z.ZodObject<{
51
- type: z.ZodOptional<z.ZodEnum<["full", "half", "three_quarter", "unknown"]>>;
52
- count: z.ZodOptional<z.ZodNumber>;
53
- label: z.ZodOptional<z.ZodString>;
54
- }, "strip", z.ZodTypeAny, {
55
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
56
- count?: number | undefined;
57
- label?: string | undefined;
58
- }, {
59
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
60
- count?: number | undefined;
61
- label?: string | undefined;
62
- }>, "many">>;
63
- flooringSqFt: z.ZodOptional<z.ZodNumber>;
64
- drywallSqFt: z.ZodOptional<z.ZodNumber>;
65
- paintSqFt: z.ZodOptional<z.ZodNumber>;
66
- roofSqFt: z.ZodOptional<z.ZodNumber>;
67
- flags: z.ZodOptional<z.ZodObject<{
68
- wallMovingRisk: z.ZodOptional<z.ZodBoolean>;
69
- electricalSurpriseRisk: z.ZodOptional<z.ZodBoolean>;
70
- plumbingSurpriseRisk: z.ZodOptional<z.ZodBoolean>;
71
- }, "strip", z.ZodTypeAny, {
72
- wallMovingRisk?: boolean | undefined;
73
- electricalSurpriseRisk?: boolean | undefined;
74
- plumbingSurpriseRisk?: boolean | undefined;
75
- }, {
76
- wallMovingRisk?: boolean | undefined;
77
- electricalSurpriseRisk?: boolean | undefined;
78
- plumbingSurpriseRisk?: boolean | undefined;
79
- }>>;
80
- notes: z.ZodOptional<z.ZodString>;
81
- }, "strip", z.ZodTypeAny, {
82
- notes?: string | undefined;
83
- cabinetLinearFt?: number | undefined;
84
- rooms?: {
85
- name: string;
86
- lengthFt?: number | undefined;
87
- widthFt?: number | undefined;
88
- }[] | undefined;
89
- baths?: {
90
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
91
- count?: number | undefined;
92
- label?: string | undefined;
93
- }[] | undefined;
94
- flooringSqFt?: number | undefined;
95
- drywallSqFt?: number | undefined;
96
- paintSqFt?: number | undefined;
97
- roofSqFt?: number | undefined;
98
- flags?: {
99
- wallMovingRisk?: boolean | undefined;
100
- electricalSurpriseRisk?: boolean | undefined;
101
- plumbingSurpriseRisk?: boolean | undefined;
102
- } | undefined;
103
- }, {
104
- notes?: string | undefined;
105
- cabinetLinearFt?: number | undefined;
106
- rooms?: {
107
- name: string;
108
- lengthFt?: number | undefined;
109
- widthFt?: number | undefined;
110
- }[] | undefined;
111
- baths?: {
112
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
113
- count?: number | undefined;
114
- label?: string | undefined;
115
- }[] | undefined;
116
- flooringSqFt?: number | undefined;
117
- drywallSqFt?: number | undefined;
118
- paintSqFt?: number | undefined;
119
- roofSqFt?: number | undefined;
120
- flags?: {
121
- wallMovingRisk?: boolean | undefined;
122
- electricalSurpriseRisk?: boolean | undefined;
123
- plumbingSurpriseRisk?: boolean | undefined;
124
- } | undefined;
125
- }>>;
126
- }, "strip", z.ZodTypeAny, {
127
- base64: string;
128
- projectId: string;
129
- kind: string;
130
- fileName: string;
131
- mimeType?: string | undefined;
132
- remodelHints?: {
133
- notes?: string | undefined;
134
- cabinetLinearFt?: number | undefined;
135
- rooms?: {
136
- name: string;
137
- lengthFt?: number | undefined;
138
- widthFt?: number | undefined;
139
- }[] | undefined;
140
- baths?: {
141
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
142
- count?: number | undefined;
143
- label?: string | undefined;
144
- }[] | undefined;
145
- flooringSqFt?: number | undefined;
146
- drywallSqFt?: number | undefined;
147
- paintSqFt?: number | undefined;
148
- roofSqFt?: number | undefined;
149
- flags?: {
150
- wallMovingRisk?: boolean | undefined;
151
- electricalSurpriseRisk?: boolean | undefined;
152
- plumbingSurpriseRisk?: boolean | undefined;
153
- } | undefined;
154
- } | undefined;
155
- }, {
156
- base64: string;
157
- projectId: string;
158
- kind: string;
159
- fileName: string;
160
- mimeType?: string | undefined;
161
- remodelHints?: {
162
- notes?: string | undefined;
163
- cabinetLinearFt?: number | undefined;
164
- rooms?: {
165
- name: string;
166
- lengthFt?: number | undefined;
167
- widthFt?: number | undefined;
168
- }[] | undefined;
169
- baths?: {
170
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
171
- count?: number | undefined;
172
- label?: string | undefined;
173
- }[] | undefined;
174
- flooringSqFt?: number | undefined;
175
- drywallSqFt?: number | undefined;
176
- paintSqFt?: number | undefined;
177
- roofSqFt?: number | undefined;
178
- flags?: {
179
- wallMovingRisk?: boolean | undefined;
180
- electricalSurpriseRisk?: boolean | undefined;
181
- plumbingSurpriseRisk?: boolean | undefined;
182
- } | undefined;
183
- } | undefined;
184
- }>;
185
- declare const listTakeoffRowsSchema: z.ZodObject<{
186
- projectId: z.ZodString;
187
- reviewState: z.ZodOptional<z.ZodString>;
188
- }, "strip", z.ZodTypeAny, {
189
- projectId: string;
190
- reviewState?: string | undefined;
191
- }, {
192
- projectId: string;
193
- reviewState?: string | undefined;
194
- }>;
195
- declare const reviewTakeoffRowSchema: z.ZodObject<{
196
- projectId: z.ZodString;
197
- rowId: z.ZodString;
198
- action: z.ZodEnum<["approve", "skip", "edit"]>;
199
- edits: z.ZodOptional<z.ZodObject<{
200
- description: z.ZodOptional<z.ZodString>;
201
- quantity: z.ZodOptional<z.ZodNumber>;
202
- unit: z.ZodOptional<z.ZodString>;
203
- serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
- }, "strip", z.ZodTypeAny, {
205
- serviceCode?: string | null | undefined;
206
- unit?: string | undefined;
207
- quantity?: number | undefined;
208
- description?: string | undefined;
209
- }, {
210
- serviceCode?: string | null | undefined;
211
- unit?: string | undefined;
212
- quantity?: number | undefined;
213
- description?: string | undefined;
214
- }>>;
215
- }, "strip", z.ZodTypeAny, {
216
- action: "skip" | "edit" | "approve";
217
- projectId: string;
218
- rowId: string;
219
- edits?: {
220
- serviceCode?: string | null | undefined;
221
- unit?: string | undefined;
222
- quantity?: number | undefined;
223
- description?: string | undefined;
224
- } | undefined;
225
- }, {
226
- action: "skip" | "edit" | "approve";
227
- projectId: string;
228
- rowId: string;
229
- edits?: {
230
- serviceCode?: string | null | undefined;
231
- unit?: string | undefined;
232
- quantity?: number | undefined;
233
- description?: string | undefined;
234
- } | undefined;
235
- }>;
236
- declare const commitTakeoffSchema: z.ZodObject<{
237
- projectId: z.ZodString;
238
- overrideNote: z.ZodOptional<z.ZodString>;
239
- }, "strip", z.ZodTypeAny, {
240
- projectId: string;
241
- overrideNote?: string | undefined;
242
- }, {
243
- projectId: string;
244
- overrideNote?: string | undefined;
245
- }>;
246
- declare const listSystemPacksSchema: z.ZodObject<{
247
- segment: z.ZodOptional<z.ZodEnum<["commercial", "residential"]>>;
248
- }, "strip", z.ZodTypeAny, {
249
- segment?: "commercial" | "residential" | undefined;
250
- }, {
251
- segment?: "commercial" | "residential" | undefined;
252
- }>;
253
- declare const applySystemPackSchema: z.ZodObject<{
254
- projectId: z.ZodString;
255
- systemPackSlug: z.ZodString;
256
- serviceProfileId: z.ZodOptional<z.ZodString>;
257
- }, "strip", z.ZodTypeAny, {
258
- projectId: string;
259
- systemPackSlug: string;
260
- serviceProfileId?: string | undefined;
261
- }, {
262
- projectId: string;
263
- systemPackSlug: string;
264
- serviceProfileId?: string | undefined;
265
- }>;
266
- declare const listServiceProfilesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
267
- declare const upsertServiceProfileSchema: z.ZodObject<{
268
- slug: z.ZodString;
269
- name: z.ZodString;
270
- segment: z.ZodEnum<["commercial_service", "commercial_production", "residential_service", "residential_production"]>;
271
- laborMultiplier: z.ZodOptional<z.ZodNumber>;
272
- defaultWastePercent: z.ZodOptional<z.ZodNumber>;
273
- }, "strip", z.ZodTypeAny, {
274
- name: string;
275
- segment: "commercial_service" | "commercial_production" | "residential_service" | "residential_production";
276
- slug: string;
277
- laborMultiplier?: number | undefined;
278
- defaultWastePercent?: number | undefined;
279
- }, {
280
- name: string;
281
- segment: "commercial_service" | "commercial_production" | "residential_service" | "residential_production";
282
- slug: string;
283
- laborMultiplier?: number | undefined;
284
- defaultWastePercent?: number | undefined;
285
- }>;
286
- declare const requestEstimateApprovalSchema: z.ZodObject<{
287
- estimateId: z.ZodString;
288
- note: z.ZodOptional<z.ZodString>;
289
- }, "strip", z.ZodTypeAny, {
290
- estimateId: string;
291
- note?: string | undefined;
292
- }, {
293
- estimateId: string;
294
- note?: string | undefined;
295
- }>;
296
- declare const approveEstimateSchema: z.ZodObject<{
297
- estimateId: z.ZodString;
298
- approvalId: z.ZodString;
299
- action: z.ZodEnum<["approve", "reject"]>;
300
- note: z.ZodOptional<z.ZodString>;
301
- }, "strip", z.ZodTypeAny, {
302
- action: "approve" | "reject";
303
- estimateId: string;
304
- approvalId: string;
305
- note?: string | undefined;
306
- }, {
307
- action: "approve" | "reject";
308
- estimateId: string;
309
- approvalId: string;
310
- note?: string | undefined;
311
- }>;
312
- declare const getEstimateApprovalSchema: z.ZodObject<{
313
- estimateId: z.ZodString;
314
- }, "strip", z.ZodTypeAny, {
315
- estimateId: string;
316
- }, {
317
- estimateId: string;
318
- }>;
319
- export declare const createTakeoffProject: {
320
- name: string;
321
- description: string;
322
- inputSchemaZod: z.ZodObject<{
323
- projectName: z.ZodString;
324
- buildingType: z.ZodEnum<["commercial", "residential"]>;
325
- siteAddress: z.ZodOptional<z.ZodString>;
326
- clientId: z.ZodOptional<z.ZodString>;
327
- companyId: z.ZodOptional<z.ZodString>;
328
- }, "strip", z.ZodTypeAny, {
329
- projectName: string;
330
- buildingType: "commercial" | "residential";
331
- clientId?: string | undefined;
332
- companyId?: string | undefined;
333
- siteAddress?: string | undefined;
334
- }, {
335
- projectName: string;
336
- buildingType: "commercial" | "residential";
337
- clientId?: string | undefined;
338
- companyId?: string | undefined;
339
- siteAddress?: string | undefined;
340
- }>;
341
- execute: (args: z.infer<typeof createTakeoffProjectSchema>) => Promise<string>;
342
- };
343
- export declare const getTakeoffProject: {
344
- name: string;
345
- description: string;
346
- inputSchemaZod: z.ZodObject<{
347
- projectId: z.ZodString;
348
- }, "strip", z.ZodTypeAny, {
349
- projectId: string;
350
- }, {
351
- projectId: string;
352
- }>;
353
- execute: (args: z.infer<typeof projectIdSchema>) => Promise<string>;
354
- };
355
- export declare const listTakeoffProjects: {
356
- name: string;
357
- description: string;
358
- inputSchemaZod: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
359
- execute: (_args: z.infer<typeof listTakeoffProjectsSchema>) => Promise<string>;
360
- };
361
- export declare const uploadTakeoffInput: {
362
- name: string;
363
- description: string;
364
- inputSchemaZod: z.ZodObject<{
365
- projectId: z.ZodString;
366
- kind: z.ZodString;
367
- fileName: z.ZodString;
368
- base64: z.ZodString;
369
- mimeType: z.ZodOptional<z.ZodString>;
370
- remodelHints: z.ZodOptional<z.ZodObject<{
371
- cabinetLinearFt: z.ZodOptional<z.ZodNumber>;
372
- rooms: z.ZodOptional<z.ZodArray<z.ZodObject<{
373
- name: z.ZodString;
374
- lengthFt: z.ZodOptional<z.ZodNumber>;
375
- widthFt: z.ZodOptional<z.ZodNumber>;
376
- }, "strip", z.ZodTypeAny, {
377
- name: string;
378
- lengthFt?: number | undefined;
379
- widthFt?: number | undefined;
380
- }, {
381
- name: string;
382
- lengthFt?: number | undefined;
383
- widthFt?: number | undefined;
384
- }>, "many">>;
385
- baths: z.ZodOptional<z.ZodArray<z.ZodObject<{
386
- type: z.ZodOptional<z.ZodEnum<["full", "half", "three_quarter", "unknown"]>>;
387
- count: z.ZodOptional<z.ZodNumber>;
388
- label: z.ZodOptional<z.ZodString>;
389
- }, "strip", z.ZodTypeAny, {
390
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
391
- count?: number | undefined;
392
- label?: string | undefined;
393
- }, {
394
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
395
- count?: number | undefined;
396
- label?: string | undefined;
397
- }>, "many">>;
398
- flooringSqFt: z.ZodOptional<z.ZodNumber>;
399
- drywallSqFt: z.ZodOptional<z.ZodNumber>;
400
- paintSqFt: z.ZodOptional<z.ZodNumber>;
401
- roofSqFt: z.ZodOptional<z.ZodNumber>;
402
- flags: z.ZodOptional<z.ZodObject<{
403
- wallMovingRisk: z.ZodOptional<z.ZodBoolean>;
404
- electricalSurpriseRisk: z.ZodOptional<z.ZodBoolean>;
405
- plumbingSurpriseRisk: z.ZodOptional<z.ZodBoolean>;
406
- }, "strip", z.ZodTypeAny, {
407
- wallMovingRisk?: boolean | undefined;
408
- electricalSurpriseRisk?: boolean | undefined;
409
- plumbingSurpriseRisk?: boolean | undefined;
410
- }, {
411
- wallMovingRisk?: boolean | undefined;
412
- electricalSurpriseRisk?: boolean | undefined;
413
- plumbingSurpriseRisk?: boolean | undefined;
414
- }>>;
415
- notes: z.ZodOptional<z.ZodString>;
416
- }, "strip", z.ZodTypeAny, {
417
- notes?: string | undefined;
418
- cabinetLinearFt?: number | undefined;
419
- rooms?: {
420
- name: string;
421
- lengthFt?: number | undefined;
422
- widthFt?: number | undefined;
423
- }[] | undefined;
424
- baths?: {
425
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
426
- count?: number | undefined;
427
- label?: string | undefined;
428
- }[] | undefined;
429
- flooringSqFt?: number | undefined;
430
- drywallSqFt?: number | undefined;
431
- paintSqFt?: number | undefined;
432
- roofSqFt?: number | undefined;
433
- flags?: {
434
- wallMovingRisk?: boolean | undefined;
435
- electricalSurpriseRisk?: boolean | undefined;
436
- plumbingSurpriseRisk?: boolean | undefined;
437
- } | undefined;
438
- }, {
439
- notes?: string | undefined;
440
- cabinetLinearFt?: number | undefined;
441
- rooms?: {
442
- name: string;
443
- lengthFt?: number | undefined;
444
- widthFt?: number | undefined;
445
- }[] | undefined;
446
- baths?: {
447
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
448
- count?: number | undefined;
449
- label?: string | undefined;
450
- }[] | undefined;
451
- flooringSqFt?: number | undefined;
452
- drywallSqFt?: number | undefined;
453
- paintSqFt?: number | undefined;
454
- roofSqFt?: number | undefined;
455
- flags?: {
456
- wallMovingRisk?: boolean | undefined;
457
- electricalSurpriseRisk?: boolean | undefined;
458
- plumbingSurpriseRisk?: boolean | undefined;
459
- } | undefined;
460
- }>>;
461
- }, "strip", z.ZodTypeAny, {
462
- base64: string;
463
- projectId: string;
464
- kind: string;
465
- fileName: string;
466
- mimeType?: string | undefined;
467
- remodelHints?: {
468
- notes?: string | undefined;
469
- cabinetLinearFt?: number | undefined;
470
- rooms?: {
471
- name: string;
472
- lengthFt?: number | undefined;
473
- widthFt?: number | undefined;
474
- }[] | undefined;
475
- baths?: {
476
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
477
- count?: number | undefined;
478
- label?: string | undefined;
479
- }[] | undefined;
480
- flooringSqFt?: number | undefined;
481
- drywallSqFt?: number | undefined;
482
- paintSqFt?: number | undefined;
483
- roofSqFt?: number | undefined;
484
- flags?: {
485
- wallMovingRisk?: boolean | undefined;
486
- electricalSurpriseRisk?: boolean | undefined;
487
- plumbingSurpriseRisk?: boolean | undefined;
488
- } | undefined;
489
- } | undefined;
490
- }, {
491
- base64: string;
492
- projectId: string;
493
- kind: string;
494
- fileName: string;
495
- mimeType?: string | undefined;
496
- remodelHints?: {
497
- notes?: string | undefined;
498
- cabinetLinearFt?: number | undefined;
499
- rooms?: {
500
- name: string;
501
- lengthFt?: number | undefined;
502
- widthFt?: number | undefined;
503
- }[] | undefined;
504
- baths?: {
505
- type?: "unknown" | "full" | "half" | "three_quarter" | undefined;
506
- count?: number | undefined;
507
- label?: string | undefined;
508
- }[] | undefined;
509
- flooringSqFt?: number | undefined;
510
- drywallSqFt?: number | undefined;
511
- paintSqFt?: number | undefined;
512
- roofSqFt?: number | undefined;
513
- flags?: {
514
- wallMovingRisk?: boolean | undefined;
515
- electricalSurpriseRisk?: boolean | undefined;
516
- plumbingSurpriseRisk?: boolean | undefined;
517
- } | undefined;
518
- } | undefined;
519
- }>;
520
- execute: (args: z.infer<typeof uploadTakeoffInputSchema>) => Promise<string>;
521
- };
522
- export declare const runTakeoffExtract: {
523
- name: string;
524
- description: string;
525
- inputSchemaZod: z.ZodObject<{
526
- projectId: z.ZodString;
527
- }, "strip", z.ZodTypeAny, {
528
- projectId: string;
529
- }, {
530
- projectId: string;
531
- }>;
532
- execute: (args: z.infer<typeof projectIdSchema>) => Promise<string>;
533
- };
534
- export declare const listTakeoffRows: {
535
- name: string;
536
- description: string;
537
- inputSchemaZod: z.ZodObject<{
538
- projectId: z.ZodString;
539
- reviewState: z.ZodOptional<z.ZodString>;
540
- }, "strip", z.ZodTypeAny, {
541
- projectId: string;
542
- reviewState?: string | undefined;
543
- }, {
544
- projectId: string;
545
- reviewState?: string | undefined;
546
- }>;
547
- execute: (args: z.infer<typeof listTakeoffRowsSchema>) => Promise<string>;
548
- };
549
- export declare const reviewTakeoffRow: {
550
- name: string;
551
- description: string;
552
- inputSchemaZod: z.ZodObject<{
553
- projectId: z.ZodString;
554
- rowId: z.ZodString;
555
- action: z.ZodEnum<["approve", "skip", "edit"]>;
556
- edits: z.ZodOptional<z.ZodObject<{
557
- description: z.ZodOptional<z.ZodString>;
558
- quantity: z.ZodOptional<z.ZodNumber>;
559
- unit: z.ZodOptional<z.ZodString>;
560
- serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
561
- }, "strip", z.ZodTypeAny, {
562
- serviceCode?: string | null | undefined;
563
- unit?: string | undefined;
564
- quantity?: number | undefined;
565
- description?: string | undefined;
566
- }, {
567
- serviceCode?: string | null | undefined;
568
- unit?: string | undefined;
569
- quantity?: number | undefined;
570
- description?: string | undefined;
571
- }>>;
572
- }, "strip", z.ZodTypeAny, {
573
- action: "skip" | "edit" | "approve";
574
- projectId: string;
575
- rowId: string;
576
- edits?: {
577
- serviceCode?: string | null | undefined;
578
- unit?: string | undefined;
579
- quantity?: number | undefined;
580
- description?: string | undefined;
581
- } | undefined;
582
- }, {
583
- action: "skip" | "edit" | "approve";
584
- projectId: string;
585
- rowId: string;
586
- edits?: {
587
- serviceCode?: string | null | undefined;
588
- unit?: string | undefined;
589
- quantity?: number | undefined;
590
- description?: string | undefined;
591
- } | undefined;
592
- }>;
593
- execute: (args: z.infer<typeof reviewTakeoffRowSchema>) => Promise<string>;
594
- };
595
- export declare const commitTakeoff: {
596
- name: string;
597
- description: string;
598
- inputSchemaZod: z.ZodObject<{
599
- projectId: z.ZodString;
600
- overrideNote: z.ZodOptional<z.ZodString>;
601
- }, "strip", z.ZodTypeAny, {
602
- projectId: string;
603
- overrideNote?: string | undefined;
604
- }, {
605
- projectId: string;
606
- overrideNote?: string | undefined;
607
- }>;
608
- execute: (args: z.infer<typeof commitTakeoffSchema>) => Promise<string>;
609
- };
610
- export declare const listSystemPacks: {
611
- name: string;
612
- description: string;
613
- inputSchemaZod: z.ZodObject<{
614
- segment: z.ZodOptional<z.ZodEnum<["commercial", "residential"]>>;
615
- }, "strip", z.ZodTypeAny, {
616
- segment?: "commercial" | "residential" | undefined;
617
- }, {
618
- segment?: "commercial" | "residential" | undefined;
619
- }>;
620
- execute: (args: z.infer<typeof listSystemPacksSchema>) => Promise<string>;
621
- };
622
- export declare const applySystemPack: {
623
- name: string;
624
- description: string;
625
- inputSchemaZod: z.ZodObject<{
626
- projectId: z.ZodString;
627
- systemPackSlug: z.ZodString;
628
- serviceProfileId: z.ZodOptional<z.ZodString>;
629
- }, "strip", z.ZodTypeAny, {
630
- projectId: string;
631
- systemPackSlug: string;
632
- serviceProfileId?: string | undefined;
633
- }, {
634
- projectId: string;
635
- systemPackSlug: string;
636
- serviceProfileId?: string | undefined;
637
- }>;
638
- execute: (args: z.infer<typeof applySystemPackSchema>) => Promise<string>;
639
- };
640
- export declare const listServiceProfiles: {
641
- name: string;
642
- description: string;
643
- inputSchemaZod: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
644
- execute: (_args: z.infer<typeof listServiceProfilesSchema>) => Promise<string>;
645
- };
646
- export declare const upsertServiceProfile: {
647
- name: string;
648
- description: string;
649
- inputSchemaZod: z.ZodObject<{
650
- slug: z.ZodString;
651
- name: z.ZodString;
652
- segment: z.ZodEnum<["commercial_service", "commercial_production", "residential_service", "residential_production"]>;
653
- laborMultiplier: z.ZodOptional<z.ZodNumber>;
654
- defaultWastePercent: z.ZodOptional<z.ZodNumber>;
655
- }, "strip", z.ZodTypeAny, {
656
- name: string;
657
- segment: "commercial_service" | "commercial_production" | "residential_service" | "residential_production";
658
- slug: string;
659
- laborMultiplier?: number | undefined;
660
- defaultWastePercent?: number | undefined;
661
- }, {
662
- name: string;
663
- segment: "commercial_service" | "commercial_production" | "residential_service" | "residential_production";
664
- slug: string;
665
- laborMultiplier?: number | undefined;
666
- defaultWastePercent?: number | undefined;
667
- }>;
668
- execute: (args: z.infer<typeof upsertServiceProfileSchema>) => Promise<string>;
669
- };
670
- export declare const generateEstimateFromTakeoff: {
671
- name: string;
672
- description: string;
673
- inputSchemaZod: z.ZodObject<{
674
- projectId: z.ZodString;
675
- }, "strip", z.ZodTypeAny, {
676
- projectId: string;
677
- }, {
678
- projectId: string;
679
- }>;
680
- execute: (args: z.infer<typeof projectIdSchema>) => Promise<string>;
681
- };
682
- export declare const requestEstimateApproval: {
683
- name: string;
684
- description: string;
685
- inputSchemaZod: z.ZodObject<{
686
- estimateId: z.ZodString;
687
- note: z.ZodOptional<z.ZodString>;
688
- }, "strip", z.ZodTypeAny, {
689
- estimateId: string;
690
- note?: string | undefined;
691
- }, {
692
- estimateId: string;
693
- note?: string | undefined;
694
- }>;
695
- execute: (args: z.infer<typeof requestEstimateApprovalSchema>) => Promise<string>;
696
- };
697
- export declare const approveEstimate: {
698
- name: string;
699
- description: string;
700
- inputSchemaZod: z.ZodObject<{
701
- estimateId: z.ZodString;
702
- approvalId: z.ZodString;
703
- action: z.ZodEnum<["approve", "reject"]>;
704
- note: z.ZodOptional<z.ZodString>;
705
- }, "strip", z.ZodTypeAny, {
706
- action: "approve" | "reject";
707
- estimateId: string;
708
- approvalId: string;
709
- note?: string | undefined;
710
- }, {
711
- action: "approve" | "reject";
712
- estimateId: string;
713
- approvalId: string;
714
- note?: string | undefined;
715
- }>;
716
- execute: (args: z.infer<typeof approveEstimateSchema>) => Promise<string>;
717
- };
718
- export declare const getEstimateApproval: {
719
- name: string;
720
- description: string;
721
- inputSchemaZod: z.ZodObject<{
722
- estimateId: z.ZodString;
723
- }, "strip", z.ZodTypeAny, {
724
- estimateId: string;
725
- }, {
726
- estimateId: string;
727
- }>;
728
- execute: (args: z.infer<typeof getEstimateApprovalSchema>) => Promise<string>;
729
- };
730
- export {};