@deepintel-ltd/buildlink-api-contracts 0.2.31 → 0.2.34
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.
- package/README.md +1 -1
- package/contracts/auth.d.ts.map +1 -1
- package/contracts/auth.js.map +1 -1
- package/contracts/budget.d.ts +824 -6481
- package/contracts/budget.d.ts.map +1 -1
- package/contracts/budget.js +1 -286
- package/contracts/budget.js.map +1 -1
- package/contracts/commercial.d.ts +1 -241
- package/contracts/commercial.d.ts.map +1 -1
- package/contracts/commercial.js +2 -13
- package/contracts/commercial.js.map +1 -1
- package/contracts/communication.d.ts +1014 -1890
- package/contracts/communication.d.ts.map +1 -1
- package/contracts/communication.js +1 -65
- package/contracts/communication.js.map +1 -1
- package/contracts/daily-logs.d.ts +560 -0
- package/contracts/daily-logs.d.ts.map +1 -1
- package/contracts/deficiencies.d.ts +0 -375
- package/contracts/deficiencies.d.ts.map +1 -1
- package/contracts/deficiencies.js +1 -14
- package/contracts/deficiencies.js.map +1 -1
- package/contracts/directory.d.ts +0 -327
- package/contracts/directory.d.ts.map +1 -1
- package/contracts/directory.js +1 -18
- package/contracts/directory.js.map +1 -1
- package/contracts/documents.d.ts +391 -3437
- package/contracts/documents.d.ts.map +1 -1
- package/contracts/documents.js +0 -144
- package/contracts/documents.js.map +1 -1
- package/contracts/drawings.d.ts +441 -2313
- package/contracts/drawings.d.ts.map +1 -1
- package/contracts/drawings.js +1 -98
- package/contracts/drawings.js.map +1 -1
- package/contracts/index.d.ts +5 -3
- package/contracts/index.d.ts.map +1 -1
- package/contracts/index.js +3 -0
- package/contracts/index.js.map +1 -1
- package/contracts/material-index.d.ts +335 -13
- package/contracts/material-index.d.ts.map +1 -1
- package/contracts/material-index.js +12 -1
- package/contracts/material-index.js.map +1 -1
- package/contracts/meetings.d.ts +3845 -129
- package/contracts/meetings.d.ts.map +1 -1
- package/contracts/meetings.js +53 -1
- package/contracts/meetings.js.map +1 -1
- package/contracts/monitoring.d.ts +1133 -0
- package/contracts/monitoring.d.ts.map +1 -1
- package/contracts/monitoring.js +48 -1
- package/contracts/monitoring.js.map +1 -1
- package/contracts/projects.d.ts +435 -1106
- package/contracts/projects.d.ts.map +1 -1
- package/contracts/projects.js +0 -101
- package/contracts/projects.js.map +1 -1
- package/contracts/proof.d.ts +322 -0
- package/contracts/proof.d.ts.map +1 -1
- package/contracts/proof.js +14 -1
- package/contracts/proof.js.map +1 -1
- package/contracts/qaqc.d.ts +874 -0
- package/contracts/qaqc.d.ts.map +1 -1
- package/contracts/qaqc.js +13 -1
- package/contracts/qaqc.js.map +1 -1
- package/contracts/rbac.d.ts.map +1 -1
- package/contracts/rbac.js.map +1 -1
- package/contracts/reports.d.ts +72 -0
- package/contracts/reports.d.ts.map +1 -1
- package/contracts/resources.d.ts +1243 -5148
- package/contracts/resources.d.ts.map +1 -1
- package/contracts/resources.js +1 -245
- package/contracts/resources.js.map +1 -1
- package/contracts/safety.d.ts +176 -3685
- package/contracts/safety.d.ts.map +1 -1
- package/contracts/safety.js +1 -238
- package/contracts/safety.js.map +1 -1
- package/contracts/schedule.d.ts +517 -1468
- package/contracts/schedule.d.ts.map +1 -1
- package/contracts/schedule.js +1 -65
- package/contracts/schedule.js.map +1 -1
- package/contracts/specifications.d.ts +2744 -393
- package/contracts/specifications.d.ts.map +1 -1
- package/contracts/specifications.js +49 -10
- package/contracts/specifications.js.map +1 -1
- package/contracts/tasks.d.ts +2653 -3922
- package/contracts/tasks.d.ts.map +1 -1
- package/contracts/tasks.js +1 -149
- package/contracts/tasks.js.map +1 -1
- package/contracts/transmittals.d.ts +980 -0
- package/contracts/transmittals.d.ts.map +1 -1
- package/contracts/user-admin.d.ts +2635 -0
- package/contracts/user-admin.d.ts.map +1 -0
- package/contracts/user-admin.js +73 -0
- package/contracts/user-admin.js.map +1 -0
- package/package.json +6 -1
- package/schemas/budget.d.ts +149 -0
- package/schemas/budget.d.ts.map +1 -1
- package/schemas/budget.js +13 -0
- package/schemas/budget.js.map +1 -1
- package/schemas/communication.d.ts +94 -0
- package/schemas/communication.d.ts.map +1 -1
- package/schemas/communication.js +2 -0
- package/schemas/communication.js.map +1 -1
- package/schemas/daily-logs.d.ts +92 -0
- package/schemas/daily-logs.d.ts.map +1 -1
- package/schemas/daily-logs.js +1 -0
- package/schemas/daily-logs.js.map +1 -1
- package/schemas/documents.d.ts +49 -11
- package/schemas/documents.d.ts.map +1 -1
- package/schemas/documents.js +2 -1
- package/schemas/documents.js.map +1 -1
- package/schemas/drawings.d.ts +24 -24
- package/schemas/material-index.d.ts +116 -18
- package/schemas/material-index.d.ts.map +1 -1
- package/schemas/material-index.js +47 -3
- package/schemas/material-index.js.map +1 -1
- package/schemas/meetings.d.ts +641 -12
- package/schemas/meetings.d.ts.map +1 -1
- package/schemas/meetings.js +29 -1
- package/schemas/meetings.js.map +1 -1
- package/schemas/proof.d.ts +161 -0
- package/schemas/proof.d.ts.map +1 -1
- package/schemas/proof.js +17 -1
- package/schemas/proof.js.map +1 -1
- package/schemas/qaqc.d.ts +335 -0
- package/schemas/qaqc.d.ts.map +1 -1
- package/schemas/qaqc.js +16 -1
- package/schemas/qaqc.js.map +1 -1
- package/schemas/reports.d.ts +36 -0
- package/schemas/reports.d.ts.map +1 -1
- package/schemas/reports.js +4 -0
- package/schemas/reports.js.map +1 -1
- package/schemas/resources.d.ts +108 -0
- package/schemas/resources.d.ts.map +1 -1
- package/schemas/resources.js +2 -1
- package/schemas/resources.js.map +1 -1
- package/schemas/safety.d.ts +8 -8
- package/schemas/schedule.d.ts +232 -0
- package/schemas/schedule.d.ts.map +1 -1
- package/schemas/schedule.js +2 -1
- package/schemas/schedule.js.map +1 -1
- package/schemas/specifications.d.ts +542 -17
- package/schemas/specifications.d.ts.map +1 -1
- package/schemas/specifications.js +31 -7
- package/schemas/specifications.js.map +1 -1
- package/schemas/tasks.d.ts +58 -4
- package/schemas/tasks.d.ts.map +1 -1
- package/schemas/transmittals.d.ts +184 -0
- package/schemas/transmittals.d.ts.map +1 -1
- package/schemas/transmittals.js +3 -1
- package/schemas/transmittals.js.map +1 -1
- package/schemas/user-admin.d.ts +255 -0
- package/schemas/user-admin.d.ts.map +1 -0
- package/schemas/user-admin.js +50 -0
- package/schemas/user-admin.js.map +1 -0
package/contracts/projects.d.ts
CHANGED
|
@@ -1276,1098 +1276,83 @@ export declare const projectsContract: {
|
|
|
1276
1276
|
}>;
|
|
1277
1277
|
};
|
|
1278
1278
|
};
|
|
1279
|
-
|
|
1280
|
-
pathParams: z.ZodObject<{
|
|
1281
|
-
projectId: z.ZodString;
|
|
1282
|
-
}, "strip", z.ZodTypeAny, {
|
|
1283
|
-
projectId: string;
|
|
1284
|
-
}, {
|
|
1285
|
-
projectId: string;
|
|
1286
|
-
}>;
|
|
1287
|
-
summary: "Duplicate an existing project";
|
|
1288
|
-
method: "POST";
|
|
1289
|
-
body: z.ZodObject<{
|
|
1290
|
-
name: z.ZodString;
|
|
1291
|
-
startDate: z.ZodString;
|
|
1292
|
-
copyTasks: z.ZodDefault<z.ZodBoolean>;
|
|
1293
|
-
copyTeam: z.ZodDefault<z.ZodBoolean>;
|
|
1294
|
-
copyDocuments: z.ZodDefault<z.ZodBoolean>;
|
|
1295
|
-
}, "strip", z.ZodTypeAny, {
|
|
1296
|
-
name: string;
|
|
1297
|
-
startDate: string;
|
|
1298
|
-
copyTasks: boolean;
|
|
1299
|
-
copyTeam: boolean;
|
|
1300
|
-
copyDocuments: boolean;
|
|
1301
|
-
}, {
|
|
1302
|
-
name: string;
|
|
1303
|
-
startDate: string;
|
|
1304
|
-
copyTasks?: boolean | undefined;
|
|
1305
|
-
copyTeam?: boolean | undefined;
|
|
1306
|
-
copyDocuments?: boolean | undefined;
|
|
1307
|
-
}>;
|
|
1308
|
-
path: "/projects/:projectId/duplicate";
|
|
1309
|
-
responses: {
|
|
1310
|
-
201: z.ZodObject<{
|
|
1311
|
-
data: z.ZodObject<{
|
|
1312
|
-
type: z.ZodLiteral<"projects">;
|
|
1313
|
-
id: z.ZodString;
|
|
1314
|
-
attributes: z.ZodObject<{
|
|
1315
|
-
id: z.ZodString;
|
|
1316
|
-
name: z.ZodString;
|
|
1317
|
-
description: z.ZodNullable<z.ZodString>;
|
|
1318
|
-
status: z.ZodEffects<z.ZodEnum<["PLANNED", "IN_PROGRESS", "ON_HOLD", "COMPLETED", "CANCELLED", "ARCHIVED"]>, "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED", unknown>;
|
|
1319
|
-
priority: z.ZodEnum<["LOW", "MEDIUM", "HIGH", "CRITICAL"]>;
|
|
1320
|
-
startDate: z.ZodNullable<z.ZodString>;
|
|
1321
|
-
endDate: z.ZodNullable<z.ZodString>;
|
|
1322
|
-
budget: z.ZodNullable<z.ZodNumber>;
|
|
1323
|
-
currency: z.ZodString;
|
|
1324
|
-
clientId: z.ZodNullable<z.ZodString>;
|
|
1325
|
-
companyId: z.ZodString;
|
|
1326
|
-
isActive: z.ZodBoolean;
|
|
1327
|
-
createdAt: z.ZodString;
|
|
1328
|
-
updatedAt: z.ZodString;
|
|
1329
|
-
}, "strip", z.ZodTypeAny, {
|
|
1330
|
-
id: string;
|
|
1331
|
-
createdAt: string;
|
|
1332
|
-
updatedAt: string;
|
|
1333
|
-
companyId: string;
|
|
1334
|
-
isActive: boolean;
|
|
1335
|
-
status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
|
|
1336
|
-
name: string;
|
|
1337
|
-
description: string | null;
|
|
1338
|
-
currency: string;
|
|
1339
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1340
|
-
startDate: string | null;
|
|
1341
|
-
endDate: string | null;
|
|
1342
|
-
budget: number | null;
|
|
1343
|
-
clientId: string | null;
|
|
1344
|
-
}, {
|
|
1345
|
-
id: string;
|
|
1346
|
-
createdAt: string;
|
|
1347
|
-
updatedAt: string;
|
|
1348
|
-
companyId: string;
|
|
1349
|
-
isActive: boolean;
|
|
1350
|
-
name: string;
|
|
1351
|
-
description: string | null;
|
|
1352
|
-
currency: string;
|
|
1353
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1354
|
-
startDate: string | null;
|
|
1355
|
-
endDate: string | null;
|
|
1356
|
-
budget: number | null;
|
|
1357
|
-
clientId: string | null;
|
|
1358
|
-
status?: unknown;
|
|
1359
|
-
}>;
|
|
1360
|
-
}, "strip", z.ZodTypeAny, {
|
|
1361
|
-
id: string;
|
|
1362
|
-
type: "projects";
|
|
1363
|
-
attributes: {
|
|
1364
|
-
id: string;
|
|
1365
|
-
createdAt: string;
|
|
1366
|
-
updatedAt: string;
|
|
1367
|
-
companyId: string;
|
|
1368
|
-
isActive: boolean;
|
|
1369
|
-
status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
|
|
1370
|
-
name: string;
|
|
1371
|
-
description: string | null;
|
|
1372
|
-
currency: string;
|
|
1373
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1374
|
-
startDate: string | null;
|
|
1375
|
-
endDate: string | null;
|
|
1376
|
-
budget: number | null;
|
|
1377
|
-
clientId: string | null;
|
|
1378
|
-
};
|
|
1379
|
-
}, {
|
|
1380
|
-
id: string;
|
|
1381
|
-
type: "projects";
|
|
1382
|
-
attributes: {
|
|
1383
|
-
id: string;
|
|
1384
|
-
createdAt: string;
|
|
1385
|
-
updatedAt: string;
|
|
1386
|
-
companyId: string;
|
|
1387
|
-
isActive: boolean;
|
|
1388
|
-
name: string;
|
|
1389
|
-
description: string | null;
|
|
1390
|
-
currency: string;
|
|
1391
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1392
|
-
startDate: string | null;
|
|
1393
|
-
endDate: string | null;
|
|
1394
|
-
budget: number | null;
|
|
1395
|
-
clientId: string | null;
|
|
1396
|
-
status?: unknown;
|
|
1397
|
-
};
|
|
1398
|
-
}>;
|
|
1399
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1400
|
-
links: z.ZodOptional<z.ZodObject<{
|
|
1401
|
-
self: z.ZodString;
|
|
1402
|
-
first: z.ZodOptional<z.ZodString>;
|
|
1403
|
-
last: z.ZodOptional<z.ZodString>;
|
|
1404
|
-
prev: z.ZodOptional<z.ZodString>;
|
|
1405
|
-
next: z.ZodOptional<z.ZodString>;
|
|
1406
|
-
}, "strip", z.ZodTypeAny, {
|
|
1407
|
-
self: string;
|
|
1408
|
-
first?: string | undefined;
|
|
1409
|
-
last?: string | undefined;
|
|
1410
|
-
prev?: string | undefined;
|
|
1411
|
-
next?: string | undefined;
|
|
1412
|
-
}, {
|
|
1413
|
-
self: string;
|
|
1414
|
-
first?: string | undefined;
|
|
1415
|
-
last?: string | undefined;
|
|
1416
|
-
prev?: string | undefined;
|
|
1417
|
-
next?: string | undefined;
|
|
1418
|
-
}>>;
|
|
1419
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1420
|
-
status: z.ZodString;
|
|
1421
|
-
title: z.ZodString;
|
|
1422
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1423
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1424
|
-
}, "strip", z.ZodTypeAny, {
|
|
1425
|
-
status: string;
|
|
1426
|
-
title: string;
|
|
1427
|
-
detail?: string | undefined;
|
|
1428
|
-
meta?: Record<string, unknown> | undefined;
|
|
1429
|
-
}, {
|
|
1430
|
-
status: string;
|
|
1431
|
-
title: string;
|
|
1432
|
-
detail?: string | undefined;
|
|
1433
|
-
meta?: Record<string, unknown> | undefined;
|
|
1434
|
-
}>, "many">>;
|
|
1435
|
-
}, "strip", z.ZodTypeAny, {
|
|
1436
|
-
data: {
|
|
1437
|
-
id: string;
|
|
1438
|
-
type: "projects";
|
|
1439
|
-
attributes: {
|
|
1440
|
-
id: string;
|
|
1441
|
-
createdAt: string;
|
|
1442
|
-
updatedAt: string;
|
|
1443
|
-
companyId: string;
|
|
1444
|
-
isActive: boolean;
|
|
1445
|
-
status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
|
|
1446
|
-
name: string;
|
|
1447
|
-
description: string | null;
|
|
1448
|
-
currency: string;
|
|
1449
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1450
|
-
startDate: string | null;
|
|
1451
|
-
endDate: string | null;
|
|
1452
|
-
budget: number | null;
|
|
1453
|
-
clientId: string | null;
|
|
1454
|
-
};
|
|
1455
|
-
};
|
|
1456
|
-
meta?: Record<string, unknown> | undefined;
|
|
1457
|
-
links?: {
|
|
1458
|
-
self: string;
|
|
1459
|
-
first?: string | undefined;
|
|
1460
|
-
last?: string | undefined;
|
|
1461
|
-
prev?: string | undefined;
|
|
1462
|
-
next?: string | undefined;
|
|
1463
|
-
} | undefined;
|
|
1464
|
-
errors?: {
|
|
1465
|
-
status: string;
|
|
1466
|
-
title: string;
|
|
1467
|
-
detail?: string | undefined;
|
|
1468
|
-
meta?: Record<string, unknown> | undefined;
|
|
1469
|
-
}[] | undefined;
|
|
1470
|
-
}, {
|
|
1471
|
-
data: {
|
|
1472
|
-
id: string;
|
|
1473
|
-
type: "projects";
|
|
1474
|
-
attributes: {
|
|
1475
|
-
id: string;
|
|
1476
|
-
createdAt: string;
|
|
1477
|
-
updatedAt: string;
|
|
1478
|
-
companyId: string;
|
|
1479
|
-
isActive: boolean;
|
|
1480
|
-
name: string;
|
|
1481
|
-
description: string | null;
|
|
1482
|
-
currency: string;
|
|
1483
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1484
|
-
startDate: string | null;
|
|
1485
|
-
endDate: string | null;
|
|
1486
|
-
budget: number | null;
|
|
1487
|
-
clientId: string | null;
|
|
1488
|
-
status?: unknown;
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
meta?: Record<string, unknown> | undefined;
|
|
1492
|
-
links?: {
|
|
1493
|
-
self: string;
|
|
1494
|
-
first?: string | undefined;
|
|
1495
|
-
last?: string | undefined;
|
|
1496
|
-
prev?: string | undefined;
|
|
1497
|
-
next?: string | undefined;
|
|
1498
|
-
} | undefined;
|
|
1499
|
-
errors?: {
|
|
1500
|
-
status: string;
|
|
1501
|
-
title: string;
|
|
1502
|
-
detail?: string | undefined;
|
|
1503
|
-
meta?: Record<string, unknown> | undefined;
|
|
1504
|
-
}[] | undefined;
|
|
1505
|
-
}>;
|
|
1506
|
-
400: z.ZodObject<{
|
|
1507
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
1508
|
-
status: z.ZodString;
|
|
1509
|
-
title: z.ZodString;
|
|
1510
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1511
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1512
|
-
}, "strip", z.ZodTypeAny, {
|
|
1513
|
-
status: string;
|
|
1514
|
-
title: string;
|
|
1515
|
-
detail?: string | undefined;
|
|
1516
|
-
meta?: Record<string, unknown> | undefined;
|
|
1517
|
-
}, {
|
|
1518
|
-
status: string;
|
|
1519
|
-
title: string;
|
|
1520
|
-
detail?: string | undefined;
|
|
1521
|
-
meta?: Record<string, unknown> | undefined;
|
|
1522
|
-
}>, "many">;
|
|
1523
|
-
}, "strip", z.ZodTypeAny, {
|
|
1524
|
-
errors: {
|
|
1525
|
-
status: string;
|
|
1526
|
-
title: string;
|
|
1527
|
-
detail?: string | undefined;
|
|
1528
|
-
meta?: Record<string, unknown> | undefined;
|
|
1529
|
-
}[];
|
|
1530
|
-
}, {
|
|
1531
|
-
errors: {
|
|
1532
|
-
status: string;
|
|
1533
|
-
title: string;
|
|
1534
|
-
detail?: string | undefined;
|
|
1535
|
-
meta?: Record<string, unknown> | undefined;
|
|
1536
|
-
}[];
|
|
1537
|
-
}>;
|
|
1538
|
-
403: z.ZodObject<{
|
|
1539
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
1540
|
-
status: z.ZodString;
|
|
1541
|
-
title: z.ZodString;
|
|
1542
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1543
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1544
|
-
}, "strip", z.ZodTypeAny, {
|
|
1545
|
-
status: string;
|
|
1546
|
-
title: string;
|
|
1547
|
-
detail?: string | undefined;
|
|
1548
|
-
meta?: Record<string, unknown> | undefined;
|
|
1549
|
-
}, {
|
|
1550
|
-
status: string;
|
|
1551
|
-
title: string;
|
|
1552
|
-
detail?: string | undefined;
|
|
1553
|
-
meta?: Record<string, unknown> | undefined;
|
|
1554
|
-
}>, "many">;
|
|
1555
|
-
}, "strip", z.ZodTypeAny, {
|
|
1556
|
-
errors: {
|
|
1557
|
-
status: string;
|
|
1558
|
-
title: string;
|
|
1559
|
-
detail?: string | undefined;
|
|
1560
|
-
meta?: Record<string, unknown> | undefined;
|
|
1561
|
-
}[];
|
|
1562
|
-
}, {
|
|
1563
|
-
errors: {
|
|
1564
|
-
status: string;
|
|
1565
|
-
title: string;
|
|
1566
|
-
detail?: string | undefined;
|
|
1567
|
-
meta?: Record<string, unknown> | undefined;
|
|
1568
|
-
}[];
|
|
1569
|
-
}>;
|
|
1570
|
-
404: z.ZodObject<{
|
|
1571
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
1572
|
-
status: z.ZodString;
|
|
1573
|
-
title: z.ZodString;
|
|
1574
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1575
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1576
|
-
}, "strip", z.ZodTypeAny, {
|
|
1577
|
-
status: string;
|
|
1578
|
-
title: string;
|
|
1579
|
-
detail?: string | undefined;
|
|
1580
|
-
meta?: Record<string, unknown> | undefined;
|
|
1581
|
-
}, {
|
|
1582
|
-
status: string;
|
|
1583
|
-
title: string;
|
|
1584
|
-
detail?: string | undefined;
|
|
1585
|
-
meta?: Record<string, unknown> | undefined;
|
|
1586
|
-
}>, "many">;
|
|
1587
|
-
}, "strip", z.ZodTypeAny, {
|
|
1588
|
-
errors: {
|
|
1589
|
-
status: string;
|
|
1590
|
-
title: string;
|
|
1591
|
-
detail?: string | undefined;
|
|
1592
|
-
meta?: Record<string, unknown> | undefined;
|
|
1593
|
-
}[];
|
|
1594
|
-
}, {
|
|
1595
|
-
errors: {
|
|
1596
|
-
status: string;
|
|
1597
|
-
title: string;
|
|
1598
|
-
detail?: string | undefined;
|
|
1599
|
-
meta?: Record<string, unknown> | undefined;
|
|
1600
|
-
}[];
|
|
1601
|
-
}>;
|
|
1602
|
-
};
|
|
1603
|
-
};
|
|
1604
|
-
archiveProject: {
|
|
1605
|
-
pathParams: z.ZodObject<{
|
|
1606
|
-
projectId: z.ZodString;
|
|
1607
|
-
}, "strip", z.ZodTypeAny, {
|
|
1608
|
-
projectId: string;
|
|
1609
|
-
}, {
|
|
1610
|
-
projectId: string;
|
|
1611
|
-
}>;
|
|
1612
|
-
summary: "Archive a project";
|
|
1613
|
-
method: "POST";
|
|
1614
|
-
body: z.ZodObject<{
|
|
1615
|
-
reason: z.ZodString;
|
|
1616
|
-
}, "strip", z.ZodTypeAny, {
|
|
1617
|
-
reason: string;
|
|
1618
|
-
}, {
|
|
1619
|
-
reason: string;
|
|
1620
|
-
}>;
|
|
1621
|
-
path: "/projects/:projectId/archive";
|
|
1622
|
-
responses: {
|
|
1623
|
-
200: z.ZodObject<{
|
|
1624
|
-
data: z.ZodObject<{
|
|
1625
|
-
type: z.ZodLiteral<"projects">;
|
|
1626
|
-
id: z.ZodString;
|
|
1627
|
-
attributes: z.ZodObject<{
|
|
1628
|
-
id: z.ZodString;
|
|
1629
|
-
name: z.ZodString;
|
|
1630
|
-
description: z.ZodNullable<z.ZodString>;
|
|
1631
|
-
status: z.ZodEffects<z.ZodEnum<["PLANNED", "IN_PROGRESS", "ON_HOLD", "COMPLETED", "CANCELLED", "ARCHIVED"]>, "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED", unknown>;
|
|
1632
|
-
priority: z.ZodEnum<["LOW", "MEDIUM", "HIGH", "CRITICAL"]>;
|
|
1633
|
-
startDate: z.ZodNullable<z.ZodString>;
|
|
1634
|
-
endDate: z.ZodNullable<z.ZodString>;
|
|
1635
|
-
budget: z.ZodNullable<z.ZodNumber>;
|
|
1636
|
-
currency: z.ZodString;
|
|
1637
|
-
clientId: z.ZodNullable<z.ZodString>;
|
|
1638
|
-
companyId: z.ZodString;
|
|
1639
|
-
isActive: z.ZodBoolean;
|
|
1640
|
-
createdAt: z.ZodString;
|
|
1641
|
-
updatedAt: z.ZodString;
|
|
1642
|
-
}, "strip", z.ZodTypeAny, {
|
|
1643
|
-
id: string;
|
|
1644
|
-
createdAt: string;
|
|
1645
|
-
updatedAt: string;
|
|
1646
|
-
companyId: string;
|
|
1647
|
-
isActive: boolean;
|
|
1648
|
-
status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
|
|
1649
|
-
name: string;
|
|
1650
|
-
description: string | null;
|
|
1651
|
-
currency: string;
|
|
1652
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1653
|
-
startDate: string | null;
|
|
1654
|
-
endDate: string | null;
|
|
1655
|
-
budget: number | null;
|
|
1656
|
-
clientId: string | null;
|
|
1657
|
-
}, {
|
|
1658
|
-
id: string;
|
|
1659
|
-
createdAt: string;
|
|
1660
|
-
updatedAt: string;
|
|
1661
|
-
companyId: string;
|
|
1662
|
-
isActive: boolean;
|
|
1663
|
-
name: string;
|
|
1664
|
-
description: string | null;
|
|
1665
|
-
currency: string;
|
|
1666
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1667
|
-
startDate: string | null;
|
|
1668
|
-
endDate: string | null;
|
|
1669
|
-
budget: number | null;
|
|
1670
|
-
clientId: string | null;
|
|
1671
|
-
status?: unknown;
|
|
1672
|
-
}>;
|
|
1673
|
-
}, "strip", z.ZodTypeAny, {
|
|
1674
|
-
id: string;
|
|
1675
|
-
type: "projects";
|
|
1676
|
-
attributes: {
|
|
1677
|
-
id: string;
|
|
1678
|
-
createdAt: string;
|
|
1679
|
-
updatedAt: string;
|
|
1680
|
-
companyId: string;
|
|
1681
|
-
isActive: boolean;
|
|
1682
|
-
status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
|
|
1683
|
-
name: string;
|
|
1684
|
-
description: string | null;
|
|
1685
|
-
currency: string;
|
|
1686
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1687
|
-
startDate: string | null;
|
|
1688
|
-
endDate: string | null;
|
|
1689
|
-
budget: number | null;
|
|
1690
|
-
clientId: string | null;
|
|
1691
|
-
};
|
|
1692
|
-
}, {
|
|
1693
|
-
id: string;
|
|
1694
|
-
type: "projects";
|
|
1695
|
-
attributes: {
|
|
1696
|
-
id: string;
|
|
1697
|
-
createdAt: string;
|
|
1698
|
-
updatedAt: string;
|
|
1699
|
-
companyId: string;
|
|
1700
|
-
isActive: boolean;
|
|
1701
|
-
name: string;
|
|
1702
|
-
description: string | null;
|
|
1703
|
-
currency: string;
|
|
1704
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1705
|
-
startDate: string | null;
|
|
1706
|
-
endDate: string | null;
|
|
1707
|
-
budget: number | null;
|
|
1708
|
-
clientId: string | null;
|
|
1709
|
-
status?: unknown;
|
|
1710
|
-
};
|
|
1711
|
-
}>;
|
|
1712
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1713
|
-
links: z.ZodOptional<z.ZodObject<{
|
|
1714
|
-
self: z.ZodString;
|
|
1715
|
-
first: z.ZodOptional<z.ZodString>;
|
|
1716
|
-
last: z.ZodOptional<z.ZodString>;
|
|
1717
|
-
prev: z.ZodOptional<z.ZodString>;
|
|
1718
|
-
next: z.ZodOptional<z.ZodString>;
|
|
1719
|
-
}, "strip", z.ZodTypeAny, {
|
|
1720
|
-
self: string;
|
|
1721
|
-
first?: string | undefined;
|
|
1722
|
-
last?: string | undefined;
|
|
1723
|
-
prev?: string | undefined;
|
|
1724
|
-
next?: string | undefined;
|
|
1725
|
-
}, {
|
|
1726
|
-
self: string;
|
|
1727
|
-
first?: string | undefined;
|
|
1728
|
-
last?: string | undefined;
|
|
1729
|
-
prev?: string | undefined;
|
|
1730
|
-
next?: string | undefined;
|
|
1731
|
-
}>>;
|
|
1732
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1733
|
-
status: z.ZodString;
|
|
1734
|
-
title: z.ZodString;
|
|
1735
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1736
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1737
|
-
}, "strip", z.ZodTypeAny, {
|
|
1738
|
-
status: string;
|
|
1739
|
-
title: string;
|
|
1740
|
-
detail?: string | undefined;
|
|
1741
|
-
meta?: Record<string, unknown> | undefined;
|
|
1742
|
-
}, {
|
|
1743
|
-
status: string;
|
|
1744
|
-
title: string;
|
|
1745
|
-
detail?: string | undefined;
|
|
1746
|
-
meta?: Record<string, unknown> | undefined;
|
|
1747
|
-
}>, "many">>;
|
|
1748
|
-
}, "strip", z.ZodTypeAny, {
|
|
1749
|
-
data: {
|
|
1750
|
-
id: string;
|
|
1751
|
-
type: "projects";
|
|
1752
|
-
attributes: {
|
|
1753
|
-
id: string;
|
|
1754
|
-
createdAt: string;
|
|
1755
|
-
updatedAt: string;
|
|
1756
|
-
companyId: string;
|
|
1757
|
-
isActive: boolean;
|
|
1758
|
-
status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
|
|
1759
|
-
name: string;
|
|
1760
|
-
description: string | null;
|
|
1761
|
-
currency: string;
|
|
1762
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1763
|
-
startDate: string | null;
|
|
1764
|
-
endDate: string | null;
|
|
1765
|
-
budget: number | null;
|
|
1766
|
-
clientId: string | null;
|
|
1767
|
-
};
|
|
1768
|
-
};
|
|
1769
|
-
meta?: Record<string, unknown> | undefined;
|
|
1770
|
-
links?: {
|
|
1771
|
-
self: string;
|
|
1772
|
-
first?: string | undefined;
|
|
1773
|
-
last?: string | undefined;
|
|
1774
|
-
prev?: string | undefined;
|
|
1775
|
-
next?: string | undefined;
|
|
1776
|
-
} | undefined;
|
|
1777
|
-
errors?: {
|
|
1778
|
-
status: string;
|
|
1779
|
-
title: string;
|
|
1780
|
-
detail?: string | undefined;
|
|
1781
|
-
meta?: Record<string, unknown> | undefined;
|
|
1782
|
-
}[] | undefined;
|
|
1783
|
-
}, {
|
|
1784
|
-
data: {
|
|
1785
|
-
id: string;
|
|
1786
|
-
type: "projects";
|
|
1787
|
-
attributes: {
|
|
1788
|
-
id: string;
|
|
1789
|
-
createdAt: string;
|
|
1790
|
-
updatedAt: string;
|
|
1791
|
-
companyId: string;
|
|
1792
|
-
isActive: boolean;
|
|
1793
|
-
name: string;
|
|
1794
|
-
description: string | null;
|
|
1795
|
-
currency: string;
|
|
1796
|
-
priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
|
|
1797
|
-
startDate: string | null;
|
|
1798
|
-
endDate: string | null;
|
|
1799
|
-
budget: number | null;
|
|
1800
|
-
clientId: string | null;
|
|
1801
|
-
status?: unknown;
|
|
1802
|
-
};
|
|
1803
|
-
};
|
|
1804
|
-
meta?: Record<string, unknown> | undefined;
|
|
1805
|
-
links?: {
|
|
1806
|
-
self: string;
|
|
1807
|
-
first?: string | undefined;
|
|
1808
|
-
last?: string | undefined;
|
|
1809
|
-
prev?: string | undefined;
|
|
1810
|
-
next?: string | undefined;
|
|
1811
|
-
} | undefined;
|
|
1812
|
-
errors?: {
|
|
1813
|
-
status: string;
|
|
1814
|
-
title: string;
|
|
1815
|
-
detail?: string | undefined;
|
|
1816
|
-
meta?: Record<string, unknown> | undefined;
|
|
1817
|
-
}[] | undefined;
|
|
1818
|
-
}>;
|
|
1819
|
-
400: z.ZodObject<{
|
|
1820
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
1821
|
-
status: z.ZodString;
|
|
1822
|
-
title: z.ZodString;
|
|
1823
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1824
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1825
|
-
}, "strip", z.ZodTypeAny, {
|
|
1826
|
-
status: string;
|
|
1827
|
-
title: string;
|
|
1828
|
-
detail?: string | undefined;
|
|
1829
|
-
meta?: Record<string, unknown> | undefined;
|
|
1830
|
-
}, {
|
|
1831
|
-
status: string;
|
|
1832
|
-
title: string;
|
|
1833
|
-
detail?: string | undefined;
|
|
1834
|
-
meta?: Record<string, unknown> | undefined;
|
|
1835
|
-
}>, "many">;
|
|
1836
|
-
}, "strip", z.ZodTypeAny, {
|
|
1837
|
-
errors: {
|
|
1838
|
-
status: string;
|
|
1839
|
-
title: string;
|
|
1840
|
-
detail?: string | undefined;
|
|
1841
|
-
meta?: Record<string, unknown> | undefined;
|
|
1842
|
-
}[];
|
|
1843
|
-
}, {
|
|
1844
|
-
errors: {
|
|
1845
|
-
status: string;
|
|
1846
|
-
title: string;
|
|
1847
|
-
detail?: string | undefined;
|
|
1848
|
-
meta?: Record<string, unknown> | undefined;
|
|
1849
|
-
}[];
|
|
1850
|
-
}>;
|
|
1851
|
-
403: z.ZodObject<{
|
|
1852
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
1853
|
-
status: z.ZodString;
|
|
1854
|
-
title: z.ZodString;
|
|
1855
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1856
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1857
|
-
}, "strip", z.ZodTypeAny, {
|
|
1858
|
-
status: string;
|
|
1859
|
-
title: string;
|
|
1860
|
-
detail?: string | undefined;
|
|
1861
|
-
meta?: Record<string, unknown> | undefined;
|
|
1862
|
-
}, {
|
|
1863
|
-
status: string;
|
|
1864
|
-
title: string;
|
|
1865
|
-
detail?: string | undefined;
|
|
1866
|
-
meta?: Record<string, unknown> | undefined;
|
|
1867
|
-
}>, "many">;
|
|
1868
|
-
}, "strip", z.ZodTypeAny, {
|
|
1869
|
-
errors: {
|
|
1870
|
-
status: string;
|
|
1871
|
-
title: string;
|
|
1872
|
-
detail?: string | undefined;
|
|
1873
|
-
meta?: Record<string, unknown> | undefined;
|
|
1874
|
-
}[];
|
|
1875
|
-
}, {
|
|
1876
|
-
errors: {
|
|
1877
|
-
status: string;
|
|
1878
|
-
title: string;
|
|
1879
|
-
detail?: string | undefined;
|
|
1880
|
-
meta?: Record<string, unknown> | undefined;
|
|
1881
|
-
}[];
|
|
1882
|
-
}>;
|
|
1883
|
-
404: z.ZodObject<{
|
|
1884
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
1885
|
-
status: z.ZodString;
|
|
1886
|
-
title: z.ZodString;
|
|
1887
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
1888
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1889
|
-
}, "strip", z.ZodTypeAny, {
|
|
1890
|
-
status: string;
|
|
1891
|
-
title: string;
|
|
1892
|
-
detail?: string | undefined;
|
|
1893
|
-
meta?: Record<string, unknown> | undefined;
|
|
1894
|
-
}, {
|
|
1895
|
-
status: string;
|
|
1896
|
-
title: string;
|
|
1897
|
-
detail?: string | undefined;
|
|
1898
|
-
meta?: Record<string, unknown> | undefined;
|
|
1899
|
-
}>, "many">;
|
|
1900
|
-
}, "strip", z.ZodTypeAny, {
|
|
1901
|
-
errors: {
|
|
1902
|
-
status: string;
|
|
1903
|
-
title: string;
|
|
1904
|
-
detail?: string | undefined;
|
|
1905
|
-
meta?: Record<string, unknown> | undefined;
|
|
1906
|
-
}[];
|
|
1907
|
-
}, {
|
|
1908
|
-
errors: {
|
|
1909
|
-
status: string;
|
|
1910
|
-
title: string;
|
|
1911
|
-
detail?: string | undefined;
|
|
1912
|
-
meta?: Record<string, unknown> | undefined;
|
|
1913
|
-
}[];
|
|
1914
|
-
}>;
|
|
1915
|
-
};
|
|
1916
|
-
};
|
|
1917
|
-
getProjectTeam: {
|
|
1918
|
-
pathParams: z.ZodObject<{
|
|
1919
|
-
projectId: z.ZodString;
|
|
1920
|
-
}, "strip", z.ZodTypeAny, {
|
|
1921
|
-
projectId: string;
|
|
1922
|
-
}, {
|
|
1923
|
-
projectId: string;
|
|
1924
|
-
}>;
|
|
1925
|
-
query: z.ZodObject<{
|
|
1926
|
-
role: z.ZodOptional<z.ZodString>;
|
|
1927
|
-
active: z.ZodOptional<z.ZodBoolean>;
|
|
1928
|
-
}, "strip", z.ZodTypeAny, {
|
|
1929
|
-
role?: string | undefined;
|
|
1930
|
-
active?: boolean | undefined;
|
|
1931
|
-
}, {
|
|
1932
|
-
role?: string | undefined;
|
|
1933
|
-
active?: boolean | undefined;
|
|
1934
|
-
}>;
|
|
1935
|
-
summary: "Get project team members";
|
|
1936
|
-
method: "GET";
|
|
1937
|
-
path: "/projects/:projectId/team";
|
|
1938
|
-
responses: {
|
|
1939
|
-
200: z.ZodObject<{
|
|
1940
|
-
data: z.ZodArray<z.ZodObject<{
|
|
1941
|
-
id: z.ZodString;
|
|
1942
|
-
name: z.ZodString;
|
|
1943
|
-
email: z.ZodString;
|
|
1944
|
-
role: z.ZodString;
|
|
1945
|
-
permissions: z.ZodArray<z.ZodString, "many">;
|
|
1946
|
-
joinedAt: z.ZodString;
|
|
1947
|
-
hoursWorked: z.ZodNumber;
|
|
1948
|
-
tasksAssigned: z.ZodNumber;
|
|
1949
|
-
tasksCompleted: z.ZodNumber;
|
|
1950
|
-
}, "strip", z.ZodTypeAny, {
|
|
1951
|
-
id: string;
|
|
1952
|
-
permissions: string[];
|
|
1953
|
-
email: string;
|
|
1954
|
-
name: string;
|
|
1955
|
-
role: string;
|
|
1956
|
-
hoursWorked: number;
|
|
1957
|
-
joinedAt: string;
|
|
1958
|
-
tasksAssigned: number;
|
|
1959
|
-
tasksCompleted: number;
|
|
1960
|
-
}, {
|
|
1961
|
-
id: string;
|
|
1962
|
-
permissions: string[];
|
|
1963
|
-
email: string;
|
|
1964
|
-
name: string;
|
|
1965
|
-
role: string;
|
|
1966
|
-
hoursWorked: number;
|
|
1967
|
-
joinedAt: string;
|
|
1968
|
-
tasksAssigned: number;
|
|
1969
|
-
tasksCompleted: number;
|
|
1970
|
-
}>, "many">;
|
|
1971
|
-
}, "strip", z.ZodTypeAny, {
|
|
1972
|
-
data: {
|
|
1973
|
-
id: string;
|
|
1974
|
-
permissions: string[];
|
|
1975
|
-
email: string;
|
|
1976
|
-
name: string;
|
|
1977
|
-
role: string;
|
|
1978
|
-
hoursWorked: number;
|
|
1979
|
-
joinedAt: string;
|
|
1980
|
-
tasksAssigned: number;
|
|
1981
|
-
tasksCompleted: number;
|
|
1982
|
-
}[];
|
|
1983
|
-
}, {
|
|
1984
|
-
data: {
|
|
1985
|
-
id: string;
|
|
1986
|
-
permissions: string[];
|
|
1987
|
-
email: string;
|
|
1988
|
-
name: string;
|
|
1989
|
-
role: string;
|
|
1990
|
-
hoursWorked: number;
|
|
1991
|
-
joinedAt: string;
|
|
1992
|
-
tasksAssigned: number;
|
|
1993
|
-
tasksCompleted: number;
|
|
1994
|
-
}[];
|
|
1995
|
-
}>;
|
|
1996
|
-
403: z.ZodObject<{
|
|
1997
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
1998
|
-
status: z.ZodString;
|
|
1999
|
-
title: z.ZodString;
|
|
2000
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2001
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2002
|
-
}, "strip", z.ZodTypeAny, {
|
|
2003
|
-
status: string;
|
|
2004
|
-
title: string;
|
|
2005
|
-
detail?: string | undefined;
|
|
2006
|
-
meta?: Record<string, unknown> | undefined;
|
|
2007
|
-
}, {
|
|
2008
|
-
status: string;
|
|
2009
|
-
title: string;
|
|
2010
|
-
detail?: string | undefined;
|
|
2011
|
-
meta?: Record<string, unknown> | undefined;
|
|
2012
|
-
}>, "many">;
|
|
2013
|
-
}, "strip", z.ZodTypeAny, {
|
|
2014
|
-
errors: {
|
|
2015
|
-
status: string;
|
|
2016
|
-
title: string;
|
|
2017
|
-
detail?: string | undefined;
|
|
2018
|
-
meta?: Record<string, unknown> | undefined;
|
|
2019
|
-
}[];
|
|
2020
|
-
}, {
|
|
2021
|
-
errors: {
|
|
2022
|
-
status: string;
|
|
2023
|
-
title: string;
|
|
2024
|
-
detail?: string | undefined;
|
|
2025
|
-
meta?: Record<string, unknown> | undefined;
|
|
2026
|
-
}[];
|
|
2027
|
-
}>;
|
|
2028
|
-
404: z.ZodObject<{
|
|
2029
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
2030
|
-
status: z.ZodString;
|
|
2031
|
-
title: z.ZodString;
|
|
2032
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2033
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2034
|
-
}, "strip", z.ZodTypeAny, {
|
|
2035
|
-
status: string;
|
|
2036
|
-
title: string;
|
|
2037
|
-
detail?: string | undefined;
|
|
2038
|
-
meta?: Record<string, unknown> | undefined;
|
|
2039
|
-
}, {
|
|
2040
|
-
status: string;
|
|
2041
|
-
title: string;
|
|
2042
|
-
detail?: string | undefined;
|
|
2043
|
-
meta?: Record<string, unknown> | undefined;
|
|
2044
|
-
}>, "many">;
|
|
2045
|
-
}, "strip", z.ZodTypeAny, {
|
|
2046
|
-
errors: {
|
|
2047
|
-
status: string;
|
|
2048
|
-
title: string;
|
|
2049
|
-
detail?: string | undefined;
|
|
2050
|
-
meta?: Record<string, unknown> | undefined;
|
|
2051
|
-
}[];
|
|
2052
|
-
}, {
|
|
2053
|
-
errors: {
|
|
2054
|
-
status: string;
|
|
2055
|
-
title: string;
|
|
2056
|
-
detail?: string | undefined;
|
|
2057
|
-
meta?: Record<string, unknown> | undefined;
|
|
2058
|
-
}[];
|
|
2059
|
-
}>;
|
|
2060
|
-
};
|
|
2061
|
-
};
|
|
2062
|
-
addProjectTeamMember: {
|
|
2063
|
-
pathParams: z.ZodObject<{
|
|
2064
|
-
projectId: z.ZodString;
|
|
2065
|
-
}, "strip", z.ZodTypeAny, {
|
|
2066
|
-
projectId: string;
|
|
2067
|
-
}, {
|
|
2068
|
-
projectId: string;
|
|
2069
|
-
}>;
|
|
2070
|
-
summary: "Add team member to project";
|
|
2071
|
-
method: "POST";
|
|
2072
|
-
body: z.ZodObject<{
|
|
2073
|
-
userId: z.ZodString;
|
|
2074
|
-
role: z.ZodString;
|
|
2075
|
-
permissions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2076
|
-
}, "strip", z.ZodTypeAny, {
|
|
2077
|
-
permissions: string[];
|
|
2078
|
-
userId: string;
|
|
2079
|
-
role: string;
|
|
2080
|
-
}, {
|
|
2081
|
-
userId: string;
|
|
2082
|
-
role: string;
|
|
2083
|
-
permissions?: string[] | undefined;
|
|
2084
|
-
}>;
|
|
2085
|
-
path: "/projects/:projectId/team";
|
|
2086
|
-
responses: {
|
|
2087
|
-
201: z.ZodObject<{
|
|
2088
|
-
data: z.ZodObject<{
|
|
2089
|
-
message: z.ZodString;
|
|
2090
|
-
userId: z.ZodString;
|
|
2091
|
-
}, "strip", z.ZodTypeAny, {
|
|
2092
|
-
message: string;
|
|
2093
|
-
userId: string;
|
|
2094
|
-
}, {
|
|
2095
|
-
message: string;
|
|
2096
|
-
userId: string;
|
|
2097
|
-
}>;
|
|
2098
|
-
}, "strip", z.ZodTypeAny, {
|
|
2099
|
-
data: {
|
|
2100
|
-
message: string;
|
|
2101
|
-
userId: string;
|
|
2102
|
-
};
|
|
2103
|
-
}, {
|
|
2104
|
-
data: {
|
|
2105
|
-
message: string;
|
|
2106
|
-
userId: string;
|
|
2107
|
-
};
|
|
2108
|
-
}>;
|
|
2109
|
-
400: z.ZodObject<{
|
|
2110
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
2111
|
-
status: z.ZodString;
|
|
2112
|
-
title: z.ZodString;
|
|
2113
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2114
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2115
|
-
}, "strip", z.ZodTypeAny, {
|
|
2116
|
-
status: string;
|
|
2117
|
-
title: string;
|
|
2118
|
-
detail?: string | undefined;
|
|
2119
|
-
meta?: Record<string, unknown> | undefined;
|
|
2120
|
-
}, {
|
|
2121
|
-
status: string;
|
|
2122
|
-
title: string;
|
|
2123
|
-
detail?: string | undefined;
|
|
2124
|
-
meta?: Record<string, unknown> | undefined;
|
|
2125
|
-
}>, "many">;
|
|
2126
|
-
}, "strip", z.ZodTypeAny, {
|
|
2127
|
-
errors: {
|
|
2128
|
-
status: string;
|
|
2129
|
-
title: string;
|
|
2130
|
-
detail?: string | undefined;
|
|
2131
|
-
meta?: Record<string, unknown> | undefined;
|
|
2132
|
-
}[];
|
|
2133
|
-
}, {
|
|
2134
|
-
errors: {
|
|
2135
|
-
status: string;
|
|
2136
|
-
title: string;
|
|
2137
|
-
detail?: string | undefined;
|
|
2138
|
-
meta?: Record<string, unknown> | undefined;
|
|
2139
|
-
}[];
|
|
2140
|
-
}>;
|
|
2141
|
-
403: z.ZodObject<{
|
|
2142
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
2143
|
-
status: z.ZodString;
|
|
2144
|
-
title: z.ZodString;
|
|
2145
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2146
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2147
|
-
}, "strip", z.ZodTypeAny, {
|
|
2148
|
-
status: string;
|
|
2149
|
-
title: string;
|
|
2150
|
-
detail?: string | undefined;
|
|
2151
|
-
meta?: Record<string, unknown> | undefined;
|
|
2152
|
-
}, {
|
|
2153
|
-
status: string;
|
|
2154
|
-
title: string;
|
|
2155
|
-
detail?: string | undefined;
|
|
2156
|
-
meta?: Record<string, unknown> | undefined;
|
|
2157
|
-
}>, "many">;
|
|
2158
|
-
}, "strip", z.ZodTypeAny, {
|
|
2159
|
-
errors: {
|
|
2160
|
-
status: string;
|
|
2161
|
-
title: string;
|
|
2162
|
-
detail?: string | undefined;
|
|
2163
|
-
meta?: Record<string, unknown> | undefined;
|
|
2164
|
-
}[];
|
|
2165
|
-
}, {
|
|
2166
|
-
errors: {
|
|
2167
|
-
status: string;
|
|
2168
|
-
title: string;
|
|
2169
|
-
detail?: string | undefined;
|
|
2170
|
-
meta?: Record<string, unknown> | undefined;
|
|
2171
|
-
}[];
|
|
2172
|
-
}>;
|
|
2173
|
-
404: z.ZodObject<{
|
|
2174
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
2175
|
-
status: z.ZodString;
|
|
2176
|
-
title: z.ZodString;
|
|
2177
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2178
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2179
|
-
}, "strip", z.ZodTypeAny, {
|
|
2180
|
-
status: string;
|
|
2181
|
-
title: string;
|
|
2182
|
-
detail?: string | undefined;
|
|
2183
|
-
meta?: Record<string, unknown> | undefined;
|
|
2184
|
-
}, {
|
|
2185
|
-
status: string;
|
|
2186
|
-
title: string;
|
|
2187
|
-
detail?: string | undefined;
|
|
2188
|
-
meta?: Record<string, unknown> | undefined;
|
|
2189
|
-
}>, "many">;
|
|
2190
|
-
}, "strip", z.ZodTypeAny, {
|
|
2191
|
-
errors: {
|
|
2192
|
-
status: string;
|
|
2193
|
-
title: string;
|
|
2194
|
-
detail?: string | undefined;
|
|
2195
|
-
meta?: Record<string, unknown> | undefined;
|
|
2196
|
-
}[];
|
|
2197
|
-
}, {
|
|
2198
|
-
errors: {
|
|
2199
|
-
status: string;
|
|
2200
|
-
title: string;
|
|
2201
|
-
detail?: string | undefined;
|
|
2202
|
-
meta?: Record<string, unknown> | undefined;
|
|
2203
|
-
}[];
|
|
2204
|
-
}>;
|
|
2205
|
-
};
|
|
2206
|
-
};
|
|
2207
|
-
removeProjectTeamMember: {
|
|
2208
|
-
pathParams: z.ZodObject<{
|
|
2209
|
-
projectId: z.ZodString;
|
|
2210
|
-
userId: z.ZodString;
|
|
2211
|
-
}, "strip", z.ZodTypeAny, {
|
|
2212
|
-
userId: string;
|
|
2213
|
-
projectId: string;
|
|
2214
|
-
}, {
|
|
2215
|
-
userId: string;
|
|
2216
|
-
projectId: string;
|
|
2217
|
-
}>;
|
|
2218
|
-
summary: "Remove team member from project";
|
|
2219
|
-
method: "DELETE";
|
|
2220
|
-
path: "/projects/:projectId/team/:userId";
|
|
2221
|
-
responses: {
|
|
2222
|
-
204: z.ZodVoid;
|
|
2223
|
-
403: z.ZodObject<{
|
|
2224
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
2225
|
-
status: z.ZodString;
|
|
2226
|
-
title: z.ZodString;
|
|
2227
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2228
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2229
|
-
}, "strip", z.ZodTypeAny, {
|
|
2230
|
-
status: string;
|
|
2231
|
-
title: string;
|
|
2232
|
-
detail?: string | undefined;
|
|
2233
|
-
meta?: Record<string, unknown> | undefined;
|
|
2234
|
-
}, {
|
|
2235
|
-
status: string;
|
|
2236
|
-
title: string;
|
|
2237
|
-
detail?: string | undefined;
|
|
2238
|
-
meta?: Record<string, unknown> | undefined;
|
|
2239
|
-
}>, "many">;
|
|
2240
|
-
}, "strip", z.ZodTypeAny, {
|
|
2241
|
-
errors: {
|
|
2242
|
-
status: string;
|
|
2243
|
-
title: string;
|
|
2244
|
-
detail?: string | undefined;
|
|
2245
|
-
meta?: Record<string, unknown> | undefined;
|
|
2246
|
-
}[];
|
|
2247
|
-
}, {
|
|
2248
|
-
errors: {
|
|
2249
|
-
status: string;
|
|
2250
|
-
title: string;
|
|
2251
|
-
detail?: string | undefined;
|
|
2252
|
-
meta?: Record<string, unknown> | undefined;
|
|
2253
|
-
}[];
|
|
2254
|
-
}>;
|
|
2255
|
-
404: z.ZodObject<{
|
|
2256
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
2257
|
-
status: z.ZodString;
|
|
2258
|
-
title: z.ZodString;
|
|
2259
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2260
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2261
|
-
}, "strip", z.ZodTypeAny, {
|
|
2262
|
-
status: string;
|
|
2263
|
-
title: string;
|
|
2264
|
-
detail?: string | undefined;
|
|
2265
|
-
meta?: Record<string, unknown> | undefined;
|
|
2266
|
-
}, {
|
|
2267
|
-
status: string;
|
|
2268
|
-
title: string;
|
|
2269
|
-
detail?: string | undefined;
|
|
2270
|
-
meta?: Record<string, unknown> | undefined;
|
|
2271
|
-
}>, "many">;
|
|
2272
|
-
}, "strip", z.ZodTypeAny, {
|
|
2273
|
-
errors: {
|
|
2274
|
-
status: string;
|
|
2275
|
-
title: string;
|
|
2276
|
-
detail?: string | undefined;
|
|
2277
|
-
meta?: Record<string, unknown> | undefined;
|
|
2278
|
-
}[];
|
|
2279
|
-
}, {
|
|
2280
|
-
errors: {
|
|
2281
|
-
status: string;
|
|
2282
|
-
title: string;
|
|
2283
|
-
detail?: string | undefined;
|
|
2284
|
-
meta?: Record<string, unknown> | undefined;
|
|
2285
|
-
}[];
|
|
2286
|
-
}>;
|
|
2287
|
-
};
|
|
2288
|
-
};
|
|
2289
|
-
updateProjectTeamMemberRole: {
|
|
1279
|
+
getProjectTeam: {
|
|
2290
1280
|
pathParams: z.ZodObject<{
|
|
2291
1281
|
projectId: z.ZodString;
|
|
2292
|
-
userId: z.ZodString;
|
|
2293
1282
|
}, "strip", z.ZodTypeAny, {
|
|
2294
|
-
userId: string;
|
|
2295
1283
|
projectId: string;
|
|
2296
1284
|
}, {
|
|
2297
|
-
userId: string;
|
|
2298
1285
|
projectId: string;
|
|
2299
1286
|
}>;
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
role: z.ZodString;
|
|
2304
|
-
permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1287
|
+
query: z.ZodObject<{
|
|
1288
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
2305
1290
|
}, "strip", z.ZodTypeAny, {
|
|
2306
|
-
role
|
|
2307
|
-
|
|
1291
|
+
role?: string | undefined;
|
|
1292
|
+
active?: boolean | undefined;
|
|
2308
1293
|
}, {
|
|
2309
|
-
role
|
|
2310
|
-
|
|
1294
|
+
role?: string | undefined;
|
|
1295
|
+
active?: boolean | undefined;
|
|
2311
1296
|
}>;
|
|
2312
|
-
|
|
1297
|
+
summary: "Get project team members";
|
|
1298
|
+
method: "GET";
|
|
1299
|
+
path: "/projects/:projectId/team";
|
|
2313
1300
|
responses: {
|
|
2314
1301
|
200: z.ZodObject<{
|
|
2315
|
-
data: z.ZodObject<{
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
userId: string;
|
|
2326
|
-
newRole: string;
|
|
2327
|
-
}>;
|
|
2328
|
-
}, "strip", z.ZodTypeAny, {
|
|
2329
|
-
data: {
|
|
2330
|
-
message: string;
|
|
2331
|
-
userId: string;
|
|
2332
|
-
newRole: string;
|
|
2333
|
-
};
|
|
2334
|
-
}, {
|
|
2335
|
-
data: {
|
|
2336
|
-
message: string;
|
|
2337
|
-
userId: string;
|
|
2338
|
-
newRole: string;
|
|
2339
|
-
};
|
|
2340
|
-
}>;
|
|
2341
|
-
400: z.ZodObject<{
|
|
2342
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
2343
|
-
status: z.ZodString;
|
|
2344
|
-
title: z.ZodString;
|
|
2345
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
2346
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1302
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1303
|
+
id: z.ZodString;
|
|
1304
|
+
name: z.ZodString;
|
|
1305
|
+
email: z.ZodString;
|
|
1306
|
+
role: z.ZodString;
|
|
1307
|
+
permissions: z.ZodArray<z.ZodString, "many">;
|
|
1308
|
+
joinedAt: z.ZodString;
|
|
1309
|
+
hoursWorked: z.ZodNumber;
|
|
1310
|
+
tasksAssigned: z.ZodNumber;
|
|
1311
|
+
tasksCompleted: z.ZodNumber;
|
|
2347
1312
|
}, "strip", z.ZodTypeAny, {
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
1313
|
+
id: string;
|
|
1314
|
+
permissions: string[];
|
|
1315
|
+
email: string;
|
|
1316
|
+
name: string;
|
|
1317
|
+
role: string;
|
|
1318
|
+
hoursWorked: number;
|
|
1319
|
+
joinedAt: string;
|
|
1320
|
+
tasksAssigned: number;
|
|
1321
|
+
tasksCompleted: number;
|
|
2352
1322
|
}, {
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
1323
|
+
id: string;
|
|
1324
|
+
permissions: string[];
|
|
1325
|
+
email: string;
|
|
1326
|
+
name: string;
|
|
1327
|
+
role: string;
|
|
1328
|
+
hoursWorked: number;
|
|
1329
|
+
joinedAt: string;
|
|
1330
|
+
tasksAssigned: number;
|
|
1331
|
+
tasksCompleted: number;
|
|
2357
1332
|
}>, "many">;
|
|
2358
1333
|
}, "strip", z.ZodTypeAny, {
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
1334
|
+
data: {
|
|
1335
|
+
id: string;
|
|
1336
|
+
permissions: string[];
|
|
1337
|
+
email: string;
|
|
1338
|
+
name: string;
|
|
1339
|
+
role: string;
|
|
1340
|
+
hoursWorked: number;
|
|
1341
|
+
joinedAt: string;
|
|
1342
|
+
tasksAssigned: number;
|
|
1343
|
+
tasksCompleted: number;
|
|
2364
1344
|
}[];
|
|
2365
1345
|
}, {
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
1346
|
+
data: {
|
|
1347
|
+
id: string;
|
|
1348
|
+
permissions: string[];
|
|
1349
|
+
email: string;
|
|
1350
|
+
name: string;
|
|
1351
|
+
role: string;
|
|
1352
|
+
hoursWorked: number;
|
|
1353
|
+
joinedAt: string;
|
|
1354
|
+
tasksAssigned: number;
|
|
1355
|
+
tasksCompleted: number;
|
|
2371
1356
|
}[];
|
|
2372
1357
|
}>;
|
|
2373
1358
|
403: z.ZodObject<{
|
|
@@ -2560,6 +1545,28 @@ export declare const projectsContract: {
|
|
|
2560
1545
|
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2561
1546
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2562
1547
|
uploadedById: z.ZodString;
|
|
1548
|
+
uploadedBy: z.ZodOptional<z.ZodObject<{
|
|
1549
|
+
id: z.ZodString;
|
|
1550
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1551
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1552
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1553
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1554
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1555
|
+
}, "strip", z.ZodTypeAny, {
|
|
1556
|
+
id: string;
|
|
1557
|
+
firstName?: string | null | undefined;
|
|
1558
|
+
lastName?: string | null | undefined;
|
|
1559
|
+
email?: string | undefined;
|
|
1560
|
+
name?: string | undefined;
|
|
1561
|
+
avatar?: string | null | undefined;
|
|
1562
|
+
}, {
|
|
1563
|
+
id: string;
|
|
1564
|
+
firstName?: string | null | undefined;
|
|
1565
|
+
lastName?: string | null | undefined;
|
|
1566
|
+
email?: string | undefined;
|
|
1567
|
+
name?: string | undefined;
|
|
1568
|
+
avatar?: string | null | undefined;
|
|
1569
|
+
}>>;
|
|
2563
1570
|
uploadedAt: z.ZodString;
|
|
2564
1571
|
updatedAt: z.ZodString;
|
|
2565
1572
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2568,10 +1575,10 @@ export declare const projectsContract: {
|
|
|
2568
1575
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
2569
1576
|
title: string;
|
|
2570
1577
|
projectId: string;
|
|
1578
|
+
fileName: string;
|
|
2571
1579
|
fileUrl: string;
|
|
2572
1580
|
tags: string[];
|
|
2573
1581
|
version: string;
|
|
2574
|
-
fileName: string;
|
|
2575
1582
|
isConfidential: boolean;
|
|
2576
1583
|
uploadedById: string;
|
|
2577
1584
|
uploadedAt: string;
|
|
@@ -2583,14 +1590,22 @@ export declare const projectsContract: {
|
|
|
2583
1590
|
mimeType?: string | null | undefined;
|
|
2584
1591
|
discipline?: string | null | undefined;
|
|
2585
1592
|
originalName?: string | null | undefined;
|
|
1593
|
+
uploadedBy?: {
|
|
1594
|
+
id: string;
|
|
1595
|
+
firstName?: string | null | undefined;
|
|
1596
|
+
lastName?: string | null | undefined;
|
|
1597
|
+
email?: string | undefined;
|
|
1598
|
+
name?: string | undefined;
|
|
1599
|
+
avatar?: string | null | undefined;
|
|
1600
|
+
} | undefined;
|
|
2586
1601
|
}, {
|
|
2587
1602
|
id: string;
|
|
2588
1603
|
updatedAt: string;
|
|
2589
1604
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
2590
1605
|
title: string;
|
|
2591
1606
|
projectId: string;
|
|
2592
|
-
fileUrl: string;
|
|
2593
1607
|
fileName: string;
|
|
1608
|
+
fileUrl: string;
|
|
2594
1609
|
uploadedById: string;
|
|
2595
1610
|
uploadedAt: string;
|
|
2596
1611
|
description?: string | null | undefined;
|
|
@@ -2604,6 +1619,14 @@ export declare const projectsContract: {
|
|
|
2604
1619
|
version?: string | undefined;
|
|
2605
1620
|
isConfidential?: boolean | undefined;
|
|
2606
1621
|
originalName?: string | null | undefined;
|
|
1622
|
+
uploadedBy?: {
|
|
1623
|
+
id: string;
|
|
1624
|
+
firstName?: string | null | undefined;
|
|
1625
|
+
lastName?: string | null | undefined;
|
|
1626
|
+
email?: string | undefined;
|
|
1627
|
+
name?: string | undefined;
|
|
1628
|
+
avatar?: string | null | undefined;
|
|
1629
|
+
} | undefined;
|
|
2607
1630
|
}>, "many">>;
|
|
2608
1631
|
}, "strip", z.ZodTypeAny, {
|
|
2609
1632
|
id: string;
|
|
@@ -2620,10 +1643,10 @@ export declare const projectsContract: {
|
|
|
2620
1643
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
2621
1644
|
title: string;
|
|
2622
1645
|
projectId: string;
|
|
1646
|
+
fileName: string;
|
|
2623
1647
|
fileUrl: string;
|
|
2624
1648
|
tags: string[];
|
|
2625
1649
|
version: string;
|
|
2626
|
-
fileName: string;
|
|
2627
1650
|
isConfidential: boolean;
|
|
2628
1651
|
uploadedById: string;
|
|
2629
1652
|
uploadedAt: string;
|
|
@@ -2635,6 +1658,14 @@ export declare const projectsContract: {
|
|
|
2635
1658
|
mimeType?: string | null | undefined;
|
|
2636
1659
|
discipline?: string | null | undefined;
|
|
2637
1660
|
originalName?: string | null | undefined;
|
|
1661
|
+
uploadedBy?: {
|
|
1662
|
+
id: string;
|
|
1663
|
+
firstName?: string | null | undefined;
|
|
1664
|
+
lastName?: string | null | undefined;
|
|
1665
|
+
email?: string | undefined;
|
|
1666
|
+
name?: string | undefined;
|
|
1667
|
+
avatar?: string | null | undefined;
|
|
1668
|
+
} | undefined;
|
|
2638
1669
|
}[];
|
|
2639
1670
|
title: string;
|
|
2640
1671
|
projectId: string;
|
|
@@ -2684,8 +1715,8 @@ export declare const projectsContract: {
|
|
|
2684
1715
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
2685
1716
|
title: string;
|
|
2686
1717
|
projectId: string;
|
|
2687
|
-
fileUrl: string;
|
|
2688
1718
|
fileName: string;
|
|
1719
|
+
fileUrl: string;
|
|
2689
1720
|
uploadedById: string;
|
|
2690
1721
|
uploadedAt: string;
|
|
2691
1722
|
description?: string | null | undefined;
|
|
@@ -2699,6 +1730,14 @@ export declare const projectsContract: {
|
|
|
2699
1730
|
version?: string | undefined;
|
|
2700
1731
|
isConfidential?: boolean | undefined;
|
|
2701
1732
|
originalName?: string | null | undefined;
|
|
1733
|
+
uploadedBy?: {
|
|
1734
|
+
id: string;
|
|
1735
|
+
firstName?: string | null | undefined;
|
|
1736
|
+
lastName?: string | null | undefined;
|
|
1737
|
+
email?: string | undefined;
|
|
1738
|
+
name?: string | undefined;
|
|
1739
|
+
avatar?: string | null | undefined;
|
|
1740
|
+
} | undefined;
|
|
2702
1741
|
}[] | undefined;
|
|
2703
1742
|
description?: string | undefined;
|
|
2704
1743
|
dueDate?: string | undefined;
|
|
@@ -2744,10 +1783,10 @@ export declare const projectsContract: {
|
|
|
2744
1783
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
2745
1784
|
title: string;
|
|
2746
1785
|
projectId: string;
|
|
1786
|
+
fileName: string;
|
|
2747
1787
|
fileUrl: string;
|
|
2748
1788
|
tags: string[];
|
|
2749
1789
|
version: string;
|
|
2750
|
-
fileName: string;
|
|
2751
1790
|
isConfidential: boolean;
|
|
2752
1791
|
uploadedById: string;
|
|
2753
1792
|
uploadedAt: string;
|
|
@@ -2759,6 +1798,14 @@ export declare const projectsContract: {
|
|
|
2759
1798
|
mimeType?: string | null | undefined;
|
|
2760
1799
|
discipline?: string | null | undefined;
|
|
2761
1800
|
originalName?: string | null | undefined;
|
|
1801
|
+
uploadedBy?: {
|
|
1802
|
+
id: string;
|
|
1803
|
+
firstName?: string | null | undefined;
|
|
1804
|
+
lastName?: string | null | undefined;
|
|
1805
|
+
email?: string | undefined;
|
|
1806
|
+
name?: string | undefined;
|
|
1807
|
+
avatar?: string | null | undefined;
|
|
1808
|
+
} | undefined;
|
|
2762
1809
|
}[];
|
|
2763
1810
|
title: string;
|
|
2764
1811
|
projectId: string;
|
|
@@ -2812,8 +1859,8 @@ export declare const projectsContract: {
|
|
|
2812
1859
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
2813
1860
|
title: string;
|
|
2814
1861
|
projectId: string;
|
|
2815
|
-
fileUrl: string;
|
|
2816
1862
|
fileName: string;
|
|
1863
|
+
fileUrl: string;
|
|
2817
1864
|
uploadedById: string;
|
|
2818
1865
|
uploadedAt: string;
|
|
2819
1866
|
description?: string | null | undefined;
|
|
@@ -2827,6 +1874,14 @@ export declare const projectsContract: {
|
|
|
2827
1874
|
version?: string | undefined;
|
|
2828
1875
|
isConfidential?: boolean | undefined;
|
|
2829
1876
|
originalName?: string | null | undefined;
|
|
1877
|
+
uploadedBy?: {
|
|
1878
|
+
id: string;
|
|
1879
|
+
firstName?: string | null | undefined;
|
|
1880
|
+
lastName?: string | null | undefined;
|
|
1881
|
+
email?: string | undefined;
|
|
1882
|
+
name?: string | undefined;
|
|
1883
|
+
avatar?: string | null | undefined;
|
|
1884
|
+
} | undefined;
|
|
2830
1885
|
}[] | undefined;
|
|
2831
1886
|
description?: string | undefined;
|
|
2832
1887
|
dueDate?: string | undefined;
|
|
@@ -2915,10 +1970,10 @@ export declare const projectsContract: {
|
|
|
2915
1970
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
2916
1971
|
title: string;
|
|
2917
1972
|
projectId: string;
|
|
1973
|
+
fileName: string;
|
|
2918
1974
|
fileUrl: string;
|
|
2919
1975
|
tags: string[];
|
|
2920
1976
|
version: string;
|
|
2921
|
-
fileName: string;
|
|
2922
1977
|
isConfidential: boolean;
|
|
2923
1978
|
uploadedById: string;
|
|
2924
1979
|
uploadedAt: string;
|
|
@@ -2930,6 +1985,14 @@ export declare const projectsContract: {
|
|
|
2930
1985
|
mimeType?: string | null | undefined;
|
|
2931
1986
|
discipline?: string | null | undefined;
|
|
2932
1987
|
originalName?: string | null | undefined;
|
|
1988
|
+
uploadedBy?: {
|
|
1989
|
+
id: string;
|
|
1990
|
+
firstName?: string | null | undefined;
|
|
1991
|
+
lastName?: string | null | undefined;
|
|
1992
|
+
email?: string | undefined;
|
|
1993
|
+
name?: string | undefined;
|
|
1994
|
+
avatar?: string | null | undefined;
|
|
1995
|
+
} | undefined;
|
|
2933
1996
|
}[];
|
|
2934
1997
|
title: string;
|
|
2935
1998
|
projectId: string;
|
|
@@ -3000,8 +2063,8 @@ export declare const projectsContract: {
|
|
|
3000
2063
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3001
2064
|
title: string;
|
|
3002
2065
|
projectId: string;
|
|
3003
|
-
fileUrl: string;
|
|
3004
2066
|
fileName: string;
|
|
2067
|
+
fileUrl: string;
|
|
3005
2068
|
uploadedById: string;
|
|
3006
2069
|
uploadedAt: string;
|
|
3007
2070
|
description?: string | null | undefined;
|
|
@@ -3015,6 +2078,14 @@ export declare const projectsContract: {
|
|
|
3015
2078
|
version?: string | undefined;
|
|
3016
2079
|
isConfidential?: boolean | undefined;
|
|
3017
2080
|
originalName?: string | null | undefined;
|
|
2081
|
+
uploadedBy?: {
|
|
2082
|
+
id: string;
|
|
2083
|
+
firstName?: string | null | undefined;
|
|
2084
|
+
lastName?: string | null | undefined;
|
|
2085
|
+
email?: string | undefined;
|
|
2086
|
+
name?: string | undefined;
|
|
2087
|
+
avatar?: string | null | undefined;
|
|
2088
|
+
} | undefined;
|
|
3018
2089
|
}[] | undefined;
|
|
3019
2090
|
description?: string | undefined;
|
|
3020
2091
|
dueDate?: string | undefined;
|
|
@@ -3255,6 +2326,28 @@ export declare const projectsContract: {
|
|
|
3255
2326
|
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3256
2327
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3257
2328
|
uploadedById: z.ZodString;
|
|
2329
|
+
uploadedBy: z.ZodOptional<z.ZodObject<{
|
|
2330
|
+
id: z.ZodString;
|
|
2331
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2332
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2333
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2334
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2335
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2336
|
+
}, "strip", z.ZodTypeAny, {
|
|
2337
|
+
id: string;
|
|
2338
|
+
firstName?: string | null | undefined;
|
|
2339
|
+
lastName?: string | null | undefined;
|
|
2340
|
+
email?: string | undefined;
|
|
2341
|
+
name?: string | undefined;
|
|
2342
|
+
avatar?: string | null | undefined;
|
|
2343
|
+
}, {
|
|
2344
|
+
id: string;
|
|
2345
|
+
firstName?: string | null | undefined;
|
|
2346
|
+
lastName?: string | null | undefined;
|
|
2347
|
+
email?: string | undefined;
|
|
2348
|
+
name?: string | undefined;
|
|
2349
|
+
avatar?: string | null | undefined;
|
|
2350
|
+
}>>;
|
|
3258
2351
|
uploadedAt: z.ZodString;
|
|
3259
2352
|
updatedAt: z.ZodString;
|
|
3260
2353
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3263,10 +2356,10 @@ export declare const projectsContract: {
|
|
|
3263
2356
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3264
2357
|
title: string;
|
|
3265
2358
|
projectId: string;
|
|
2359
|
+
fileName: string;
|
|
3266
2360
|
fileUrl: string;
|
|
3267
2361
|
tags: string[];
|
|
3268
2362
|
version: string;
|
|
3269
|
-
fileName: string;
|
|
3270
2363
|
isConfidential: boolean;
|
|
3271
2364
|
uploadedById: string;
|
|
3272
2365
|
uploadedAt: string;
|
|
@@ -3278,14 +2371,22 @@ export declare const projectsContract: {
|
|
|
3278
2371
|
mimeType?: string | null | undefined;
|
|
3279
2372
|
discipline?: string | null | undefined;
|
|
3280
2373
|
originalName?: string | null | undefined;
|
|
2374
|
+
uploadedBy?: {
|
|
2375
|
+
id: string;
|
|
2376
|
+
firstName?: string | null | undefined;
|
|
2377
|
+
lastName?: string | null | undefined;
|
|
2378
|
+
email?: string | undefined;
|
|
2379
|
+
name?: string | undefined;
|
|
2380
|
+
avatar?: string | null | undefined;
|
|
2381
|
+
} | undefined;
|
|
3281
2382
|
}, {
|
|
3282
2383
|
id: string;
|
|
3283
2384
|
updatedAt: string;
|
|
3284
2385
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3285
2386
|
title: string;
|
|
3286
2387
|
projectId: string;
|
|
3287
|
-
fileUrl: string;
|
|
3288
2388
|
fileName: string;
|
|
2389
|
+
fileUrl: string;
|
|
3289
2390
|
uploadedById: string;
|
|
3290
2391
|
uploadedAt: string;
|
|
3291
2392
|
description?: string | null | undefined;
|
|
@@ -3299,6 +2400,14 @@ export declare const projectsContract: {
|
|
|
3299
2400
|
version?: string | undefined;
|
|
3300
2401
|
isConfidential?: boolean | undefined;
|
|
3301
2402
|
originalName?: string | null | undefined;
|
|
2403
|
+
uploadedBy?: {
|
|
2404
|
+
id: string;
|
|
2405
|
+
firstName?: string | null | undefined;
|
|
2406
|
+
lastName?: string | null | undefined;
|
|
2407
|
+
email?: string | undefined;
|
|
2408
|
+
name?: string | undefined;
|
|
2409
|
+
avatar?: string | null | undefined;
|
|
2410
|
+
} | undefined;
|
|
3302
2411
|
}>, "many">>;
|
|
3303
2412
|
}, "strip", z.ZodTypeAny, {
|
|
3304
2413
|
id: string;
|
|
@@ -3315,10 +2424,10 @@ export declare const projectsContract: {
|
|
|
3315
2424
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3316
2425
|
title: string;
|
|
3317
2426
|
projectId: string;
|
|
2427
|
+
fileName: string;
|
|
3318
2428
|
fileUrl: string;
|
|
3319
2429
|
tags: string[];
|
|
3320
2430
|
version: string;
|
|
3321
|
-
fileName: string;
|
|
3322
2431
|
isConfidential: boolean;
|
|
3323
2432
|
uploadedById: string;
|
|
3324
2433
|
uploadedAt: string;
|
|
@@ -3330,6 +2439,14 @@ export declare const projectsContract: {
|
|
|
3330
2439
|
mimeType?: string | null | undefined;
|
|
3331
2440
|
discipline?: string | null | undefined;
|
|
3332
2441
|
originalName?: string | null | undefined;
|
|
2442
|
+
uploadedBy?: {
|
|
2443
|
+
id: string;
|
|
2444
|
+
firstName?: string | null | undefined;
|
|
2445
|
+
lastName?: string | null | undefined;
|
|
2446
|
+
email?: string | undefined;
|
|
2447
|
+
name?: string | undefined;
|
|
2448
|
+
avatar?: string | null | undefined;
|
|
2449
|
+
} | undefined;
|
|
3333
2450
|
}[];
|
|
3334
2451
|
title: string;
|
|
3335
2452
|
projectId: string;
|
|
@@ -3379,8 +2496,8 @@ export declare const projectsContract: {
|
|
|
3379
2496
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3380
2497
|
title: string;
|
|
3381
2498
|
projectId: string;
|
|
3382
|
-
fileUrl: string;
|
|
3383
2499
|
fileName: string;
|
|
2500
|
+
fileUrl: string;
|
|
3384
2501
|
uploadedById: string;
|
|
3385
2502
|
uploadedAt: string;
|
|
3386
2503
|
description?: string | null | undefined;
|
|
@@ -3394,6 +2511,14 @@ export declare const projectsContract: {
|
|
|
3394
2511
|
version?: string | undefined;
|
|
3395
2512
|
isConfidential?: boolean | undefined;
|
|
3396
2513
|
originalName?: string | null | undefined;
|
|
2514
|
+
uploadedBy?: {
|
|
2515
|
+
id: string;
|
|
2516
|
+
firstName?: string | null | undefined;
|
|
2517
|
+
lastName?: string | null | undefined;
|
|
2518
|
+
email?: string | undefined;
|
|
2519
|
+
name?: string | undefined;
|
|
2520
|
+
avatar?: string | null | undefined;
|
|
2521
|
+
} | undefined;
|
|
3397
2522
|
}[] | undefined;
|
|
3398
2523
|
description?: string | undefined;
|
|
3399
2524
|
dueDate?: string | undefined;
|
|
@@ -3439,10 +2564,10 @@ export declare const projectsContract: {
|
|
|
3439
2564
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3440
2565
|
title: string;
|
|
3441
2566
|
projectId: string;
|
|
2567
|
+
fileName: string;
|
|
3442
2568
|
fileUrl: string;
|
|
3443
2569
|
tags: string[];
|
|
3444
2570
|
version: string;
|
|
3445
|
-
fileName: string;
|
|
3446
2571
|
isConfidential: boolean;
|
|
3447
2572
|
uploadedById: string;
|
|
3448
2573
|
uploadedAt: string;
|
|
@@ -3454,6 +2579,14 @@ export declare const projectsContract: {
|
|
|
3454
2579
|
mimeType?: string | null | undefined;
|
|
3455
2580
|
discipline?: string | null | undefined;
|
|
3456
2581
|
originalName?: string | null | undefined;
|
|
2582
|
+
uploadedBy?: {
|
|
2583
|
+
id: string;
|
|
2584
|
+
firstName?: string | null | undefined;
|
|
2585
|
+
lastName?: string | null | undefined;
|
|
2586
|
+
email?: string | undefined;
|
|
2587
|
+
name?: string | undefined;
|
|
2588
|
+
avatar?: string | null | undefined;
|
|
2589
|
+
} | undefined;
|
|
3457
2590
|
}[];
|
|
3458
2591
|
title: string;
|
|
3459
2592
|
projectId: string;
|
|
@@ -3507,8 +2640,8 @@ export declare const projectsContract: {
|
|
|
3507
2640
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3508
2641
|
title: string;
|
|
3509
2642
|
projectId: string;
|
|
3510
|
-
fileUrl: string;
|
|
3511
2643
|
fileName: string;
|
|
2644
|
+
fileUrl: string;
|
|
3512
2645
|
uploadedById: string;
|
|
3513
2646
|
uploadedAt: string;
|
|
3514
2647
|
description?: string | null | undefined;
|
|
@@ -3522,6 +2655,14 @@ export declare const projectsContract: {
|
|
|
3522
2655
|
version?: string | undefined;
|
|
3523
2656
|
isConfidential?: boolean | undefined;
|
|
3524
2657
|
originalName?: string | null | undefined;
|
|
2658
|
+
uploadedBy?: {
|
|
2659
|
+
id: string;
|
|
2660
|
+
firstName?: string | null | undefined;
|
|
2661
|
+
lastName?: string | null | undefined;
|
|
2662
|
+
email?: string | undefined;
|
|
2663
|
+
name?: string | undefined;
|
|
2664
|
+
avatar?: string | null | undefined;
|
|
2665
|
+
} | undefined;
|
|
3525
2666
|
}[] | undefined;
|
|
3526
2667
|
description?: string | undefined;
|
|
3527
2668
|
dueDate?: string | undefined;
|
|
@@ -3605,10 +2746,10 @@ export declare const projectsContract: {
|
|
|
3605
2746
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3606
2747
|
title: string;
|
|
3607
2748
|
projectId: string;
|
|
2749
|
+
fileName: string;
|
|
3608
2750
|
fileUrl: string;
|
|
3609
2751
|
tags: string[];
|
|
3610
2752
|
version: string;
|
|
3611
|
-
fileName: string;
|
|
3612
2753
|
isConfidential: boolean;
|
|
3613
2754
|
uploadedById: string;
|
|
3614
2755
|
uploadedAt: string;
|
|
@@ -3620,6 +2761,14 @@ export declare const projectsContract: {
|
|
|
3620
2761
|
mimeType?: string | null | undefined;
|
|
3621
2762
|
discipline?: string | null | undefined;
|
|
3622
2763
|
originalName?: string | null | undefined;
|
|
2764
|
+
uploadedBy?: {
|
|
2765
|
+
id: string;
|
|
2766
|
+
firstName?: string | null | undefined;
|
|
2767
|
+
lastName?: string | null | undefined;
|
|
2768
|
+
email?: string | undefined;
|
|
2769
|
+
name?: string | undefined;
|
|
2770
|
+
avatar?: string | null | undefined;
|
|
2771
|
+
} | undefined;
|
|
3623
2772
|
}[];
|
|
3624
2773
|
title: string;
|
|
3625
2774
|
projectId: string;
|
|
@@ -3689,8 +2838,8 @@ export declare const projectsContract: {
|
|
|
3689
2838
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3690
2839
|
title: string;
|
|
3691
2840
|
projectId: string;
|
|
3692
|
-
fileUrl: string;
|
|
3693
2841
|
fileName: string;
|
|
2842
|
+
fileUrl: string;
|
|
3694
2843
|
uploadedById: string;
|
|
3695
2844
|
uploadedAt: string;
|
|
3696
2845
|
description?: string | null | undefined;
|
|
@@ -3704,6 +2853,14 @@ export declare const projectsContract: {
|
|
|
3704
2853
|
version?: string | undefined;
|
|
3705
2854
|
isConfidential?: boolean | undefined;
|
|
3706
2855
|
originalName?: string | null | undefined;
|
|
2856
|
+
uploadedBy?: {
|
|
2857
|
+
id: string;
|
|
2858
|
+
firstName?: string | null | undefined;
|
|
2859
|
+
lastName?: string | null | undefined;
|
|
2860
|
+
email?: string | undefined;
|
|
2861
|
+
name?: string | undefined;
|
|
2862
|
+
avatar?: string | null | undefined;
|
|
2863
|
+
} | undefined;
|
|
3707
2864
|
}[] | undefined;
|
|
3708
2865
|
description?: string | undefined;
|
|
3709
2866
|
dueDate?: string | undefined;
|
|
@@ -3950,6 +3107,28 @@ export declare const projectsContract: {
|
|
|
3950
3107
|
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3951
3108
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
3952
3109
|
uploadedById: z.ZodString;
|
|
3110
|
+
uploadedBy: z.ZodOptional<z.ZodObject<{
|
|
3111
|
+
id: z.ZodString;
|
|
3112
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3113
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3114
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3115
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3117
|
+
}, "strip", z.ZodTypeAny, {
|
|
3118
|
+
id: string;
|
|
3119
|
+
firstName?: string | null | undefined;
|
|
3120
|
+
lastName?: string | null | undefined;
|
|
3121
|
+
email?: string | undefined;
|
|
3122
|
+
name?: string | undefined;
|
|
3123
|
+
avatar?: string | null | undefined;
|
|
3124
|
+
}, {
|
|
3125
|
+
id: string;
|
|
3126
|
+
firstName?: string | null | undefined;
|
|
3127
|
+
lastName?: string | null | undefined;
|
|
3128
|
+
email?: string | undefined;
|
|
3129
|
+
name?: string | undefined;
|
|
3130
|
+
avatar?: string | null | undefined;
|
|
3131
|
+
}>>;
|
|
3953
3132
|
uploadedAt: z.ZodString;
|
|
3954
3133
|
updatedAt: z.ZodString;
|
|
3955
3134
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3958,10 +3137,10 @@ export declare const projectsContract: {
|
|
|
3958
3137
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3959
3138
|
title: string;
|
|
3960
3139
|
projectId: string;
|
|
3140
|
+
fileName: string;
|
|
3961
3141
|
fileUrl: string;
|
|
3962
3142
|
tags: string[];
|
|
3963
3143
|
version: string;
|
|
3964
|
-
fileName: string;
|
|
3965
3144
|
isConfidential: boolean;
|
|
3966
3145
|
uploadedById: string;
|
|
3967
3146
|
uploadedAt: string;
|
|
@@ -3973,14 +3152,22 @@ export declare const projectsContract: {
|
|
|
3973
3152
|
mimeType?: string | null | undefined;
|
|
3974
3153
|
discipline?: string | null | undefined;
|
|
3975
3154
|
originalName?: string | null | undefined;
|
|
3155
|
+
uploadedBy?: {
|
|
3156
|
+
id: string;
|
|
3157
|
+
firstName?: string | null | undefined;
|
|
3158
|
+
lastName?: string | null | undefined;
|
|
3159
|
+
email?: string | undefined;
|
|
3160
|
+
name?: string | undefined;
|
|
3161
|
+
avatar?: string | null | undefined;
|
|
3162
|
+
} | undefined;
|
|
3976
3163
|
}, {
|
|
3977
3164
|
id: string;
|
|
3978
3165
|
updatedAt: string;
|
|
3979
3166
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
3980
3167
|
title: string;
|
|
3981
3168
|
projectId: string;
|
|
3982
|
-
fileUrl: string;
|
|
3983
3169
|
fileName: string;
|
|
3170
|
+
fileUrl: string;
|
|
3984
3171
|
uploadedById: string;
|
|
3985
3172
|
uploadedAt: string;
|
|
3986
3173
|
description?: string | null | undefined;
|
|
@@ -3994,6 +3181,14 @@ export declare const projectsContract: {
|
|
|
3994
3181
|
version?: string | undefined;
|
|
3995
3182
|
isConfidential?: boolean | undefined;
|
|
3996
3183
|
originalName?: string | null | undefined;
|
|
3184
|
+
uploadedBy?: {
|
|
3185
|
+
id: string;
|
|
3186
|
+
firstName?: string | null | undefined;
|
|
3187
|
+
lastName?: string | null | undefined;
|
|
3188
|
+
email?: string | undefined;
|
|
3189
|
+
name?: string | undefined;
|
|
3190
|
+
avatar?: string | null | undefined;
|
|
3191
|
+
} | undefined;
|
|
3997
3192
|
}>, "many">>;
|
|
3998
3193
|
}, "strip", z.ZodTypeAny, {
|
|
3999
3194
|
id: string;
|
|
@@ -4010,10 +3205,10 @@ export declare const projectsContract: {
|
|
|
4010
3205
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4011
3206
|
title: string;
|
|
4012
3207
|
projectId: string;
|
|
3208
|
+
fileName: string;
|
|
4013
3209
|
fileUrl: string;
|
|
4014
3210
|
tags: string[];
|
|
4015
3211
|
version: string;
|
|
4016
|
-
fileName: string;
|
|
4017
3212
|
isConfidential: boolean;
|
|
4018
3213
|
uploadedById: string;
|
|
4019
3214
|
uploadedAt: string;
|
|
@@ -4025,6 +3220,14 @@ export declare const projectsContract: {
|
|
|
4025
3220
|
mimeType?: string | null | undefined;
|
|
4026
3221
|
discipline?: string | null | undefined;
|
|
4027
3222
|
originalName?: string | null | undefined;
|
|
3223
|
+
uploadedBy?: {
|
|
3224
|
+
id: string;
|
|
3225
|
+
firstName?: string | null | undefined;
|
|
3226
|
+
lastName?: string | null | undefined;
|
|
3227
|
+
email?: string | undefined;
|
|
3228
|
+
name?: string | undefined;
|
|
3229
|
+
avatar?: string | null | undefined;
|
|
3230
|
+
} | undefined;
|
|
4028
3231
|
}[];
|
|
4029
3232
|
title: string;
|
|
4030
3233
|
projectId: string;
|
|
@@ -4074,8 +3277,8 @@ export declare const projectsContract: {
|
|
|
4074
3277
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4075
3278
|
title: string;
|
|
4076
3279
|
projectId: string;
|
|
4077
|
-
fileUrl: string;
|
|
4078
3280
|
fileName: string;
|
|
3281
|
+
fileUrl: string;
|
|
4079
3282
|
uploadedById: string;
|
|
4080
3283
|
uploadedAt: string;
|
|
4081
3284
|
description?: string | null | undefined;
|
|
@@ -4089,6 +3292,14 @@ export declare const projectsContract: {
|
|
|
4089
3292
|
version?: string | undefined;
|
|
4090
3293
|
isConfidential?: boolean | undefined;
|
|
4091
3294
|
originalName?: string | null | undefined;
|
|
3295
|
+
uploadedBy?: {
|
|
3296
|
+
id: string;
|
|
3297
|
+
firstName?: string | null | undefined;
|
|
3298
|
+
lastName?: string | null | undefined;
|
|
3299
|
+
email?: string | undefined;
|
|
3300
|
+
name?: string | undefined;
|
|
3301
|
+
avatar?: string | null | undefined;
|
|
3302
|
+
} | undefined;
|
|
4092
3303
|
}[] | undefined;
|
|
4093
3304
|
description?: string | undefined;
|
|
4094
3305
|
dueDate?: string | undefined;
|
|
@@ -4134,10 +3345,10 @@ export declare const projectsContract: {
|
|
|
4134
3345
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4135
3346
|
title: string;
|
|
4136
3347
|
projectId: string;
|
|
3348
|
+
fileName: string;
|
|
4137
3349
|
fileUrl: string;
|
|
4138
3350
|
tags: string[];
|
|
4139
3351
|
version: string;
|
|
4140
|
-
fileName: string;
|
|
4141
3352
|
isConfidential: boolean;
|
|
4142
3353
|
uploadedById: string;
|
|
4143
3354
|
uploadedAt: string;
|
|
@@ -4149,6 +3360,14 @@ export declare const projectsContract: {
|
|
|
4149
3360
|
mimeType?: string | null | undefined;
|
|
4150
3361
|
discipline?: string | null | undefined;
|
|
4151
3362
|
originalName?: string | null | undefined;
|
|
3363
|
+
uploadedBy?: {
|
|
3364
|
+
id: string;
|
|
3365
|
+
firstName?: string | null | undefined;
|
|
3366
|
+
lastName?: string | null | undefined;
|
|
3367
|
+
email?: string | undefined;
|
|
3368
|
+
name?: string | undefined;
|
|
3369
|
+
avatar?: string | null | undefined;
|
|
3370
|
+
} | undefined;
|
|
4152
3371
|
}[];
|
|
4153
3372
|
title: string;
|
|
4154
3373
|
projectId: string;
|
|
@@ -4202,8 +3421,8 @@ export declare const projectsContract: {
|
|
|
4202
3421
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4203
3422
|
title: string;
|
|
4204
3423
|
projectId: string;
|
|
4205
|
-
fileUrl: string;
|
|
4206
3424
|
fileName: string;
|
|
3425
|
+
fileUrl: string;
|
|
4207
3426
|
uploadedById: string;
|
|
4208
3427
|
uploadedAt: string;
|
|
4209
3428
|
description?: string | null | undefined;
|
|
@@ -4217,6 +3436,14 @@ export declare const projectsContract: {
|
|
|
4217
3436
|
version?: string | undefined;
|
|
4218
3437
|
isConfidential?: boolean | undefined;
|
|
4219
3438
|
originalName?: string | null | undefined;
|
|
3439
|
+
uploadedBy?: {
|
|
3440
|
+
id: string;
|
|
3441
|
+
firstName?: string | null | undefined;
|
|
3442
|
+
lastName?: string | null | undefined;
|
|
3443
|
+
email?: string | undefined;
|
|
3444
|
+
name?: string | undefined;
|
|
3445
|
+
avatar?: string | null | undefined;
|
|
3446
|
+
} | undefined;
|
|
4220
3447
|
}[] | undefined;
|
|
4221
3448
|
description?: string | undefined;
|
|
4222
3449
|
dueDate?: string | undefined;
|
|
@@ -4300,10 +3527,10 @@ export declare const projectsContract: {
|
|
|
4300
3527
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4301
3528
|
title: string;
|
|
4302
3529
|
projectId: string;
|
|
3530
|
+
fileName: string;
|
|
4303
3531
|
fileUrl: string;
|
|
4304
3532
|
tags: string[];
|
|
4305
3533
|
version: string;
|
|
4306
|
-
fileName: string;
|
|
4307
3534
|
isConfidential: boolean;
|
|
4308
3535
|
uploadedById: string;
|
|
4309
3536
|
uploadedAt: string;
|
|
@@ -4315,6 +3542,14 @@ export declare const projectsContract: {
|
|
|
4315
3542
|
mimeType?: string | null | undefined;
|
|
4316
3543
|
discipline?: string | null | undefined;
|
|
4317
3544
|
originalName?: string | null | undefined;
|
|
3545
|
+
uploadedBy?: {
|
|
3546
|
+
id: string;
|
|
3547
|
+
firstName?: string | null | undefined;
|
|
3548
|
+
lastName?: string | null | undefined;
|
|
3549
|
+
email?: string | undefined;
|
|
3550
|
+
name?: string | undefined;
|
|
3551
|
+
avatar?: string | null | undefined;
|
|
3552
|
+
} | undefined;
|
|
4318
3553
|
}[];
|
|
4319
3554
|
title: string;
|
|
4320
3555
|
projectId: string;
|
|
@@ -4384,8 +3619,8 @@ export declare const projectsContract: {
|
|
|
4384
3619
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4385
3620
|
title: string;
|
|
4386
3621
|
projectId: string;
|
|
4387
|
-
fileUrl: string;
|
|
4388
3622
|
fileName: string;
|
|
3623
|
+
fileUrl: string;
|
|
4389
3624
|
uploadedById: string;
|
|
4390
3625
|
uploadedAt: string;
|
|
4391
3626
|
description?: string | null | undefined;
|
|
@@ -4399,6 +3634,14 @@ export declare const projectsContract: {
|
|
|
4399
3634
|
version?: string | undefined;
|
|
4400
3635
|
isConfidential?: boolean | undefined;
|
|
4401
3636
|
originalName?: string | null | undefined;
|
|
3637
|
+
uploadedBy?: {
|
|
3638
|
+
id: string;
|
|
3639
|
+
firstName?: string | null | undefined;
|
|
3640
|
+
lastName?: string | null | undefined;
|
|
3641
|
+
email?: string | undefined;
|
|
3642
|
+
name?: string | undefined;
|
|
3643
|
+
avatar?: string | null | undefined;
|
|
3644
|
+
} | undefined;
|
|
4402
3645
|
}[] | undefined;
|
|
4403
3646
|
description?: string | undefined;
|
|
4404
3647
|
dueDate?: string | undefined;
|
|
@@ -4650,6 +3893,28 @@ export declare const projectsContract: {
|
|
|
4650
3893
|
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4651
3894
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4652
3895
|
uploadedById: z.ZodString;
|
|
3896
|
+
uploadedBy: z.ZodOptional<z.ZodObject<{
|
|
3897
|
+
id: z.ZodString;
|
|
3898
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3899
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3900
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3901
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3902
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3903
|
+
}, "strip", z.ZodTypeAny, {
|
|
3904
|
+
id: string;
|
|
3905
|
+
firstName?: string | null | undefined;
|
|
3906
|
+
lastName?: string | null | undefined;
|
|
3907
|
+
email?: string | undefined;
|
|
3908
|
+
name?: string | undefined;
|
|
3909
|
+
avatar?: string | null | undefined;
|
|
3910
|
+
}, {
|
|
3911
|
+
id: string;
|
|
3912
|
+
firstName?: string | null | undefined;
|
|
3913
|
+
lastName?: string | null | undefined;
|
|
3914
|
+
email?: string | undefined;
|
|
3915
|
+
name?: string | undefined;
|
|
3916
|
+
avatar?: string | null | undefined;
|
|
3917
|
+
}>>;
|
|
4653
3918
|
uploadedAt: z.ZodString;
|
|
4654
3919
|
updatedAt: z.ZodString;
|
|
4655
3920
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4658,10 +3923,10 @@ export declare const projectsContract: {
|
|
|
4658
3923
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4659
3924
|
title: string;
|
|
4660
3925
|
projectId: string;
|
|
3926
|
+
fileName: string;
|
|
4661
3927
|
fileUrl: string;
|
|
4662
3928
|
tags: string[];
|
|
4663
3929
|
version: string;
|
|
4664
|
-
fileName: string;
|
|
4665
3930
|
isConfidential: boolean;
|
|
4666
3931
|
uploadedById: string;
|
|
4667
3932
|
uploadedAt: string;
|
|
@@ -4673,14 +3938,22 @@ export declare const projectsContract: {
|
|
|
4673
3938
|
mimeType?: string | null | undefined;
|
|
4674
3939
|
discipline?: string | null | undefined;
|
|
4675
3940
|
originalName?: string | null | undefined;
|
|
3941
|
+
uploadedBy?: {
|
|
3942
|
+
id: string;
|
|
3943
|
+
firstName?: string | null | undefined;
|
|
3944
|
+
lastName?: string | null | undefined;
|
|
3945
|
+
email?: string | undefined;
|
|
3946
|
+
name?: string | undefined;
|
|
3947
|
+
avatar?: string | null | undefined;
|
|
3948
|
+
} | undefined;
|
|
4676
3949
|
}, {
|
|
4677
3950
|
id: string;
|
|
4678
3951
|
updatedAt: string;
|
|
4679
3952
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4680
3953
|
title: string;
|
|
4681
3954
|
projectId: string;
|
|
4682
|
-
fileUrl: string;
|
|
4683
3955
|
fileName: string;
|
|
3956
|
+
fileUrl: string;
|
|
4684
3957
|
uploadedById: string;
|
|
4685
3958
|
uploadedAt: string;
|
|
4686
3959
|
description?: string | null | undefined;
|
|
@@ -4694,6 +3967,14 @@ export declare const projectsContract: {
|
|
|
4694
3967
|
version?: string | undefined;
|
|
4695
3968
|
isConfidential?: boolean | undefined;
|
|
4696
3969
|
originalName?: string | null | undefined;
|
|
3970
|
+
uploadedBy?: {
|
|
3971
|
+
id: string;
|
|
3972
|
+
firstName?: string | null | undefined;
|
|
3973
|
+
lastName?: string | null | undefined;
|
|
3974
|
+
email?: string | undefined;
|
|
3975
|
+
name?: string | undefined;
|
|
3976
|
+
avatar?: string | null | undefined;
|
|
3977
|
+
} | undefined;
|
|
4697
3978
|
}>, "many">>;
|
|
4698
3979
|
}, "strip", z.ZodTypeAny, {
|
|
4699
3980
|
id: string;
|
|
@@ -4710,10 +3991,10 @@ export declare const projectsContract: {
|
|
|
4710
3991
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4711
3992
|
title: string;
|
|
4712
3993
|
projectId: string;
|
|
3994
|
+
fileName: string;
|
|
4713
3995
|
fileUrl: string;
|
|
4714
3996
|
tags: string[];
|
|
4715
3997
|
version: string;
|
|
4716
|
-
fileName: string;
|
|
4717
3998
|
isConfidential: boolean;
|
|
4718
3999
|
uploadedById: string;
|
|
4719
4000
|
uploadedAt: string;
|
|
@@ -4725,6 +4006,14 @@ export declare const projectsContract: {
|
|
|
4725
4006
|
mimeType?: string | null | undefined;
|
|
4726
4007
|
discipline?: string | null | undefined;
|
|
4727
4008
|
originalName?: string | null | undefined;
|
|
4009
|
+
uploadedBy?: {
|
|
4010
|
+
id: string;
|
|
4011
|
+
firstName?: string | null | undefined;
|
|
4012
|
+
lastName?: string | null | undefined;
|
|
4013
|
+
email?: string | undefined;
|
|
4014
|
+
name?: string | undefined;
|
|
4015
|
+
avatar?: string | null | undefined;
|
|
4016
|
+
} | undefined;
|
|
4728
4017
|
}[];
|
|
4729
4018
|
title: string;
|
|
4730
4019
|
projectId: string;
|
|
@@ -4774,8 +4063,8 @@ export declare const projectsContract: {
|
|
|
4774
4063
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4775
4064
|
title: string;
|
|
4776
4065
|
projectId: string;
|
|
4777
|
-
fileUrl: string;
|
|
4778
4066
|
fileName: string;
|
|
4067
|
+
fileUrl: string;
|
|
4779
4068
|
uploadedById: string;
|
|
4780
4069
|
uploadedAt: string;
|
|
4781
4070
|
description?: string | null | undefined;
|
|
@@ -4789,6 +4078,14 @@ export declare const projectsContract: {
|
|
|
4789
4078
|
version?: string | undefined;
|
|
4790
4079
|
isConfidential?: boolean | undefined;
|
|
4791
4080
|
originalName?: string | null | undefined;
|
|
4081
|
+
uploadedBy?: {
|
|
4082
|
+
id: string;
|
|
4083
|
+
firstName?: string | null | undefined;
|
|
4084
|
+
lastName?: string | null | undefined;
|
|
4085
|
+
email?: string | undefined;
|
|
4086
|
+
name?: string | undefined;
|
|
4087
|
+
avatar?: string | null | undefined;
|
|
4088
|
+
} | undefined;
|
|
4792
4089
|
}[] | undefined;
|
|
4793
4090
|
description?: string | undefined;
|
|
4794
4091
|
dueDate?: string | undefined;
|
|
@@ -4834,10 +4131,10 @@ export declare const projectsContract: {
|
|
|
4834
4131
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4835
4132
|
title: string;
|
|
4836
4133
|
projectId: string;
|
|
4134
|
+
fileName: string;
|
|
4837
4135
|
fileUrl: string;
|
|
4838
4136
|
tags: string[];
|
|
4839
4137
|
version: string;
|
|
4840
|
-
fileName: string;
|
|
4841
4138
|
isConfidential: boolean;
|
|
4842
4139
|
uploadedById: string;
|
|
4843
4140
|
uploadedAt: string;
|
|
@@ -4849,6 +4146,14 @@ export declare const projectsContract: {
|
|
|
4849
4146
|
mimeType?: string | null | undefined;
|
|
4850
4147
|
discipline?: string | null | undefined;
|
|
4851
4148
|
originalName?: string | null | undefined;
|
|
4149
|
+
uploadedBy?: {
|
|
4150
|
+
id: string;
|
|
4151
|
+
firstName?: string | null | undefined;
|
|
4152
|
+
lastName?: string | null | undefined;
|
|
4153
|
+
email?: string | undefined;
|
|
4154
|
+
name?: string | undefined;
|
|
4155
|
+
avatar?: string | null | undefined;
|
|
4156
|
+
} | undefined;
|
|
4852
4157
|
}[];
|
|
4853
4158
|
title: string;
|
|
4854
4159
|
projectId: string;
|
|
@@ -4902,8 +4207,8 @@ export declare const projectsContract: {
|
|
|
4902
4207
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
4903
4208
|
title: string;
|
|
4904
4209
|
projectId: string;
|
|
4905
|
-
fileUrl: string;
|
|
4906
4210
|
fileName: string;
|
|
4211
|
+
fileUrl: string;
|
|
4907
4212
|
uploadedById: string;
|
|
4908
4213
|
uploadedAt: string;
|
|
4909
4214
|
description?: string | null | undefined;
|
|
@@ -4917,6 +4222,14 @@ export declare const projectsContract: {
|
|
|
4917
4222
|
version?: string | undefined;
|
|
4918
4223
|
isConfidential?: boolean | undefined;
|
|
4919
4224
|
originalName?: string | null | undefined;
|
|
4225
|
+
uploadedBy?: {
|
|
4226
|
+
id: string;
|
|
4227
|
+
firstName?: string | null | undefined;
|
|
4228
|
+
lastName?: string | null | undefined;
|
|
4229
|
+
email?: string | undefined;
|
|
4230
|
+
name?: string | undefined;
|
|
4231
|
+
avatar?: string | null | undefined;
|
|
4232
|
+
} | undefined;
|
|
4920
4233
|
}[] | undefined;
|
|
4921
4234
|
description?: string | undefined;
|
|
4922
4235
|
dueDate?: string | undefined;
|
|
@@ -5000,10 +4313,10 @@ export declare const projectsContract: {
|
|
|
5000
4313
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
5001
4314
|
title: string;
|
|
5002
4315
|
projectId: string;
|
|
4316
|
+
fileName: string;
|
|
5003
4317
|
fileUrl: string;
|
|
5004
4318
|
tags: string[];
|
|
5005
4319
|
version: string;
|
|
5006
|
-
fileName: string;
|
|
5007
4320
|
isConfidential: boolean;
|
|
5008
4321
|
uploadedById: string;
|
|
5009
4322
|
uploadedAt: string;
|
|
@@ -5015,6 +4328,14 @@ export declare const projectsContract: {
|
|
|
5015
4328
|
mimeType?: string | null | undefined;
|
|
5016
4329
|
discipline?: string | null | undefined;
|
|
5017
4330
|
originalName?: string | null | undefined;
|
|
4331
|
+
uploadedBy?: {
|
|
4332
|
+
id: string;
|
|
4333
|
+
firstName?: string | null | undefined;
|
|
4334
|
+
lastName?: string | null | undefined;
|
|
4335
|
+
email?: string | undefined;
|
|
4336
|
+
name?: string | undefined;
|
|
4337
|
+
avatar?: string | null | undefined;
|
|
4338
|
+
} | undefined;
|
|
5018
4339
|
}[];
|
|
5019
4340
|
title: string;
|
|
5020
4341
|
projectId: string;
|
|
@@ -5084,8 +4405,8 @@ export declare const projectsContract: {
|
|
|
5084
4405
|
type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
|
|
5085
4406
|
title: string;
|
|
5086
4407
|
projectId: string;
|
|
5087
|
-
fileUrl: string;
|
|
5088
4408
|
fileName: string;
|
|
4409
|
+
fileUrl: string;
|
|
5089
4410
|
uploadedById: string;
|
|
5090
4411
|
uploadedAt: string;
|
|
5091
4412
|
description?: string | null | undefined;
|
|
@@ -5099,6 +4420,14 @@ export declare const projectsContract: {
|
|
|
5099
4420
|
version?: string | undefined;
|
|
5100
4421
|
isConfidential?: boolean | undefined;
|
|
5101
4422
|
originalName?: string | null | undefined;
|
|
4423
|
+
uploadedBy?: {
|
|
4424
|
+
id: string;
|
|
4425
|
+
firstName?: string | null | undefined;
|
|
4426
|
+
lastName?: string | null | undefined;
|
|
4427
|
+
email?: string | undefined;
|
|
4428
|
+
name?: string | undefined;
|
|
4429
|
+
avatar?: string | null | undefined;
|
|
4430
|
+
} | undefined;
|
|
5102
4431
|
}[] | undefined;
|
|
5103
4432
|
description?: string | undefined;
|
|
5104
4433
|
dueDate?: string | undefined;
|