@deepintel-ltd/buildlink-api-contracts 0.2.33 → 0.2.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +1 -1
  2. package/contracts/budget.d.ts +824 -6481
  3. package/contracts/budget.d.ts.map +1 -1
  4. package/contracts/budget.js +1 -286
  5. package/contracts/budget.js.map +1 -1
  6. package/contracts/commercial.d.ts +1 -241
  7. package/contracts/commercial.d.ts.map +1 -1
  8. package/contracts/commercial.js +2 -13
  9. package/contracts/commercial.js.map +1 -1
  10. package/contracts/communication.d.ts +1014 -1890
  11. package/contracts/communication.d.ts.map +1 -1
  12. package/contracts/communication.js +1 -65
  13. package/contracts/communication.js.map +1 -1
  14. package/contracts/daily-logs.d.ts +560 -0
  15. package/contracts/daily-logs.d.ts.map +1 -1
  16. package/contracts/deficiencies.d.ts +0 -375
  17. package/contracts/deficiencies.d.ts.map +1 -1
  18. package/contracts/deficiencies.js +1 -14
  19. package/contracts/deficiencies.js.map +1 -1
  20. package/contracts/directory.d.ts +0 -327
  21. package/contracts/directory.d.ts.map +1 -1
  22. package/contracts/directory.js +1 -18
  23. package/contracts/directory.js.map +1 -1
  24. package/contracts/documents.d.ts +41 -3437
  25. package/contracts/documents.d.ts.map +1 -1
  26. package/contracts/documents.js +0 -144
  27. package/contracts/documents.js.map +1 -1
  28. package/contracts/drawings.d.ts +380 -2252
  29. package/contracts/drawings.d.ts.map +1 -1
  30. package/contracts/drawings.js +1 -98
  31. package/contracts/drawings.js.map +1 -1
  32. package/contracts/hub.d.ts +459 -0
  33. package/contracts/hub.d.ts.map +1 -1
  34. package/contracts/hub.js +22 -0
  35. package/contracts/hub.js.map +1 -1
  36. package/contracts/projects.d.ts +91 -1106
  37. package/contracts/projects.d.ts.map +1 -1
  38. package/contracts/projects.js +0 -101
  39. package/contracts/projects.js.map +1 -1
  40. package/contracts/proof.d.ts +322 -0
  41. package/contracts/proof.d.ts.map +1 -1
  42. package/contracts/proof.js +14 -1
  43. package/contracts/proof.js.map +1 -1
  44. package/contracts/qaqc.d.ts +874 -0
  45. package/contracts/qaqc.d.ts.map +1 -1
  46. package/contracts/qaqc.js +13 -1
  47. package/contracts/qaqc.js.map +1 -1
  48. package/contracts/resources.d.ts +1774 -5959
  49. package/contracts/resources.d.ts.map +1 -1
  50. package/contracts/resources.js +1 -245
  51. package/contracts/resources.js.map +1 -1
  52. package/contracts/safety.d.ts +174 -3683
  53. package/contracts/safety.d.ts.map +1 -1
  54. package/contracts/safety.js +1 -238
  55. package/contracts/safety.js.map +1 -1
  56. package/contracts/schedule.d.ts +0 -1371
  57. package/contracts/schedule.d.ts.map +1 -1
  58. package/contracts/schedule.js +1 -65
  59. package/contracts/schedule.js.map +1 -1
  60. package/contracts/specifications.d.ts +0 -704
  61. package/contracts/specifications.d.ts.map +1 -1
  62. package/contracts/specifications.js +3 -18
  63. package/contracts/specifications.js.map +1 -1
  64. package/contracts/tasks.d.ts +2030 -4095
  65. package/contracts/tasks.d.ts.map +1 -1
  66. package/contracts/tasks.js +1 -149
  67. package/contracts/tasks.js.map +1 -1
  68. package/contracts/user-admin.d.ts +358 -0
  69. package/contracts/user-admin.d.ts.map +1 -1
  70. package/contracts/user-admin.js +8 -0
  71. package/contracts/user-admin.js.map +1 -1
  72. package/package.json +1 -1
  73. package/schemas/budget.d.ts +149 -0
  74. package/schemas/budget.d.ts.map +1 -1
  75. package/schemas/budget.js +13 -0
  76. package/schemas/budget.js.map +1 -1
  77. package/schemas/communication.d.ts +94 -0
  78. package/schemas/communication.d.ts.map +1 -1
  79. package/schemas/communication.js +2 -0
  80. package/schemas/communication.js.map +1 -1
  81. package/schemas/daily-logs.d.ts +92 -0
  82. package/schemas/daily-logs.d.ts.map +1 -1
  83. package/schemas/daily-logs.js +1 -0
  84. package/schemas/daily-logs.js.map +1 -1
  85. package/schemas/documents.d.ts +11 -11
  86. package/schemas/drawings.d.ts +12 -12
  87. package/schemas/proof.d.ts +161 -0
  88. package/schemas/proof.d.ts.map +1 -1
  89. package/schemas/proof.js +17 -1
  90. package/schemas/proof.js.map +1 -1
  91. package/schemas/qaqc.d.ts +335 -0
  92. package/schemas/qaqc.d.ts.map +1 -1
  93. package/schemas/qaqc.js +16 -1
  94. package/schemas/qaqc.js.map +1 -1
  95. package/schemas/safety.d.ts +8 -8
  96. package/schemas/specifications.d.ts +0 -17
  97. package/schemas/specifications.d.ts.map +1 -1
  98. package/schemas/specifications.js +0 -6
  99. package/schemas/specifications.js.map +1 -1
  100. package/schemas/tasks.d.ts +4 -4
@@ -5432,1187 +5432,6 @@ export declare const scheduleContract: {
5432
5432
  }>;
5433
5433
  };
5434
5434
  };
5435
- getResourceUtilization: {
5436
- description: "Analyze resource utilization and identify overallocations";
5437
- pathParams: z.ZodObject<{
5438
- projectId: z.ZodString;
5439
- }, "strip", z.ZodTypeAny, {
5440
- projectId: string;
5441
- }, {
5442
- projectId: string;
5443
- }>;
5444
- query: z.ZodObject<{
5445
- startDate: z.ZodOptional<z.ZodString>;
5446
- endDate: z.ZodOptional<z.ZodString>;
5447
- resourceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5448
- }, "strip", z.ZodTypeAny, {
5449
- startDate?: string | undefined;
5450
- endDate?: string | undefined;
5451
- resourceIds?: string[] | undefined;
5452
- }, {
5453
- startDate?: string | undefined;
5454
- endDate?: string | undefined;
5455
- resourceIds?: string[] | undefined;
5456
- }>;
5457
- summary: "Get resource utilization analysis";
5458
- method: "GET";
5459
- path: "/projects/:projectId/schedule/resources/utilization";
5460
- responses: {
5461
- 200: z.ZodObject<{
5462
- data: z.ZodObject<{
5463
- type: z.ZodLiteral<"resource-utilization-report">;
5464
- id: z.ZodString;
5465
- attributes: z.ZodObject<{
5466
- projectId: z.ZodString;
5467
- totalResources: z.ZodNumber;
5468
- utilizationSummary: z.ZodObject<{
5469
- underutilized: z.ZodNumber;
5470
- optimal: z.ZodNumber;
5471
- overallocated: z.ZodNumber;
5472
- }, "strip", z.ZodTypeAny, {
5473
- underutilized: number;
5474
- optimal: number;
5475
- overallocated: number;
5476
- }, {
5477
- underutilized: number;
5478
- optimal: number;
5479
- overallocated: number;
5480
- }>;
5481
- resourceUtilization: z.ZodArray<z.ZodObject<{
5482
- resourceId: z.ZodString;
5483
- resourceName: z.ZodString;
5484
- resourceType: z.ZodEnum<["LABOR", "EQUIPMENT", "MATERIAL", "SUBCONTRACTOR"]>;
5485
- totalCapacity: z.ZodNumber;
5486
- allocatedCapacity: z.ZodNumber;
5487
- utilizationPercentage: z.ZodNumber;
5488
- overallocation: z.ZodNumber;
5489
- assignments: z.ZodArray<z.ZodObject<{
5490
- itemId: z.ZodString;
5491
- itemName: z.ZodString;
5492
- startDate: z.ZodString;
5493
- endDate: z.ZodString;
5494
- units: z.ZodNumber;
5495
- }, "strip", z.ZodTypeAny, {
5496
- itemId: string;
5497
- startDate: string;
5498
- endDate: string;
5499
- units: number;
5500
- itemName: string;
5501
- }, {
5502
- itemId: string;
5503
- startDate: string;
5504
- endDate: string;
5505
- units: number;
5506
- itemName: string;
5507
- }>, "many">;
5508
- }, "strip", z.ZodTypeAny, {
5509
- utilizationPercentage: number;
5510
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5511
- resourceId: string;
5512
- resourceName: string;
5513
- assignments: {
5514
- itemId: string;
5515
- startDate: string;
5516
- endDate: string;
5517
- units: number;
5518
- itemName: string;
5519
- }[];
5520
- totalCapacity: number;
5521
- allocatedCapacity: number;
5522
- overallocation: number;
5523
- }, {
5524
- utilizationPercentage: number;
5525
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5526
- resourceId: string;
5527
- resourceName: string;
5528
- assignments: {
5529
- itemId: string;
5530
- startDate: string;
5531
- endDate: string;
5532
- units: number;
5533
- itemName: string;
5534
- }[];
5535
- totalCapacity: number;
5536
- allocatedCapacity: number;
5537
- overallocation: number;
5538
- }>, "many">;
5539
- peakUtilization: z.ZodObject<{
5540
- date: z.ZodString;
5541
- percentage: z.ZodNumber;
5542
- criticalResources: z.ZodArray<z.ZodString, "many">;
5543
- }, "strip", z.ZodTypeAny, {
5544
- date: string;
5545
- percentage: number;
5546
- criticalResources: string[];
5547
- }, {
5548
- date: string;
5549
- percentage: number;
5550
- criticalResources: string[];
5551
- }>;
5552
- recommendations: z.ZodArray<z.ZodObject<{
5553
- type: z.ZodEnum<["ADD_RESOURCE", "REDISTRIBUTE_WORK", "ADJUST_SCHEDULE"]>;
5554
- description: z.ZodString;
5555
- priority: z.ZodEnum<["LOW", "MEDIUM", "HIGH"]>;
5556
- affectedResources: z.ZodArray<z.ZodString, "many">;
5557
- }, "strip", z.ZodTypeAny, {
5558
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5559
- description: string;
5560
- priority: "LOW" | "MEDIUM" | "HIGH";
5561
- affectedResources: string[];
5562
- }, {
5563
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5564
- description: string;
5565
- priority: "LOW" | "MEDIUM" | "HIGH";
5566
- affectedResources: string[];
5567
- }>, "many">;
5568
- }, "strip", z.ZodTypeAny, {
5569
- projectId: string;
5570
- recommendations: {
5571
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5572
- description: string;
5573
- priority: "LOW" | "MEDIUM" | "HIGH";
5574
- affectedResources: string[];
5575
- }[];
5576
- totalResources: number;
5577
- utilizationSummary: {
5578
- underutilized: number;
5579
- optimal: number;
5580
- overallocated: number;
5581
- };
5582
- resourceUtilization: {
5583
- utilizationPercentage: number;
5584
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5585
- resourceId: string;
5586
- resourceName: string;
5587
- assignments: {
5588
- itemId: string;
5589
- startDate: string;
5590
- endDate: string;
5591
- units: number;
5592
- itemName: string;
5593
- }[];
5594
- totalCapacity: number;
5595
- allocatedCapacity: number;
5596
- overallocation: number;
5597
- }[];
5598
- peakUtilization: {
5599
- date: string;
5600
- percentage: number;
5601
- criticalResources: string[];
5602
- };
5603
- }, {
5604
- projectId: string;
5605
- recommendations: {
5606
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5607
- description: string;
5608
- priority: "LOW" | "MEDIUM" | "HIGH";
5609
- affectedResources: string[];
5610
- }[];
5611
- totalResources: number;
5612
- utilizationSummary: {
5613
- underutilized: number;
5614
- optimal: number;
5615
- overallocated: number;
5616
- };
5617
- resourceUtilization: {
5618
- utilizationPercentage: number;
5619
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5620
- resourceId: string;
5621
- resourceName: string;
5622
- assignments: {
5623
- itemId: string;
5624
- startDate: string;
5625
- endDate: string;
5626
- units: number;
5627
- itemName: string;
5628
- }[];
5629
- totalCapacity: number;
5630
- allocatedCapacity: number;
5631
- overallocation: number;
5632
- }[];
5633
- peakUtilization: {
5634
- date: string;
5635
- percentage: number;
5636
- criticalResources: string[];
5637
- };
5638
- }>;
5639
- }, "strip", z.ZodTypeAny, {
5640
- id: string;
5641
- type: "resource-utilization-report";
5642
- attributes: {
5643
- projectId: string;
5644
- recommendations: {
5645
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5646
- description: string;
5647
- priority: "LOW" | "MEDIUM" | "HIGH";
5648
- affectedResources: string[];
5649
- }[];
5650
- totalResources: number;
5651
- utilizationSummary: {
5652
- underutilized: number;
5653
- optimal: number;
5654
- overallocated: number;
5655
- };
5656
- resourceUtilization: {
5657
- utilizationPercentage: number;
5658
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5659
- resourceId: string;
5660
- resourceName: string;
5661
- assignments: {
5662
- itemId: string;
5663
- startDate: string;
5664
- endDate: string;
5665
- units: number;
5666
- itemName: string;
5667
- }[];
5668
- totalCapacity: number;
5669
- allocatedCapacity: number;
5670
- overallocation: number;
5671
- }[];
5672
- peakUtilization: {
5673
- date: string;
5674
- percentage: number;
5675
- criticalResources: string[];
5676
- };
5677
- };
5678
- }, {
5679
- id: string;
5680
- type: "resource-utilization-report";
5681
- attributes: {
5682
- projectId: string;
5683
- recommendations: {
5684
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5685
- description: string;
5686
- priority: "LOW" | "MEDIUM" | "HIGH";
5687
- affectedResources: string[];
5688
- }[];
5689
- totalResources: number;
5690
- utilizationSummary: {
5691
- underutilized: number;
5692
- optimal: number;
5693
- overallocated: number;
5694
- };
5695
- resourceUtilization: {
5696
- utilizationPercentage: number;
5697
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5698
- resourceId: string;
5699
- resourceName: string;
5700
- assignments: {
5701
- itemId: string;
5702
- startDate: string;
5703
- endDate: string;
5704
- units: number;
5705
- itemName: string;
5706
- }[];
5707
- totalCapacity: number;
5708
- allocatedCapacity: number;
5709
- overallocation: number;
5710
- }[];
5711
- peakUtilization: {
5712
- date: string;
5713
- percentage: number;
5714
- criticalResources: string[];
5715
- };
5716
- };
5717
- }>;
5718
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5719
- links: z.ZodOptional<z.ZodObject<{
5720
- self: z.ZodString;
5721
- first: z.ZodOptional<z.ZodString>;
5722
- last: z.ZodOptional<z.ZodString>;
5723
- prev: z.ZodOptional<z.ZodString>;
5724
- next: z.ZodOptional<z.ZodString>;
5725
- }, "strip", z.ZodTypeAny, {
5726
- self: string;
5727
- first?: string | undefined;
5728
- last?: string | undefined;
5729
- prev?: string | undefined;
5730
- next?: string | undefined;
5731
- }, {
5732
- self: string;
5733
- first?: string | undefined;
5734
- last?: string | undefined;
5735
- prev?: string | undefined;
5736
- next?: string | undefined;
5737
- }>>;
5738
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
5739
- status: z.ZodString;
5740
- title: z.ZodString;
5741
- detail: z.ZodOptional<z.ZodString>;
5742
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5743
- }, "strip", z.ZodTypeAny, {
5744
- status: string;
5745
- title: string;
5746
- detail?: string | undefined;
5747
- meta?: Record<string, unknown> | undefined;
5748
- }, {
5749
- status: string;
5750
- title: string;
5751
- detail?: string | undefined;
5752
- meta?: Record<string, unknown> | undefined;
5753
- }>, "many">>;
5754
- }, "strip", z.ZodTypeAny, {
5755
- data: {
5756
- id: string;
5757
- type: "resource-utilization-report";
5758
- attributes: {
5759
- projectId: string;
5760
- recommendations: {
5761
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5762
- description: string;
5763
- priority: "LOW" | "MEDIUM" | "HIGH";
5764
- affectedResources: string[];
5765
- }[];
5766
- totalResources: number;
5767
- utilizationSummary: {
5768
- underutilized: number;
5769
- optimal: number;
5770
- overallocated: number;
5771
- };
5772
- resourceUtilization: {
5773
- utilizationPercentage: number;
5774
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5775
- resourceId: string;
5776
- resourceName: string;
5777
- assignments: {
5778
- itemId: string;
5779
- startDate: string;
5780
- endDate: string;
5781
- units: number;
5782
- itemName: string;
5783
- }[];
5784
- totalCapacity: number;
5785
- allocatedCapacity: number;
5786
- overallocation: number;
5787
- }[];
5788
- peakUtilization: {
5789
- date: string;
5790
- percentage: number;
5791
- criticalResources: string[];
5792
- };
5793
- };
5794
- };
5795
- meta?: Record<string, unknown> | undefined;
5796
- links?: {
5797
- self: string;
5798
- first?: string | undefined;
5799
- last?: string | undefined;
5800
- prev?: string | undefined;
5801
- next?: string | undefined;
5802
- } | undefined;
5803
- errors?: {
5804
- status: string;
5805
- title: string;
5806
- detail?: string | undefined;
5807
- meta?: Record<string, unknown> | undefined;
5808
- }[] | undefined;
5809
- }, {
5810
- data: {
5811
- id: string;
5812
- type: "resource-utilization-report";
5813
- attributes: {
5814
- projectId: string;
5815
- recommendations: {
5816
- type: "ADD_RESOURCE" | "REDISTRIBUTE_WORK" | "ADJUST_SCHEDULE";
5817
- description: string;
5818
- priority: "LOW" | "MEDIUM" | "HIGH";
5819
- affectedResources: string[];
5820
- }[];
5821
- totalResources: number;
5822
- utilizationSummary: {
5823
- underutilized: number;
5824
- optimal: number;
5825
- overallocated: number;
5826
- };
5827
- resourceUtilization: {
5828
- utilizationPercentage: number;
5829
- resourceType: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
5830
- resourceId: string;
5831
- resourceName: string;
5832
- assignments: {
5833
- itemId: string;
5834
- startDate: string;
5835
- endDate: string;
5836
- units: number;
5837
- itemName: string;
5838
- }[];
5839
- totalCapacity: number;
5840
- allocatedCapacity: number;
5841
- overallocation: number;
5842
- }[];
5843
- peakUtilization: {
5844
- date: string;
5845
- percentage: number;
5846
- criticalResources: string[];
5847
- };
5848
- };
5849
- };
5850
- meta?: Record<string, unknown> | undefined;
5851
- links?: {
5852
- self: string;
5853
- first?: string | undefined;
5854
- last?: string | undefined;
5855
- prev?: string | undefined;
5856
- next?: string | undefined;
5857
- } | undefined;
5858
- errors?: {
5859
- status: string;
5860
- title: string;
5861
- detail?: string | undefined;
5862
- meta?: Record<string, unknown> | undefined;
5863
- }[] | undefined;
5864
- }>;
5865
- 401: z.ZodObject<{
5866
- errors: z.ZodArray<z.ZodObject<{
5867
- status: z.ZodString;
5868
- title: z.ZodString;
5869
- detail: z.ZodOptional<z.ZodString>;
5870
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5871
- }, "strip", z.ZodTypeAny, {
5872
- status: string;
5873
- title: string;
5874
- detail?: string | undefined;
5875
- meta?: Record<string, unknown> | undefined;
5876
- }, {
5877
- status: string;
5878
- title: string;
5879
- detail?: string | undefined;
5880
- meta?: Record<string, unknown> | undefined;
5881
- }>, "many">;
5882
- }, "strip", z.ZodTypeAny, {
5883
- errors: {
5884
- status: string;
5885
- title: string;
5886
- detail?: string | undefined;
5887
- meta?: Record<string, unknown> | undefined;
5888
- }[];
5889
- }, {
5890
- errors: {
5891
- status: string;
5892
- title: string;
5893
- detail?: string | undefined;
5894
- meta?: Record<string, unknown> | undefined;
5895
- }[];
5896
- }>;
5897
- 403: z.ZodObject<{
5898
- errors: z.ZodArray<z.ZodObject<{
5899
- status: z.ZodString;
5900
- title: z.ZodString;
5901
- detail: z.ZodOptional<z.ZodString>;
5902
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5903
- }, "strip", z.ZodTypeAny, {
5904
- status: string;
5905
- title: string;
5906
- detail?: string | undefined;
5907
- meta?: Record<string, unknown> | undefined;
5908
- }, {
5909
- status: string;
5910
- title: string;
5911
- detail?: string | undefined;
5912
- meta?: Record<string, unknown> | undefined;
5913
- }>, "many">;
5914
- }, "strip", z.ZodTypeAny, {
5915
- errors: {
5916
- status: string;
5917
- title: string;
5918
- detail?: string | undefined;
5919
- meta?: Record<string, unknown> | undefined;
5920
- }[];
5921
- }, {
5922
- errors: {
5923
- status: string;
5924
- title: string;
5925
- detail?: string | undefined;
5926
- meta?: Record<string, unknown> | undefined;
5927
- }[];
5928
- }>;
5929
- 404: z.ZodObject<{
5930
- errors: z.ZodArray<z.ZodObject<{
5931
- status: z.ZodString;
5932
- title: z.ZodString;
5933
- detail: z.ZodOptional<z.ZodString>;
5934
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5935
- }, "strip", z.ZodTypeAny, {
5936
- status: string;
5937
- title: string;
5938
- detail?: string | undefined;
5939
- meta?: Record<string, unknown> | undefined;
5940
- }, {
5941
- status: string;
5942
- title: string;
5943
- detail?: string | undefined;
5944
- meta?: Record<string, unknown> | undefined;
5945
- }>, "many">;
5946
- }, "strip", z.ZodTypeAny, {
5947
- errors: {
5948
- status: string;
5949
- title: string;
5950
- detail?: string | undefined;
5951
- meta?: Record<string, unknown> | undefined;
5952
- }[];
5953
- }, {
5954
- errors: {
5955
- status: string;
5956
- title: string;
5957
- detail?: string | undefined;
5958
- meta?: Record<string, unknown> | undefined;
5959
- }[];
5960
- }>;
5961
- };
5962
- };
5963
- getResourceLeveling: {
5964
- description: "Analyze resource conflicts and get leveling suggestions";
5965
- pathParams: z.ZodObject<{
5966
- projectId: z.ZodString;
5967
- }, "strip", z.ZodTypeAny, {
5968
- projectId: string;
5969
- }, {
5970
- projectId: string;
5971
- }>;
5972
- query: z.ZodObject<{
5973
- autoResolve: z.ZodDefault<z.ZodBoolean>;
5974
- maxDelay: z.ZodDefault<z.ZodNumber>;
5975
- }, "strip", z.ZodTypeAny, {
5976
- autoResolve: boolean;
5977
- maxDelay: number;
5978
- }, {
5979
- autoResolve?: boolean | undefined;
5980
- maxDelay?: number | undefined;
5981
- }>;
5982
- summary: "Get resource leveling analysis";
5983
- method: "GET";
5984
- path: "/projects/:projectId/schedule/resources/leveling";
5985
- responses: {
5986
- 200: z.ZodObject<{
5987
- data: z.ZodObject<{
5988
- type: z.ZodLiteral<"resource-leveling">;
5989
- id: z.ZodString;
5990
- attributes: z.ZodObject<{
5991
- projectId: z.ZodString;
5992
- conflicts: z.ZodArray<z.ZodObject<{
5993
- resourceId: z.ZodString;
5994
- resourceName: z.ZodString;
5995
- conflictDate: z.ZodString;
5996
- requiredCapacity: z.ZodNumber;
5997
- availableCapacity: z.ZodNumber;
5998
- overallocation: z.ZodNumber;
5999
- affectedItems: z.ZodArray<z.ZodString, "many">;
6000
- }, "strip", z.ZodTypeAny, {
6001
- resourceId: string;
6002
- resourceName: string;
6003
- overallocation: number;
6004
- conflictDate: string;
6005
- requiredCapacity: number;
6006
- availableCapacity: number;
6007
- affectedItems: string[];
6008
- }, {
6009
- resourceId: string;
6010
- resourceName: string;
6011
- overallocation: number;
6012
- conflictDate: string;
6013
- requiredCapacity: number;
6014
- availableCapacity: number;
6015
- affectedItems: string[];
6016
- }>, "many">;
6017
- suggestions: z.ZodArray<z.ZodObject<{
6018
- type: z.ZodEnum<["DELAY_TASK", "REDUCE_ALLOCATION", "ADD_RESOURCE", "SPLIT_TASK"]>;
6019
- itemId: z.ZodString;
6020
- description: z.ZodString;
6021
- impact: z.ZodString;
6022
- }, "strip", z.ZodTypeAny, {
6023
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6024
- description: string;
6025
- itemId: string;
6026
- impact: string;
6027
- }, {
6028
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6029
- description: string;
6030
- itemId: string;
6031
- impact: string;
6032
- }>, "many">;
6033
- leveledSchedule: z.ZodOptional<z.ZodArray<z.ZodObject<{
6034
- id: z.ZodString;
6035
- name: z.ZodString;
6036
- type: z.ZodEnum<["TASK", "MILESTONE", "PHASE", "SUMMARY"]>;
6037
- status: z.ZodEnum<["NOT_STARTED", "IN_PROGRESS", "COMPLETED", "ON_HOLD", "CANCELLED", "DELAYED"]>;
6038
- startDate: z.ZodString;
6039
- endDate: z.ZodString;
6040
- duration: z.ZodNumber;
6041
- percentComplete: z.ZodNumber;
6042
- isCritical: z.ZodBoolean;
6043
- level: z.ZodNumber;
6044
- parentId: z.ZodOptional<z.ZodString>;
6045
- dependencies: z.ZodArray<z.ZodObject<{
6046
- id: z.ZodString;
6047
- type: z.ZodEnum<["FINISH_TO_START", "START_TO_START", "FINISH_TO_FINISH", "START_TO_FINISH"]>;
6048
- predecessorId: z.ZodString;
6049
- lag: z.ZodNumber;
6050
- }, "strip", z.ZodTypeAny, {
6051
- id: string;
6052
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6053
- predecessorId: string;
6054
- lag: number;
6055
- }, {
6056
- id: string;
6057
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6058
- predecessorId: string;
6059
- lag: number;
6060
- }>, "many">;
6061
- resources: z.ZodArray<z.ZodObject<{
6062
- id: z.ZodString;
6063
- name: z.ZodString;
6064
- type: z.ZodEnum<["LABOR", "EQUIPMENT", "MATERIAL", "SUBCONTRACTOR"]>;
6065
- units: z.ZodNumber;
6066
- }, "strip", z.ZodTypeAny, {
6067
- id: string;
6068
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6069
- name: string;
6070
- units: number;
6071
- }, {
6072
- id: string;
6073
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6074
- name: string;
6075
- units: number;
6076
- }>, "many">;
6077
- assignee: z.ZodOptional<z.ZodObject<{
6078
- id: z.ZodString;
6079
- name: z.ZodString;
6080
- email: z.ZodString;
6081
- }, "strip", z.ZodTypeAny, {
6082
- id: string;
6083
- email: string;
6084
- name: string;
6085
- }, {
6086
- id: string;
6087
- email: string;
6088
- name: string;
6089
- }>>;
6090
- }, "strip", z.ZodTypeAny, {
6091
- id: string;
6092
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6093
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6094
- name: string;
6095
- startDate: string;
6096
- endDate: string;
6097
- duration: number;
6098
- dependencies: {
6099
- id: string;
6100
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6101
- predecessorId: string;
6102
- lag: number;
6103
- }[];
6104
- level: number;
6105
- isCritical: boolean;
6106
- resources: {
6107
- id: string;
6108
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6109
- name: string;
6110
- units: number;
6111
- }[];
6112
- percentComplete: number;
6113
- assignee?: {
6114
- id: string;
6115
- email: string;
6116
- name: string;
6117
- } | undefined;
6118
- parentId?: string | undefined;
6119
- }, {
6120
- id: string;
6121
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6122
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6123
- name: string;
6124
- startDate: string;
6125
- endDate: string;
6126
- duration: number;
6127
- dependencies: {
6128
- id: string;
6129
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6130
- predecessorId: string;
6131
- lag: number;
6132
- }[];
6133
- level: number;
6134
- isCritical: boolean;
6135
- resources: {
6136
- id: string;
6137
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6138
- name: string;
6139
- units: number;
6140
- }[];
6141
- percentComplete: number;
6142
- assignee?: {
6143
- id: string;
6144
- email: string;
6145
- name: string;
6146
- } | undefined;
6147
- parentId?: string | undefined;
6148
- }>, "many">>;
6149
- }, "strip", z.ZodTypeAny, {
6150
- projectId: string;
6151
- conflicts: {
6152
- resourceId: string;
6153
- resourceName: string;
6154
- overallocation: number;
6155
- conflictDate: string;
6156
- requiredCapacity: number;
6157
- availableCapacity: number;
6158
- affectedItems: string[];
6159
- }[];
6160
- suggestions: {
6161
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6162
- description: string;
6163
- itemId: string;
6164
- impact: string;
6165
- }[];
6166
- leveledSchedule?: {
6167
- id: string;
6168
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6169
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6170
- name: string;
6171
- startDate: string;
6172
- endDate: string;
6173
- duration: number;
6174
- dependencies: {
6175
- id: string;
6176
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6177
- predecessorId: string;
6178
- lag: number;
6179
- }[];
6180
- level: number;
6181
- isCritical: boolean;
6182
- resources: {
6183
- id: string;
6184
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6185
- name: string;
6186
- units: number;
6187
- }[];
6188
- percentComplete: number;
6189
- assignee?: {
6190
- id: string;
6191
- email: string;
6192
- name: string;
6193
- } | undefined;
6194
- parentId?: string | undefined;
6195
- }[] | undefined;
6196
- }, {
6197
- projectId: string;
6198
- conflicts: {
6199
- resourceId: string;
6200
- resourceName: string;
6201
- overallocation: number;
6202
- conflictDate: string;
6203
- requiredCapacity: number;
6204
- availableCapacity: number;
6205
- affectedItems: string[];
6206
- }[];
6207
- suggestions: {
6208
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6209
- description: string;
6210
- itemId: string;
6211
- impact: string;
6212
- }[];
6213
- leveledSchedule?: {
6214
- id: string;
6215
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6216
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6217
- name: string;
6218
- startDate: string;
6219
- endDate: string;
6220
- duration: number;
6221
- dependencies: {
6222
- id: string;
6223
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6224
- predecessorId: string;
6225
- lag: number;
6226
- }[];
6227
- level: number;
6228
- isCritical: boolean;
6229
- resources: {
6230
- id: string;
6231
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6232
- name: string;
6233
- units: number;
6234
- }[];
6235
- percentComplete: number;
6236
- assignee?: {
6237
- id: string;
6238
- email: string;
6239
- name: string;
6240
- } | undefined;
6241
- parentId?: string | undefined;
6242
- }[] | undefined;
6243
- }>;
6244
- }, "strip", z.ZodTypeAny, {
6245
- id: string;
6246
- type: "resource-leveling";
6247
- attributes: {
6248
- projectId: string;
6249
- conflicts: {
6250
- resourceId: string;
6251
- resourceName: string;
6252
- overallocation: number;
6253
- conflictDate: string;
6254
- requiredCapacity: number;
6255
- availableCapacity: number;
6256
- affectedItems: string[];
6257
- }[];
6258
- suggestions: {
6259
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6260
- description: string;
6261
- itemId: string;
6262
- impact: string;
6263
- }[];
6264
- leveledSchedule?: {
6265
- id: string;
6266
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6267
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6268
- name: string;
6269
- startDate: string;
6270
- endDate: string;
6271
- duration: number;
6272
- dependencies: {
6273
- id: string;
6274
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6275
- predecessorId: string;
6276
- lag: number;
6277
- }[];
6278
- level: number;
6279
- isCritical: boolean;
6280
- resources: {
6281
- id: string;
6282
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6283
- name: string;
6284
- units: number;
6285
- }[];
6286
- percentComplete: number;
6287
- assignee?: {
6288
- id: string;
6289
- email: string;
6290
- name: string;
6291
- } | undefined;
6292
- parentId?: string | undefined;
6293
- }[] | undefined;
6294
- };
6295
- }, {
6296
- id: string;
6297
- type: "resource-leveling";
6298
- attributes: {
6299
- projectId: string;
6300
- conflicts: {
6301
- resourceId: string;
6302
- resourceName: string;
6303
- overallocation: number;
6304
- conflictDate: string;
6305
- requiredCapacity: number;
6306
- availableCapacity: number;
6307
- affectedItems: string[];
6308
- }[];
6309
- suggestions: {
6310
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6311
- description: string;
6312
- itemId: string;
6313
- impact: string;
6314
- }[];
6315
- leveledSchedule?: {
6316
- id: string;
6317
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6318
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6319
- name: string;
6320
- startDate: string;
6321
- endDate: string;
6322
- duration: number;
6323
- dependencies: {
6324
- id: string;
6325
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6326
- predecessorId: string;
6327
- lag: number;
6328
- }[];
6329
- level: number;
6330
- isCritical: boolean;
6331
- resources: {
6332
- id: string;
6333
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6334
- name: string;
6335
- units: number;
6336
- }[];
6337
- percentComplete: number;
6338
- assignee?: {
6339
- id: string;
6340
- email: string;
6341
- name: string;
6342
- } | undefined;
6343
- parentId?: string | undefined;
6344
- }[] | undefined;
6345
- };
6346
- }>;
6347
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6348
- links: z.ZodOptional<z.ZodObject<{
6349
- self: z.ZodString;
6350
- first: z.ZodOptional<z.ZodString>;
6351
- last: z.ZodOptional<z.ZodString>;
6352
- prev: z.ZodOptional<z.ZodString>;
6353
- next: z.ZodOptional<z.ZodString>;
6354
- }, "strip", z.ZodTypeAny, {
6355
- self: string;
6356
- first?: string | undefined;
6357
- last?: string | undefined;
6358
- prev?: string | undefined;
6359
- next?: string | undefined;
6360
- }, {
6361
- self: string;
6362
- first?: string | undefined;
6363
- last?: string | undefined;
6364
- prev?: string | undefined;
6365
- next?: string | undefined;
6366
- }>>;
6367
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
6368
- status: z.ZodString;
6369
- title: z.ZodString;
6370
- detail: z.ZodOptional<z.ZodString>;
6371
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6372
- }, "strip", z.ZodTypeAny, {
6373
- status: string;
6374
- title: string;
6375
- detail?: string | undefined;
6376
- meta?: Record<string, unknown> | undefined;
6377
- }, {
6378
- status: string;
6379
- title: string;
6380
- detail?: string | undefined;
6381
- meta?: Record<string, unknown> | undefined;
6382
- }>, "many">>;
6383
- }, "strip", z.ZodTypeAny, {
6384
- data: {
6385
- id: string;
6386
- type: "resource-leveling";
6387
- attributes: {
6388
- projectId: string;
6389
- conflicts: {
6390
- resourceId: string;
6391
- resourceName: string;
6392
- overallocation: number;
6393
- conflictDate: string;
6394
- requiredCapacity: number;
6395
- availableCapacity: number;
6396
- affectedItems: string[];
6397
- }[];
6398
- suggestions: {
6399
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6400
- description: string;
6401
- itemId: string;
6402
- impact: string;
6403
- }[];
6404
- leveledSchedule?: {
6405
- id: string;
6406
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6407
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6408
- name: string;
6409
- startDate: string;
6410
- endDate: string;
6411
- duration: number;
6412
- dependencies: {
6413
- id: string;
6414
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6415
- predecessorId: string;
6416
- lag: number;
6417
- }[];
6418
- level: number;
6419
- isCritical: boolean;
6420
- resources: {
6421
- id: string;
6422
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6423
- name: string;
6424
- units: number;
6425
- }[];
6426
- percentComplete: number;
6427
- assignee?: {
6428
- id: string;
6429
- email: string;
6430
- name: string;
6431
- } | undefined;
6432
- parentId?: string | undefined;
6433
- }[] | undefined;
6434
- };
6435
- };
6436
- meta?: Record<string, unknown> | undefined;
6437
- links?: {
6438
- self: string;
6439
- first?: string | undefined;
6440
- last?: string | undefined;
6441
- prev?: string | undefined;
6442
- next?: string | undefined;
6443
- } | undefined;
6444
- errors?: {
6445
- status: string;
6446
- title: string;
6447
- detail?: string | undefined;
6448
- meta?: Record<string, unknown> | undefined;
6449
- }[] | undefined;
6450
- }, {
6451
- data: {
6452
- id: string;
6453
- type: "resource-leveling";
6454
- attributes: {
6455
- projectId: string;
6456
- conflicts: {
6457
- resourceId: string;
6458
- resourceName: string;
6459
- overallocation: number;
6460
- conflictDate: string;
6461
- requiredCapacity: number;
6462
- availableCapacity: number;
6463
- affectedItems: string[];
6464
- }[];
6465
- suggestions: {
6466
- type: "DELAY_TASK" | "REDUCE_ALLOCATION" | "ADD_RESOURCE" | "SPLIT_TASK";
6467
- description: string;
6468
- itemId: string;
6469
- impact: string;
6470
- }[];
6471
- leveledSchedule?: {
6472
- id: string;
6473
- type: "TASK" | "MILESTONE" | "PHASE" | "SUMMARY";
6474
- status: "IN_PROGRESS" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "DELAYED" | "NOT_STARTED";
6475
- name: string;
6476
- startDate: string;
6477
- endDate: string;
6478
- duration: number;
6479
- dependencies: {
6480
- id: string;
6481
- type: "FINISH_TO_START" | "START_TO_START" | "FINISH_TO_FINISH" | "START_TO_FINISH";
6482
- predecessorId: string;
6483
- lag: number;
6484
- }[];
6485
- level: number;
6486
- isCritical: boolean;
6487
- resources: {
6488
- id: string;
6489
- type: "SUBCONTRACTOR" | "LABOR" | "EQUIPMENT" | "MATERIAL";
6490
- name: string;
6491
- units: number;
6492
- }[];
6493
- percentComplete: number;
6494
- assignee?: {
6495
- id: string;
6496
- email: string;
6497
- name: string;
6498
- } | undefined;
6499
- parentId?: string | undefined;
6500
- }[] | undefined;
6501
- };
6502
- };
6503
- meta?: Record<string, unknown> | undefined;
6504
- links?: {
6505
- self: string;
6506
- first?: string | undefined;
6507
- last?: string | undefined;
6508
- prev?: string | undefined;
6509
- next?: string | undefined;
6510
- } | undefined;
6511
- errors?: {
6512
- status: string;
6513
- title: string;
6514
- detail?: string | undefined;
6515
- meta?: Record<string, unknown> | undefined;
6516
- }[] | undefined;
6517
- }>;
6518
- 401: z.ZodObject<{
6519
- errors: z.ZodArray<z.ZodObject<{
6520
- status: z.ZodString;
6521
- title: z.ZodString;
6522
- detail: z.ZodOptional<z.ZodString>;
6523
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6524
- }, "strip", z.ZodTypeAny, {
6525
- status: string;
6526
- title: string;
6527
- detail?: string | undefined;
6528
- meta?: Record<string, unknown> | undefined;
6529
- }, {
6530
- status: string;
6531
- title: string;
6532
- detail?: string | undefined;
6533
- meta?: Record<string, unknown> | undefined;
6534
- }>, "many">;
6535
- }, "strip", z.ZodTypeAny, {
6536
- errors: {
6537
- status: string;
6538
- title: string;
6539
- detail?: string | undefined;
6540
- meta?: Record<string, unknown> | undefined;
6541
- }[];
6542
- }, {
6543
- errors: {
6544
- status: string;
6545
- title: string;
6546
- detail?: string | undefined;
6547
- meta?: Record<string, unknown> | undefined;
6548
- }[];
6549
- }>;
6550
- 403: z.ZodObject<{
6551
- errors: z.ZodArray<z.ZodObject<{
6552
- status: z.ZodString;
6553
- title: z.ZodString;
6554
- detail: z.ZodOptional<z.ZodString>;
6555
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6556
- }, "strip", z.ZodTypeAny, {
6557
- status: string;
6558
- title: string;
6559
- detail?: string | undefined;
6560
- meta?: Record<string, unknown> | undefined;
6561
- }, {
6562
- status: string;
6563
- title: string;
6564
- detail?: string | undefined;
6565
- meta?: Record<string, unknown> | undefined;
6566
- }>, "many">;
6567
- }, "strip", z.ZodTypeAny, {
6568
- errors: {
6569
- status: string;
6570
- title: string;
6571
- detail?: string | undefined;
6572
- meta?: Record<string, unknown> | undefined;
6573
- }[];
6574
- }, {
6575
- errors: {
6576
- status: string;
6577
- title: string;
6578
- detail?: string | undefined;
6579
- meta?: Record<string, unknown> | undefined;
6580
- }[];
6581
- }>;
6582
- 404: z.ZodObject<{
6583
- errors: z.ZodArray<z.ZodObject<{
6584
- status: z.ZodString;
6585
- title: z.ZodString;
6586
- detail: z.ZodOptional<z.ZodString>;
6587
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6588
- }, "strip", z.ZodTypeAny, {
6589
- status: string;
6590
- title: string;
6591
- detail?: string | undefined;
6592
- meta?: Record<string, unknown> | undefined;
6593
- }, {
6594
- status: string;
6595
- title: string;
6596
- detail?: string | undefined;
6597
- meta?: Record<string, unknown> | undefined;
6598
- }>, "many">;
6599
- }, "strip", z.ZodTypeAny, {
6600
- errors: {
6601
- status: string;
6602
- title: string;
6603
- detail?: string | undefined;
6604
- meta?: Record<string, unknown> | undefined;
6605
- }[];
6606
- }, {
6607
- errors: {
6608
- status: string;
6609
- title: string;
6610
- detail?: string | undefined;
6611
- meta?: Record<string, unknown> | undefined;
6612
- }[];
6613
- }>;
6614
- };
6615
- };
6616
5435
  getScheduleBaselines: {
6617
5436
  description: "Retrieve all saved schedule baselines for the project";
6618
5437
  pathParams: z.ZodObject<{
@@ -8312,196 +7131,6 @@ export declare const scheduleContract: {
8312
7131
  }>;
8313
7132
  };
8314
7133
  };
8315
- bulkMoveScheduleItems: {
8316
- description: "Move multiple schedule items by a specified number of days";
8317
- pathParams: z.ZodObject<{
8318
- projectId: z.ZodString;
8319
- }, "strip", z.ZodTypeAny, {
8320
- projectId: string;
8321
- }, {
8322
- projectId: string;
8323
- }>;
8324
- summary: "Bulk move schedule items";
8325
- method: "POST";
8326
- body: z.ZodObject<{
8327
- itemIds: z.ZodArray<z.ZodString, "many">;
8328
- dayOffset: z.ZodNumber;
8329
- maintainDependencies: z.ZodDefault<z.ZodBoolean>;
8330
- }, "strip", z.ZodTypeAny, {
8331
- itemIds: string[];
8332
- dayOffset: number;
8333
- maintainDependencies: boolean;
8334
- }, {
8335
- itemIds: string[];
8336
- dayOffset: number;
8337
- maintainDependencies?: boolean | undefined;
8338
- }>;
8339
- path: "/projects/:projectId/schedule/items/bulk/move";
8340
- responses: {
8341
- 200: z.ZodObject<{
8342
- successful: z.ZodArray<z.ZodString, "many">;
8343
- failed: z.ZodArray<z.ZodObject<{
8344
- id: z.ZodString;
8345
- error: z.ZodString;
8346
- }, "strip", z.ZodTypeAny, {
8347
- id: string;
8348
- error: string;
8349
- }, {
8350
- id: string;
8351
- error: string;
8352
- }>, "many">;
8353
- totalProcessed: z.ZodNumber;
8354
- successCount: z.ZodNumber;
8355
- failureCount: z.ZodNumber;
8356
- }, "strip", z.ZodTypeAny, {
8357
- failureCount: number;
8358
- successful: string[];
8359
- failed: {
8360
- id: string;
8361
- error: string;
8362
- }[];
8363
- totalProcessed: number;
8364
- successCount: number;
8365
- }, {
8366
- failureCount: number;
8367
- successful: string[];
8368
- failed: {
8369
- id: string;
8370
- error: string;
8371
- }[];
8372
- totalProcessed: number;
8373
- successCount: number;
8374
- }>;
8375
- 400: z.ZodObject<{
8376
- errors: z.ZodArray<z.ZodObject<{
8377
- status: z.ZodString;
8378
- title: z.ZodString;
8379
- detail: z.ZodOptional<z.ZodString>;
8380
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8381
- }, "strip", z.ZodTypeAny, {
8382
- status: string;
8383
- title: string;
8384
- detail?: string | undefined;
8385
- meta?: Record<string, unknown> | undefined;
8386
- }, {
8387
- status: string;
8388
- title: string;
8389
- detail?: string | undefined;
8390
- meta?: Record<string, unknown> | undefined;
8391
- }>, "many">;
8392
- }, "strip", z.ZodTypeAny, {
8393
- errors: {
8394
- status: string;
8395
- title: string;
8396
- detail?: string | undefined;
8397
- meta?: Record<string, unknown> | undefined;
8398
- }[];
8399
- }, {
8400
- errors: {
8401
- status: string;
8402
- title: string;
8403
- detail?: string | undefined;
8404
- meta?: Record<string, unknown> | undefined;
8405
- }[];
8406
- }>;
8407
- 401: z.ZodObject<{
8408
- errors: z.ZodArray<z.ZodObject<{
8409
- status: z.ZodString;
8410
- title: z.ZodString;
8411
- detail: z.ZodOptional<z.ZodString>;
8412
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8413
- }, "strip", z.ZodTypeAny, {
8414
- status: string;
8415
- title: string;
8416
- detail?: string | undefined;
8417
- meta?: Record<string, unknown> | undefined;
8418
- }, {
8419
- status: string;
8420
- title: string;
8421
- detail?: string | undefined;
8422
- meta?: Record<string, unknown> | undefined;
8423
- }>, "many">;
8424
- }, "strip", z.ZodTypeAny, {
8425
- errors: {
8426
- status: string;
8427
- title: string;
8428
- detail?: string | undefined;
8429
- meta?: Record<string, unknown> | undefined;
8430
- }[];
8431
- }, {
8432
- errors: {
8433
- status: string;
8434
- title: string;
8435
- detail?: string | undefined;
8436
- meta?: Record<string, unknown> | undefined;
8437
- }[];
8438
- }>;
8439
- 403: z.ZodObject<{
8440
- errors: z.ZodArray<z.ZodObject<{
8441
- status: z.ZodString;
8442
- title: z.ZodString;
8443
- detail: z.ZodOptional<z.ZodString>;
8444
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8445
- }, "strip", z.ZodTypeAny, {
8446
- status: string;
8447
- title: string;
8448
- detail?: string | undefined;
8449
- meta?: Record<string, unknown> | undefined;
8450
- }, {
8451
- status: string;
8452
- title: string;
8453
- detail?: string | undefined;
8454
- meta?: Record<string, unknown> | undefined;
8455
- }>, "many">;
8456
- }, "strip", z.ZodTypeAny, {
8457
- errors: {
8458
- status: string;
8459
- title: string;
8460
- detail?: string | undefined;
8461
- meta?: Record<string, unknown> | undefined;
8462
- }[];
8463
- }, {
8464
- errors: {
8465
- status: string;
8466
- title: string;
8467
- detail?: string | undefined;
8468
- meta?: Record<string, unknown> | undefined;
8469
- }[];
8470
- }>;
8471
- 404: z.ZodObject<{
8472
- errors: z.ZodArray<z.ZodObject<{
8473
- status: z.ZodString;
8474
- title: z.ZodString;
8475
- detail: z.ZodOptional<z.ZodString>;
8476
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8477
- }, "strip", z.ZodTypeAny, {
8478
- status: string;
8479
- title: string;
8480
- detail?: string | undefined;
8481
- meta?: Record<string, unknown> | undefined;
8482
- }, {
8483
- status: string;
8484
- title: string;
8485
- detail?: string | undefined;
8486
- meta?: Record<string, unknown> | undefined;
8487
- }>, "many">;
8488
- }, "strip", z.ZodTypeAny, {
8489
- errors: {
8490
- status: string;
8491
- title: string;
8492
- detail?: string | undefined;
8493
- meta?: Record<string, unknown> | undefined;
8494
- }[];
8495
- }, {
8496
- errors: {
8497
- status: string;
8498
- title: string;
8499
- detail?: string | undefined;
8500
- meta?: Record<string, unknown> | undefined;
8501
- }[];
8502
- }>;
8503
- };
8504
- };
8505
7134
  createDependency: {
8506
7135
  description: "Create a dependency relationship between schedule items";
8507
7136
  pathParams: z.ZodObject<{