@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.
Files changed (152) hide show
  1. package/README.md +1 -1
  2. package/contracts/auth.d.ts.map +1 -1
  3. package/contracts/auth.js.map +1 -1
  4. package/contracts/budget.d.ts +824 -6481
  5. package/contracts/budget.d.ts.map +1 -1
  6. package/contracts/budget.js +1 -286
  7. package/contracts/budget.js.map +1 -1
  8. package/contracts/commercial.d.ts +1 -241
  9. package/contracts/commercial.d.ts.map +1 -1
  10. package/contracts/commercial.js +2 -13
  11. package/contracts/commercial.js.map +1 -1
  12. package/contracts/communication.d.ts +1014 -1890
  13. package/contracts/communication.d.ts.map +1 -1
  14. package/contracts/communication.js +1 -65
  15. package/contracts/communication.js.map +1 -1
  16. package/contracts/daily-logs.d.ts +560 -0
  17. package/contracts/daily-logs.d.ts.map +1 -1
  18. package/contracts/deficiencies.d.ts +0 -375
  19. package/contracts/deficiencies.d.ts.map +1 -1
  20. package/contracts/deficiencies.js +1 -14
  21. package/contracts/deficiencies.js.map +1 -1
  22. package/contracts/directory.d.ts +0 -327
  23. package/contracts/directory.d.ts.map +1 -1
  24. package/contracts/directory.js +1 -18
  25. package/contracts/directory.js.map +1 -1
  26. package/contracts/documents.d.ts +391 -3437
  27. package/contracts/documents.d.ts.map +1 -1
  28. package/contracts/documents.js +0 -144
  29. package/contracts/documents.js.map +1 -1
  30. package/contracts/drawings.d.ts +441 -2313
  31. package/contracts/drawings.d.ts.map +1 -1
  32. package/contracts/drawings.js +1 -98
  33. package/contracts/drawings.js.map +1 -1
  34. package/contracts/index.d.ts +5 -3
  35. package/contracts/index.d.ts.map +1 -1
  36. package/contracts/index.js +3 -0
  37. package/contracts/index.js.map +1 -1
  38. package/contracts/material-index.d.ts +335 -13
  39. package/contracts/material-index.d.ts.map +1 -1
  40. package/contracts/material-index.js +12 -1
  41. package/contracts/material-index.js.map +1 -1
  42. package/contracts/meetings.d.ts +3845 -129
  43. package/contracts/meetings.d.ts.map +1 -1
  44. package/contracts/meetings.js +53 -1
  45. package/contracts/meetings.js.map +1 -1
  46. package/contracts/monitoring.d.ts +1133 -0
  47. package/contracts/monitoring.d.ts.map +1 -1
  48. package/contracts/monitoring.js +48 -1
  49. package/contracts/monitoring.js.map +1 -1
  50. package/contracts/projects.d.ts +435 -1106
  51. package/contracts/projects.d.ts.map +1 -1
  52. package/contracts/projects.js +0 -101
  53. package/contracts/projects.js.map +1 -1
  54. package/contracts/proof.d.ts +322 -0
  55. package/contracts/proof.d.ts.map +1 -1
  56. package/contracts/proof.js +14 -1
  57. package/contracts/proof.js.map +1 -1
  58. package/contracts/qaqc.d.ts +874 -0
  59. package/contracts/qaqc.d.ts.map +1 -1
  60. package/contracts/qaqc.js +13 -1
  61. package/contracts/qaqc.js.map +1 -1
  62. package/contracts/rbac.d.ts.map +1 -1
  63. package/contracts/rbac.js.map +1 -1
  64. package/contracts/reports.d.ts +72 -0
  65. package/contracts/reports.d.ts.map +1 -1
  66. package/contracts/resources.d.ts +1243 -5148
  67. package/contracts/resources.d.ts.map +1 -1
  68. package/contracts/resources.js +1 -245
  69. package/contracts/resources.js.map +1 -1
  70. package/contracts/safety.d.ts +176 -3685
  71. package/contracts/safety.d.ts.map +1 -1
  72. package/contracts/safety.js +1 -238
  73. package/contracts/safety.js.map +1 -1
  74. package/contracts/schedule.d.ts +517 -1468
  75. package/contracts/schedule.d.ts.map +1 -1
  76. package/contracts/schedule.js +1 -65
  77. package/contracts/schedule.js.map +1 -1
  78. package/contracts/specifications.d.ts +2744 -393
  79. package/contracts/specifications.d.ts.map +1 -1
  80. package/contracts/specifications.js +49 -10
  81. package/contracts/specifications.js.map +1 -1
  82. package/contracts/tasks.d.ts +2653 -3922
  83. package/contracts/tasks.d.ts.map +1 -1
  84. package/contracts/tasks.js +1 -149
  85. package/contracts/tasks.js.map +1 -1
  86. package/contracts/transmittals.d.ts +980 -0
  87. package/contracts/transmittals.d.ts.map +1 -1
  88. package/contracts/user-admin.d.ts +2635 -0
  89. package/contracts/user-admin.d.ts.map +1 -0
  90. package/contracts/user-admin.js +73 -0
  91. package/contracts/user-admin.js.map +1 -0
  92. package/package.json +6 -1
  93. package/schemas/budget.d.ts +149 -0
  94. package/schemas/budget.d.ts.map +1 -1
  95. package/schemas/budget.js +13 -0
  96. package/schemas/budget.js.map +1 -1
  97. package/schemas/communication.d.ts +94 -0
  98. package/schemas/communication.d.ts.map +1 -1
  99. package/schemas/communication.js +2 -0
  100. package/schemas/communication.js.map +1 -1
  101. package/schemas/daily-logs.d.ts +92 -0
  102. package/schemas/daily-logs.d.ts.map +1 -1
  103. package/schemas/daily-logs.js +1 -0
  104. package/schemas/daily-logs.js.map +1 -1
  105. package/schemas/documents.d.ts +49 -11
  106. package/schemas/documents.d.ts.map +1 -1
  107. package/schemas/documents.js +2 -1
  108. package/schemas/documents.js.map +1 -1
  109. package/schemas/drawings.d.ts +24 -24
  110. package/schemas/material-index.d.ts +116 -18
  111. package/schemas/material-index.d.ts.map +1 -1
  112. package/schemas/material-index.js +47 -3
  113. package/schemas/material-index.js.map +1 -1
  114. package/schemas/meetings.d.ts +641 -12
  115. package/schemas/meetings.d.ts.map +1 -1
  116. package/schemas/meetings.js +29 -1
  117. package/schemas/meetings.js.map +1 -1
  118. package/schemas/proof.d.ts +161 -0
  119. package/schemas/proof.d.ts.map +1 -1
  120. package/schemas/proof.js +17 -1
  121. package/schemas/proof.js.map +1 -1
  122. package/schemas/qaqc.d.ts +335 -0
  123. package/schemas/qaqc.d.ts.map +1 -1
  124. package/schemas/qaqc.js +16 -1
  125. package/schemas/qaqc.js.map +1 -1
  126. package/schemas/reports.d.ts +36 -0
  127. package/schemas/reports.d.ts.map +1 -1
  128. package/schemas/reports.js +4 -0
  129. package/schemas/reports.js.map +1 -1
  130. package/schemas/resources.d.ts +108 -0
  131. package/schemas/resources.d.ts.map +1 -1
  132. package/schemas/resources.js +2 -1
  133. package/schemas/resources.js.map +1 -1
  134. package/schemas/safety.d.ts +8 -8
  135. package/schemas/schedule.d.ts +232 -0
  136. package/schemas/schedule.d.ts.map +1 -1
  137. package/schemas/schedule.js +2 -1
  138. package/schemas/schedule.js.map +1 -1
  139. package/schemas/specifications.d.ts +542 -17
  140. package/schemas/specifications.d.ts.map +1 -1
  141. package/schemas/specifications.js +31 -7
  142. package/schemas/specifications.js.map +1 -1
  143. package/schemas/tasks.d.ts +58 -4
  144. package/schemas/tasks.d.ts.map +1 -1
  145. package/schemas/transmittals.d.ts +184 -0
  146. package/schemas/transmittals.d.ts.map +1 -1
  147. package/schemas/transmittals.js +3 -1
  148. package/schemas/transmittals.js.map +1 -1
  149. package/schemas/user-admin.d.ts +255 -0
  150. package/schemas/user-admin.d.ts.map +1 -0
  151. package/schemas/user-admin.js +50 -0
  152. package/schemas/user-admin.js.map +1 -0
@@ -90,7 +90,51 @@ export declare const SpecificationSchema: z.ZodObject<{
90
90
  } & any)[] | undefined;
91
91
  }>, "many">;
92
92
  createdById: z.ZodString;
93
+ author: z.ZodOptional<z.ZodObject<{
94
+ id: z.ZodString;
95
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ email: z.ZodOptional<z.ZodString>;
98
+ name: z.ZodOptional<z.ZodString>;
99
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ id: string;
102
+ firstName?: string | null | undefined;
103
+ lastName?: string | null | undefined;
104
+ email?: string | undefined;
105
+ name?: string | undefined;
106
+ avatar?: string | null | undefined;
107
+ }, {
108
+ id: string;
109
+ firstName?: string | null | undefined;
110
+ lastName?: string | null | undefined;
111
+ email?: string | undefined;
112
+ name?: string | undefined;
113
+ avatar?: string | null | undefined;
114
+ }>>;
93
115
  approvedById: z.ZodOptional<z.ZodString>;
116
+ approver: z.ZodOptional<z.ZodObject<{
117
+ id: z.ZodString;
118
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
+ email: z.ZodOptional<z.ZodString>;
121
+ name: z.ZodOptional<z.ZodString>;
122
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ id: string;
125
+ firstName?: string | null | undefined;
126
+ lastName?: string | null | undefined;
127
+ email?: string | undefined;
128
+ name?: string | undefined;
129
+ avatar?: string | null | undefined;
130
+ }, {
131
+ id: string;
132
+ firstName?: string | null | undefined;
133
+ lastName?: string | null | undefined;
134
+ email?: string | undefined;
135
+ name?: string | undefined;
136
+ avatar?: string | null | undefined;
137
+ }>>;
94
138
  supersededById: z.ZodOptional<z.ZodString>;
95
139
  submissionNotes: z.ZodOptional<z.ZodString>;
96
140
  approvalNotes: z.ZodOptional<z.ZodString>;
@@ -167,7 +211,23 @@ export declare const SpecificationSchema: z.ZodObject<{
167
211
  linkedRFIs: string[];
168
212
  description?: string | undefined;
169
213
  approvedAt?: string | undefined;
214
+ approver?: {
215
+ id: string;
216
+ firstName?: string | null | undefined;
217
+ lastName?: string | null | undefined;
218
+ email?: string | undefined;
219
+ name?: string | undefined;
220
+ avatar?: string | null | undefined;
221
+ } | undefined;
170
222
  submittedAt?: string | undefined;
223
+ author?: {
224
+ id: string;
225
+ firstName?: string | null | undefined;
226
+ lastName?: string | null | undefined;
227
+ email?: string | undefined;
228
+ name?: string | undefined;
229
+ avatar?: string | null | undefined;
230
+ } | undefined;
171
231
  masterFormat?: string | undefined;
172
232
  approvedById?: string | undefined;
173
233
  supersededById?: string | undefined;
@@ -214,7 +274,23 @@ export declare const SpecificationSchema: z.ZodObject<{
214
274
  })[];
215
275
  description?: string | undefined;
216
276
  approvedAt?: string | undefined;
277
+ approver?: {
278
+ id: string;
279
+ firstName?: string | null | undefined;
280
+ lastName?: string | null | undefined;
281
+ email?: string | undefined;
282
+ name?: string | undefined;
283
+ avatar?: string | null | undefined;
284
+ } | undefined;
217
285
  submittedAt?: string | undefined;
286
+ author?: {
287
+ id: string;
288
+ firstName?: string | null | undefined;
289
+ lastName?: string | null | undefined;
290
+ email?: string | undefined;
291
+ name?: string | undefined;
292
+ avatar?: string | null | undefined;
293
+ } | undefined;
218
294
  masterFormat?: string | undefined;
219
295
  approvedById?: string | undefined;
220
296
  supersededById?: string | undefined;
@@ -1302,22 +1378,6 @@ export declare const SpecificationAttachmentSchema: z.ZodObject<{
1302
1378
  uploadedAt: string;
1303
1379
  };
1304
1380
  }>;
1305
- export declare const UploadAttachmentSchema: z.ZodObject<{
1306
- filename: z.ZodString;
1307
- fileSize: z.ZodNumber;
1308
- mimeType: z.ZodString;
1309
- url: z.ZodString;
1310
- }, "strip", z.ZodTypeAny, {
1311
- url: string;
1312
- filename: string;
1313
- fileSize: number;
1314
- mimeType: string;
1315
- }, {
1316
- url: string;
1317
- filename: string;
1318
- fileSize: number;
1319
- mimeType: string;
1320
- }>;
1321
1381
  export declare const UpdateAttachmentSchema: z.ZodObject<{
1322
1382
  filename: z.ZodString;
1323
1383
  }, "strip", z.ZodTypeAny, {
@@ -3767,7 +3827,51 @@ export declare const SpecificationResourceSchema: z.ZodObject<{
3767
3827
  } & any)[] | undefined;
3768
3828
  }>, "many">;
3769
3829
  createdById: z.ZodString;
3830
+ author: z.ZodOptional<z.ZodObject<{
3831
+ id: z.ZodString;
3832
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3833
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3834
+ email: z.ZodOptional<z.ZodString>;
3835
+ name: z.ZodOptional<z.ZodString>;
3836
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3837
+ }, "strip", z.ZodTypeAny, {
3838
+ id: string;
3839
+ firstName?: string | null | undefined;
3840
+ lastName?: string | null | undefined;
3841
+ email?: string | undefined;
3842
+ name?: string | undefined;
3843
+ avatar?: string | null | undefined;
3844
+ }, {
3845
+ id: string;
3846
+ firstName?: string | null | undefined;
3847
+ lastName?: string | null | undefined;
3848
+ email?: string | undefined;
3849
+ name?: string | undefined;
3850
+ avatar?: string | null | undefined;
3851
+ }>>;
3770
3852
  approvedById: z.ZodOptional<z.ZodString>;
3853
+ approver: z.ZodOptional<z.ZodObject<{
3854
+ id: z.ZodString;
3855
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3856
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3857
+ email: z.ZodOptional<z.ZodString>;
3858
+ name: z.ZodOptional<z.ZodString>;
3859
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3860
+ }, "strip", z.ZodTypeAny, {
3861
+ id: string;
3862
+ firstName?: string | null | undefined;
3863
+ lastName?: string | null | undefined;
3864
+ email?: string | undefined;
3865
+ name?: string | undefined;
3866
+ avatar?: string | null | undefined;
3867
+ }, {
3868
+ id: string;
3869
+ firstName?: string | null | undefined;
3870
+ lastName?: string | null | undefined;
3871
+ email?: string | undefined;
3872
+ name?: string | undefined;
3873
+ avatar?: string | null | undefined;
3874
+ }>>;
3771
3875
  supersededById: z.ZodOptional<z.ZodString>;
3772
3876
  submissionNotes: z.ZodOptional<z.ZodString>;
3773
3877
  approvalNotes: z.ZodOptional<z.ZodString>;
@@ -3844,7 +3948,23 @@ export declare const SpecificationResourceSchema: z.ZodObject<{
3844
3948
  linkedRFIs: string[];
3845
3949
  description?: string | undefined;
3846
3950
  approvedAt?: string | undefined;
3951
+ approver?: {
3952
+ id: string;
3953
+ firstName?: string | null | undefined;
3954
+ lastName?: string | null | undefined;
3955
+ email?: string | undefined;
3956
+ name?: string | undefined;
3957
+ avatar?: string | null | undefined;
3958
+ } | undefined;
3847
3959
  submittedAt?: string | undefined;
3960
+ author?: {
3961
+ id: string;
3962
+ firstName?: string | null | undefined;
3963
+ lastName?: string | null | undefined;
3964
+ email?: string | undefined;
3965
+ name?: string | undefined;
3966
+ avatar?: string | null | undefined;
3967
+ } | undefined;
3848
3968
  masterFormat?: string | undefined;
3849
3969
  approvedById?: string | undefined;
3850
3970
  supersededById?: string | undefined;
@@ -3891,7 +4011,23 @@ export declare const SpecificationResourceSchema: z.ZodObject<{
3891
4011
  })[];
3892
4012
  description?: string | undefined;
3893
4013
  approvedAt?: string | undefined;
4014
+ approver?: {
4015
+ id: string;
4016
+ firstName?: string | null | undefined;
4017
+ lastName?: string | null | undefined;
4018
+ email?: string | undefined;
4019
+ name?: string | undefined;
4020
+ avatar?: string | null | undefined;
4021
+ } | undefined;
3894
4022
  submittedAt?: string | undefined;
4023
+ author?: {
4024
+ id: string;
4025
+ firstName?: string | null | undefined;
4026
+ lastName?: string | null | undefined;
4027
+ email?: string | undefined;
4028
+ name?: string | undefined;
4029
+ avatar?: string | null | undefined;
4030
+ } | undefined;
3895
4031
  masterFormat?: string | undefined;
3896
4032
  approvedById?: string | undefined;
3897
4033
  supersededById?: string | undefined;
@@ -3948,7 +4084,23 @@ export declare const SpecificationResourceSchema: z.ZodObject<{
3948
4084
  linkedRFIs: string[];
3949
4085
  description?: string | undefined;
3950
4086
  approvedAt?: string | undefined;
4087
+ approver?: {
4088
+ id: string;
4089
+ firstName?: string | null | undefined;
4090
+ lastName?: string | null | undefined;
4091
+ email?: string | undefined;
4092
+ name?: string | undefined;
4093
+ avatar?: string | null | undefined;
4094
+ } | undefined;
3951
4095
  submittedAt?: string | undefined;
4096
+ author?: {
4097
+ id: string;
4098
+ firstName?: string | null | undefined;
4099
+ lastName?: string | null | undefined;
4100
+ email?: string | undefined;
4101
+ name?: string | undefined;
4102
+ avatar?: string | null | undefined;
4103
+ } | undefined;
3952
4104
  masterFormat?: string | undefined;
3953
4105
  approvedById?: string | undefined;
3954
4106
  supersededById?: string | undefined;
@@ -3999,7 +4151,23 @@ export declare const SpecificationResourceSchema: z.ZodObject<{
3999
4151
  })[];
4000
4152
  description?: string | undefined;
4001
4153
  approvedAt?: string | undefined;
4154
+ approver?: {
4155
+ id: string;
4156
+ firstName?: string | null | undefined;
4157
+ lastName?: string | null | undefined;
4158
+ email?: string | undefined;
4159
+ name?: string | undefined;
4160
+ avatar?: string | null | undefined;
4161
+ } | undefined;
4002
4162
  submittedAt?: string | undefined;
4163
+ author?: {
4164
+ id: string;
4165
+ firstName?: string | null | undefined;
4166
+ lastName?: string | null | undefined;
4167
+ email?: string | undefined;
4168
+ name?: string | undefined;
4169
+ avatar?: string | null | undefined;
4170
+ } | undefined;
4003
4171
  masterFormat?: string | undefined;
4004
4172
  approvedById?: string | undefined;
4005
4173
  supersededById?: string | undefined;
@@ -4150,7 +4318,51 @@ export declare const SpecificationListResponseSchema: z.ZodObject<{
4150
4318
  } & any)[] | undefined;
4151
4319
  }>, "many">;
4152
4320
  createdById: z.ZodString;
4321
+ author: z.ZodOptional<z.ZodObject<{
4322
+ id: z.ZodString;
4323
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4324
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4325
+ email: z.ZodOptional<z.ZodString>;
4326
+ name: z.ZodOptional<z.ZodString>;
4327
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4328
+ }, "strip", z.ZodTypeAny, {
4329
+ id: string;
4330
+ firstName?: string | null | undefined;
4331
+ lastName?: string | null | undefined;
4332
+ email?: string | undefined;
4333
+ name?: string | undefined;
4334
+ avatar?: string | null | undefined;
4335
+ }, {
4336
+ id: string;
4337
+ firstName?: string | null | undefined;
4338
+ lastName?: string | null | undefined;
4339
+ email?: string | undefined;
4340
+ name?: string | undefined;
4341
+ avatar?: string | null | undefined;
4342
+ }>>;
4153
4343
  approvedById: z.ZodOptional<z.ZodString>;
4344
+ approver: z.ZodOptional<z.ZodObject<{
4345
+ id: z.ZodString;
4346
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4347
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4348
+ email: z.ZodOptional<z.ZodString>;
4349
+ name: z.ZodOptional<z.ZodString>;
4350
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4351
+ }, "strip", z.ZodTypeAny, {
4352
+ id: string;
4353
+ firstName?: string | null | undefined;
4354
+ lastName?: string | null | undefined;
4355
+ email?: string | undefined;
4356
+ name?: string | undefined;
4357
+ avatar?: string | null | undefined;
4358
+ }, {
4359
+ id: string;
4360
+ firstName?: string | null | undefined;
4361
+ lastName?: string | null | undefined;
4362
+ email?: string | undefined;
4363
+ name?: string | undefined;
4364
+ avatar?: string | null | undefined;
4365
+ }>>;
4154
4366
  supersededById: z.ZodOptional<z.ZodString>;
4155
4367
  submissionNotes: z.ZodOptional<z.ZodString>;
4156
4368
  approvalNotes: z.ZodOptional<z.ZodString>;
@@ -4227,7 +4439,23 @@ export declare const SpecificationListResponseSchema: z.ZodObject<{
4227
4439
  linkedRFIs: string[];
4228
4440
  description?: string | undefined;
4229
4441
  approvedAt?: string | undefined;
4442
+ approver?: {
4443
+ id: string;
4444
+ firstName?: string | null | undefined;
4445
+ lastName?: string | null | undefined;
4446
+ email?: string | undefined;
4447
+ name?: string | undefined;
4448
+ avatar?: string | null | undefined;
4449
+ } | undefined;
4230
4450
  submittedAt?: string | undefined;
4451
+ author?: {
4452
+ id: string;
4453
+ firstName?: string | null | undefined;
4454
+ lastName?: string | null | undefined;
4455
+ email?: string | undefined;
4456
+ name?: string | undefined;
4457
+ avatar?: string | null | undefined;
4458
+ } | undefined;
4231
4459
  masterFormat?: string | undefined;
4232
4460
  approvedById?: string | undefined;
4233
4461
  supersededById?: string | undefined;
@@ -4274,7 +4502,23 @@ export declare const SpecificationListResponseSchema: z.ZodObject<{
4274
4502
  })[];
4275
4503
  description?: string | undefined;
4276
4504
  approvedAt?: string | undefined;
4505
+ approver?: {
4506
+ id: string;
4507
+ firstName?: string | null | undefined;
4508
+ lastName?: string | null | undefined;
4509
+ email?: string | undefined;
4510
+ name?: string | undefined;
4511
+ avatar?: string | null | undefined;
4512
+ } | undefined;
4277
4513
  submittedAt?: string | undefined;
4514
+ author?: {
4515
+ id: string;
4516
+ firstName?: string | null | undefined;
4517
+ lastName?: string | null | undefined;
4518
+ email?: string | undefined;
4519
+ name?: string | undefined;
4520
+ avatar?: string | null | undefined;
4521
+ } | undefined;
4278
4522
  masterFormat?: string | undefined;
4279
4523
  approvedById?: string | undefined;
4280
4524
  supersededById?: string | undefined;
@@ -4331,7 +4575,23 @@ export declare const SpecificationListResponseSchema: z.ZodObject<{
4331
4575
  linkedRFIs: string[];
4332
4576
  description?: string | undefined;
4333
4577
  approvedAt?: string | undefined;
4578
+ approver?: {
4579
+ id: string;
4580
+ firstName?: string | null | undefined;
4581
+ lastName?: string | null | undefined;
4582
+ email?: string | undefined;
4583
+ name?: string | undefined;
4584
+ avatar?: string | null | undefined;
4585
+ } | undefined;
4334
4586
  submittedAt?: string | undefined;
4587
+ author?: {
4588
+ id: string;
4589
+ firstName?: string | null | undefined;
4590
+ lastName?: string | null | undefined;
4591
+ email?: string | undefined;
4592
+ name?: string | undefined;
4593
+ avatar?: string | null | undefined;
4594
+ } | undefined;
4335
4595
  masterFormat?: string | undefined;
4336
4596
  approvedById?: string | undefined;
4337
4597
  supersededById?: string | undefined;
@@ -4382,7 +4642,23 @@ export declare const SpecificationListResponseSchema: z.ZodObject<{
4382
4642
  })[];
4383
4643
  description?: string | undefined;
4384
4644
  approvedAt?: string | undefined;
4645
+ approver?: {
4646
+ id: string;
4647
+ firstName?: string | null | undefined;
4648
+ lastName?: string | null | undefined;
4649
+ email?: string | undefined;
4650
+ name?: string | undefined;
4651
+ avatar?: string | null | undefined;
4652
+ } | undefined;
4385
4653
  submittedAt?: string | undefined;
4654
+ author?: {
4655
+ id: string;
4656
+ firstName?: string | null | undefined;
4657
+ lastName?: string | null | undefined;
4658
+ email?: string | undefined;
4659
+ name?: string | undefined;
4660
+ avatar?: string | null | undefined;
4661
+ } | undefined;
4386
4662
  masterFormat?: string | undefined;
4387
4663
  approvedById?: string | undefined;
4388
4664
  supersededById?: string | undefined;
@@ -4463,7 +4739,23 @@ export declare const SpecificationListResponseSchema: z.ZodObject<{
4463
4739
  linkedRFIs: string[];
4464
4740
  description?: string | undefined;
4465
4741
  approvedAt?: string | undefined;
4742
+ approver?: {
4743
+ id: string;
4744
+ firstName?: string | null | undefined;
4745
+ lastName?: string | null | undefined;
4746
+ email?: string | undefined;
4747
+ name?: string | undefined;
4748
+ avatar?: string | null | undefined;
4749
+ } | undefined;
4466
4750
  submittedAt?: string | undefined;
4751
+ author?: {
4752
+ id: string;
4753
+ firstName?: string | null | undefined;
4754
+ lastName?: string | null | undefined;
4755
+ email?: string | undefined;
4756
+ name?: string | undefined;
4757
+ avatar?: string | null | undefined;
4758
+ } | undefined;
4467
4759
  masterFormat?: string | undefined;
4468
4760
  approvedById?: string | undefined;
4469
4761
  supersededById?: string | undefined;
@@ -4522,7 +4814,23 @@ export declare const SpecificationListResponseSchema: z.ZodObject<{
4522
4814
  })[];
4523
4815
  description?: string | undefined;
4524
4816
  approvedAt?: string | undefined;
4817
+ approver?: {
4818
+ id: string;
4819
+ firstName?: string | null | undefined;
4820
+ lastName?: string | null | undefined;
4821
+ email?: string | undefined;
4822
+ name?: string | undefined;
4823
+ avatar?: string | null | undefined;
4824
+ } | undefined;
4525
4825
  submittedAt?: string | undefined;
4826
+ author?: {
4827
+ id: string;
4828
+ firstName?: string | null | undefined;
4829
+ lastName?: string | null | undefined;
4830
+ email?: string | undefined;
4831
+ name?: string | undefined;
4832
+ avatar?: string | null | undefined;
4833
+ } | undefined;
4526
4834
  masterFormat?: string | undefined;
4527
4835
  approvedById?: string | undefined;
4528
4836
  supersededById?: string | undefined;
@@ -4583,7 +4891,51 @@ export declare const SpecificationResponseSchema: z.ZodObject<{
4583
4891
  } & any)[] | undefined;
4584
4892
  }>, "many">;
4585
4893
  createdById: z.ZodString;
4894
+ author: z.ZodOptional<z.ZodObject<{
4895
+ id: z.ZodString;
4896
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4897
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4898
+ email: z.ZodOptional<z.ZodString>;
4899
+ name: z.ZodOptional<z.ZodString>;
4900
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4901
+ }, "strip", z.ZodTypeAny, {
4902
+ id: string;
4903
+ firstName?: string | null | undefined;
4904
+ lastName?: string | null | undefined;
4905
+ email?: string | undefined;
4906
+ name?: string | undefined;
4907
+ avatar?: string | null | undefined;
4908
+ }, {
4909
+ id: string;
4910
+ firstName?: string | null | undefined;
4911
+ lastName?: string | null | undefined;
4912
+ email?: string | undefined;
4913
+ name?: string | undefined;
4914
+ avatar?: string | null | undefined;
4915
+ }>>;
4586
4916
  approvedById: z.ZodOptional<z.ZodString>;
4917
+ approver: z.ZodOptional<z.ZodObject<{
4918
+ id: z.ZodString;
4919
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4920
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4921
+ email: z.ZodOptional<z.ZodString>;
4922
+ name: z.ZodOptional<z.ZodString>;
4923
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4924
+ }, "strip", z.ZodTypeAny, {
4925
+ id: string;
4926
+ firstName?: string | null | undefined;
4927
+ lastName?: string | null | undefined;
4928
+ email?: string | undefined;
4929
+ name?: string | undefined;
4930
+ avatar?: string | null | undefined;
4931
+ }, {
4932
+ id: string;
4933
+ firstName?: string | null | undefined;
4934
+ lastName?: string | null | undefined;
4935
+ email?: string | undefined;
4936
+ name?: string | undefined;
4937
+ avatar?: string | null | undefined;
4938
+ }>>;
4587
4939
  supersededById: z.ZodOptional<z.ZodString>;
4588
4940
  submissionNotes: z.ZodOptional<z.ZodString>;
4589
4941
  approvalNotes: z.ZodOptional<z.ZodString>;
@@ -4660,7 +5012,23 @@ export declare const SpecificationResponseSchema: z.ZodObject<{
4660
5012
  linkedRFIs: string[];
4661
5013
  description?: string | undefined;
4662
5014
  approvedAt?: string | undefined;
5015
+ approver?: {
5016
+ id: string;
5017
+ firstName?: string | null | undefined;
5018
+ lastName?: string | null | undefined;
5019
+ email?: string | undefined;
5020
+ name?: string | undefined;
5021
+ avatar?: string | null | undefined;
5022
+ } | undefined;
4663
5023
  submittedAt?: string | undefined;
5024
+ author?: {
5025
+ id: string;
5026
+ firstName?: string | null | undefined;
5027
+ lastName?: string | null | undefined;
5028
+ email?: string | undefined;
5029
+ name?: string | undefined;
5030
+ avatar?: string | null | undefined;
5031
+ } | undefined;
4664
5032
  masterFormat?: string | undefined;
4665
5033
  approvedById?: string | undefined;
4666
5034
  supersededById?: string | undefined;
@@ -4707,7 +5075,23 @@ export declare const SpecificationResponseSchema: z.ZodObject<{
4707
5075
  })[];
4708
5076
  description?: string | undefined;
4709
5077
  approvedAt?: string | undefined;
5078
+ approver?: {
5079
+ id: string;
5080
+ firstName?: string | null | undefined;
5081
+ lastName?: string | null | undefined;
5082
+ email?: string | undefined;
5083
+ name?: string | undefined;
5084
+ avatar?: string | null | undefined;
5085
+ } | undefined;
4710
5086
  submittedAt?: string | undefined;
5087
+ author?: {
5088
+ id: string;
5089
+ firstName?: string | null | undefined;
5090
+ lastName?: string | null | undefined;
5091
+ email?: string | undefined;
5092
+ name?: string | undefined;
5093
+ avatar?: string | null | undefined;
5094
+ } | undefined;
4711
5095
  masterFormat?: string | undefined;
4712
5096
  approvedById?: string | undefined;
4713
5097
  supersededById?: string | undefined;
@@ -4764,7 +5148,23 @@ export declare const SpecificationResponseSchema: z.ZodObject<{
4764
5148
  linkedRFIs: string[];
4765
5149
  description?: string | undefined;
4766
5150
  approvedAt?: string | undefined;
5151
+ approver?: {
5152
+ id: string;
5153
+ firstName?: string | null | undefined;
5154
+ lastName?: string | null | undefined;
5155
+ email?: string | undefined;
5156
+ name?: string | undefined;
5157
+ avatar?: string | null | undefined;
5158
+ } | undefined;
4767
5159
  submittedAt?: string | undefined;
5160
+ author?: {
5161
+ id: string;
5162
+ firstName?: string | null | undefined;
5163
+ lastName?: string | null | undefined;
5164
+ email?: string | undefined;
5165
+ name?: string | undefined;
5166
+ avatar?: string | null | undefined;
5167
+ } | undefined;
4768
5168
  masterFormat?: string | undefined;
4769
5169
  approvedById?: string | undefined;
4770
5170
  supersededById?: string | undefined;
@@ -4815,7 +5215,23 @@ export declare const SpecificationResponseSchema: z.ZodObject<{
4815
5215
  })[];
4816
5216
  description?: string | undefined;
4817
5217
  approvedAt?: string | undefined;
5218
+ approver?: {
5219
+ id: string;
5220
+ firstName?: string | null | undefined;
5221
+ lastName?: string | null | undefined;
5222
+ email?: string | undefined;
5223
+ name?: string | undefined;
5224
+ avatar?: string | null | undefined;
5225
+ } | undefined;
4818
5226
  submittedAt?: string | undefined;
5227
+ author?: {
5228
+ id: string;
5229
+ firstName?: string | null | undefined;
5230
+ lastName?: string | null | undefined;
5231
+ email?: string | undefined;
5232
+ name?: string | undefined;
5233
+ avatar?: string | null | undefined;
5234
+ } | undefined;
4819
5235
  masterFormat?: string | undefined;
4820
5236
  approvedById?: string | undefined;
4821
5237
  supersededById?: string | undefined;
@@ -4874,7 +5290,23 @@ export declare const SpecificationResponseSchema: z.ZodObject<{
4874
5290
  linkedRFIs: string[];
4875
5291
  description?: string | undefined;
4876
5292
  approvedAt?: string | undefined;
5293
+ approver?: {
5294
+ id: string;
5295
+ firstName?: string | null | undefined;
5296
+ lastName?: string | null | undefined;
5297
+ email?: string | undefined;
5298
+ name?: string | undefined;
5299
+ avatar?: string | null | undefined;
5300
+ } | undefined;
4877
5301
  submittedAt?: string | undefined;
5302
+ author?: {
5303
+ id: string;
5304
+ firstName?: string | null | undefined;
5305
+ lastName?: string | null | undefined;
5306
+ email?: string | undefined;
5307
+ name?: string | undefined;
5308
+ avatar?: string | null | undefined;
5309
+ } | undefined;
4878
5310
  masterFormat?: string | undefined;
4879
5311
  approvedById?: string | undefined;
4880
5312
  supersededById?: string | undefined;
@@ -4927,7 +5359,23 @@ export declare const SpecificationResponseSchema: z.ZodObject<{
4927
5359
  })[];
4928
5360
  description?: string | undefined;
4929
5361
  approvedAt?: string | undefined;
5362
+ approver?: {
5363
+ id: string;
5364
+ firstName?: string | null | undefined;
5365
+ lastName?: string | null | undefined;
5366
+ email?: string | undefined;
5367
+ name?: string | undefined;
5368
+ avatar?: string | null | undefined;
5369
+ } | undefined;
4930
5370
  submittedAt?: string | undefined;
5371
+ author?: {
5372
+ id: string;
5373
+ firstName?: string | null | undefined;
5374
+ lastName?: string | null | undefined;
5375
+ email?: string | undefined;
5376
+ name?: string | undefined;
5377
+ avatar?: string | null | undefined;
5378
+ } | undefined;
4931
5379
  masterFormat?: string | undefined;
4932
5380
  approvedById?: string | undefined;
4933
5381
  supersededById?: string | undefined;
@@ -5209,6 +5657,84 @@ export declare const SpecificationAttachmentsResponseSchema: z.ZodObject<{
5209
5657
  };
5210
5658
  }[];
5211
5659
  }>;
5660
+ export declare const PresignSpecificationAttachmentRequestSchema: z.ZodObject<{
5661
+ filename: z.ZodString;
5662
+ mimeType: z.ZodString;
5663
+ fileSize: z.ZodNumber;
5664
+ }, "strip", z.ZodTypeAny, {
5665
+ filename: string;
5666
+ fileSize: number;
5667
+ mimeType: string;
5668
+ }, {
5669
+ filename: string;
5670
+ fileSize: number;
5671
+ mimeType: string;
5672
+ }>;
5673
+ export declare const PresignSpecificationAttachmentResponseSchema: z.ZodObject<{
5674
+ uploadUrl: z.ZodString;
5675
+ objectKey: z.ZodString;
5676
+ fileUrl: z.ZodString;
5677
+ expiresIn: z.ZodNumber;
5678
+ maxFileSize: z.ZodNumber;
5679
+ }, "strip", z.ZodTypeAny, {
5680
+ expiresIn: number;
5681
+ objectKey: string;
5682
+ uploadUrl: string;
5683
+ fileUrl: string;
5684
+ maxFileSize: number;
5685
+ }, {
5686
+ expiresIn: number;
5687
+ objectKey: string;
5688
+ uploadUrl: string;
5689
+ fileUrl: string;
5690
+ maxFileSize: number;
5691
+ }>;
5692
+ export declare const ConfirmSpecificationAttachmentRequestSchema: z.ZodObject<{
5693
+ objectKey: z.ZodString;
5694
+ filename: z.ZodString;
5695
+ }, "strip", z.ZodTypeAny, {
5696
+ filename: string;
5697
+ objectKey: string;
5698
+ }, {
5699
+ filename: string;
5700
+ objectKey: string;
5701
+ }>;
5702
+ export declare const SpecificationAttachmentFileSchema: z.ZodObject<{
5703
+ id: z.ZodString;
5704
+ filename: z.ZodString;
5705
+ url: z.ZodString;
5706
+ fileSize: z.ZodNumber;
5707
+ mimeType: z.ZodString;
5708
+ uploadedAt: z.ZodString;
5709
+ } & {
5710
+ downloadUrl: z.ZodString;
5711
+ }, "strip", z.ZodTypeAny, {
5712
+ id: string;
5713
+ url: string;
5714
+ filename: string;
5715
+ fileSize: number;
5716
+ mimeType: string;
5717
+ downloadUrl: string;
5718
+ uploadedAt: string;
5719
+ }, {
5720
+ id: string;
5721
+ url: string;
5722
+ filename: string;
5723
+ fileSize: number;
5724
+ mimeType: string;
5725
+ downloadUrl: string;
5726
+ uploadedAt: string;
5727
+ }>;
5728
+ export declare const SpecificationAttachmentDownloadSchema: z.ZodObject<{
5729
+ url: z.ZodString;
5730
+ expiresIn: z.ZodNumber;
5731
+ }, "strip", z.ZodTypeAny, {
5732
+ expiresIn: number;
5733
+ url: string;
5734
+ }, {
5735
+ expiresIn: number;
5736
+ url: string;
5737
+ }>;
5212
5738
  export type Specification = z.infer<typeof SpecificationSchema>;
5213
5739
  export type CreateSpecificationRequest = z.infer<typeof CreateSpecificationSchema>;
5214
5740
  export type UpdateSpecificationRequest = z.infer<typeof UpdateSpecificationSchema>;
@@ -5233,7 +5759,6 @@ export type SpecificationResource = z.infer<typeof SpecificationResourceSchema>;
5233
5759
  export type SpecificationVersionResource = z.infer<typeof SpecificationVersionResourceSchema>;
5234
5760
  export type LinkedEntities = z.infer<typeof LinkedEntitiesSchema>;
5235
5761
  export type VersionComparison = z.infer<typeof VersionComparisonSchema>;
5236
- export type UploadAttachment = z.infer<typeof UploadAttachmentSchema>;
5237
5762
  export type UpdateAttachment = z.infer<typeof UpdateAttachmentSchema>;
5238
5763
  export type PaginationQuery = z.infer<typeof PaginationQuerySchema>;
5239
5764
  export type PaginationMeta = z.infer<typeof PaginationMetaSchema>;