@deepintel-ltd/buildlink-api-contracts 0.2.23

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 (278) hide show
  1. package/README.md +27 -0
  2. package/contracts/auth.d.ts +3641 -0
  3. package/contracts/auth.d.ts.map +1 -0
  4. package/contracts/auth.js +266 -0
  5. package/contracts/auth.js.map +1 -0
  6. package/contracts/billing.d.ts +2167 -0
  7. package/contracts/billing.d.ts.map +1 -0
  8. package/contracts/billing.js +55 -0
  9. package/contracts/billing.js.map +1 -0
  10. package/contracts/boq.d.ts +1214 -0
  11. package/contracts/boq.d.ts.map +1 -0
  12. package/contracts/boq.js +31 -0
  13. package/contracts/boq.js.map +1 -0
  14. package/contracts/budget.d.ts +10677 -0
  15. package/contracts/budget.d.ts.map +1 -0
  16. package/contracts/budget.js +599 -0
  17. package/contracts/budget.js.map +1 -0
  18. package/contracts/commercial.d.ts +1475 -0
  19. package/contracts/commercial.d.ts.map +1 -0
  20. package/contracts/commercial.js +40 -0
  21. package/contracts/commercial.js.map +1 -0
  22. package/contracts/communication.d.ts +5389 -0
  23. package/contracts/communication.d.ts.map +1 -0
  24. package/contracts/communication.js +255 -0
  25. package/contracts/communication.js.map +1 -0
  26. package/contracts/contractor-ledger.d.ts +1293 -0
  27. package/contracts/contractor-ledger.d.ts.map +1 -0
  28. package/contracts/contractor-ledger.js +41 -0
  29. package/contracts/contractor-ledger.js.map +1 -0
  30. package/contracts/daily-logs.d.ts +9132 -0
  31. package/contracts/daily-logs.d.ts.map +1 -0
  32. package/contracts/daily-logs.js +188 -0
  33. package/contracts/daily-logs.js.map +1 -0
  34. package/contracts/deficiencies.d.ts +11786 -0
  35. package/contracts/deficiencies.d.ts.map +1 -0
  36. package/contracts/deficiencies.js +312 -0
  37. package/contracts/deficiencies.js.map +1 -0
  38. package/contracts/directory.d.ts +3116 -0
  39. package/contracts/directory.d.ts.map +1 -0
  40. package/contracts/directory.js +117 -0
  41. package/contracts/directory.js.map +1 -0
  42. package/contracts/documents.d.ts +4944 -0
  43. package/contracts/documents.d.ts.map +1 -0
  44. package/contracts/documents.js +251 -0
  45. package/contracts/documents.js.map +1 -0
  46. package/contracts/drawings.d.ts +10552 -0
  47. package/contracts/drawings.d.ts.map +1 -0
  48. package/contracts/drawings.js +321 -0
  49. package/contracts/drawings.js.map +1 -0
  50. package/contracts/hub.d.ts +1174 -0
  51. package/contracts/hub.d.ts.map +1 -0
  52. package/contracts/hub.js +42 -0
  53. package/contracts/hub.js.map +1 -0
  54. package/contracts/index.d.ts +128 -0
  55. package/contracts/index.d.ts.map +1 -0
  56. package/contracts/index.js +119 -0
  57. package/contracts/index.js.map +1 -0
  58. package/contracts/integrations.d.ts +4163 -0
  59. package/contracts/integrations.d.ts.map +1 -0
  60. package/contracts/integrations.js +326 -0
  61. package/contracts/integrations.js.map +1 -0
  62. package/contracts/maps.d.ts +4911 -0
  63. package/contracts/maps.d.ts.map +1 -0
  64. package/contracts/maps.js +276 -0
  65. package/contracts/maps.js.map +1 -0
  66. package/contracts/meetings.d.ts +4194 -0
  67. package/contracts/meetings.d.ts.map +1 -0
  68. package/contracts/meetings.js +115 -0
  69. package/contracts/meetings.js.map +1 -0
  70. package/contracts/monitoring.d.ts +2749 -0
  71. package/contracts/monitoring.d.ts.map +1 -0
  72. package/contracts/monitoring.js +289 -0
  73. package/contracts/monitoring.js.map +1 -0
  74. package/contracts/packages.d.ts +1470 -0
  75. package/contracts/packages.d.ts.map +1 -0
  76. package/contracts/packages.js +74 -0
  77. package/contracts/packages.js.map +1 -0
  78. package/contracts/projects.d.ts +6281 -0
  79. package/contracts/projects.d.ts.map +1 -0
  80. package/contracts/projects.js +448 -0
  81. package/contracts/projects.js.map +1 -0
  82. package/contracts/proof.d.ts +962 -0
  83. package/contracts/proof.d.ts.map +1 -0
  84. package/contracts/proof.js +34 -0
  85. package/contracts/proof.js.map +1 -0
  86. package/contracts/qaqc.d.ts +1184 -0
  87. package/contracts/qaqc.d.ts.map +1 -0
  88. package/contracts/qaqc.js +35 -0
  89. package/contracts/qaqc.js.map +1 -0
  90. package/contracts/rbac.d.ts +5227 -0
  91. package/contracts/rbac.d.ts.map +1 -0
  92. package/contracts/rbac.js +357 -0
  93. package/contracts/rbac.js.map +1 -0
  94. package/contracts/reports.d.ts +8468 -0
  95. package/contracts/reports.d.ts.map +1 -0
  96. package/contracts/reports.js +377 -0
  97. package/contracts/reports.js.map +1 -0
  98. package/contracts/resources.d.ts +15870 -0
  99. package/contracts/resources.d.ts.map +1 -0
  100. package/contracts/resources.js +869 -0
  101. package/contracts/resources.js.map +1 -0
  102. package/contracts/rfi-submittal.d.ts +2545 -0
  103. package/contracts/rfi-submittal.d.ts.map +1 -0
  104. package/contracts/rfi-submittal.js +159 -0
  105. package/contracts/rfi-submittal.js.map +1 -0
  106. package/contracts/safety.d.ts +7162 -0
  107. package/contracts/safety.d.ts.map +1 -0
  108. package/contracts/safety.js +519 -0
  109. package/contracts/safety.js.map +1 -0
  110. package/contracts/schedule.d.ts +9456 -0
  111. package/contracts/schedule.d.ts.map +1 -0
  112. package/contracts/schedule.js +460 -0
  113. package/contracts/schedule.js.map +1 -0
  114. package/contracts/spec-equal.d.ts +841 -0
  115. package/contracts/spec-equal.d.ts.map +1 -0
  116. package/contracts/spec-equal.js +28 -0
  117. package/contracts/spec-equal.js.map +1 -0
  118. package/contracts/specifications.d.ts +15478 -0
  119. package/contracts/specifications.d.ts.map +1 -0
  120. package/contracts/specifications.js +521 -0
  121. package/contracts/specifications.js.map +1 -0
  122. package/contracts/tasks.d.ts +11037 -0
  123. package/contracts/tasks.d.ts.map +1 -0
  124. package/contracts/tasks.js +693 -0
  125. package/contracts/tasks.js.map +1 -0
  126. package/contracts/timecards.d.ts +3130 -0
  127. package/contracts/timecards.d.ts.map +1 -0
  128. package/contracts/timecards.js +133 -0
  129. package/contracts/timecards.js.map +1 -0
  130. package/contracts/transmittals.d.ts +3921 -0
  131. package/contracts/transmittals.d.ts.map +1 -0
  132. package/contracts/transmittals.js +156 -0
  133. package/contracts/transmittals.js.map +1 -0
  134. package/contracts/valuations.d.ts +3266 -0
  135. package/contracts/valuations.d.ts.map +1 -0
  136. package/contracts/valuations.js +116 -0
  137. package/contracts/valuations.js.map +1 -0
  138. package/package.json +216 -0
  139. package/schemas/auth.d.ts +449 -0
  140. package/schemas/auth.d.ts.map +1 -0
  141. package/schemas/auth.js +103 -0
  142. package/schemas/auth.js.map +1 -0
  143. package/schemas/billing.d.ts +710 -0
  144. package/schemas/billing.d.ts.map +1 -0
  145. package/schemas/billing.js +82 -0
  146. package/schemas/billing.js.map +1 -0
  147. package/schemas/boq.d.ts +385 -0
  148. package/schemas/boq.d.ts.map +1 -0
  149. package/schemas/boq.js +49 -0
  150. package/schemas/boq.js.map +1 -0
  151. package/schemas/budget.d.ts +737 -0
  152. package/schemas/budget.d.ts.map +1 -0
  153. package/schemas/budget.js +272 -0
  154. package/schemas/budget.js.map +1 -0
  155. package/schemas/commercial.d.ts +358 -0
  156. package/schemas/commercial.d.ts.map +1 -0
  157. package/schemas/commercial.js +36 -0
  158. package/schemas/commercial.js.map +1 -0
  159. package/schemas/common.d.ts +865 -0
  160. package/schemas/common.d.ts.map +1 -0
  161. package/schemas/common.js +193 -0
  162. package/schemas/common.js.map +1 -0
  163. package/schemas/communication.d.ts +884 -0
  164. package/schemas/communication.d.ts.map +1 -0
  165. package/schemas/communication.js +245 -0
  166. package/schemas/communication.js.map +1 -0
  167. package/schemas/contractor-ledger.d.ts +364 -0
  168. package/schemas/contractor-ledger.d.ts.map +1 -0
  169. package/schemas/contractor-ledger.js +36 -0
  170. package/schemas/contractor-ledger.js.map +1 -0
  171. package/schemas/cursor-pagination.d.ts +258 -0
  172. package/schemas/cursor-pagination.d.ts.map +1 -0
  173. package/schemas/cursor-pagination.js +84 -0
  174. package/schemas/cursor-pagination.js.map +1 -0
  175. package/schemas/daily-logs.d.ts +2339 -0
  176. package/schemas/daily-logs.d.ts.map +1 -0
  177. package/schemas/daily-logs.js +235 -0
  178. package/schemas/daily-logs.js.map +1 -0
  179. package/schemas/deficiencies.d.ts +2496 -0
  180. package/schemas/deficiencies.d.ts.map +1 -0
  181. package/schemas/deficiencies.js +338 -0
  182. package/schemas/deficiencies.js.map +1 -0
  183. package/schemas/directory.d.ts +783 -0
  184. package/schemas/directory.d.ts.map +1 -0
  185. package/schemas/directory.js +122 -0
  186. package/schemas/directory.js.map +1 -0
  187. package/schemas/documents.d.ts +202 -0
  188. package/schemas/documents.d.ts.map +1 -0
  189. package/schemas/documents.js +76 -0
  190. package/schemas/documents.js.map +1 -0
  191. package/schemas/drawings.d.ts +2042 -0
  192. package/schemas/drawings.d.ts.map +1 -0
  193. package/schemas/drawings.js +350 -0
  194. package/schemas/drawings.js.map +1 -0
  195. package/schemas/hub.d.ts +288 -0
  196. package/schemas/hub.d.ts.map +1 -0
  197. package/schemas/hub.js +32 -0
  198. package/schemas/hub.js.map +1 -0
  199. package/schemas/integrations.d.ts +508 -0
  200. package/schemas/integrations.d.ts.map +1 -0
  201. package/schemas/integrations.js +119 -0
  202. package/schemas/integrations.js.map +1 -0
  203. package/schemas/maps.d.ts +793 -0
  204. package/schemas/maps.d.ts.map +1 -0
  205. package/schemas/maps.js +118 -0
  206. package/schemas/maps.js.map +1 -0
  207. package/schemas/meetings.d.ts +888 -0
  208. package/schemas/meetings.d.ts.map +1 -0
  209. package/schemas/meetings.js +138 -0
  210. package/schemas/meetings.js.map +1 -0
  211. package/schemas/packages.d.ts +236 -0
  212. package/schemas/packages.d.ts.map +1 -0
  213. package/schemas/packages.js +53 -0
  214. package/schemas/packages.js.map +1 -0
  215. package/schemas/projects.d.ts +306 -0
  216. package/schemas/projects.d.ts.map +1 -0
  217. package/schemas/projects.js +92 -0
  218. package/schemas/projects.js.map +1 -0
  219. package/schemas/proof.d.ts +210 -0
  220. package/schemas/proof.d.ts.map +1 -0
  221. package/schemas/proof.js +26 -0
  222. package/schemas/proof.js.map +1 -0
  223. package/schemas/qaqc.d.ts +235 -0
  224. package/schemas/qaqc.d.ts.map +1 -0
  225. package/schemas/qaqc.js +47 -0
  226. package/schemas/qaqc.js.map +1 -0
  227. package/schemas/rbac.d.ts +730 -0
  228. package/schemas/rbac.d.ts.map +1 -0
  229. package/schemas/rbac.js +230 -0
  230. package/schemas/rbac.js.map +1 -0
  231. package/schemas/reports.d.ts +5729 -0
  232. package/schemas/reports.d.ts.map +1 -0
  233. package/schemas/reports.js +589 -0
  234. package/schemas/reports.js.map +1 -0
  235. package/schemas/resources.d.ts +5190 -0
  236. package/schemas/resources.d.ts.map +1 -0
  237. package/schemas/resources.js +678 -0
  238. package/schemas/resources.js.map +1 -0
  239. package/schemas/rfi.d.ts +877 -0
  240. package/schemas/rfi.d.ts.map +1 -0
  241. package/schemas/rfi.js +84 -0
  242. package/schemas/rfi.js.map +1 -0
  243. package/schemas/safety.d.ts +1080 -0
  244. package/schemas/safety.d.ts.map +1 -0
  245. package/schemas/safety.js +237 -0
  246. package/schemas/safety.js.map +1 -0
  247. package/schemas/schedule.d.ts +4657 -0
  248. package/schemas/schedule.d.ts.map +1 -0
  249. package/schemas/schedule.js +441 -0
  250. package/schemas/schedule.js.map +1 -0
  251. package/schemas/spec-equal.d.ts +162 -0
  252. package/schemas/spec-equal.d.ts.map +1 -0
  253. package/schemas/spec-equal.js +29 -0
  254. package/schemas/spec-equal.js.map +1 -0
  255. package/schemas/specifications.d.ts +5241 -0
  256. package/schemas/specifications.d.ts.map +1 -0
  257. package/schemas/specifications.js +426 -0
  258. package/schemas/specifications.js.map +1 -0
  259. package/schemas/submittal.d.ts +867 -0
  260. package/schemas/submittal.d.ts.map +1 -0
  261. package/schemas/submittal.js +87 -0
  262. package/schemas/submittal.js.map +1 -0
  263. package/schemas/tasks.d.ts +610 -0
  264. package/schemas/tasks.d.ts.map +1 -0
  265. package/schemas/tasks.js +133 -0
  266. package/schemas/tasks.js.map +1 -0
  267. package/schemas/timecards.d.ts +618 -0
  268. package/schemas/timecards.d.ts.map +1 -0
  269. package/schemas/timecards.js +80 -0
  270. package/schemas/timecards.js.map +1 -0
  271. package/schemas/transmittals.d.ts +662 -0
  272. package/schemas/transmittals.d.ts.map +1 -0
  273. package/schemas/transmittals.js +132 -0
  274. package/schemas/transmittals.js.map +1 -0
  275. package/schemas/valuations.d.ts +713 -0
  276. package/schemas/valuations.d.ts.map +1 -0
  277. package/schemas/valuations.js +116 -0
  278. package/schemas/valuations.js.map +1 -0
@@ -0,0 +1,3116 @@
1
+ import { z } from 'zod';
2
+ export declare const directoryContract: {
3
+ getDirectoryContacts: {
4
+ pathParams: z.ZodObject<{
5
+ projectId: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ projectId: string;
8
+ }, {
9
+ projectId: string;
10
+ }>;
11
+ query: z.ZodObject<{
12
+ page: z.ZodDefault<z.ZodNumber>;
13
+ limit: z.ZodDefault<z.ZodNumber>;
14
+ type: z.ZodOptional<z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>>;
15
+ status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
16
+ search: z.ZodOptional<z.ZodString>;
17
+ companyId: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ page: number;
20
+ limit: number;
21
+ companyId?: string | undefined;
22
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
23
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
24
+ search?: string | undefined;
25
+ }, {
26
+ companyId?: string | undefined;
27
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
28
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
29
+ page?: number | undefined;
30
+ limit?: number | undefined;
31
+ search?: string | undefined;
32
+ }>;
33
+ summary: "Get directory contacts for a project with filtering and pagination";
34
+ method: "GET";
35
+ path: "/projects/:projectId/directory";
36
+ responses: {
37
+ 200: z.ZodObject<{
38
+ data: z.ZodArray<z.ZodObject<{
39
+ type: z.ZodLiteral<"directory-contacts">;
40
+ id: z.ZodString;
41
+ attributes: z.ZodObject<{
42
+ id: z.ZodString;
43
+ projectId: z.ZodString;
44
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
45
+ company: z.ZodObject<{
46
+ name: z.ZodString;
47
+ businessNumber: z.ZodOptional<z.ZodString>;
48
+ website: z.ZodOptional<z.ZodString>;
49
+ description: z.ZodOptional<z.ZodString>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ name: string;
52
+ description?: string | undefined;
53
+ businessNumber?: string | undefined;
54
+ website?: string | undefined;
55
+ }, {
56
+ name: string;
57
+ description?: string | undefined;
58
+ businessNumber?: string | undefined;
59
+ website?: string | undefined;
60
+ }>;
61
+ primaryContact: z.ZodObject<{
62
+ firstName: z.ZodString;
63
+ lastName: z.ZodString;
64
+ title: z.ZodOptional<z.ZodString>;
65
+ email: z.ZodString;
66
+ phone: z.ZodOptional<z.ZodString>;
67
+ mobile: z.ZodOptional<z.ZodString>;
68
+ }, "strip", z.ZodTypeAny, {
69
+ email: string;
70
+ firstName: string;
71
+ lastName: string;
72
+ title?: string | undefined;
73
+ phone?: string | undefined;
74
+ mobile?: string | undefined;
75
+ }, {
76
+ email: string;
77
+ firstName: string;
78
+ lastName: string;
79
+ title?: string | undefined;
80
+ phone?: string | undefined;
81
+ mobile?: string | undefined;
82
+ }>;
83
+ address: z.ZodObject<{
84
+ street: z.ZodString;
85
+ city: z.ZodString;
86
+ state: z.ZodString;
87
+ postalCode: z.ZodString;
88
+ country: z.ZodString;
89
+ }, "strip", z.ZodTypeAny, {
90
+ street: string;
91
+ city: string;
92
+ state: string;
93
+ postalCode: string;
94
+ country: string;
95
+ }, {
96
+ street: string;
97
+ city: string;
98
+ state: string;
99
+ postalCode: string;
100
+ country: string;
101
+ }>;
102
+ trades: z.ZodDefault<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>;
103
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
104
+ notes: z.ZodOptional<z.ZodString>;
105
+ status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
106
+ companyId: z.ZodString;
107
+ createdAt: z.ZodString;
108
+ updatedAt: z.ZodString;
109
+ }, "strip", z.ZodTypeAny, {
110
+ id: string;
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ companyId: string;
114
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
115
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
116
+ company: {
117
+ name: string;
118
+ description?: string | undefined;
119
+ businessNumber?: string | undefined;
120
+ website?: string | undefined;
121
+ };
122
+ projectId: string;
123
+ tags: string[];
124
+ primaryContact: {
125
+ email: string;
126
+ firstName: string;
127
+ lastName: string;
128
+ title?: string | undefined;
129
+ phone?: string | undefined;
130
+ mobile?: string | undefined;
131
+ };
132
+ address: {
133
+ street: string;
134
+ city: string;
135
+ state: string;
136
+ postalCode: string;
137
+ country: string;
138
+ };
139
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
140
+ notes?: string | undefined;
141
+ }, {
142
+ id: string;
143
+ createdAt: string;
144
+ updatedAt: string;
145
+ companyId: string;
146
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
147
+ company: {
148
+ name: string;
149
+ description?: string | undefined;
150
+ businessNumber?: string | undefined;
151
+ website?: string | undefined;
152
+ };
153
+ projectId: string;
154
+ primaryContact: {
155
+ email: string;
156
+ firstName: string;
157
+ lastName: string;
158
+ title?: string | undefined;
159
+ phone?: string | undefined;
160
+ mobile?: string | undefined;
161
+ };
162
+ address: {
163
+ street: string;
164
+ city: string;
165
+ state: string;
166
+ postalCode: string;
167
+ country: string;
168
+ };
169
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
170
+ notes?: string | undefined;
171
+ tags?: string[] | undefined;
172
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
173
+ }>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ id: string;
176
+ type: "directory-contacts";
177
+ attributes: {
178
+ id: string;
179
+ createdAt: string;
180
+ updatedAt: string;
181
+ companyId: string;
182
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
183
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
184
+ company: {
185
+ name: string;
186
+ description?: string | undefined;
187
+ businessNumber?: string | undefined;
188
+ website?: string | undefined;
189
+ };
190
+ projectId: string;
191
+ tags: string[];
192
+ primaryContact: {
193
+ email: string;
194
+ firstName: string;
195
+ lastName: string;
196
+ title?: string | undefined;
197
+ phone?: string | undefined;
198
+ mobile?: string | undefined;
199
+ };
200
+ address: {
201
+ street: string;
202
+ city: string;
203
+ state: string;
204
+ postalCode: string;
205
+ country: string;
206
+ };
207
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
208
+ notes?: string | undefined;
209
+ };
210
+ }, {
211
+ id: string;
212
+ type: "directory-contacts";
213
+ attributes: {
214
+ id: string;
215
+ createdAt: string;
216
+ updatedAt: string;
217
+ companyId: string;
218
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
219
+ company: {
220
+ name: string;
221
+ description?: string | undefined;
222
+ businessNumber?: string | undefined;
223
+ website?: string | undefined;
224
+ };
225
+ projectId: string;
226
+ primaryContact: {
227
+ email: string;
228
+ firstName: string;
229
+ lastName: string;
230
+ title?: string | undefined;
231
+ phone?: string | undefined;
232
+ mobile?: string | undefined;
233
+ };
234
+ address: {
235
+ street: string;
236
+ city: string;
237
+ state: string;
238
+ postalCode: string;
239
+ country: string;
240
+ };
241
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
242
+ notes?: string | undefined;
243
+ tags?: string[] | undefined;
244
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
245
+ };
246
+ }>, "many">;
247
+ meta: z.ZodOptional<z.ZodObject<{
248
+ total: z.ZodOptional<z.ZodNumber>;
249
+ page: z.ZodOptional<z.ZodNumber>;
250
+ size: z.ZodOptional<z.ZodNumber>;
251
+ pages: z.ZodOptional<z.ZodNumber>;
252
+ hasNextPage: z.ZodOptional<z.ZodBoolean>;
253
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ page?: number | undefined;
256
+ total?: number | undefined;
257
+ size?: number | undefined;
258
+ pages?: number | undefined;
259
+ hasNextPage?: boolean | undefined;
260
+ hasPreviousPage?: boolean | undefined;
261
+ }, {
262
+ page?: number | undefined;
263
+ total?: number | undefined;
264
+ size?: number | undefined;
265
+ pages?: number | undefined;
266
+ hasNextPage?: boolean | undefined;
267
+ hasPreviousPage?: boolean | undefined;
268
+ }>>;
269
+ links: z.ZodOptional<z.ZodObject<{
270
+ self: z.ZodString;
271
+ first: z.ZodOptional<z.ZodString>;
272
+ last: z.ZodOptional<z.ZodString>;
273
+ prev: z.ZodOptional<z.ZodString>;
274
+ next: z.ZodOptional<z.ZodString>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ self: string;
277
+ first?: string | undefined;
278
+ last?: string | undefined;
279
+ prev?: string | undefined;
280
+ next?: string | undefined;
281
+ }, {
282
+ self: string;
283
+ first?: string | undefined;
284
+ last?: string | undefined;
285
+ prev?: string | undefined;
286
+ next?: string | undefined;
287
+ }>>;
288
+ }, "strip", z.ZodTypeAny, {
289
+ data: {
290
+ id: string;
291
+ type: "directory-contacts";
292
+ attributes: {
293
+ id: string;
294
+ createdAt: string;
295
+ updatedAt: string;
296
+ companyId: string;
297
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
298
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
299
+ company: {
300
+ name: string;
301
+ description?: string | undefined;
302
+ businessNumber?: string | undefined;
303
+ website?: string | undefined;
304
+ };
305
+ projectId: string;
306
+ tags: string[];
307
+ primaryContact: {
308
+ email: string;
309
+ firstName: string;
310
+ lastName: string;
311
+ title?: string | undefined;
312
+ phone?: string | undefined;
313
+ mobile?: string | undefined;
314
+ };
315
+ address: {
316
+ street: string;
317
+ city: string;
318
+ state: string;
319
+ postalCode: string;
320
+ country: string;
321
+ };
322
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
323
+ notes?: string | undefined;
324
+ };
325
+ }[];
326
+ meta?: {
327
+ page?: number | undefined;
328
+ total?: number | undefined;
329
+ size?: number | undefined;
330
+ pages?: number | undefined;
331
+ hasNextPage?: boolean | undefined;
332
+ hasPreviousPage?: boolean | undefined;
333
+ } | undefined;
334
+ links?: {
335
+ self: string;
336
+ first?: string | undefined;
337
+ last?: string | undefined;
338
+ prev?: string | undefined;
339
+ next?: string | undefined;
340
+ } | undefined;
341
+ }, {
342
+ data: {
343
+ id: string;
344
+ type: "directory-contacts";
345
+ attributes: {
346
+ id: string;
347
+ createdAt: string;
348
+ updatedAt: string;
349
+ companyId: string;
350
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
351
+ company: {
352
+ name: string;
353
+ description?: string | undefined;
354
+ businessNumber?: string | undefined;
355
+ website?: string | undefined;
356
+ };
357
+ projectId: string;
358
+ primaryContact: {
359
+ email: string;
360
+ firstName: string;
361
+ lastName: string;
362
+ title?: string | undefined;
363
+ phone?: string | undefined;
364
+ mobile?: string | undefined;
365
+ };
366
+ address: {
367
+ street: string;
368
+ city: string;
369
+ state: string;
370
+ postalCode: string;
371
+ country: string;
372
+ };
373
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
374
+ notes?: string | undefined;
375
+ tags?: string[] | undefined;
376
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
377
+ };
378
+ }[];
379
+ meta?: {
380
+ page?: number | undefined;
381
+ total?: number | undefined;
382
+ size?: number | undefined;
383
+ pages?: number | undefined;
384
+ hasNextPage?: boolean | undefined;
385
+ hasPreviousPage?: boolean | undefined;
386
+ } | undefined;
387
+ links?: {
388
+ self: string;
389
+ first?: string | undefined;
390
+ last?: string | undefined;
391
+ prev?: string | undefined;
392
+ next?: string | undefined;
393
+ } | undefined;
394
+ }>;
395
+ 401: z.ZodObject<{
396
+ errors: z.ZodArray<z.ZodObject<{
397
+ status: z.ZodString;
398
+ title: z.ZodString;
399
+ detail: z.ZodOptional<z.ZodString>;
400
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
401
+ }, "strip", z.ZodTypeAny, {
402
+ status: string;
403
+ title: string;
404
+ detail?: string | undefined;
405
+ meta?: Record<string, unknown> | undefined;
406
+ }, {
407
+ status: string;
408
+ title: string;
409
+ detail?: string | undefined;
410
+ meta?: Record<string, unknown> | undefined;
411
+ }>, "many">;
412
+ }, "strip", z.ZodTypeAny, {
413
+ errors: {
414
+ status: string;
415
+ title: string;
416
+ detail?: string | undefined;
417
+ meta?: Record<string, unknown> | undefined;
418
+ }[];
419
+ }, {
420
+ errors: {
421
+ status: string;
422
+ title: string;
423
+ detail?: string | undefined;
424
+ meta?: Record<string, unknown> | undefined;
425
+ }[];
426
+ }>;
427
+ 403: z.ZodObject<{
428
+ errors: z.ZodArray<z.ZodObject<{
429
+ status: z.ZodString;
430
+ title: z.ZodString;
431
+ detail: z.ZodOptional<z.ZodString>;
432
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ status: string;
435
+ title: string;
436
+ detail?: string | undefined;
437
+ meta?: Record<string, unknown> | undefined;
438
+ }, {
439
+ status: string;
440
+ title: string;
441
+ detail?: string | undefined;
442
+ meta?: Record<string, unknown> | undefined;
443
+ }>, "many">;
444
+ }, "strip", z.ZodTypeAny, {
445
+ errors: {
446
+ status: string;
447
+ title: string;
448
+ detail?: string | undefined;
449
+ meta?: Record<string, unknown> | undefined;
450
+ }[];
451
+ }, {
452
+ errors: {
453
+ status: string;
454
+ title: string;
455
+ detail?: string | undefined;
456
+ meta?: Record<string, unknown> | undefined;
457
+ }[];
458
+ }>;
459
+ 404: z.ZodObject<{
460
+ errors: z.ZodArray<z.ZodObject<{
461
+ status: z.ZodString;
462
+ title: z.ZodString;
463
+ detail: z.ZodOptional<z.ZodString>;
464
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ status: string;
467
+ title: string;
468
+ detail?: string | undefined;
469
+ meta?: Record<string, unknown> | undefined;
470
+ }, {
471
+ status: string;
472
+ title: string;
473
+ detail?: string | undefined;
474
+ meta?: Record<string, unknown> | undefined;
475
+ }>, "many">;
476
+ }, "strip", z.ZodTypeAny, {
477
+ errors: {
478
+ status: string;
479
+ title: string;
480
+ detail?: string | undefined;
481
+ meta?: Record<string, unknown> | undefined;
482
+ }[];
483
+ }, {
484
+ errors: {
485
+ status: string;
486
+ title: string;
487
+ detail?: string | undefined;
488
+ meta?: Record<string, unknown> | undefined;
489
+ }[];
490
+ }>;
491
+ };
492
+ };
493
+ createDirectoryContact: {
494
+ pathParams: z.ZodObject<{
495
+ projectId: z.ZodString;
496
+ }, "strip", z.ZodTypeAny, {
497
+ projectId: string;
498
+ }, {
499
+ projectId: string;
500
+ }>;
501
+ query: z.ZodObject<{
502
+ companyId: z.ZodOptional<z.ZodString>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ companyId?: string | undefined;
505
+ }, {
506
+ companyId?: string | undefined;
507
+ }>;
508
+ summary: "Create a new directory contact for a project";
509
+ method: "POST";
510
+ body: z.ZodObject<{
511
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
512
+ company: z.ZodObject<{
513
+ name: z.ZodString;
514
+ businessNumber: z.ZodOptional<z.ZodString>;
515
+ website: z.ZodOptional<z.ZodString>;
516
+ description: z.ZodOptional<z.ZodString>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ name: string;
519
+ description?: string | undefined;
520
+ businessNumber?: string | undefined;
521
+ website?: string | undefined;
522
+ }, {
523
+ name: string;
524
+ description?: string | undefined;
525
+ businessNumber?: string | undefined;
526
+ website?: string | undefined;
527
+ }>;
528
+ primaryContact: z.ZodObject<{
529
+ firstName: z.ZodString;
530
+ lastName: z.ZodString;
531
+ title: z.ZodOptional<z.ZodString>;
532
+ email: z.ZodString;
533
+ phone: z.ZodOptional<z.ZodString>;
534
+ mobile: z.ZodOptional<z.ZodString>;
535
+ }, "strip", z.ZodTypeAny, {
536
+ email: string;
537
+ firstName: string;
538
+ lastName: string;
539
+ title?: string | undefined;
540
+ phone?: string | undefined;
541
+ mobile?: string | undefined;
542
+ }, {
543
+ email: string;
544
+ firstName: string;
545
+ lastName: string;
546
+ title?: string | undefined;
547
+ phone?: string | undefined;
548
+ mobile?: string | undefined;
549
+ }>;
550
+ address: z.ZodObject<{
551
+ street: z.ZodString;
552
+ city: z.ZodString;
553
+ state: z.ZodString;
554
+ postalCode: z.ZodString;
555
+ country: z.ZodString;
556
+ }, "strip", z.ZodTypeAny, {
557
+ street: string;
558
+ city: string;
559
+ state: string;
560
+ postalCode: string;
561
+ country: string;
562
+ }, {
563
+ street: string;
564
+ city: string;
565
+ state: string;
566
+ postalCode: string;
567
+ country: string;
568
+ }>;
569
+ trades: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>>;
570
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
571
+ notes: z.ZodOptional<z.ZodString>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
574
+ company: {
575
+ name: string;
576
+ description?: string | undefined;
577
+ businessNumber?: string | undefined;
578
+ website?: string | undefined;
579
+ };
580
+ tags: string[];
581
+ primaryContact: {
582
+ email: string;
583
+ firstName: string;
584
+ lastName: string;
585
+ title?: string | undefined;
586
+ phone?: string | undefined;
587
+ mobile?: string | undefined;
588
+ };
589
+ address: {
590
+ street: string;
591
+ city: string;
592
+ state: string;
593
+ postalCode: string;
594
+ country: string;
595
+ };
596
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
597
+ notes?: string | undefined;
598
+ }, {
599
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
600
+ company: {
601
+ name: string;
602
+ description?: string | undefined;
603
+ businessNumber?: string | undefined;
604
+ website?: string | undefined;
605
+ };
606
+ primaryContact: {
607
+ email: string;
608
+ firstName: string;
609
+ lastName: string;
610
+ title?: string | undefined;
611
+ phone?: string | undefined;
612
+ mobile?: string | undefined;
613
+ };
614
+ address: {
615
+ street: string;
616
+ city: string;
617
+ state: string;
618
+ postalCode: string;
619
+ country: string;
620
+ };
621
+ notes?: string | undefined;
622
+ tags?: string[] | undefined;
623
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
624
+ }>;
625
+ path: "/projects/:projectId/directory";
626
+ responses: {
627
+ 201: z.ZodObject<{
628
+ data: z.ZodObject<{
629
+ type: z.ZodLiteral<"directory-contacts">;
630
+ id: z.ZodString;
631
+ attributes: z.ZodObject<{
632
+ id: z.ZodString;
633
+ projectId: z.ZodString;
634
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
635
+ company: z.ZodObject<{
636
+ name: z.ZodString;
637
+ businessNumber: z.ZodOptional<z.ZodString>;
638
+ website: z.ZodOptional<z.ZodString>;
639
+ description: z.ZodOptional<z.ZodString>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ name: string;
642
+ description?: string | undefined;
643
+ businessNumber?: string | undefined;
644
+ website?: string | undefined;
645
+ }, {
646
+ name: string;
647
+ description?: string | undefined;
648
+ businessNumber?: string | undefined;
649
+ website?: string | undefined;
650
+ }>;
651
+ primaryContact: z.ZodObject<{
652
+ firstName: z.ZodString;
653
+ lastName: z.ZodString;
654
+ title: z.ZodOptional<z.ZodString>;
655
+ email: z.ZodString;
656
+ phone: z.ZodOptional<z.ZodString>;
657
+ mobile: z.ZodOptional<z.ZodString>;
658
+ }, "strip", z.ZodTypeAny, {
659
+ email: string;
660
+ firstName: string;
661
+ lastName: string;
662
+ title?: string | undefined;
663
+ phone?: string | undefined;
664
+ mobile?: string | undefined;
665
+ }, {
666
+ email: string;
667
+ firstName: string;
668
+ lastName: string;
669
+ title?: string | undefined;
670
+ phone?: string | undefined;
671
+ mobile?: string | undefined;
672
+ }>;
673
+ address: z.ZodObject<{
674
+ street: z.ZodString;
675
+ city: z.ZodString;
676
+ state: z.ZodString;
677
+ postalCode: z.ZodString;
678
+ country: z.ZodString;
679
+ }, "strip", z.ZodTypeAny, {
680
+ street: string;
681
+ city: string;
682
+ state: string;
683
+ postalCode: string;
684
+ country: string;
685
+ }, {
686
+ street: string;
687
+ city: string;
688
+ state: string;
689
+ postalCode: string;
690
+ country: string;
691
+ }>;
692
+ trades: z.ZodDefault<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>;
693
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
694
+ notes: z.ZodOptional<z.ZodString>;
695
+ status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
696
+ companyId: z.ZodString;
697
+ createdAt: z.ZodString;
698
+ updatedAt: z.ZodString;
699
+ }, "strip", z.ZodTypeAny, {
700
+ id: string;
701
+ createdAt: string;
702
+ updatedAt: string;
703
+ companyId: string;
704
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
705
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
706
+ company: {
707
+ name: string;
708
+ description?: string | undefined;
709
+ businessNumber?: string | undefined;
710
+ website?: string | undefined;
711
+ };
712
+ projectId: string;
713
+ tags: string[];
714
+ primaryContact: {
715
+ email: string;
716
+ firstName: string;
717
+ lastName: string;
718
+ title?: string | undefined;
719
+ phone?: string | undefined;
720
+ mobile?: string | undefined;
721
+ };
722
+ address: {
723
+ street: string;
724
+ city: string;
725
+ state: string;
726
+ postalCode: string;
727
+ country: string;
728
+ };
729
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
730
+ notes?: string | undefined;
731
+ }, {
732
+ id: string;
733
+ createdAt: string;
734
+ updatedAt: string;
735
+ companyId: string;
736
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
737
+ company: {
738
+ name: string;
739
+ description?: string | undefined;
740
+ businessNumber?: string | undefined;
741
+ website?: string | undefined;
742
+ };
743
+ projectId: string;
744
+ primaryContact: {
745
+ email: string;
746
+ firstName: string;
747
+ lastName: string;
748
+ title?: string | undefined;
749
+ phone?: string | undefined;
750
+ mobile?: string | undefined;
751
+ };
752
+ address: {
753
+ street: string;
754
+ city: string;
755
+ state: string;
756
+ postalCode: string;
757
+ country: string;
758
+ };
759
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
760
+ notes?: string | undefined;
761
+ tags?: string[] | undefined;
762
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
763
+ }>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ id: string;
766
+ type: "directory-contacts";
767
+ attributes: {
768
+ id: string;
769
+ createdAt: string;
770
+ updatedAt: string;
771
+ companyId: string;
772
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
773
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
774
+ company: {
775
+ name: string;
776
+ description?: string | undefined;
777
+ businessNumber?: string | undefined;
778
+ website?: string | undefined;
779
+ };
780
+ projectId: string;
781
+ tags: string[];
782
+ primaryContact: {
783
+ email: string;
784
+ firstName: string;
785
+ lastName: string;
786
+ title?: string | undefined;
787
+ phone?: string | undefined;
788
+ mobile?: string | undefined;
789
+ };
790
+ address: {
791
+ street: string;
792
+ city: string;
793
+ state: string;
794
+ postalCode: string;
795
+ country: string;
796
+ };
797
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
798
+ notes?: string | undefined;
799
+ };
800
+ }, {
801
+ id: string;
802
+ type: "directory-contacts";
803
+ attributes: {
804
+ id: string;
805
+ createdAt: string;
806
+ updatedAt: string;
807
+ companyId: string;
808
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
809
+ company: {
810
+ name: string;
811
+ description?: string | undefined;
812
+ businessNumber?: string | undefined;
813
+ website?: string | undefined;
814
+ };
815
+ projectId: string;
816
+ primaryContact: {
817
+ email: string;
818
+ firstName: string;
819
+ lastName: string;
820
+ title?: string | undefined;
821
+ phone?: string | undefined;
822
+ mobile?: string | undefined;
823
+ };
824
+ address: {
825
+ street: string;
826
+ city: string;
827
+ state: string;
828
+ postalCode: string;
829
+ country: string;
830
+ };
831
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
832
+ notes?: string | undefined;
833
+ tags?: string[] | undefined;
834
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
835
+ };
836
+ }>;
837
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
838
+ links: z.ZodOptional<z.ZodObject<{
839
+ self: z.ZodString;
840
+ first: z.ZodOptional<z.ZodString>;
841
+ last: z.ZodOptional<z.ZodString>;
842
+ prev: z.ZodOptional<z.ZodString>;
843
+ next: z.ZodOptional<z.ZodString>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ self: string;
846
+ first?: string | undefined;
847
+ last?: string | undefined;
848
+ prev?: string | undefined;
849
+ next?: string | undefined;
850
+ }, {
851
+ self: string;
852
+ first?: string | undefined;
853
+ last?: string | undefined;
854
+ prev?: string | undefined;
855
+ next?: string | undefined;
856
+ }>>;
857
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
858
+ status: z.ZodString;
859
+ title: z.ZodString;
860
+ detail: z.ZodOptional<z.ZodString>;
861
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ status: string;
864
+ title: string;
865
+ detail?: string | undefined;
866
+ meta?: Record<string, unknown> | undefined;
867
+ }, {
868
+ status: string;
869
+ title: string;
870
+ detail?: string | undefined;
871
+ meta?: Record<string, unknown> | undefined;
872
+ }>, "many">>;
873
+ }, "strip", z.ZodTypeAny, {
874
+ data: {
875
+ id: string;
876
+ type: "directory-contacts";
877
+ attributes: {
878
+ id: string;
879
+ createdAt: string;
880
+ updatedAt: string;
881
+ companyId: string;
882
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
883
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
884
+ company: {
885
+ name: string;
886
+ description?: string | undefined;
887
+ businessNumber?: string | undefined;
888
+ website?: string | undefined;
889
+ };
890
+ projectId: string;
891
+ tags: string[];
892
+ primaryContact: {
893
+ email: string;
894
+ firstName: string;
895
+ lastName: string;
896
+ title?: string | undefined;
897
+ phone?: string | undefined;
898
+ mobile?: string | undefined;
899
+ };
900
+ address: {
901
+ street: string;
902
+ city: string;
903
+ state: string;
904
+ postalCode: string;
905
+ country: string;
906
+ };
907
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
908
+ notes?: string | undefined;
909
+ };
910
+ };
911
+ meta?: Record<string, unknown> | undefined;
912
+ links?: {
913
+ self: string;
914
+ first?: string | undefined;
915
+ last?: string | undefined;
916
+ prev?: string | undefined;
917
+ next?: string | undefined;
918
+ } | undefined;
919
+ errors?: {
920
+ status: string;
921
+ title: string;
922
+ detail?: string | undefined;
923
+ meta?: Record<string, unknown> | undefined;
924
+ }[] | undefined;
925
+ }, {
926
+ data: {
927
+ id: string;
928
+ type: "directory-contacts";
929
+ attributes: {
930
+ id: string;
931
+ createdAt: string;
932
+ updatedAt: string;
933
+ companyId: string;
934
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
935
+ company: {
936
+ name: string;
937
+ description?: string | undefined;
938
+ businessNumber?: string | undefined;
939
+ website?: string | undefined;
940
+ };
941
+ projectId: string;
942
+ primaryContact: {
943
+ email: string;
944
+ firstName: string;
945
+ lastName: string;
946
+ title?: string | undefined;
947
+ phone?: string | undefined;
948
+ mobile?: string | undefined;
949
+ };
950
+ address: {
951
+ street: string;
952
+ city: string;
953
+ state: string;
954
+ postalCode: string;
955
+ country: string;
956
+ };
957
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
958
+ notes?: string | undefined;
959
+ tags?: string[] | undefined;
960
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
961
+ };
962
+ };
963
+ meta?: Record<string, unknown> | undefined;
964
+ links?: {
965
+ self: string;
966
+ first?: string | undefined;
967
+ last?: string | undefined;
968
+ prev?: string | undefined;
969
+ next?: string | undefined;
970
+ } | undefined;
971
+ errors?: {
972
+ status: string;
973
+ title: string;
974
+ detail?: string | undefined;
975
+ meta?: Record<string, unknown> | undefined;
976
+ }[] | undefined;
977
+ }>;
978
+ 400: z.ZodObject<{
979
+ errors: z.ZodArray<z.ZodObject<{
980
+ status: z.ZodString;
981
+ title: z.ZodString;
982
+ detail: z.ZodOptional<z.ZodString>;
983
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
984
+ }, "strip", z.ZodTypeAny, {
985
+ status: string;
986
+ title: string;
987
+ detail?: string | undefined;
988
+ meta?: Record<string, unknown> | undefined;
989
+ }, {
990
+ status: string;
991
+ title: string;
992
+ detail?: string | undefined;
993
+ meta?: Record<string, unknown> | undefined;
994
+ }>, "many">;
995
+ }, "strip", z.ZodTypeAny, {
996
+ errors: {
997
+ status: string;
998
+ title: string;
999
+ detail?: string | undefined;
1000
+ meta?: Record<string, unknown> | undefined;
1001
+ }[];
1002
+ }, {
1003
+ errors: {
1004
+ status: string;
1005
+ title: string;
1006
+ detail?: string | undefined;
1007
+ meta?: Record<string, unknown> | undefined;
1008
+ }[];
1009
+ }>;
1010
+ 401: z.ZodObject<{
1011
+ errors: z.ZodArray<z.ZodObject<{
1012
+ status: z.ZodString;
1013
+ title: z.ZodString;
1014
+ detail: z.ZodOptional<z.ZodString>;
1015
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ status: string;
1018
+ title: string;
1019
+ detail?: string | undefined;
1020
+ meta?: Record<string, unknown> | undefined;
1021
+ }, {
1022
+ status: string;
1023
+ title: string;
1024
+ detail?: string | undefined;
1025
+ meta?: Record<string, unknown> | undefined;
1026
+ }>, "many">;
1027
+ }, "strip", z.ZodTypeAny, {
1028
+ errors: {
1029
+ status: string;
1030
+ title: string;
1031
+ detail?: string | undefined;
1032
+ meta?: Record<string, unknown> | undefined;
1033
+ }[];
1034
+ }, {
1035
+ errors: {
1036
+ status: string;
1037
+ title: string;
1038
+ detail?: string | undefined;
1039
+ meta?: Record<string, unknown> | undefined;
1040
+ }[];
1041
+ }>;
1042
+ 403: z.ZodObject<{
1043
+ errors: z.ZodArray<z.ZodObject<{
1044
+ status: z.ZodString;
1045
+ title: z.ZodString;
1046
+ detail: z.ZodOptional<z.ZodString>;
1047
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ status: string;
1050
+ title: string;
1051
+ detail?: string | undefined;
1052
+ meta?: Record<string, unknown> | undefined;
1053
+ }, {
1054
+ status: string;
1055
+ title: string;
1056
+ detail?: string | undefined;
1057
+ meta?: Record<string, unknown> | undefined;
1058
+ }>, "many">;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ errors: {
1061
+ status: string;
1062
+ title: string;
1063
+ detail?: string | undefined;
1064
+ meta?: Record<string, unknown> | undefined;
1065
+ }[];
1066
+ }, {
1067
+ errors: {
1068
+ status: string;
1069
+ title: string;
1070
+ detail?: string | undefined;
1071
+ meta?: Record<string, unknown> | undefined;
1072
+ }[];
1073
+ }>;
1074
+ 404: z.ZodObject<{
1075
+ errors: z.ZodArray<z.ZodObject<{
1076
+ status: z.ZodString;
1077
+ title: z.ZodString;
1078
+ detail: z.ZodOptional<z.ZodString>;
1079
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1080
+ }, "strip", z.ZodTypeAny, {
1081
+ status: string;
1082
+ title: string;
1083
+ detail?: string | undefined;
1084
+ meta?: Record<string, unknown> | undefined;
1085
+ }, {
1086
+ status: string;
1087
+ title: string;
1088
+ detail?: string | undefined;
1089
+ meta?: Record<string, unknown> | undefined;
1090
+ }>, "many">;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ errors: {
1093
+ status: string;
1094
+ title: string;
1095
+ detail?: string | undefined;
1096
+ meta?: Record<string, unknown> | undefined;
1097
+ }[];
1098
+ }, {
1099
+ errors: {
1100
+ status: string;
1101
+ title: string;
1102
+ detail?: string | undefined;
1103
+ meta?: Record<string, unknown> | undefined;
1104
+ }[];
1105
+ }>;
1106
+ };
1107
+ };
1108
+ getDirectoryContact: {
1109
+ pathParams: z.ZodObject<{
1110
+ contactId: z.ZodString;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ contactId: string;
1113
+ }, {
1114
+ contactId: string;
1115
+ }>;
1116
+ query: z.ZodObject<{
1117
+ companyId: z.ZodOptional<z.ZodString>;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ companyId?: string | undefined;
1120
+ }, {
1121
+ companyId?: string | undefined;
1122
+ }>;
1123
+ summary: "Get a specific directory contact";
1124
+ method: "GET";
1125
+ path: "/directory/:contactId";
1126
+ responses: {
1127
+ 200: z.ZodObject<{
1128
+ data: z.ZodObject<{
1129
+ type: z.ZodLiteral<"directory-contacts">;
1130
+ id: z.ZodString;
1131
+ attributes: z.ZodObject<{
1132
+ id: z.ZodString;
1133
+ projectId: z.ZodString;
1134
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
1135
+ company: z.ZodObject<{
1136
+ name: z.ZodString;
1137
+ businessNumber: z.ZodOptional<z.ZodString>;
1138
+ website: z.ZodOptional<z.ZodString>;
1139
+ description: z.ZodOptional<z.ZodString>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ name: string;
1142
+ description?: string | undefined;
1143
+ businessNumber?: string | undefined;
1144
+ website?: string | undefined;
1145
+ }, {
1146
+ name: string;
1147
+ description?: string | undefined;
1148
+ businessNumber?: string | undefined;
1149
+ website?: string | undefined;
1150
+ }>;
1151
+ primaryContact: z.ZodObject<{
1152
+ firstName: z.ZodString;
1153
+ lastName: z.ZodString;
1154
+ title: z.ZodOptional<z.ZodString>;
1155
+ email: z.ZodString;
1156
+ phone: z.ZodOptional<z.ZodString>;
1157
+ mobile: z.ZodOptional<z.ZodString>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ email: string;
1160
+ firstName: string;
1161
+ lastName: string;
1162
+ title?: string | undefined;
1163
+ phone?: string | undefined;
1164
+ mobile?: string | undefined;
1165
+ }, {
1166
+ email: string;
1167
+ firstName: string;
1168
+ lastName: string;
1169
+ title?: string | undefined;
1170
+ phone?: string | undefined;
1171
+ mobile?: string | undefined;
1172
+ }>;
1173
+ address: z.ZodObject<{
1174
+ street: z.ZodString;
1175
+ city: z.ZodString;
1176
+ state: z.ZodString;
1177
+ postalCode: z.ZodString;
1178
+ country: z.ZodString;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ street: string;
1181
+ city: string;
1182
+ state: string;
1183
+ postalCode: string;
1184
+ country: string;
1185
+ }, {
1186
+ street: string;
1187
+ city: string;
1188
+ state: string;
1189
+ postalCode: string;
1190
+ country: string;
1191
+ }>;
1192
+ trades: z.ZodDefault<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>;
1193
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1194
+ notes: z.ZodOptional<z.ZodString>;
1195
+ status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
1196
+ companyId: z.ZodString;
1197
+ createdAt: z.ZodString;
1198
+ updatedAt: z.ZodString;
1199
+ }, "strip", z.ZodTypeAny, {
1200
+ id: string;
1201
+ createdAt: string;
1202
+ updatedAt: string;
1203
+ companyId: string;
1204
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1205
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
1206
+ company: {
1207
+ name: string;
1208
+ description?: string | undefined;
1209
+ businessNumber?: string | undefined;
1210
+ website?: string | undefined;
1211
+ };
1212
+ projectId: string;
1213
+ tags: string[];
1214
+ primaryContact: {
1215
+ email: string;
1216
+ firstName: string;
1217
+ lastName: string;
1218
+ title?: string | undefined;
1219
+ phone?: string | undefined;
1220
+ mobile?: string | undefined;
1221
+ };
1222
+ address: {
1223
+ street: string;
1224
+ city: string;
1225
+ state: string;
1226
+ postalCode: string;
1227
+ country: string;
1228
+ };
1229
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
1230
+ notes?: string | undefined;
1231
+ }, {
1232
+ id: string;
1233
+ createdAt: string;
1234
+ updatedAt: string;
1235
+ companyId: string;
1236
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1237
+ company: {
1238
+ name: string;
1239
+ description?: string | undefined;
1240
+ businessNumber?: string | undefined;
1241
+ website?: string | undefined;
1242
+ };
1243
+ projectId: string;
1244
+ primaryContact: {
1245
+ email: string;
1246
+ firstName: string;
1247
+ lastName: string;
1248
+ title?: string | undefined;
1249
+ phone?: string | undefined;
1250
+ mobile?: string | undefined;
1251
+ };
1252
+ address: {
1253
+ street: string;
1254
+ city: string;
1255
+ state: string;
1256
+ postalCode: string;
1257
+ country: string;
1258
+ };
1259
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
1260
+ notes?: string | undefined;
1261
+ tags?: string[] | undefined;
1262
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
1263
+ }>;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ id: string;
1266
+ type: "directory-contacts";
1267
+ attributes: {
1268
+ id: string;
1269
+ createdAt: string;
1270
+ updatedAt: string;
1271
+ companyId: string;
1272
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1273
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
1274
+ company: {
1275
+ name: string;
1276
+ description?: string | undefined;
1277
+ businessNumber?: string | undefined;
1278
+ website?: string | undefined;
1279
+ };
1280
+ projectId: string;
1281
+ tags: string[];
1282
+ primaryContact: {
1283
+ email: string;
1284
+ firstName: string;
1285
+ lastName: string;
1286
+ title?: string | undefined;
1287
+ phone?: string | undefined;
1288
+ mobile?: string | undefined;
1289
+ };
1290
+ address: {
1291
+ street: string;
1292
+ city: string;
1293
+ state: string;
1294
+ postalCode: string;
1295
+ country: string;
1296
+ };
1297
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
1298
+ notes?: string | undefined;
1299
+ };
1300
+ }, {
1301
+ id: string;
1302
+ type: "directory-contacts";
1303
+ attributes: {
1304
+ id: string;
1305
+ createdAt: string;
1306
+ updatedAt: string;
1307
+ companyId: string;
1308
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1309
+ company: {
1310
+ name: string;
1311
+ description?: string | undefined;
1312
+ businessNumber?: string | undefined;
1313
+ website?: string | undefined;
1314
+ };
1315
+ projectId: string;
1316
+ primaryContact: {
1317
+ email: string;
1318
+ firstName: string;
1319
+ lastName: string;
1320
+ title?: string | undefined;
1321
+ phone?: string | undefined;
1322
+ mobile?: string | undefined;
1323
+ };
1324
+ address: {
1325
+ street: string;
1326
+ city: string;
1327
+ state: string;
1328
+ postalCode: string;
1329
+ country: string;
1330
+ };
1331
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
1332
+ notes?: string | undefined;
1333
+ tags?: string[] | undefined;
1334
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
1335
+ };
1336
+ }>;
1337
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1338
+ links: z.ZodOptional<z.ZodObject<{
1339
+ self: z.ZodString;
1340
+ first: z.ZodOptional<z.ZodString>;
1341
+ last: z.ZodOptional<z.ZodString>;
1342
+ prev: z.ZodOptional<z.ZodString>;
1343
+ next: z.ZodOptional<z.ZodString>;
1344
+ }, "strip", z.ZodTypeAny, {
1345
+ self: string;
1346
+ first?: string | undefined;
1347
+ last?: string | undefined;
1348
+ prev?: string | undefined;
1349
+ next?: string | undefined;
1350
+ }, {
1351
+ self: string;
1352
+ first?: string | undefined;
1353
+ last?: string | undefined;
1354
+ prev?: string | undefined;
1355
+ next?: string | undefined;
1356
+ }>>;
1357
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1358
+ status: z.ZodString;
1359
+ title: z.ZodString;
1360
+ detail: z.ZodOptional<z.ZodString>;
1361
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ status: string;
1364
+ title: string;
1365
+ detail?: string | undefined;
1366
+ meta?: Record<string, unknown> | undefined;
1367
+ }, {
1368
+ status: string;
1369
+ title: string;
1370
+ detail?: string | undefined;
1371
+ meta?: Record<string, unknown> | undefined;
1372
+ }>, "many">>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ data: {
1375
+ id: string;
1376
+ type: "directory-contacts";
1377
+ attributes: {
1378
+ id: string;
1379
+ createdAt: string;
1380
+ updatedAt: string;
1381
+ companyId: string;
1382
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1383
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
1384
+ company: {
1385
+ name: string;
1386
+ description?: string | undefined;
1387
+ businessNumber?: string | undefined;
1388
+ website?: string | undefined;
1389
+ };
1390
+ projectId: string;
1391
+ tags: string[];
1392
+ primaryContact: {
1393
+ email: string;
1394
+ firstName: string;
1395
+ lastName: string;
1396
+ title?: string | undefined;
1397
+ phone?: string | undefined;
1398
+ mobile?: string | undefined;
1399
+ };
1400
+ address: {
1401
+ street: string;
1402
+ city: string;
1403
+ state: string;
1404
+ postalCode: string;
1405
+ country: string;
1406
+ };
1407
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
1408
+ notes?: string | undefined;
1409
+ };
1410
+ };
1411
+ meta?: Record<string, unknown> | undefined;
1412
+ links?: {
1413
+ self: string;
1414
+ first?: string | undefined;
1415
+ last?: string | undefined;
1416
+ prev?: string | undefined;
1417
+ next?: string | undefined;
1418
+ } | undefined;
1419
+ errors?: {
1420
+ status: string;
1421
+ title: string;
1422
+ detail?: string | undefined;
1423
+ meta?: Record<string, unknown> | undefined;
1424
+ }[] | undefined;
1425
+ }, {
1426
+ data: {
1427
+ id: string;
1428
+ type: "directory-contacts";
1429
+ attributes: {
1430
+ id: string;
1431
+ createdAt: string;
1432
+ updatedAt: string;
1433
+ companyId: string;
1434
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1435
+ company: {
1436
+ name: string;
1437
+ description?: string | undefined;
1438
+ businessNumber?: string | undefined;
1439
+ website?: string | undefined;
1440
+ };
1441
+ projectId: string;
1442
+ primaryContact: {
1443
+ email: string;
1444
+ firstName: string;
1445
+ lastName: string;
1446
+ title?: string | undefined;
1447
+ phone?: string | undefined;
1448
+ mobile?: string | undefined;
1449
+ };
1450
+ address: {
1451
+ street: string;
1452
+ city: string;
1453
+ state: string;
1454
+ postalCode: string;
1455
+ country: string;
1456
+ };
1457
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
1458
+ notes?: string | undefined;
1459
+ tags?: string[] | undefined;
1460
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
1461
+ };
1462
+ };
1463
+ meta?: Record<string, unknown> | undefined;
1464
+ links?: {
1465
+ self: string;
1466
+ first?: string | undefined;
1467
+ last?: string | undefined;
1468
+ prev?: string | undefined;
1469
+ next?: string | undefined;
1470
+ } | undefined;
1471
+ errors?: {
1472
+ status: string;
1473
+ title: string;
1474
+ detail?: string | undefined;
1475
+ meta?: Record<string, unknown> | undefined;
1476
+ }[] | undefined;
1477
+ }>;
1478
+ 401: z.ZodObject<{
1479
+ errors: z.ZodArray<z.ZodObject<{
1480
+ status: z.ZodString;
1481
+ title: z.ZodString;
1482
+ detail: z.ZodOptional<z.ZodString>;
1483
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ status: string;
1486
+ title: string;
1487
+ detail?: string | undefined;
1488
+ meta?: Record<string, unknown> | undefined;
1489
+ }, {
1490
+ status: string;
1491
+ title: string;
1492
+ detail?: string | undefined;
1493
+ meta?: Record<string, unknown> | undefined;
1494
+ }>, "many">;
1495
+ }, "strip", z.ZodTypeAny, {
1496
+ errors: {
1497
+ status: string;
1498
+ title: string;
1499
+ detail?: string | undefined;
1500
+ meta?: Record<string, unknown> | undefined;
1501
+ }[];
1502
+ }, {
1503
+ errors: {
1504
+ status: string;
1505
+ title: string;
1506
+ detail?: string | undefined;
1507
+ meta?: Record<string, unknown> | undefined;
1508
+ }[];
1509
+ }>;
1510
+ 403: z.ZodObject<{
1511
+ errors: z.ZodArray<z.ZodObject<{
1512
+ status: z.ZodString;
1513
+ title: z.ZodString;
1514
+ detail: z.ZodOptional<z.ZodString>;
1515
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ status: string;
1518
+ title: string;
1519
+ detail?: string | undefined;
1520
+ meta?: Record<string, unknown> | undefined;
1521
+ }, {
1522
+ status: string;
1523
+ title: string;
1524
+ detail?: string | undefined;
1525
+ meta?: Record<string, unknown> | undefined;
1526
+ }>, "many">;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ errors: {
1529
+ status: string;
1530
+ title: string;
1531
+ detail?: string | undefined;
1532
+ meta?: Record<string, unknown> | undefined;
1533
+ }[];
1534
+ }, {
1535
+ errors: {
1536
+ status: string;
1537
+ title: string;
1538
+ detail?: string | undefined;
1539
+ meta?: Record<string, unknown> | undefined;
1540
+ }[];
1541
+ }>;
1542
+ 404: z.ZodObject<{
1543
+ errors: z.ZodArray<z.ZodObject<{
1544
+ status: z.ZodString;
1545
+ title: z.ZodString;
1546
+ detail: z.ZodOptional<z.ZodString>;
1547
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1548
+ }, "strip", z.ZodTypeAny, {
1549
+ status: string;
1550
+ title: string;
1551
+ detail?: string | undefined;
1552
+ meta?: Record<string, unknown> | undefined;
1553
+ }, {
1554
+ status: string;
1555
+ title: string;
1556
+ detail?: string | undefined;
1557
+ meta?: Record<string, unknown> | undefined;
1558
+ }>, "many">;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ errors: {
1561
+ status: string;
1562
+ title: string;
1563
+ detail?: string | undefined;
1564
+ meta?: Record<string, unknown> | undefined;
1565
+ }[];
1566
+ }, {
1567
+ errors: {
1568
+ status: string;
1569
+ title: string;
1570
+ detail?: string | undefined;
1571
+ meta?: Record<string, unknown> | undefined;
1572
+ }[];
1573
+ }>;
1574
+ };
1575
+ };
1576
+ searchDirectory: {
1577
+ query: z.ZodObject<{
1578
+ companyId: z.ZodOptional<z.ZodString>;
1579
+ } & {
1580
+ q: z.ZodString;
1581
+ projectId: z.ZodOptional<z.ZodString>;
1582
+ limit: z.ZodDefault<z.ZodNumber>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ limit: number;
1585
+ q: string;
1586
+ companyId?: string | undefined;
1587
+ projectId?: string | undefined;
1588
+ }, {
1589
+ q: string;
1590
+ companyId?: string | undefined;
1591
+ limit?: number | undefined;
1592
+ projectId?: string | undefined;
1593
+ }>;
1594
+ summary: "Search directory contacts across all projects";
1595
+ method: "GET";
1596
+ path: "/directory/search";
1597
+ responses: {
1598
+ 200: z.ZodObject<{
1599
+ data: z.ZodArray<z.ZodObject<{
1600
+ type: z.ZodLiteral<"directory-contacts">;
1601
+ id: z.ZodString;
1602
+ attributes: z.ZodObject<{
1603
+ id: z.ZodString;
1604
+ projectId: z.ZodString;
1605
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
1606
+ company: z.ZodObject<{
1607
+ name: z.ZodString;
1608
+ businessNumber: z.ZodOptional<z.ZodString>;
1609
+ website: z.ZodOptional<z.ZodString>;
1610
+ description: z.ZodOptional<z.ZodString>;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ name: string;
1613
+ description?: string | undefined;
1614
+ businessNumber?: string | undefined;
1615
+ website?: string | undefined;
1616
+ }, {
1617
+ name: string;
1618
+ description?: string | undefined;
1619
+ businessNumber?: string | undefined;
1620
+ website?: string | undefined;
1621
+ }>;
1622
+ primaryContact: z.ZodObject<{
1623
+ firstName: z.ZodString;
1624
+ lastName: z.ZodString;
1625
+ title: z.ZodOptional<z.ZodString>;
1626
+ email: z.ZodString;
1627
+ phone: z.ZodOptional<z.ZodString>;
1628
+ mobile: z.ZodOptional<z.ZodString>;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ email: string;
1631
+ firstName: string;
1632
+ lastName: string;
1633
+ title?: string | undefined;
1634
+ phone?: string | undefined;
1635
+ mobile?: string | undefined;
1636
+ }, {
1637
+ email: string;
1638
+ firstName: string;
1639
+ lastName: string;
1640
+ title?: string | undefined;
1641
+ phone?: string | undefined;
1642
+ mobile?: string | undefined;
1643
+ }>;
1644
+ address: z.ZodObject<{
1645
+ street: z.ZodString;
1646
+ city: z.ZodString;
1647
+ state: z.ZodString;
1648
+ postalCode: z.ZodString;
1649
+ country: z.ZodString;
1650
+ }, "strip", z.ZodTypeAny, {
1651
+ street: string;
1652
+ city: string;
1653
+ state: string;
1654
+ postalCode: string;
1655
+ country: string;
1656
+ }, {
1657
+ street: string;
1658
+ city: string;
1659
+ state: string;
1660
+ postalCode: string;
1661
+ country: string;
1662
+ }>;
1663
+ trades: z.ZodDefault<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>;
1664
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1665
+ notes: z.ZodOptional<z.ZodString>;
1666
+ status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
1667
+ companyId: z.ZodString;
1668
+ createdAt: z.ZodString;
1669
+ updatedAt: z.ZodString;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ id: string;
1672
+ createdAt: string;
1673
+ updatedAt: string;
1674
+ companyId: string;
1675
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1676
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
1677
+ company: {
1678
+ name: string;
1679
+ description?: string | undefined;
1680
+ businessNumber?: string | undefined;
1681
+ website?: string | undefined;
1682
+ };
1683
+ projectId: string;
1684
+ tags: string[];
1685
+ primaryContact: {
1686
+ email: string;
1687
+ firstName: string;
1688
+ lastName: string;
1689
+ title?: string | undefined;
1690
+ phone?: string | undefined;
1691
+ mobile?: string | undefined;
1692
+ };
1693
+ address: {
1694
+ street: string;
1695
+ city: string;
1696
+ state: string;
1697
+ postalCode: string;
1698
+ country: string;
1699
+ };
1700
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
1701
+ notes?: string | undefined;
1702
+ }, {
1703
+ id: string;
1704
+ createdAt: string;
1705
+ updatedAt: string;
1706
+ companyId: string;
1707
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1708
+ company: {
1709
+ name: string;
1710
+ description?: string | undefined;
1711
+ businessNumber?: string | undefined;
1712
+ website?: string | undefined;
1713
+ };
1714
+ projectId: string;
1715
+ primaryContact: {
1716
+ email: string;
1717
+ firstName: string;
1718
+ lastName: string;
1719
+ title?: string | undefined;
1720
+ phone?: string | undefined;
1721
+ mobile?: string | undefined;
1722
+ };
1723
+ address: {
1724
+ street: string;
1725
+ city: string;
1726
+ state: string;
1727
+ postalCode: string;
1728
+ country: string;
1729
+ };
1730
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
1731
+ notes?: string | undefined;
1732
+ tags?: string[] | undefined;
1733
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
1734
+ }>;
1735
+ }, "strip", z.ZodTypeAny, {
1736
+ id: string;
1737
+ type: "directory-contacts";
1738
+ attributes: {
1739
+ id: string;
1740
+ createdAt: string;
1741
+ updatedAt: string;
1742
+ companyId: string;
1743
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1744
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
1745
+ company: {
1746
+ name: string;
1747
+ description?: string | undefined;
1748
+ businessNumber?: string | undefined;
1749
+ website?: string | undefined;
1750
+ };
1751
+ projectId: string;
1752
+ tags: string[];
1753
+ primaryContact: {
1754
+ email: string;
1755
+ firstName: string;
1756
+ lastName: string;
1757
+ title?: string | undefined;
1758
+ phone?: string | undefined;
1759
+ mobile?: string | undefined;
1760
+ };
1761
+ address: {
1762
+ street: string;
1763
+ city: string;
1764
+ state: string;
1765
+ postalCode: string;
1766
+ country: string;
1767
+ };
1768
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
1769
+ notes?: string | undefined;
1770
+ };
1771
+ }, {
1772
+ id: string;
1773
+ type: "directory-contacts";
1774
+ attributes: {
1775
+ id: string;
1776
+ createdAt: string;
1777
+ updatedAt: string;
1778
+ companyId: string;
1779
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1780
+ company: {
1781
+ name: string;
1782
+ description?: string | undefined;
1783
+ businessNumber?: string | undefined;
1784
+ website?: string | undefined;
1785
+ };
1786
+ projectId: string;
1787
+ primaryContact: {
1788
+ email: string;
1789
+ firstName: string;
1790
+ lastName: string;
1791
+ title?: string | undefined;
1792
+ phone?: string | undefined;
1793
+ mobile?: string | undefined;
1794
+ };
1795
+ address: {
1796
+ street: string;
1797
+ city: string;
1798
+ state: string;
1799
+ postalCode: string;
1800
+ country: string;
1801
+ };
1802
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
1803
+ notes?: string | undefined;
1804
+ tags?: string[] | undefined;
1805
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
1806
+ };
1807
+ }>, "many">;
1808
+ meta: z.ZodOptional<z.ZodObject<{
1809
+ total: z.ZodOptional<z.ZodNumber>;
1810
+ page: z.ZodOptional<z.ZodNumber>;
1811
+ size: z.ZodOptional<z.ZodNumber>;
1812
+ pages: z.ZodOptional<z.ZodNumber>;
1813
+ hasNextPage: z.ZodOptional<z.ZodBoolean>;
1814
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
1815
+ }, "strip", z.ZodTypeAny, {
1816
+ page?: number | undefined;
1817
+ total?: number | undefined;
1818
+ size?: number | undefined;
1819
+ pages?: number | undefined;
1820
+ hasNextPage?: boolean | undefined;
1821
+ hasPreviousPage?: boolean | undefined;
1822
+ }, {
1823
+ page?: number | undefined;
1824
+ total?: number | undefined;
1825
+ size?: number | undefined;
1826
+ pages?: number | undefined;
1827
+ hasNextPage?: boolean | undefined;
1828
+ hasPreviousPage?: boolean | undefined;
1829
+ }>>;
1830
+ links: z.ZodOptional<z.ZodObject<{
1831
+ self: z.ZodString;
1832
+ first: z.ZodOptional<z.ZodString>;
1833
+ last: z.ZodOptional<z.ZodString>;
1834
+ prev: z.ZodOptional<z.ZodString>;
1835
+ next: z.ZodOptional<z.ZodString>;
1836
+ }, "strip", z.ZodTypeAny, {
1837
+ self: string;
1838
+ first?: string | undefined;
1839
+ last?: string | undefined;
1840
+ prev?: string | undefined;
1841
+ next?: string | undefined;
1842
+ }, {
1843
+ self: string;
1844
+ first?: string | undefined;
1845
+ last?: string | undefined;
1846
+ prev?: string | undefined;
1847
+ next?: string | undefined;
1848
+ }>>;
1849
+ }, "strip", z.ZodTypeAny, {
1850
+ data: {
1851
+ id: string;
1852
+ type: "directory-contacts";
1853
+ attributes: {
1854
+ id: string;
1855
+ createdAt: string;
1856
+ updatedAt: string;
1857
+ companyId: string;
1858
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1859
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
1860
+ company: {
1861
+ name: string;
1862
+ description?: string | undefined;
1863
+ businessNumber?: string | undefined;
1864
+ website?: string | undefined;
1865
+ };
1866
+ projectId: string;
1867
+ tags: string[];
1868
+ primaryContact: {
1869
+ email: string;
1870
+ firstName: string;
1871
+ lastName: string;
1872
+ title?: string | undefined;
1873
+ phone?: string | undefined;
1874
+ mobile?: string | undefined;
1875
+ };
1876
+ address: {
1877
+ street: string;
1878
+ city: string;
1879
+ state: string;
1880
+ postalCode: string;
1881
+ country: string;
1882
+ };
1883
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
1884
+ notes?: string | undefined;
1885
+ };
1886
+ }[];
1887
+ meta?: {
1888
+ page?: number | undefined;
1889
+ total?: number | undefined;
1890
+ size?: number | undefined;
1891
+ pages?: number | undefined;
1892
+ hasNextPage?: boolean | undefined;
1893
+ hasPreviousPage?: boolean | undefined;
1894
+ } | undefined;
1895
+ links?: {
1896
+ self: string;
1897
+ first?: string | undefined;
1898
+ last?: string | undefined;
1899
+ prev?: string | undefined;
1900
+ next?: string | undefined;
1901
+ } | undefined;
1902
+ }, {
1903
+ data: {
1904
+ id: string;
1905
+ type: "directory-contacts";
1906
+ attributes: {
1907
+ id: string;
1908
+ createdAt: string;
1909
+ updatedAt: string;
1910
+ companyId: string;
1911
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
1912
+ company: {
1913
+ name: string;
1914
+ description?: string | undefined;
1915
+ businessNumber?: string | undefined;
1916
+ website?: string | undefined;
1917
+ };
1918
+ projectId: string;
1919
+ primaryContact: {
1920
+ email: string;
1921
+ firstName: string;
1922
+ lastName: string;
1923
+ title?: string | undefined;
1924
+ phone?: string | undefined;
1925
+ mobile?: string | undefined;
1926
+ };
1927
+ address: {
1928
+ street: string;
1929
+ city: string;
1930
+ state: string;
1931
+ postalCode: string;
1932
+ country: string;
1933
+ };
1934
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
1935
+ notes?: string | undefined;
1936
+ tags?: string[] | undefined;
1937
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
1938
+ };
1939
+ }[];
1940
+ meta?: {
1941
+ page?: number | undefined;
1942
+ total?: number | undefined;
1943
+ size?: number | undefined;
1944
+ pages?: number | undefined;
1945
+ hasNextPage?: boolean | undefined;
1946
+ hasPreviousPage?: boolean | undefined;
1947
+ } | undefined;
1948
+ links?: {
1949
+ self: string;
1950
+ first?: string | undefined;
1951
+ last?: string | undefined;
1952
+ prev?: string | undefined;
1953
+ next?: string | undefined;
1954
+ } | undefined;
1955
+ }>;
1956
+ 400: z.ZodObject<{
1957
+ errors: z.ZodArray<z.ZodObject<{
1958
+ status: z.ZodString;
1959
+ title: z.ZodString;
1960
+ detail: z.ZodOptional<z.ZodString>;
1961
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1962
+ }, "strip", z.ZodTypeAny, {
1963
+ status: string;
1964
+ title: string;
1965
+ detail?: string | undefined;
1966
+ meta?: Record<string, unknown> | undefined;
1967
+ }, {
1968
+ status: string;
1969
+ title: string;
1970
+ detail?: string | undefined;
1971
+ meta?: Record<string, unknown> | undefined;
1972
+ }>, "many">;
1973
+ }, "strip", z.ZodTypeAny, {
1974
+ errors: {
1975
+ status: string;
1976
+ title: string;
1977
+ detail?: string | undefined;
1978
+ meta?: Record<string, unknown> | undefined;
1979
+ }[];
1980
+ }, {
1981
+ errors: {
1982
+ status: string;
1983
+ title: string;
1984
+ detail?: string | undefined;
1985
+ meta?: Record<string, unknown> | undefined;
1986
+ }[];
1987
+ }>;
1988
+ 401: z.ZodObject<{
1989
+ errors: z.ZodArray<z.ZodObject<{
1990
+ status: z.ZodString;
1991
+ title: z.ZodString;
1992
+ detail: z.ZodOptional<z.ZodString>;
1993
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1994
+ }, "strip", z.ZodTypeAny, {
1995
+ status: string;
1996
+ title: string;
1997
+ detail?: string | undefined;
1998
+ meta?: Record<string, unknown> | undefined;
1999
+ }, {
2000
+ status: string;
2001
+ title: string;
2002
+ detail?: string | undefined;
2003
+ meta?: Record<string, unknown> | undefined;
2004
+ }>, "many">;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ errors: {
2007
+ status: string;
2008
+ title: string;
2009
+ detail?: string | undefined;
2010
+ meta?: Record<string, unknown> | undefined;
2011
+ }[];
2012
+ }, {
2013
+ errors: {
2014
+ status: string;
2015
+ title: string;
2016
+ detail?: string | undefined;
2017
+ meta?: Record<string, unknown> | undefined;
2018
+ }[];
2019
+ }>;
2020
+ 403: z.ZodObject<{
2021
+ errors: z.ZodArray<z.ZodObject<{
2022
+ status: z.ZodString;
2023
+ title: z.ZodString;
2024
+ detail: z.ZodOptional<z.ZodString>;
2025
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2026
+ }, "strip", z.ZodTypeAny, {
2027
+ status: string;
2028
+ title: string;
2029
+ detail?: string | undefined;
2030
+ meta?: Record<string, unknown> | undefined;
2031
+ }, {
2032
+ status: string;
2033
+ title: string;
2034
+ detail?: string | undefined;
2035
+ meta?: Record<string, unknown> | undefined;
2036
+ }>, "many">;
2037
+ }, "strip", z.ZodTypeAny, {
2038
+ errors: {
2039
+ status: string;
2040
+ title: string;
2041
+ detail?: string | undefined;
2042
+ meta?: Record<string, unknown> | undefined;
2043
+ }[];
2044
+ }, {
2045
+ errors: {
2046
+ status: string;
2047
+ title: string;
2048
+ detail?: string | undefined;
2049
+ meta?: Record<string, unknown> | undefined;
2050
+ }[];
2051
+ }>;
2052
+ };
2053
+ };
2054
+ updateDirectoryContact: {
2055
+ pathParams: z.ZodObject<{
2056
+ contactId: z.ZodString;
2057
+ }, "strip", z.ZodTypeAny, {
2058
+ contactId: string;
2059
+ }, {
2060
+ contactId: string;
2061
+ }>;
2062
+ query: z.ZodObject<{
2063
+ companyId: z.ZodOptional<z.ZodString>;
2064
+ }, "strip", z.ZodTypeAny, {
2065
+ companyId?: string | undefined;
2066
+ }, {
2067
+ companyId?: string | undefined;
2068
+ }>;
2069
+ summary: "Update a directory contact";
2070
+ method: "PATCH";
2071
+ body: z.ZodObject<{
2072
+ type: z.ZodOptional<z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>>;
2073
+ company: z.ZodOptional<z.ZodObject<{
2074
+ name: z.ZodString;
2075
+ businessNumber: z.ZodOptional<z.ZodString>;
2076
+ website: z.ZodOptional<z.ZodString>;
2077
+ description: z.ZodOptional<z.ZodString>;
2078
+ }, "strip", z.ZodTypeAny, {
2079
+ name: string;
2080
+ description?: string | undefined;
2081
+ businessNumber?: string | undefined;
2082
+ website?: string | undefined;
2083
+ }, {
2084
+ name: string;
2085
+ description?: string | undefined;
2086
+ businessNumber?: string | undefined;
2087
+ website?: string | undefined;
2088
+ }>>;
2089
+ primaryContact: z.ZodOptional<z.ZodObject<{
2090
+ firstName: z.ZodString;
2091
+ lastName: z.ZodString;
2092
+ title: z.ZodOptional<z.ZodString>;
2093
+ email: z.ZodString;
2094
+ phone: z.ZodOptional<z.ZodString>;
2095
+ mobile: z.ZodOptional<z.ZodString>;
2096
+ }, "strip", z.ZodTypeAny, {
2097
+ email: string;
2098
+ firstName: string;
2099
+ lastName: string;
2100
+ title?: string | undefined;
2101
+ phone?: string | undefined;
2102
+ mobile?: string | undefined;
2103
+ }, {
2104
+ email: string;
2105
+ firstName: string;
2106
+ lastName: string;
2107
+ title?: string | undefined;
2108
+ phone?: string | undefined;
2109
+ mobile?: string | undefined;
2110
+ }>>;
2111
+ address: z.ZodOptional<z.ZodObject<{
2112
+ street: z.ZodString;
2113
+ city: z.ZodString;
2114
+ state: z.ZodString;
2115
+ postalCode: z.ZodString;
2116
+ country: z.ZodString;
2117
+ }, "strip", z.ZodTypeAny, {
2118
+ street: string;
2119
+ city: string;
2120
+ state: string;
2121
+ postalCode: string;
2122
+ country: string;
2123
+ }, {
2124
+ street: string;
2125
+ city: string;
2126
+ state: string;
2127
+ postalCode: string;
2128
+ country: string;
2129
+ }>>;
2130
+ trades: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>>>;
2131
+ tags: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
2132
+ notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2133
+ }, "strip", z.ZodTypeAny, {
2134
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
2135
+ company?: {
2136
+ name: string;
2137
+ description?: string | undefined;
2138
+ businessNumber?: string | undefined;
2139
+ website?: string | undefined;
2140
+ } | undefined;
2141
+ notes?: string | undefined;
2142
+ tags?: string[] | undefined;
2143
+ primaryContact?: {
2144
+ email: string;
2145
+ firstName: string;
2146
+ lastName: string;
2147
+ title?: string | undefined;
2148
+ phone?: string | undefined;
2149
+ mobile?: string | undefined;
2150
+ } | undefined;
2151
+ address?: {
2152
+ street: string;
2153
+ city: string;
2154
+ state: string;
2155
+ postalCode: string;
2156
+ country: string;
2157
+ } | undefined;
2158
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
2159
+ }, {
2160
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
2161
+ company?: {
2162
+ name: string;
2163
+ description?: string | undefined;
2164
+ businessNumber?: string | undefined;
2165
+ website?: string | undefined;
2166
+ } | undefined;
2167
+ notes?: string | undefined;
2168
+ tags?: string[] | undefined;
2169
+ primaryContact?: {
2170
+ email: string;
2171
+ firstName: string;
2172
+ lastName: string;
2173
+ title?: string | undefined;
2174
+ phone?: string | undefined;
2175
+ mobile?: string | undefined;
2176
+ } | undefined;
2177
+ address?: {
2178
+ street: string;
2179
+ city: string;
2180
+ state: string;
2181
+ postalCode: string;
2182
+ country: string;
2183
+ } | undefined;
2184
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
2185
+ }>;
2186
+ path: "/directory/:contactId";
2187
+ responses: {
2188
+ 200: z.ZodObject<{
2189
+ data: z.ZodObject<{
2190
+ type: z.ZodLiteral<"directory-contacts">;
2191
+ id: z.ZodString;
2192
+ attributes: z.ZodObject<{
2193
+ id: z.ZodString;
2194
+ projectId: z.ZodString;
2195
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
2196
+ company: z.ZodObject<{
2197
+ name: z.ZodString;
2198
+ businessNumber: z.ZodOptional<z.ZodString>;
2199
+ website: z.ZodOptional<z.ZodString>;
2200
+ description: z.ZodOptional<z.ZodString>;
2201
+ }, "strip", z.ZodTypeAny, {
2202
+ name: string;
2203
+ description?: string | undefined;
2204
+ businessNumber?: string | undefined;
2205
+ website?: string | undefined;
2206
+ }, {
2207
+ name: string;
2208
+ description?: string | undefined;
2209
+ businessNumber?: string | undefined;
2210
+ website?: string | undefined;
2211
+ }>;
2212
+ primaryContact: z.ZodObject<{
2213
+ firstName: z.ZodString;
2214
+ lastName: z.ZodString;
2215
+ title: z.ZodOptional<z.ZodString>;
2216
+ email: z.ZodString;
2217
+ phone: z.ZodOptional<z.ZodString>;
2218
+ mobile: z.ZodOptional<z.ZodString>;
2219
+ }, "strip", z.ZodTypeAny, {
2220
+ email: string;
2221
+ firstName: string;
2222
+ lastName: string;
2223
+ title?: string | undefined;
2224
+ phone?: string | undefined;
2225
+ mobile?: string | undefined;
2226
+ }, {
2227
+ email: string;
2228
+ firstName: string;
2229
+ lastName: string;
2230
+ title?: string | undefined;
2231
+ phone?: string | undefined;
2232
+ mobile?: string | undefined;
2233
+ }>;
2234
+ address: z.ZodObject<{
2235
+ street: z.ZodString;
2236
+ city: z.ZodString;
2237
+ state: z.ZodString;
2238
+ postalCode: z.ZodString;
2239
+ country: z.ZodString;
2240
+ }, "strip", z.ZodTypeAny, {
2241
+ street: string;
2242
+ city: string;
2243
+ state: string;
2244
+ postalCode: string;
2245
+ country: string;
2246
+ }, {
2247
+ street: string;
2248
+ city: string;
2249
+ state: string;
2250
+ postalCode: string;
2251
+ country: string;
2252
+ }>;
2253
+ trades: z.ZodDefault<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>;
2254
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2255
+ notes: z.ZodOptional<z.ZodString>;
2256
+ status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
2257
+ companyId: z.ZodString;
2258
+ createdAt: z.ZodString;
2259
+ updatedAt: z.ZodString;
2260
+ }, "strip", z.ZodTypeAny, {
2261
+ id: string;
2262
+ createdAt: string;
2263
+ updatedAt: string;
2264
+ companyId: string;
2265
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
2266
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
2267
+ company: {
2268
+ name: string;
2269
+ description?: string | undefined;
2270
+ businessNumber?: string | undefined;
2271
+ website?: string | undefined;
2272
+ };
2273
+ projectId: string;
2274
+ tags: string[];
2275
+ primaryContact: {
2276
+ email: string;
2277
+ firstName: string;
2278
+ lastName: string;
2279
+ title?: string | undefined;
2280
+ phone?: string | undefined;
2281
+ mobile?: string | undefined;
2282
+ };
2283
+ address: {
2284
+ street: string;
2285
+ city: string;
2286
+ state: string;
2287
+ postalCode: string;
2288
+ country: string;
2289
+ };
2290
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
2291
+ notes?: string | undefined;
2292
+ }, {
2293
+ id: string;
2294
+ createdAt: string;
2295
+ updatedAt: string;
2296
+ companyId: string;
2297
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
2298
+ company: {
2299
+ name: string;
2300
+ description?: string | undefined;
2301
+ businessNumber?: string | undefined;
2302
+ website?: string | undefined;
2303
+ };
2304
+ projectId: string;
2305
+ primaryContact: {
2306
+ email: string;
2307
+ firstName: string;
2308
+ lastName: string;
2309
+ title?: string | undefined;
2310
+ phone?: string | undefined;
2311
+ mobile?: string | undefined;
2312
+ };
2313
+ address: {
2314
+ street: string;
2315
+ city: string;
2316
+ state: string;
2317
+ postalCode: string;
2318
+ country: string;
2319
+ };
2320
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
2321
+ notes?: string | undefined;
2322
+ tags?: string[] | undefined;
2323
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
2324
+ }>;
2325
+ }, "strip", z.ZodTypeAny, {
2326
+ id: string;
2327
+ type: "directory-contacts";
2328
+ attributes: {
2329
+ id: string;
2330
+ createdAt: string;
2331
+ updatedAt: string;
2332
+ companyId: string;
2333
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
2334
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
2335
+ company: {
2336
+ name: string;
2337
+ description?: string | undefined;
2338
+ businessNumber?: string | undefined;
2339
+ website?: string | undefined;
2340
+ };
2341
+ projectId: string;
2342
+ tags: string[];
2343
+ primaryContact: {
2344
+ email: string;
2345
+ firstName: string;
2346
+ lastName: string;
2347
+ title?: string | undefined;
2348
+ phone?: string | undefined;
2349
+ mobile?: string | undefined;
2350
+ };
2351
+ address: {
2352
+ street: string;
2353
+ city: string;
2354
+ state: string;
2355
+ postalCode: string;
2356
+ country: string;
2357
+ };
2358
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
2359
+ notes?: string | undefined;
2360
+ };
2361
+ }, {
2362
+ id: string;
2363
+ type: "directory-contacts";
2364
+ attributes: {
2365
+ id: string;
2366
+ createdAt: string;
2367
+ updatedAt: string;
2368
+ companyId: string;
2369
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
2370
+ company: {
2371
+ name: string;
2372
+ description?: string | undefined;
2373
+ businessNumber?: string | undefined;
2374
+ website?: string | undefined;
2375
+ };
2376
+ projectId: string;
2377
+ primaryContact: {
2378
+ email: string;
2379
+ firstName: string;
2380
+ lastName: string;
2381
+ title?: string | undefined;
2382
+ phone?: string | undefined;
2383
+ mobile?: string | undefined;
2384
+ };
2385
+ address: {
2386
+ street: string;
2387
+ city: string;
2388
+ state: string;
2389
+ postalCode: string;
2390
+ country: string;
2391
+ };
2392
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
2393
+ notes?: string | undefined;
2394
+ tags?: string[] | undefined;
2395
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
2396
+ };
2397
+ }>;
2398
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2399
+ links: z.ZodOptional<z.ZodObject<{
2400
+ self: z.ZodString;
2401
+ first: z.ZodOptional<z.ZodString>;
2402
+ last: z.ZodOptional<z.ZodString>;
2403
+ prev: z.ZodOptional<z.ZodString>;
2404
+ next: z.ZodOptional<z.ZodString>;
2405
+ }, "strip", z.ZodTypeAny, {
2406
+ self: string;
2407
+ first?: string | undefined;
2408
+ last?: string | undefined;
2409
+ prev?: string | undefined;
2410
+ next?: string | undefined;
2411
+ }, {
2412
+ self: string;
2413
+ first?: string | undefined;
2414
+ last?: string | undefined;
2415
+ prev?: string | undefined;
2416
+ next?: string | undefined;
2417
+ }>>;
2418
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
2419
+ status: z.ZodString;
2420
+ title: z.ZodString;
2421
+ detail: z.ZodOptional<z.ZodString>;
2422
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2423
+ }, "strip", z.ZodTypeAny, {
2424
+ status: string;
2425
+ title: string;
2426
+ detail?: string | undefined;
2427
+ meta?: Record<string, unknown> | undefined;
2428
+ }, {
2429
+ status: string;
2430
+ title: string;
2431
+ detail?: string | undefined;
2432
+ meta?: Record<string, unknown> | undefined;
2433
+ }>, "many">>;
2434
+ }, "strip", z.ZodTypeAny, {
2435
+ data: {
2436
+ id: string;
2437
+ type: "directory-contacts";
2438
+ attributes: {
2439
+ id: string;
2440
+ createdAt: string;
2441
+ updatedAt: string;
2442
+ companyId: string;
2443
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
2444
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
2445
+ company: {
2446
+ name: string;
2447
+ description?: string | undefined;
2448
+ businessNumber?: string | undefined;
2449
+ website?: string | undefined;
2450
+ };
2451
+ projectId: string;
2452
+ tags: string[];
2453
+ primaryContact: {
2454
+ email: string;
2455
+ firstName: string;
2456
+ lastName: string;
2457
+ title?: string | undefined;
2458
+ phone?: string | undefined;
2459
+ mobile?: string | undefined;
2460
+ };
2461
+ address: {
2462
+ street: string;
2463
+ city: string;
2464
+ state: string;
2465
+ postalCode: string;
2466
+ country: string;
2467
+ };
2468
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
2469
+ notes?: string | undefined;
2470
+ };
2471
+ };
2472
+ meta?: Record<string, unknown> | undefined;
2473
+ links?: {
2474
+ self: string;
2475
+ first?: string | undefined;
2476
+ last?: string | undefined;
2477
+ prev?: string | undefined;
2478
+ next?: string | undefined;
2479
+ } | undefined;
2480
+ errors?: {
2481
+ status: string;
2482
+ title: string;
2483
+ detail?: string | undefined;
2484
+ meta?: Record<string, unknown> | undefined;
2485
+ }[] | undefined;
2486
+ }, {
2487
+ data: {
2488
+ id: string;
2489
+ type: "directory-contacts";
2490
+ attributes: {
2491
+ id: string;
2492
+ createdAt: string;
2493
+ updatedAt: string;
2494
+ companyId: string;
2495
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
2496
+ company: {
2497
+ name: string;
2498
+ description?: string | undefined;
2499
+ businessNumber?: string | undefined;
2500
+ website?: string | undefined;
2501
+ };
2502
+ projectId: string;
2503
+ primaryContact: {
2504
+ email: string;
2505
+ firstName: string;
2506
+ lastName: string;
2507
+ title?: string | undefined;
2508
+ phone?: string | undefined;
2509
+ mobile?: string | undefined;
2510
+ };
2511
+ address: {
2512
+ street: string;
2513
+ city: string;
2514
+ state: string;
2515
+ postalCode: string;
2516
+ country: string;
2517
+ };
2518
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
2519
+ notes?: string | undefined;
2520
+ tags?: string[] | undefined;
2521
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
2522
+ };
2523
+ };
2524
+ meta?: Record<string, unknown> | undefined;
2525
+ links?: {
2526
+ self: string;
2527
+ first?: string | undefined;
2528
+ last?: string | undefined;
2529
+ prev?: string | undefined;
2530
+ next?: string | undefined;
2531
+ } | undefined;
2532
+ errors?: {
2533
+ status: string;
2534
+ title: string;
2535
+ detail?: string | undefined;
2536
+ meta?: Record<string, unknown> | undefined;
2537
+ }[] | undefined;
2538
+ }>;
2539
+ 400: z.ZodObject<{
2540
+ errors: z.ZodArray<z.ZodObject<{
2541
+ status: z.ZodString;
2542
+ title: z.ZodString;
2543
+ detail: z.ZodOptional<z.ZodString>;
2544
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2545
+ }, "strip", z.ZodTypeAny, {
2546
+ status: string;
2547
+ title: string;
2548
+ detail?: string | undefined;
2549
+ meta?: Record<string, unknown> | undefined;
2550
+ }, {
2551
+ status: string;
2552
+ title: string;
2553
+ detail?: string | undefined;
2554
+ meta?: Record<string, unknown> | undefined;
2555
+ }>, "many">;
2556
+ }, "strip", z.ZodTypeAny, {
2557
+ errors: {
2558
+ status: string;
2559
+ title: string;
2560
+ detail?: string | undefined;
2561
+ meta?: Record<string, unknown> | undefined;
2562
+ }[];
2563
+ }, {
2564
+ errors: {
2565
+ status: string;
2566
+ title: string;
2567
+ detail?: string | undefined;
2568
+ meta?: Record<string, unknown> | undefined;
2569
+ }[];
2570
+ }>;
2571
+ 401: z.ZodObject<{
2572
+ errors: z.ZodArray<z.ZodObject<{
2573
+ status: z.ZodString;
2574
+ title: z.ZodString;
2575
+ detail: z.ZodOptional<z.ZodString>;
2576
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2577
+ }, "strip", z.ZodTypeAny, {
2578
+ status: string;
2579
+ title: string;
2580
+ detail?: string | undefined;
2581
+ meta?: Record<string, unknown> | undefined;
2582
+ }, {
2583
+ status: string;
2584
+ title: string;
2585
+ detail?: string | undefined;
2586
+ meta?: Record<string, unknown> | undefined;
2587
+ }>, "many">;
2588
+ }, "strip", z.ZodTypeAny, {
2589
+ errors: {
2590
+ status: string;
2591
+ title: string;
2592
+ detail?: string | undefined;
2593
+ meta?: Record<string, unknown> | undefined;
2594
+ }[];
2595
+ }, {
2596
+ errors: {
2597
+ status: string;
2598
+ title: string;
2599
+ detail?: string | undefined;
2600
+ meta?: Record<string, unknown> | undefined;
2601
+ }[];
2602
+ }>;
2603
+ 403: z.ZodObject<{
2604
+ errors: z.ZodArray<z.ZodObject<{
2605
+ status: z.ZodString;
2606
+ title: z.ZodString;
2607
+ detail: z.ZodOptional<z.ZodString>;
2608
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2609
+ }, "strip", z.ZodTypeAny, {
2610
+ status: string;
2611
+ title: string;
2612
+ detail?: string | undefined;
2613
+ meta?: Record<string, unknown> | undefined;
2614
+ }, {
2615
+ status: string;
2616
+ title: string;
2617
+ detail?: string | undefined;
2618
+ meta?: Record<string, unknown> | undefined;
2619
+ }>, "many">;
2620
+ }, "strip", z.ZodTypeAny, {
2621
+ errors: {
2622
+ status: string;
2623
+ title: string;
2624
+ detail?: string | undefined;
2625
+ meta?: Record<string, unknown> | undefined;
2626
+ }[];
2627
+ }, {
2628
+ errors: {
2629
+ status: string;
2630
+ title: string;
2631
+ detail?: string | undefined;
2632
+ meta?: Record<string, unknown> | undefined;
2633
+ }[];
2634
+ }>;
2635
+ 404: z.ZodObject<{
2636
+ errors: z.ZodArray<z.ZodObject<{
2637
+ status: z.ZodString;
2638
+ title: z.ZodString;
2639
+ detail: z.ZodOptional<z.ZodString>;
2640
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2641
+ }, "strip", z.ZodTypeAny, {
2642
+ status: string;
2643
+ title: string;
2644
+ detail?: string | undefined;
2645
+ meta?: Record<string, unknown> | undefined;
2646
+ }, {
2647
+ status: string;
2648
+ title: string;
2649
+ detail?: string | undefined;
2650
+ meta?: Record<string, unknown> | undefined;
2651
+ }>, "many">;
2652
+ }, "strip", z.ZodTypeAny, {
2653
+ errors: {
2654
+ status: string;
2655
+ title: string;
2656
+ detail?: string | undefined;
2657
+ meta?: Record<string, unknown> | undefined;
2658
+ }[];
2659
+ }, {
2660
+ errors: {
2661
+ status: string;
2662
+ title: string;
2663
+ detail?: string | undefined;
2664
+ meta?: Record<string, unknown> | undefined;
2665
+ }[];
2666
+ }>;
2667
+ };
2668
+ };
2669
+ deleteDirectoryContact: {
2670
+ pathParams: z.ZodObject<{
2671
+ contactId: z.ZodString;
2672
+ }, "strip", z.ZodTypeAny, {
2673
+ contactId: string;
2674
+ }, {
2675
+ contactId: string;
2676
+ }>;
2677
+ query: z.ZodObject<{
2678
+ companyId: z.ZodOptional<z.ZodString>;
2679
+ }, "strip", z.ZodTypeAny, {
2680
+ companyId?: string | undefined;
2681
+ }, {
2682
+ companyId?: string | undefined;
2683
+ }>;
2684
+ summary: "Delete a directory contact";
2685
+ method: "DELETE";
2686
+ path: "/directory/:contactId";
2687
+ responses: {
2688
+ 204: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
2689
+ 401: z.ZodObject<{
2690
+ errors: z.ZodArray<z.ZodObject<{
2691
+ status: z.ZodString;
2692
+ title: z.ZodString;
2693
+ detail: z.ZodOptional<z.ZodString>;
2694
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2695
+ }, "strip", z.ZodTypeAny, {
2696
+ status: string;
2697
+ title: string;
2698
+ detail?: string | undefined;
2699
+ meta?: Record<string, unknown> | undefined;
2700
+ }, {
2701
+ status: string;
2702
+ title: string;
2703
+ detail?: string | undefined;
2704
+ meta?: Record<string, unknown> | undefined;
2705
+ }>, "many">;
2706
+ }, "strip", z.ZodTypeAny, {
2707
+ errors: {
2708
+ status: string;
2709
+ title: string;
2710
+ detail?: string | undefined;
2711
+ meta?: Record<string, unknown> | undefined;
2712
+ }[];
2713
+ }, {
2714
+ errors: {
2715
+ status: string;
2716
+ title: string;
2717
+ detail?: string | undefined;
2718
+ meta?: Record<string, unknown> | undefined;
2719
+ }[];
2720
+ }>;
2721
+ 403: z.ZodObject<{
2722
+ errors: z.ZodArray<z.ZodObject<{
2723
+ status: z.ZodString;
2724
+ title: z.ZodString;
2725
+ detail: z.ZodOptional<z.ZodString>;
2726
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2727
+ }, "strip", z.ZodTypeAny, {
2728
+ status: string;
2729
+ title: string;
2730
+ detail?: string | undefined;
2731
+ meta?: Record<string, unknown> | undefined;
2732
+ }, {
2733
+ status: string;
2734
+ title: string;
2735
+ detail?: string | undefined;
2736
+ meta?: Record<string, unknown> | undefined;
2737
+ }>, "many">;
2738
+ }, "strip", z.ZodTypeAny, {
2739
+ errors: {
2740
+ status: string;
2741
+ title: string;
2742
+ detail?: string | undefined;
2743
+ meta?: Record<string, unknown> | undefined;
2744
+ }[];
2745
+ }, {
2746
+ errors: {
2747
+ status: string;
2748
+ title: string;
2749
+ detail?: string | undefined;
2750
+ meta?: Record<string, unknown> | undefined;
2751
+ }[];
2752
+ }>;
2753
+ 404: z.ZodObject<{
2754
+ errors: z.ZodArray<z.ZodObject<{
2755
+ status: z.ZodString;
2756
+ title: z.ZodString;
2757
+ detail: z.ZodOptional<z.ZodString>;
2758
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2759
+ }, "strip", z.ZodTypeAny, {
2760
+ status: string;
2761
+ title: string;
2762
+ detail?: string | undefined;
2763
+ meta?: Record<string, unknown> | undefined;
2764
+ }, {
2765
+ status: string;
2766
+ title: string;
2767
+ detail?: string | undefined;
2768
+ meta?: Record<string, unknown> | undefined;
2769
+ }>, "many">;
2770
+ }, "strip", z.ZodTypeAny, {
2771
+ errors: {
2772
+ status: string;
2773
+ title: string;
2774
+ detail?: string | undefined;
2775
+ meta?: Record<string, unknown> | undefined;
2776
+ }[];
2777
+ }, {
2778
+ errors: {
2779
+ status: string;
2780
+ title: string;
2781
+ detail?: string | undefined;
2782
+ meta?: Record<string, unknown> | undefined;
2783
+ }[];
2784
+ }>;
2785
+ };
2786
+ };
2787
+ exportDirectory: {
2788
+ pathParams: z.ZodObject<{
2789
+ projectId: z.ZodString;
2790
+ }, "strip", z.ZodTypeAny, {
2791
+ projectId: string;
2792
+ }, {
2793
+ projectId: string;
2794
+ }>;
2795
+ query: z.ZodObject<{
2796
+ companyId: z.ZodOptional<z.ZodString>;
2797
+ }, "strip", z.ZodTypeAny, {
2798
+ companyId?: string | undefined;
2799
+ }, {
2800
+ companyId?: string | undefined;
2801
+ }>;
2802
+ summary: "Export directory contacts in various formats";
2803
+ method: "POST";
2804
+ body: z.ZodObject<{
2805
+ format: z.ZodDefault<z.ZodEnum<["CSV", "EXCEL", "PDF", "VCARD"]>>;
2806
+ filters: z.ZodOptional<z.ZodObject<{
2807
+ page: z.ZodDefault<z.ZodNumber>;
2808
+ limit: z.ZodDefault<z.ZodNumber>;
2809
+ type: z.ZodOptional<z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>>;
2810
+ status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
2811
+ search: z.ZodOptional<z.ZodString>;
2812
+ companyId: z.ZodOptional<z.ZodString>;
2813
+ }, "strip", z.ZodTypeAny, {
2814
+ page: number;
2815
+ limit: number;
2816
+ companyId?: string | undefined;
2817
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
2818
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
2819
+ search?: string | undefined;
2820
+ }, {
2821
+ companyId?: string | undefined;
2822
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
2823
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
2824
+ page?: number | undefined;
2825
+ limit?: number | undefined;
2826
+ search?: string | undefined;
2827
+ }>>;
2828
+ }, "strip", z.ZodTypeAny, {
2829
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
2830
+ filters?: {
2831
+ page: number;
2832
+ limit: number;
2833
+ companyId?: string | undefined;
2834
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
2835
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
2836
+ search?: string | undefined;
2837
+ } | undefined;
2838
+ }, {
2839
+ format?: "PDF" | "EXCEL" | "CSV" | "VCARD" | undefined;
2840
+ filters?: {
2841
+ companyId?: string | undefined;
2842
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
2843
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
2844
+ page?: number | undefined;
2845
+ limit?: number | undefined;
2846
+ search?: string | undefined;
2847
+ } | undefined;
2848
+ }>;
2849
+ path: "/projects/:projectId/directory/export";
2850
+ responses: {
2851
+ 200: z.ZodObject<{
2852
+ data: z.ZodObject<{
2853
+ type: z.ZodLiteral<"directory-exports">;
2854
+ id: z.ZodString;
2855
+ attributes: z.ZodObject<{
2856
+ exportId: z.ZodString;
2857
+ format: z.ZodEnum<["CSV", "EXCEL", "PDF", "VCARD"]>;
2858
+ recordCount: z.ZodNumber;
2859
+ downloadUrl: z.ZodString;
2860
+ expiresAt: z.ZodString;
2861
+ }, "strip", z.ZodTypeAny, {
2862
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
2863
+ downloadUrl: string;
2864
+ exportId: string;
2865
+ recordCount: number;
2866
+ expiresAt: string;
2867
+ }, {
2868
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
2869
+ downloadUrl: string;
2870
+ exportId: string;
2871
+ recordCount: number;
2872
+ expiresAt: string;
2873
+ }>;
2874
+ }, "strip", z.ZodTypeAny, {
2875
+ id: string;
2876
+ type: "directory-exports";
2877
+ attributes: {
2878
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
2879
+ downloadUrl: string;
2880
+ exportId: string;
2881
+ recordCount: number;
2882
+ expiresAt: string;
2883
+ };
2884
+ }, {
2885
+ id: string;
2886
+ type: "directory-exports";
2887
+ attributes: {
2888
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
2889
+ downloadUrl: string;
2890
+ exportId: string;
2891
+ recordCount: number;
2892
+ expiresAt: string;
2893
+ };
2894
+ }>;
2895
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2896
+ links: z.ZodOptional<z.ZodObject<{
2897
+ self: z.ZodString;
2898
+ first: z.ZodOptional<z.ZodString>;
2899
+ last: z.ZodOptional<z.ZodString>;
2900
+ prev: z.ZodOptional<z.ZodString>;
2901
+ next: z.ZodOptional<z.ZodString>;
2902
+ }, "strip", z.ZodTypeAny, {
2903
+ self: string;
2904
+ first?: string | undefined;
2905
+ last?: string | undefined;
2906
+ prev?: string | undefined;
2907
+ next?: string | undefined;
2908
+ }, {
2909
+ self: string;
2910
+ first?: string | undefined;
2911
+ last?: string | undefined;
2912
+ prev?: string | undefined;
2913
+ next?: string | undefined;
2914
+ }>>;
2915
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
2916
+ status: z.ZodString;
2917
+ title: z.ZodString;
2918
+ detail: z.ZodOptional<z.ZodString>;
2919
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2920
+ }, "strip", z.ZodTypeAny, {
2921
+ status: string;
2922
+ title: string;
2923
+ detail?: string | undefined;
2924
+ meta?: Record<string, unknown> | undefined;
2925
+ }, {
2926
+ status: string;
2927
+ title: string;
2928
+ detail?: string | undefined;
2929
+ meta?: Record<string, unknown> | undefined;
2930
+ }>, "many">>;
2931
+ }, "strip", z.ZodTypeAny, {
2932
+ data: {
2933
+ id: string;
2934
+ type: "directory-exports";
2935
+ attributes: {
2936
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
2937
+ downloadUrl: string;
2938
+ exportId: string;
2939
+ recordCount: number;
2940
+ expiresAt: string;
2941
+ };
2942
+ };
2943
+ meta?: Record<string, unknown> | undefined;
2944
+ links?: {
2945
+ self: string;
2946
+ first?: string | undefined;
2947
+ last?: string | undefined;
2948
+ prev?: string | undefined;
2949
+ next?: string | undefined;
2950
+ } | undefined;
2951
+ errors?: {
2952
+ status: string;
2953
+ title: string;
2954
+ detail?: string | undefined;
2955
+ meta?: Record<string, unknown> | undefined;
2956
+ }[] | undefined;
2957
+ }, {
2958
+ data: {
2959
+ id: string;
2960
+ type: "directory-exports";
2961
+ attributes: {
2962
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
2963
+ downloadUrl: string;
2964
+ exportId: string;
2965
+ recordCount: number;
2966
+ expiresAt: string;
2967
+ };
2968
+ };
2969
+ meta?: Record<string, unknown> | undefined;
2970
+ links?: {
2971
+ self: string;
2972
+ first?: string | undefined;
2973
+ last?: string | undefined;
2974
+ prev?: string | undefined;
2975
+ next?: string | undefined;
2976
+ } | undefined;
2977
+ errors?: {
2978
+ status: string;
2979
+ title: string;
2980
+ detail?: string | undefined;
2981
+ meta?: Record<string, unknown> | undefined;
2982
+ }[] | undefined;
2983
+ }>;
2984
+ 400: z.ZodObject<{
2985
+ errors: z.ZodArray<z.ZodObject<{
2986
+ status: z.ZodString;
2987
+ title: z.ZodString;
2988
+ detail: z.ZodOptional<z.ZodString>;
2989
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ status: string;
2992
+ title: string;
2993
+ detail?: string | undefined;
2994
+ meta?: Record<string, unknown> | undefined;
2995
+ }, {
2996
+ status: string;
2997
+ title: string;
2998
+ detail?: string | undefined;
2999
+ meta?: Record<string, unknown> | undefined;
3000
+ }>, "many">;
3001
+ }, "strip", z.ZodTypeAny, {
3002
+ errors: {
3003
+ status: string;
3004
+ title: string;
3005
+ detail?: string | undefined;
3006
+ meta?: Record<string, unknown> | undefined;
3007
+ }[];
3008
+ }, {
3009
+ errors: {
3010
+ status: string;
3011
+ title: string;
3012
+ detail?: string | undefined;
3013
+ meta?: Record<string, unknown> | undefined;
3014
+ }[];
3015
+ }>;
3016
+ 401: z.ZodObject<{
3017
+ errors: z.ZodArray<z.ZodObject<{
3018
+ status: z.ZodString;
3019
+ title: z.ZodString;
3020
+ detail: z.ZodOptional<z.ZodString>;
3021
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3022
+ }, "strip", z.ZodTypeAny, {
3023
+ status: string;
3024
+ title: string;
3025
+ detail?: string | undefined;
3026
+ meta?: Record<string, unknown> | undefined;
3027
+ }, {
3028
+ status: string;
3029
+ title: string;
3030
+ detail?: string | undefined;
3031
+ meta?: Record<string, unknown> | undefined;
3032
+ }>, "many">;
3033
+ }, "strip", z.ZodTypeAny, {
3034
+ errors: {
3035
+ status: string;
3036
+ title: string;
3037
+ detail?: string | undefined;
3038
+ meta?: Record<string, unknown> | undefined;
3039
+ }[];
3040
+ }, {
3041
+ errors: {
3042
+ status: string;
3043
+ title: string;
3044
+ detail?: string | undefined;
3045
+ meta?: Record<string, unknown> | undefined;
3046
+ }[];
3047
+ }>;
3048
+ 403: z.ZodObject<{
3049
+ errors: z.ZodArray<z.ZodObject<{
3050
+ status: z.ZodString;
3051
+ title: z.ZodString;
3052
+ detail: z.ZodOptional<z.ZodString>;
3053
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3054
+ }, "strip", z.ZodTypeAny, {
3055
+ status: string;
3056
+ title: string;
3057
+ detail?: string | undefined;
3058
+ meta?: Record<string, unknown> | undefined;
3059
+ }, {
3060
+ status: string;
3061
+ title: string;
3062
+ detail?: string | undefined;
3063
+ meta?: Record<string, unknown> | undefined;
3064
+ }>, "many">;
3065
+ }, "strip", z.ZodTypeAny, {
3066
+ errors: {
3067
+ status: string;
3068
+ title: string;
3069
+ detail?: string | undefined;
3070
+ meta?: Record<string, unknown> | undefined;
3071
+ }[];
3072
+ }, {
3073
+ errors: {
3074
+ status: string;
3075
+ title: string;
3076
+ detail?: string | undefined;
3077
+ meta?: Record<string, unknown> | undefined;
3078
+ }[];
3079
+ }>;
3080
+ 404: z.ZodObject<{
3081
+ errors: z.ZodArray<z.ZodObject<{
3082
+ status: z.ZodString;
3083
+ title: z.ZodString;
3084
+ detail: z.ZodOptional<z.ZodString>;
3085
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3086
+ }, "strip", z.ZodTypeAny, {
3087
+ status: string;
3088
+ title: string;
3089
+ detail?: string | undefined;
3090
+ meta?: Record<string, unknown> | undefined;
3091
+ }, {
3092
+ status: string;
3093
+ title: string;
3094
+ detail?: string | undefined;
3095
+ meta?: Record<string, unknown> | undefined;
3096
+ }>, "many">;
3097
+ }, "strip", z.ZodTypeAny, {
3098
+ errors: {
3099
+ status: string;
3100
+ title: string;
3101
+ detail?: string | undefined;
3102
+ meta?: Record<string, unknown> | undefined;
3103
+ }[];
3104
+ }, {
3105
+ errors: {
3106
+ status: string;
3107
+ title: string;
3108
+ detail?: string | undefined;
3109
+ meta?: Record<string, unknown> | undefined;
3110
+ }[];
3111
+ }>;
3112
+ };
3113
+ };
3114
+ };
3115
+ export type { DirectoryContact, CreateDirectoryContactRequest, UpdateDirectoryContactRequest, DirectoryFilters, DirectoryContactType, Trade, DirectoryContactStatus, DirectoryExportFormat, DirectoryCompany, DirectoryPrimaryContact, DirectoryAddress, } from '../schemas/directory';
3116
+ //# sourceMappingURL=directory.d.ts.map