@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,783 @@
1
+ import { z } from 'zod';
2
+ export declare const DirectoryContactTypeSchema: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
3
+ export declare const TradeSchema: z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>;
4
+ export declare const DirectoryContactStatusSchema: z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>;
5
+ export declare const DirectoryExportFormatSchema: z.ZodEnum<["CSV", "EXCEL", "PDF", "VCARD"]>;
6
+ export declare const DirectoryCompanySchema: z.ZodObject<{
7
+ name: z.ZodString;
8
+ businessNumber: z.ZodOptional<z.ZodString>;
9
+ website: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ name: string;
13
+ description?: string | undefined;
14
+ businessNumber?: string | undefined;
15
+ website?: string | undefined;
16
+ }, {
17
+ name: string;
18
+ description?: string | undefined;
19
+ businessNumber?: string | undefined;
20
+ website?: string | undefined;
21
+ }>;
22
+ export declare const DirectoryPrimaryContactSchema: z.ZodObject<{
23
+ firstName: z.ZodString;
24
+ lastName: z.ZodString;
25
+ title: z.ZodOptional<z.ZodString>;
26
+ email: z.ZodString;
27
+ phone: z.ZodOptional<z.ZodString>;
28
+ mobile: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ email: string;
31
+ firstName: string;
32
+ lastName: string;
33
+ title?: string | undefined;
34
+ phone?: string | undefined;
35
+ mobile?: string | undefined;
36
+ }, {
37
+ email: string;
38
+ firstName: string;
39
+ lastName: string;
40
+ title?: string | undefined;
41
+ phone?: string | undefined;
42
+ mobile?: string | undefined;
43
+ }>;
44
+ export declare const DirectoryAddressSchema: z.ZodObject<{
45
+ street: z.ZodString;
46
+ city: z.ZodString;
47
+ state: z.ZodString;
48
+ postalCode: z.ZodString;
49
+ country: z.ZodString;
50
+ }, "strip", z.ZodTypeAny, {
51
+ street: string;
52
+ city: string;
53
+ state: string;
54
+ postalCode: string;
55
+ country: string;
56
+ }, {
57
+ street: string;
58
+ city: string;
59
+ state: string;
60
+ postalCode: string;
61
+ country: string;
62
+ }>;
63
+ export declare const DirectoryContactSchema: z.ZodObject<{
64
+ id: z.ZodString;
65
+ projectId: z.ZodString;
66
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
67
+ company: z.ZodObject<{
68
+ name: z.ZodString;
69
+ businessNumber: z.ZodOptional<z.ZodString>;
70
+ website: z.ZodOptional<z.ZodString>;
71
+ description: z.ZodOptional<z.ZodString>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ name: string;
74
+ description?: string | undefined;
75
+ businessNumber?: string | undefined;
76
+ website?: string | undefined;
77
+ }, {
78
+ name: string;
79
+ description?: string | undefined;
80
+ businessNumber?: string | undefined;
81
+ website?: string | undefined;
82
+ }>;
83
+ primaryContact: z.ZodObject<{
84
+ firstName: z.ZodString;
85
+ lastName: z.ZodString;
86
+ title: z.ZodOptional<z.ZodString>;
87
+ email: z.ZodString;
88
+ phone: z.ZodOptional<z.ZodString>;
89
+ mobile: z.ZodOptional<z.ZodString>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ email: string;
92
+ firstName: string;
93
+ lastName: string;
94
+ title?: string | undefined;
95
+ phone?: string | undefined;
96
+ mobile?: string | undefined;
97
+ }, {
98
+ email: string;
99
+ firstName: string;
100
+ lastName: string;
101
+ title?: string | undefined;
102
+ phone?: string | undefined;
103
+ mobile?: string | undefined;
104
+ }>;
105
+ address: z.ZodObject<{
106
+ street: z.ZodString;
107
+ city: z.ZodString;
108
+ state: z.ZodString;
109
+ postalCode: z.ZodString;
110
+ country: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ street: string;
113
+ city: string;
114
+ state: string;
115
+ postalCode: string;
116
+ country: string;
117
+ }, {
118
+ street: string;
119
+ city: string;
120
+ state: string;
121
+ postalCode: string;
122
+ country: string;
123
+ }>;
124
+ trades: z.ZodDefault<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>;
125
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
126
+ notes: z.ZodOptional<z.ZodString>;
127
+ status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
128
+ companyId: z.ZodString;
129
+ createdAt: z.ZodString;
130
+ updatedAt: z.ZodString;
131
+ }, "strip", z.ZodTypeAny, {
132
+ id: string;
133
+ createdAt: string;
134
+ updatedAt: string;
135
+ companyId: string;
136
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
137
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
138
+ company: {
139
+ name: string;
140
+ description?: string | undefined;
141
+ businessNumber?: string | undefined;
142
+ website?: string | undefined;
143
+ };
144
+ projectId: string;
145
+ tags: string[];
146
+ primaryContact: {
147
+ email: string;
148
+ firstName: string;
149
+ lastName: string;
150
+ title?: string | undefined;
151
+ phone?: string | undefined;
152
+ mobile?: string | undefined;
153
+ };
154
+ address: {
155
+ street: string;
156
+ city: string;
157
+ state: string;
158
+ postalCode: string;
159
+ country: string;
160
+ };
161
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
162
+ notes?: string | undefined;
163
+ }, {
164
+ id: string;
165
+ createdAt: string;
166
+ updatedAt: string;
167
+ companyId: string;
168
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
169
+ company: {
170
+ name: string;
171
+ description?: string | undefined;
172
+ businessNumber?: string | undefined;
173
+ website?: string | undefined;
174
+ };
175
+ projectId: string;
176
+ primaryContact: {
177
+ email: string;
178
+ firstName: string;
179
+ lastName: string;
180
+ title?: string | undefined;
181
+ phone?: string | undefined;
182
+ mobile?: string | undefined;
183
+ };
184
+ address: {
185
+ street: string;
186
+ city: string;
187
+ state: string;
188
+ postalCode: string;
189
+ country: string;
190
+ };
191
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
192
+ notes?: string | undefined;
193
+ tags?: string[] | undefined;
194
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
195
+ }>;
196
+ export declare const CreateDirectoryContactRequestSchema: z.ZodObject<{
197
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
198
+ company: z.ZodObject<{
199
+ name: z.ZodString;
200
+ businessNumber: z.ZodOptional<z.ZodString>;
201
+ website: z.ZodOptional<z.ZodString>;
202
+ description: z.ZodOptional<z.ZodString>;
203
+ }, "strip", z.ZodTypeAny, {
204
+ name: string;
205
+ description?: string | undefined;
206
+ businessNumber?: string | undefined;
207
+ website?: string | undefined;
208
+ }, {
209
+ name: string;
210
+ description?: string | undefined;
211
+ businessNumber?: string | undefined;
212
+ website?: string | undefined;
213
+ }>;
214
+ primaryContact: z.ZodObject<{
215
+ firstName: z.ZodString;
216
+ lastName: z.ZodString;
217
+ title: z.ZodOptional<z.ZodString>;
218
+ email: z.ZodString;
219
+ phone: z.ZodOptional<z.ZodString>;
220
+ mobile: z.ZodOptional<z.ZodString>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ email: string;
223
+ firstName: string;
224
+ lastName: string;
225
+ title?: string | undefined;
226
+ phone?: string | undefined;
227
+ mobile?: string | undefined;
228
+ }, {
229
+ email: string;
230
+ firstName: string;
231
+ lastName: string;
232
+ title?: string | undefined;
233
+ phone?: string | undefined;
234
+ mobile?: string | undefined;
235
+ }>;
236
+ address: z.ZodObject<{
237
+ street: z.ZodString;
238
+ city: z.ZodString;
239
+ state: z.ZodString;
240
+ postalCode: z.ZodString;
241
+ country: z.ZodString;
242
+ }, "strip", z.ZodTypeAny, {
243
+ street: string;
244
+ city: string;
245
+ state: string;
246
+ postalCode: string;
247
+ country: string;
248
+ }, {
249
+ street: string;
250
+ city: string;
251
+ state: string;
252
+ postalCode: string;
253
+ country: string;
254
+ }>;
255
+ trades: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>>;
256
+ tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
257
+ notes: z.ZodOptional<z.ZodString>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
260
+ company: {
261
+ name: string;
262
+ description?: string | undefined;
263
+ businessNumber?: string | undefined;
264
+ website?: string | undefined;
265
+ };
266
+ tags: string[];
267
+ primaryContact: {
268
+ email: string;
269
+ firstName: string;
270
+ lastName: string;
271
+ title?: string | undefined;
272
+ phone?: string | undefined;
273
+ mobile?: string | undefined;
274
+ };
275
+ address: {
276
+ street: string;
277
+ city: string;
278
+ state: string;
279
+ postalCode: string;
280
+ country: string;
281
+ };
282
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
283
+ notes?: string | undefined;
284
+ }, {
285
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
286
+ company: {
287
+ name: string;
288
+ description?: string | undefined;
289
+ businessNumber?: string | undefined;
290
+ website?: string | undefined;
291
+ };
292
+ primaryContact: {
293
+ email: string;
294
+ firstName: string;
295
+ lastName: string;
296
+ title?: string | undefined;
297
+ phone?: string | undefined;
298
+ mobile?: string | undefined;
299
+ };
300
+ address: {
301
+ street: string;
302
+ city: string;
303
+ state: string;
304
+ postalCode: string;
305
+ country: string;
306
+ };
307
+ notes?: string | undefined;
308
+ tags?: string[] | undefined;
309
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
310
+ }>;
311
+ export declare const UpdateDirectoryContactRequestSchema: z.ZodObject<{
312
+ type: z.ZodOptional<z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>>;
313
+ company: z.ZodOptional<z.ZodObject<{
314
+ name: z.ZodString;
315
+ businessNumber: z.ZodOptional<z.ZodString>;
316
+ website: z.ZodOptional<z.ZodString>;
317
+ description: z.ZodOptional<z.ZodString>;
318
+ }, "strip", z.ZodTypeAny, {
319
+ name: string;
320
+ description?: string | undefined;
321
+ businessNumber?: string | undefined;
322
+ website?: string | undefined;
323
+ }, {
324
+ name: string;
325
+ description?: string | undefined;
326
+ businessNumber?: string | undefined;
327
+ website?: string | undefined;
328
+ }>>;
329
+ primaryContact: z.ZodOptional<z.ZodObject<{
330
+ firstName: z.ZodString;
331
+ lastName: z.ZodString;
332
+ title: z.ZodOptional<z.ZodString>;
333
+ email: z.ZodString;
334
+ phone: z.ZodOptional<z.ZodString>;
335
+ mobile: z.ZodOptional<z.ZodString>;
336
+ }, "strip", z.ZodTypeAny, {
337
+ email: string;
338
+ firstName: string;
339
+ lastName: string;
340
+ title?: string | undefined;
341
+ phone?: string | undefined;
342
+ mobile?: string | undefined;
343
+ }, {
344
+ email: string;
345
+ firstName: string;
346
+ lastName: string;
347
+ title?: string | undefined;
348
+ phone?: string | undefined;
349
+ mobile?: string | undefined;
350
+ }>>;
351
+ address: z.ZodOptional<z.ZodObject<{
352
+ street: z.ZodString;
353
+ city: z.ZodString;
354
+ state: z.ZodString;
355
+ postalCode: z.ZodString;
356
+ country: z.ZodString;
357
+ }, "strip", z.ZodTypeAny, {
358
+ street: string;
359
+ city: string;
360
+ state: string;
361
+ postalCode: string;
362
+ country: string;
363
+ }, {
364
+ street: string;
365
+ city: string;
366
+ state: string;
367
+ postalCode: string;
368
+ country: string;
369
+ }>>;
370
+ 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">>>>;
371
+ tags: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
372
+ notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
373
+ }, "strip", z.ZodTypeAny, {
374
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
375
+ company?: {
376
+ name: string;
377
+ description?: string | undefined;
378
+ businessNumber?: string | undefined;
379
+ website?: string | undefined;
380
+ } | undefined;
381
+ notes?: string | undefined;
382
+ tags?: string[] | undefined;
383
+ primaryContact?: {
384
+ email: string;
385
+ firstName: string;
386
+ lastName: string;
387
+ title?: string | undefined;
388
+ phone?: string | undefined;
389
+ mobile?: string | undefined;
390
+ } | undefined;
391
+ address?: {
392
+ street: string;
393
+ city: string;
394
+ state: string;
395
+ postalCode: string;
396
+ country: string;
397
+ } | undefined;
398
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
399
+ }, {
400
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
401
+ company?: {
402
+ name: string;
403
+ description?: string | undefined;
404
+ businessNumber?: string | undefined;
405
+ website?: string | undefined;
406
+ } | undefined;
407
+ notes?: string | undefined;
408
+ tags?: string[] | undefined;
409
+ primaryContact?: {
410
+ email: string;
411
+ firstName: string;
412
+ lastName: string;
413
+ title?: string | undefined;
414
+ phone?: string | undefined;
415
+ mobile?: string | undefined;
416
+ } | undefined;
417
+ address?: {
418
+ street: string;
419
+ city: string;
420
+ state: string;
421
+ postalCode: string;
422
+ country: string;
423
+ } | undefined;
424
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
425
+ }>;
426
+ export declare const DirectoryFiltersSchema: z.ZodObject<{
427
+ page: z.ZodDefault<z.ZodNumber>;
428
+ limit: z.ZodDefault<z.ZodNumber>;
429
+ type: z.ZodOptional<z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>>;
430
+ status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
431
+ search: z.ZodOptional<z.ZodString>;
432
+ companyId: z.ZodOptional<z.ZodString>;
433
+ }, "strip", z.ZodTypeAny, {
434
+ page: number;
435
+ limit: number;
436
+ companyId?: string | undefined;
437
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
438
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
439
+ search?: string | undefined;
440
+ }, {
441
+ companyId?: string | undefined;
442
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
443
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
444
+ page?: number | undefined;
445
+ limit?: number | undefined;
446
+ search?: string | undefined;
447
+ }>;
448
+ export declare const DirectoryQueryParamsSchema: z.ZodObject<{
449
+ companyId: z.ZodOptional<z.ZodString>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ companyId?: string | undefined;
452
+ }, {
453
+ companyId?: string | undefined;
454
+ }>;
455
+ export declare const DirectorySearchQuerySchema: z.ZodObject<{
456
+ companyId: z.ZodOptional<z.ZodString>;
457
+ } & {
458
+ q: z.ZodString;
459
+ projectId: z.ZodOptional<z.ZodString>;
460
+ limit: z.ZodDefault<z.ZodNumber>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ limit: number;
463
+ q: string;
464
+ companyId?: string | undefined;
465
+ projectId?: string | undefined;
466
+ }, {
467
+ q: string;
468
+ companyId?: string | undefined;
469
+ limit?: number | undefined;
470
+ projectId?: string | undefined;
471
+ }>;
472
+ export declare const DirectoryExportRequestSchema: z.ZodObject<{
473
+ format: z.ZodDefault<z.ZodEnum<["CSV", "EXCEL", "PDF", "VCARD"]>>;
474
+ filters: z.ZodOptional<z.ZodObject<{
475
+ page: z.ZodDefault<z.ZodNumber>;
476
+ limit: z.ZodDefault<z.ZodNumber>;
477
+ type: z.ZodOptional<z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>>;
478
+ status: z.ZodOptional<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
479
+ search: z.ZodOptional<z.ZodString>;
480
+ companyId: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ page: number;
483
+ limit: number;
484
+ companyId?: string | undefined;
485
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
486
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
487
+ search?: string | undefined;
488
+ }, {
489
+ companyId?: string | undefined;
490
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
491
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
492
+ page?: number | undefined;
493
+ limit?: number | undefined;
494
+ search?: string | undefined;
495
+ }>>;
496
+ }, "strip", z.ZodTypeAny, {
497
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
498
+ filters?: {
499
+ page: number;
500
+ limit: number;
501
+ companyId?: string | undefined;
502
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
503
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
504
+ search?: string | undefined;
505
+ } | undefined;
506
+ }, {
507
+ format?: "PDF" | "EXCEL" | "CSV" | "VCARD" | undefined;
508
+ filters?: {
509
+ companyId?: string | undefined;
510
+ type?: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY" | undefined;
511
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
512
+ page?: number | undefined;
513
+ limit?: number | undefined;
514
+ search?: string | undefined;
515
+ } | undefined;
516
+ }>;
517
+ export declare const DirectoryContactResourceSchema: z.ZodObject<{
518
+ type: z.ZodLiteral<"directory-contacts">;
519
+ id: z.ZodString;
520
+ attributes: z.ZodObject<{
521
+ id: z.ZodString;
522
+ projectId: z.ZodString;
523
+ type: z.ZodEnum<["INTERNAL", "CONTRACTOR", "SUBCONTRACTOR", "SUPPLIER", "CONSULTANT", "CLIENT", "AUTHORITY", "VENDOR", "OTHER"]>;
524
+ company: z.ZodObject<{
525
+ name: z.ZodString;
526
+ businessNumber: z.ZodOptional<z.ZodString>;
527
+ website: z.ZodOptional<z.ZodString>;
528
+ description: z.ZodOptional<z.ZodString>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ name: string;
531
+ description?: string | undefined;
532
+ businessNumber?: string | undefined;
533
+ website?: string | undefined;
534
+ }, {
535
+ name: string;
536
+ description?: string | undefined;
537
+ businessNumber?: string | undefined;
538
+ website?: string | undefined;
539
+ }>;
540
+ primaryContact: z.ZodObject<{
541
+ firstName: z.ZodString;
542
+ lastName: z.ZodString;
543
+ title: z.ZodOptional<z.ZodString>;
544
+ email: z.ZodString;
545
+ phone: z.ZodOptional<z.ZodString>;
546
+ mobile: z.ZodOptional<z.ZodString>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ email: string;
549
+ firstName: string;
550
+ lastName: string;
551
+ title?: string | undefined;
552
+ phone?: string | undefined;
553
+ mobile?: string | undefined;
554
+ }, {
555
+ email: string;
556
+ firstName: string;
557
+ lastName: string;
558
+ title?: string | undefined;
559
+ phone?: string | undefined;
560
+ mobile?: string | undefined;
561
+ }>;
562
+ address: z.ZodObject<{
563
+ street: z.ZodString;
564
+ city: z.ZodString;
565
+ state: z.ZodString;
566
+ postalCode: z.ZodString;
567
+ country: z.ZodString;
568
+ }, "strip", z.ZodTypeAny, {
569
+ street: string;
570
+ city: string;
571
+ state: string;
572
+ postalCode: string;
573
+ country: string;
574
+ }, {
575
+ street: string;
576
+ city: string;
577
+ state: string;
578
+ postalCode: string;
579
+ country: string;
580
+ }>;
581
+ trades: z.ZodDefault<z.ZodArray<z.ZodEnum<["GENERAL", "ELECTRICAL", "PLUMBING", "HVAC", "DRYWALL", "PAINTING", "FLOORING", "ROOFING", "CONCRETE", "STEEL", "CARPENTRY", "MASONRY", "LANDSCAPING"]>, "many">>;
582
+ tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
583
+ notes: z.ZodOptional<z.ZodString>;
584
+ status: z.ZodDefault<z.ZodEnum<["ACTIVE", "INACTIVE", "PENDING", "SUSPENDED"]>>;
585
+ companyId: z.ZodString;
586
+ createdAt: z.ZodString;
587
+ updatedAt: z.ZodString;
588
+ }, "strip", z.ZodTypeAny, {
589
+ id: string;
590
+ createdAt: string;
591
+ updatedAt: string;
592
+ companyId: string;
593
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
594
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
595
+ company: {
596
+ name: string;
597
+ description?: string | undefined;
598
+ businessNumber?: string | undefined;
599
+ website?: string | undefined;
600
+ };
601
+ projectId: string;
602
+ tags: string[];
603
+ primaryContact: {
604
+ email: string;
605
+ firstName: string;
606
+ lastName: string;
607
+ title?: string | undefined;
608
+ phone?: string | undefined;
609
+ mobile?: string | undefined;
610
+ };
611
+ address: {
612
+ street: string;
613
+ city: string;
614
+ state: string;
615
+ postalCode: string;
616
+ country: string;
617
+ };
618
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
619
+ notes?: string | undefined;
620
+ }, {
621
+ id: string;
622
+ createdAt: string;
623
+ updatedAt: string;
624
+ companyId: string;
625
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
626
+ company: {
627
+ name: string;
628
+ description?: string | undefined;
629
+ businessNumber?: string | undefined;
630
+ website?: string | undefined;
631
+ };
632
+ projectId: string;
633
+ primaryContact: {
634
+ email: string;
635
+ firstName: string;
636
+ lastName: string;
637
+ title?: string | undefined;
638
+ phone?: string | undefined;
639
+ mobile?: string | undefined;
640
+ };
641
+ address: {
642
+ street: string;
643
+ city: string;
644
+ state: string;
645
+ postalCode: string;
646
+ country: string;
647
+ };
648
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
649
+ notes?: string | undefined;
650
+ tags?: string[] | undefined;
651
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
652
+ }>;
653
+ }, "strip", z.ZodTypeAny, {
654
+ id: string;
655
+ type: "directory-contacts";
656
+ attributes: {
657
+ id: string;
658
+ createdAt: string;
659
+ updatedAt: string;
660
+ companyId: string;
661
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
662
+ status: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED";
663
+ company: {
664
+ name: string;
665
+ description?: string | undefined;
666
+ businessNumber?: string | undefined;
667
+ website?: string | undefined;
668
+ };
669
+ projectId: string;
670
+ tags: string[];
671
+ primaryContact: {
672
+ email: string;
673
+ firstName: string;
674
+ lastName: string;
675
+ title?: string | undefined;
676
+ phone?: string | undefined;
677
+ mobile?: string | undefined;
678
+ };
679
+ address: {
680
+ street: string;
681
+ city: string;
682
+ state: string;
683
+ postalCode: string;
684
+ country: string;
685
+ };
686
+ trades: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[];
687
+ notes?: string | undefined;
688
+ };
689
+ }, {
690
+ id: string;
691
+ type: "directory-contacts";
692
+ attributes: {
693
+ id: string;
694
+ createdAt: string;
695
+ updatedAt: string;
696
+ companyId: string;
697
+ type: "OTHER" | "CONTRACTOR" | "SUBCONTRACTOR" | "CLIENT" | "CONSULTANT" | "VENDOR" | "INTERNAL" | "SUPPLIER" | "AUTHORITY";
698
+ company: {
699
+ name: string;
700
+ description?: string | undefined;
701
+ businessNumber?: string | undefined;
702
+ website?: string | undefined;
703
+ };
704
+ projectId: string;
705
+ primaryContact: {
706
+ email: string;
707
+ firstName: string;
708
+ lastName: string;
709
+ title?: string | undefined;
710
+ phone?: string | undefined;
711
+ mobile?: string | undefined;
712
+ };
713
+ address: {
714
+ street: string;
715
+ city: string;
716
+ state: string;
717
+ postalCode: string;
718
+ country: string;
719
+ };
720
+ status?: "ACTIVE" | "PENDING" | "INACTIVE" | "SUSPENDED" | undefined;
721
+ notes?: string | undefined;
722
+ tags?: string[] | undefined;
723
+ trades?: ("GENERAL" | "ELECTRICAL" | "PLUMBING" | "HVAC" | "CONCRETE" | "MASONRY" | "STEEL" | "CARPENTRY" | "ROOFING" | "DRYWALL" | "FLOORING" | "LANDSCAPING" | "PAINTING")[] | undefined;
724
+ };
725
+ }>;
726
+ export declare const DirectoryExportResourceSchema: z.ZodObject<{
727
+ type: z.ZodLiteral<"directory-exports">;
728
+ id: z.ZodString;
729
+ attributes: z.ZodObject<{
730
+ exportId: z.ZodString;
731
+ format: z.ZodEnum<["CSV", "EXCEL", "PDF", "VCARD"]>;
732
+ recordCount: z.ZodNumber;
733
+ downloadUrl: z.ZodString;
734
+ expiresAt: z.ZodString;
735
+ }, "strip", z.ZodTypeAny, {
736
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
737
+ downloadUrl: string;
738
+ exportId: string;
739
+ recordCount: number;
740
+ expiresAt: string;
741
+ }, {
742
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
743
+ downloadUrl: string;
744
+ exportId: string;
745
+ recordCount: number;
746
+ expiresAt: string;
747
+ }>;
748
+ }, "strip", z.ZodTypeAny, {
749
+ id: string;
750
+ type: "directory-exports";
751
+ attributes: {
752
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
753
+ downloadUrl: string;
754
+ exportId: string;
755
+ recordCount: number;
756
+ expiresAt: string;
757
+ };
758
+ }, {
759
+ id: string;
760
+ type: "directory-exports";
761
+ attributes: {
762
+ format: "PDF" | "EXCEL" | "CSV" | "VCARD";
763
+ downloadUrl: string;
764
+ exportId: string;
765
+ recordCount: number;
766
+ expiresAt: string;
767
+ };
768
+ }>;
769
+ export type DirectoryContact = z.infer<typeof DirectoryContactSchema>;
770
+ export type DirectoryContactType = z.infer<typeof DirectoryContactTypeSchema>;
771
+ export type Trade = z.infer<typeof TradeSchema>;
772
+ export type DirectoryContactStatus = z.infer<typeof DirectoryContactStatusSchema>;
773
+ export type DirectoryExportFormat = z.infer<typeof DirectoryExportFormatSchema>;
774
+ export type DirectoryCompany = z.infer<typeof DirectoryCompanySchema>;
775
+ export type DirectoryPrimaryContact = z.infer<typeof DirectoryPrimaryContactSchema>;
776
+ export type DirectoryAddress = z.infer<typeof DirectoryAddressSchema>;
777
+ export type CreateDirectoryContactRequest = z.infer<typeof CreateDirectoryContactRequestSchema>;
778
+ export type UpdateDirectoryContactRequest = z.infer<typeof UpdateDirectoryContactRequestSchema>;
779
+ export type DirectoryFilters = z.infer<typeof DirectoryFiltersSchema>;
780
+ export type DirectoryQueryParams = z.infer<typeof DirectoryQueryParamsSchema>;
781
+ export type DirectorySearchQuery = z.infer<typeof DirectorySearchQuerySchema>;
782
+ export type DirectoryExportRequest = z.infer<typeof DirectoryExportRequestSchema>;
783
+ //# sourceMappingURL=directory.d.ts.map