@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,1475 @@
1
+ import { z } from 'zod';
2
+ export declare const commercialContract: {
3
+ listPlans: {
4
+ summary: "List NGN commercial bands/plans";
5
+ method: "GET";
6
+ path: "/commercial/plans";
7
+ responses: {
8
+ 200: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ type: z.ZodLiteral<"commercial-plans">;
11
+ id: z.ZodString;
12
+ attributes: z.ZodObject<Omit<{
13
+ id: z.ZodString;
14
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ band: z.ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
16
+ currency: z.ZodString;
17
+ monthlyPrice: z.ZodNumber;
18
+ freeClientSeats: z.ZodNumber;
19
+ freeConsultantSeats: z.ZodNumber;
20
+ isActive: z.ZodBoolean;
21
+ createdAt: z.ZodString;
22
+ updatedAt: z.ZodString;
23
+ }, "id">, "strip", z.ZodTypeAny, {
24
+ createdAt: string;
25
+ updatedAt: string;
26
+ isActive: boolean;
27
+ monthlyPrice: number;
28
+ currency: string;
29
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
30
+ freeClientSeats: number;
31
+ freeConsultantSeats: number;
32
+ companyId?: string | null | undefined;
33
+ }, {
34
+ createdAt: string;
35
+ updatedAt: string;
36
+ isActive: boolean;
37
+ monthlyPrice: number;
38
+ currency: string;
39
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
40
+ freeClientSeats: number;
41
+ freeConsultantSeats: number;
42
+ companyId?: string | null | undefined;
43
+ }>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ id: string;
46
+ type: "commercial-plans";
47
+ attributes: {
48
+ createdAt: string;
49
+ updatedAt: string;
50
+ isActive: boolean;
51
+ monthlyPrice: number;
52
+ currency: string;
53
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
54
+ freeClientSeats: number;
55
+ freeConsultantSeats: number;
56
+ companyId?: string | null | undefined;
57
+ };
58
+ }, {
59
+ id: string;
60
+ type: "commercial-plans";
61
+ attributes: {
62
+ createdAt: string;
63
+ updatedAt: string;
64
+ isActive: boolean;
65
+ monthlyPrice: number;
66
+ currency: string;
67
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
68
+ freeClientSeats: number;
69
+ freeConsultantSeats: number;
70
+ companyId?: string | null | undefined;
71
+ };
72
+ }>, "many">;
73
+ meta: z.ZodOptional<z.ZodObject<{
74
+ total: z.ZodOptional<z.ZodNumber>;
75
+ page: z.ZodOptional<z.ZodNumber>;
76
+ size: z.ZodOptional<z.ZodNumber>;
77
+ pages: z.ZodOptional<z.ZodNumber>;
78
+ hasNextPage: z.ZodOptional<z.ZodBoolean>;
79
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ page?: number | undefined;
82
+ total?: number | undefined;
83
+ size?: number | undefined;
84
+ pages?: number | undefined;
85
+ hasNextPage?: boolean | undefined;
86
+ hasPreviousPage?: boolean | undefined;
87
+ }, {
88
+ page?: number | undefined;
89
+ total?: number | undefined;
90
+ size?: number | undefined;
91
+ pages?: number | undefined;
92
+ hasNextPage?: boolean | undefined;
93
+ hasPreviousPage?: boolean | undefined;
94
+ }>>;
95
+ links: z.ZodOptional<z.ZodObject<{
96
+ self: z.ZodString;
97
+ first: z.ZodOptional<z.ZodString>;
98
+ last: z.ZodOptional<z.ZodString>;
99
+ prev: z.ZodOptional<z.ZodString>;
100
+ next: z.ZodOptional<z.ZodString>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ self: string;
103
+ first?: string | undefined;
104
+ last?: string | undefined;
105
+ prev?: string | undefined;
106
+ next?: string | undefined;
107
+ }, {
108
+ self: string;
109
+ first?: string | undefined;
110
+ last?: string | undefined;
111
+ prev?: string | undefined;
112
+ next?: string | undefined;
113
+ }>>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ data: {
116
+ id: string;
117
+ type: "commercial-plans";
118
+ attributes: {
119
+ createdAt: string;
120
+ updatedAt: string;
121
+ isActive: boolean;
122
+ monthlyPrice: number;
123
+ currency: string;
124
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
125
+ freeClientSeats: number;
126
+ freeConsultantSeats: number;
127
+ companyId?: string | null | undefined;
128
+ };
129
+ }[];
130
+ meta?: {
131
+ page?: number | undefined;
132
+ total?: number | undefined;
133
+ size?: number | undefined;
134
+ pages?: number | undefined;
135
+ hasNextPage?: boolean | undefined;
136
+ hasPreviousPage?: boolean | undefined;
137
+ } | undefined;
138
+ links?: {
139
+ self: string;
140
+ first?: string | undefined;
141
+ last?: string | undefined;
142
+ prev?: string | undefined;
143
+ next?: string | undefined;
144
+ } | undefined;
145
+ }, {
146
+ data: {
147
+ id: string;
148
+ type: "commercial-plans";
149
+ attributes: {
150
+ createdAt: string;
151
+ updatedAt: string;
152
+ isActive: boolean;
153
+ monthlyPrice: number;
154
+ currency: string;
155
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
156
+ freeClientSeats: number;
157
+ freeConsultantSeats: number;
158
+ companyId?: string | null | undefined;
159
+ };
160
+ }[];
161
+ meta?: {
162
+ page?: number | undefined;
163
+ total?: number | undefined;
164
+ size?: number | undefined;
165
+ pages?: number | undefined;
166
+ hasNextPage?: boolean | undefined;
167
+ hasPreviousPage?: boolean | undefined;
168
+ } | undefined;
169
+ links?: {
170
+ self: string;
171
+ first?: string | undefined;
172
+ last?: string | undefined;
173
+ prev?: string | undefined;
174
+ next?: string | undefined;
175
+ } | undefined;
176
+ }>;
177
+ 401: z.ZodObject<{
178
+ errors: z.ZodArray<z.ZodObject<{
179
+ status: z.ZodString;
180
+ title: z.ZodString;
181
+ detail: z.ZodOptional<z.ZodString>;
182
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ status: string;
185
+ title: string;
186
+ detail?: string | undefined;
187
+ meta?: Record<string, unknown> | undefined;
188
+ }, {
189
+ status: string;
190
+ title: string;
191
+ detail?: string | undefined;
192
+ meta?: Record<string, unknown> | undefined;
193
+ }>, "many">;
194
+ }, "strip", z.ZodTypeAny, {
195
+ errors: {
196
+ status: string;
197
+ title: string;
198
+ detail?: string | undefined;
199
+ meta?: Record<string, unknown> | undefined;
200
+ }[];
201
+ }, {
202
+ errors: {
203
+ status: string;
204
+ title: string;
205
+ detail?: string | undefined;
206
+ meta?: Record<string, unknown> | undefined;
207
+ }[];
208
+ }>;
209
+ 403: z.ZodObject<{
210
+ errors: z.ZodArray<z.ZodObject<{
211
+ status: z.ZodString;
212
+ title: z.ZodString;
213
+ detail: z.ZodOptional<z.ZodString>;
214
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ status: string;
217
+ title: string;
218
+ detail?: string | undefined;
219
+ meta?: Record<string, unknown> | undefined;
220
+ }, {
221
+ status: string;
222
+ title: string;
223
+ detail?: string | undefined;
224
+ meta?: Record<string, unknown> | undefined;
225
+ }>, "many">;
226
+ }, "strip", z.ZodTypeAny, {
227
+ errors: {
228
+ status: string;
229
+ title: string;
230
+ detail?: string | undefined;
231
+ meta?: Record<string, unknown> | undefined;
232
+ }[];
233
+ }, {
234
+ errors: {
235
+ status: string;
236
+ title: string;
237
+ detail?: string | undefined;
238
+ meta?: Record<string, unknown> | undefined;
239
+ }[];
240
+ }>;
241
+ };
242
+ };
243
+ upsertPlan: {
244
+ summary: "Create or update a commercial plan band";
245
+ method: "POST";
246
+ body: z.ZodObject<{
247
+ band: z.ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
248
+ monthlyPrice: z.ZodNumber;
249
+ currency: z.ZodDefault<z.ZodString>;
250
+ freeClientSeats: z.ZodDefault<z.ZodNumber>;
251
+ freeConsultantSeats: z.ZodDefault<z.ZodNumber>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ monthlyPrice: number;
254
+ currency: string;
255
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
256
+ freeClientSeats: number;
257
+ freeConsultantSeats: number;
258
+ }, {
259
+ monthlyPrice: number;
260
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
261
+ currency?: string | undefined;
262
+ freeClientSeats?: number | undefined;
263
+ freeConsultantSeats?: number | undefined;
264
+ }>;
265
+ path: "/commercial/plans";
266
+ responses: {
267
+ 201: z.ZodObject<{
268
+ data: z.ZodObject<{
269
+ type: z.ZodLiteral<"commercial-plans">;
270
+ id: z.ZodString;
271
+ attributes: z.ZodObject<Omit<{
272
+ id: z.ZodString;
273
+ companyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ band: z.ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
275
+ currency: z.ZodString;
276
+ monthlyPrice: z.ZodNumber;
277
+ freeClientSeats: z.ZodNumber;
278
+ freeConsultantSeats: z.ZodNumber;
279
+ isActive: z.ZodBoolean;
280
+ createdAt: z.ZodString;
281
+ updatedAt: z.ZodString;
282
+ }, "id">, "strip", z.ZodTypeAny, {
283
+ createdAt: string;
284
+ updatedAt: string;
285
+ isActive: boolean;
286
+ monthlyPrice: number;
287
+ currency: string;
288
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
289
+ freeClientSeats: number;
290
+ freeConsultantSeats: number;
291
+ companyId?: string | null | undefined;
292
+ }, {
293
+ createdAt: string;
294
+ updatedAt: string;
295
+ isActive: boolean;
296
+ monthlyPrice: number;
297
+ currency: string;
298
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
299
+ freeClientSeats: number;
300
+ freeConsultantSeats: number;
301
+ companyId?: string | null | undefined;
302
+ }>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ id: string;
305
+ type: "commercial-plans";
306
+ attributes: {
307
+ createdAt: string;
308
+ updatedAt: string;
309
+ isActive: boolean;
310
+ monthlyPrice: number;
311
+ currency: string;
312
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
313
+ freeClientSeats: number;
314
+ freeConsultantSeats: number;
315
+ companyId?: string | null | undefined;
316
+ };
317
+ }, {
318
+ id: string;
319
+ type: "commercial-plans";
320
+ attributes: {
321
+ createdAt: string;
322
+ updatedAt: string;
323
+ isActive: boolean;
324
+ monthlyPrice: number;
325
+ currency: string;
326
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
327
+ freeClientSeats: number;
328
+ freeConsultantSeats: number;
329
+ companyId?: string | null | undefined;
330
+ };
331
+ }>;
332
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
333
+ links: z.ZodOptional<z.ZodObject<{
334
+ self: z.ZodString;
335
+ first: z.ZodOptional<z.ZodString>;
336
+ last: z.ZodOptional<z.ZodString>;
337
+ prev: z.ZodOptional<z.ZodString>;
338
+ next: z.ZodOptional<z.ZodString>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ self: string;
341
+ first?: string | undefined;
342
+ last?: string | undefined;
343
+ prev?: string | undefined;
344
+ next?: string | undefined;
345
+ }, {
346
+ self: string;
347
+ first?: string | undefined;
348
+ last?: string | undefined;
349
+ prev?: string | undefined;
350
+ next?: string | undefined;
351
+ }>>;
352
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
353
+ status: z.ZodString;
354
+ title: z.ZodString;
355
+ detail: z.ZodOptional<z.ZodString>;
356
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
357
+ }, "strip", z.ZodTypeAny, {
358
+ status: string;
359
+ title: string;
360
+ detail?: string | undefined;
361
+ meta?: Record<string, unknown> | undefined;
362
+ }, {
363
+ status: string;
364
+ title: string;
365
+ detail?: string | undefined;
366
+ meta?: Record<string, unknown> | undefined;
367
+ }>, "many">>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ data: {
370
+ id: string;
371
+ type: "commercial-plans";
372
+ attributes: {
373
+ createdAt: string;
374
+ updatedAt: string;
375
+ isActive: boolean;
376
+ monthlyPrice: number;
377
+ currency: string;
378
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
379
+ freeClientSeats: number;
380
+ freeConsultantSeats: number;
381
+ companyId?: string | null | undefined;
382
+ };
383
+ };
384
+ meta?: Record<string, unknown> | undefined;
385
+ links?: {
386
+ self: string;
387
+ first?: string | undefined;
388
+ last?: string | undefined;
389
+ prev?: string | undefined;
390
+ next?: string | undefined;
391
+ } | undefined;
392
+ errors?: {
393
+ status: string;
394
+ title: string;
395
+ detail?: string | undefined;
396
+ meta?: Record<string, unknown> | undefined;
397
+ }[] | undefined;
398
+ }, {
399
+ data: {
400
+ id: string;
401
+ type: "commercial-plans";
402
+ attributes: {
403
+ createdAt: string;
404
+ updatedAt: string;
405
+ isActive: boolean;
406
+ monthlyPrice: number;
407
+ currency: string;
408
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
409
+ freeClientSeats: number;
410
+ freeConsultantSeats: number;
411
+ companyId?: string | null | undefined;
412
+ };
413
+ };
414
+ meta?: Record<string, unknown> | undefined;
415
+ links?: {
416
+ self: string;
417
+ first?: string | undefined;
418
+ last?: string | undefined;
419
+ prev?: string | undefined;
420
+ next?: string | undefined;
421
+ } | undefined;
422
+ errors?: {
423
+ status: string;
424
+ title: string;
425
+ detail?: string | undefined;
426
+ meta?: Record<string, unknown> | undefined;
427
+ }[] | undefined;
428
+ }>;
429
+ 401: z.ZodObject<{
430
+ errors: z.ZodArray<z.ZodObject<{
431
+ status: z.ZodString;
432
+ title: z.ZodString;
433
+ detail: z.ZodOptional<z.ZodString>;
434
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
435
+ }, "strip", z.ZodTypeAny, {
436
+ status: string;
437
+ title: string;
438
+ detail?: string | undefined;
439
+ meta?: Record<string, unknown> | undefined;
440
+ }, {
441
+ status: string;
442
+ title: string;
443
+ detail?: string | undefined;
444
+ meta?: Record<string, unknown> | undefined;
445
+ }>, "many">;
446
+ }, "strip", z.ZodTypeAny, {
447
+ errors: {
448
+ status: string;
449
+ title: string;
450
+ detail?: string | undefined;
451
+ meta?: Record<string, unknown> | undefined;
452
+ }[];
453
+ }, {
454
+ errors: {
455
+ status: string;
456
+ title: string;
457
+ detail?: string | undefined;
458
+ meta?: Record<string, unknown> | undefined;
459
+ }[];
460
+ }>;
461
+ 403: z.ZodObject<{
462
+ errors: z.ZodArray<z.ZodObject<{
463
+ status: z.ZodString;
464
+ title: z.ZodString;
465
+ detail: z.ZodOptional<z.ZodString>;
466
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ status: string;
469
+ title: string;
470
+ detail?: string | undefined;
471
+ meta?: Record<string, unknown> | undefined;
472
+ }, {
473
+ status: string;
474
+ title: string;
475
+ detail?: string | undefined;
476
+ meta?: Record<string, unknown> | undefined;
477
+ }>, "many">;
478
+ }, "strip", z.ZodTypeAny, {
479
+ errors: {
480
+ status: string;
481
+ title: string;
482
+ detail?: string | undefined;
483
+ meta?: Record<string, unknown> | undefined;
484
+ }[];
485
+ }, {
486
+ errors: {
487
+ status: string;
488
+ title: string;
489
+ detail?: string | undefined;
490
+ meta?: Record<string, unknown> | undefined;
491
+ }[];
492
+ }>;
493
+ };
494
+ };
495
+ createQuote: {
496
+ summary: "Create a commercial quote";
497
+ method: "POST";
498
+ body: z.ZodObject<{
499
+ band: z.ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
500
+ amount: z.ZodNumber;
501
+ currency: z.ZodDefault<z.ZodString>;
502
+ validUntil: z.ZodOptional<z.ZodString>;
503
+ notes: z.ZodOptional<z.ZodString>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ currency: string;
506
+ amount: number;
507
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
508
+ notes?: string | undefined;
509
+ validUntil?: string | undefined;
510
+ }, {
511
+ amount: number;
512
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
513
+ currency?: string | undefined;
514
+ notes?: string | undefined;
515
+ validUntil?: string | undefined;
516
+ }>;
517
+ path: "/commercial/quotes";
518
+ responses: {
519
+ 201: z.ZodObject<{
520
+ data: z.ZodObject<{
521
+ type: z.ZodLiteral<"commercial-quotes">;
522
+ id: z.ZodString;
523
+ attributes: z.ZodObject<Omit<{
524
+ id: z.ZodString;
525
+ companyId: z.ZodString;
526
+ band: z.ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
527
+ amount: z.ZodNumber;
528
+ currency: z.ZodString;
529
+ status: z.ZodEnum<["DRAFT", "SENT", "ACCEPTED", "DECLINED", "EXPIRED"]>;
530
+ validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
531
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
532
+ createdById: z.ZodString;
533
+ createdAt: z.ZodString;
534
+ updatedAt: z.ZodString;
535
+ }, "id">, "strip", z.ZodTypeAny, {
536
+ createdAt: string;
537
+ updatedAt: string;
538
+ companyId: string;
539
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
540
+ currency: string;
541
+ amount: number;
542
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
543
+ createdById: string;
544
+ notes?: string | null | undefined;
545
+ validUntil?: string | null | undefined;
546
+ }, {
547
+ createdAt: string;
548
+ updatedAt: string;
549
+ companyId: string;
550
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
551
+ currency: string;
552
+ amount: number;
553
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
554
+ createdById: string;
555
+ notes?: string | null | undefined;
556
+ validUntil?: string | null | undefined;
557
+ }>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ id: string;
560
+ type: "commercial-quotes";
561
+ attributes: {
562
+ createdAt: string;
563
+ updatedAt: string;
564
+ companyId: string;
565
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
566
+ currency: string;
567
+ amount: number;
568
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
569
+ createdById: string;
570
+ notes?: string | null | undefined;
571
+ validUntil?: string | null | undefined;
572
+ };
573
+ }, {
574
+ id: string;
575
+ type: "commercial-quotes";
576
+ attributes: {
577
+ createdAt: string;
578
+ updatedAt: string;
579
+ companyId: string;
580
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
581
+ currency: string;
582
+ amount: number;
583
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
584
+ createdById: string;
585
+ notes?: string | null | undefined;
586
+ validUntil?: string | null | undefined;
587
+ };
588
+ }>;
589
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
590
+ links: z.ZodOptional<z.ZodObject<{
591
+ self: z.ZodString;
592
+ first: z.ZodOptional<z.ZodString>;
593
+ last: z.ZodOptional<z.ZodString>;
594
+ prev: z.ZodOptional<z.ZodString>;
595
+ next: z.ZodOptional<z.ZodString>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ self: string;
598
+ first?: string | undefined;
599
+ last?: string | undefined;
600
+ prev?: string | undefined;
601
+ next?: string | undefined;
602
+ }, {
603
+ self: string;
604
+ first?: string | undefined;
605
+ last?: string | undefined;
606
+ prev?: string | undefined;
607
+ next?: string | undefined;
608
+ }>>;
609
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
610
+ status: z.ZodString;
611
+ title: z.ZodString;
612
+ detail: z.ZodOptional<z.ZodString>;
613
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
614
+ }, "strip", z.ZodTypeAny, {
615
+ status: string;
616
+ title: string;
617
+ detail?: string | undefined;
618
+ meta?: Record<string, unknown> | undefined;
619
+ }, {
620
+ status: string;
621
+ title: string;
622
+ detail?: string | undefined;
623
+ meta?: Record<string, unknown> | undefined;
624
+ }>, "many">>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ data: {
627
+ id: string;
628
+ type: "commercial-quotes";
629
+ attributes: {
630
+ createdAt: string;
631
+ updatedAt: string;
632
+ companyId: string;
633
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
634
+ currency: string;
635
+ amount: number;
636
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
637
+ createdById: string;
638
+ notes?: string | null | undefined;
639
+ validUntil?: string | null | undefined;
640
+ };
641
+ };
642
+ meta?: Record<string, unknown> | undefined;
643
+ links?: {
644
+ self: string;
645
+ first?: string | undefined;
646
+ last?: string | undefined;
647
+ prev?: string | undefined;
648
+ next?: string | undefined;
649
+ } | undefined;
650
+ errors?: {
651
+ status: string;
652
+ title: string;
653
+ detail?: string | undefined;
654
+ meta?: Record<string, unknown> | undefined;
655
+ }[] | undefined;
656
+ }, {
657
+ data: {
658
+ id: string;
659
+ type: "commercial-quotes";
660
+ attributes: {
661
+ createdAt: string;
662
+ updatedAt: string;
663
+ companyId: string;
664
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
665
+ currency: string;
666
+ amount: number;
667
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
668
+ createdById: string;
669
+ notes?: string | null | undefined;
670
+ validUntil?: string | null | undefined;
671
+ };
672
+ };
673
+ meta?: Record<string, unknown> | undefined;
674
+ links?: {
675
+ self: string;
676
+ first?: string | undefined;
677
+ last?: string | undefined;
678
+ prev?: string | undefined;
679
+ next?: string | undefined;
680
+ } | undefined;
681
+ errors?: {
682
+ status: string;
683
+ title: string;
684
+ detail?: string | undefined;
685
+ meta?: Record<string, unknown> | undefined;
686
+ }[] | undefined;
687
+ }>;
688
+ 401: z.ZodObject<{
689
+ errors: z.ZodArray<z.ZodObject<{
690
+ status: z.ZodString;
691
+ title: z.ZodString;
692
+ detail: z.ZodOptional<z.ZodString>;
693
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
694
+ }, "strip", z.ZodTypeAny, {
695
+ status: string;
696
+ title: string;
697
+ detail?: string | undefined;
698
+ meta?: Record<string, unknown> | undefined;
699
+ }, {
700
+ status: string;
701
+ title: string;
702
+ detail?: string | undefined;
703
+ meta?: Record<string, unknown> | undefined;
704
+ }>, "many">;
705
+ }, "strip", z.ZodTypeAny, {
706
+ errors: {
707
+ status: string;
708
+ title: string;
709
+ detail?: string | undefined;
710
+ meta?: Record<string, unknown> | undefined;
711
+ }[];
712
+ }, {
713
+ errors: {
714
+ status: string;
715
+ title: string;
716
+ detail?: string | undefined;
717
+ meta?: Record<string, unknown> | undefined;
718
+ }[];
719
+ }>;
720
+ 403: z.ZodObject<{
721
+ errors: z.ZodArray<z.ZodObject<{
722
+ status: z.ZodString;
723
+ title: z.ZodString;
724
+ detail: z.ZodOptional<z.ZodString>;
725
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
726
+ }, "strip", z.ZodTypeAny, {
727
+ status: string;
728
+ title: string;
729
+ detail?: string | undefined;
730
+ meta?: Record<string, unknown> | undefined;
731
+ }, {
732
+ status: string;
733
+ title: string;
734
+ detail?: string | undefined;
735
+ meta?: Record<string, unknown> | undefined;
736
+ }>, "many">;
737
+ }, "strip", z.ZodTypeAny, {
738
+ errors: {
739
+ status: string;
740
+ title: string;
741
+ detail?: string | undefined;
742
+ meta?: Record<string, unknown> | undefined;
743
+ }[];
744
+ }, {
745
+ errors: {
746
+ status: string;
747
+ title: string;
748
+ detail?: string | undefined;
749
+ meta?: Record<string, unknown> | undefined;
750
+ }[];
751
+ }>;
752
+ };
753
+ };
754
+ listQuotes: {
755
+ summary: "List commercial quotes for company";
756
+ method: "GET";
757
+ path: "/commercial/quotes";
758
+ responses: {
759
+ 200: z.ZodObject<{
760
+ data: z.ZodArray<z.ZodObject<{
761
+ type: z.ZodLiteral<"commercial-quotes">;
762
+ id: z.ZodString;
763
+ attributes: z.ZodObject<Omit<{
764
+ id: z.ZodString;
765
+ companyId: z.ZodString;
766
+ band: z.ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
767
+ amount: z.ZodNumber;
768
+ currency: z.ZodString;
769
+ status: z.ZodEnum<["DRAFT", "SENT", "ACCEPTED", "DECLINED", "EXPIRED"]>;
770
+ validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
771
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
772
+ createdById: z.ZodString;
773
+ createdAt: z.ZodString;
774
+ updatedAt: z.ZodString;
775
+ }, "id">, "strip", z.ZodTypeAny, {
776
+ createdAt: string;
777
+ updatedAt: string;
778
+ companyId: string;
779
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
780
+ currency: string;
781
+ amount: number;
782
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
783
+ createdById: string;
784
+ notes?: string | null | undefined;
785
+ validUntil?: string | null | undefined;
786
+ }, {
787
+ createdAt: string;
788
+ updatedAt: string;
789
+ companyId: string;
790
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
791
+ currency: string;
792
+ amount: number;
793
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
794
+ createdById: string;
795
+ notes?: string | null | undefined;
796
+ validUntil?: string | null | undefined;
797
+ }>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ id: string;
800
+ type: "commercial-quotes";
801
+ attributes: {
802
+ createdAt: string;
803
+ updatedAt: string;
804
+ companyId: string;
805
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
806
+ currency: string;
807
+ amount: number;
808
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
809
+ createdById: string;
810
+ notes?: string | null | undefined;
811
+ validUntil?: string | null | undefined;
812
+ };
813
+ }, {
814
+ id: string;
815
+ type: "commercial-quotes";
816
+ attributes: {
817
+ createdAt: string;
818
+ updatedAt: string;
819
+ companyId: string;
820
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
821
+ currency: string;
822
+ amount: number;
823
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
824
+ createdById: string;
825
+ notes?: string | null | undefined;
826
+ validUntil?: string | null | undefined;
827
+ };
828
+ }>, "many">;
829
+ meta: z.ZodOptional<z.ZodObject<{
830
+ total: z.ZodOptional<z.ZodNumber>;
831
+ page: z.ZodOptional<z.ZodNumber>;
832
+ size: z.ZodOptional<z.ZodNumber>;
833
+ pages: z.ZodOptional<z.ZodNumber>;
834
+ hasNextPage: z.ZodOptional<z.ZodBoolean>;
835
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
836
+ }, "strip", z.ZodTypeAny, {
837
+ page?: number | undefined;
838
+ total?: number | undefined;
839
+ size?: number | undefined;
840
+ pages?: number | undefined;
841
+ hasNextPage?: boolean | undefined;
842
+ hasPreviousPage?: boolean | undefined;
843
+ }, {
844
+ page?: number | undefined;
845
+ total?: number | undefined;
846
+ size?: number | undefined;
847
+ pages?: number | undefined;
848
+ hasNextPage?: boolean | undefined;
849
+ hasPreviousPage?: boolean | undefined;
850
+ }>>;
851
+ links: z.ZodOptional<z.ZodObject<{
852
+ self: z.ZodString;
853
+ first: z.ZodOptional<z.ZodString>;
854
+ last: z.ZodOptional<z.ZodString>;
855
+ prev: z.ZodOptional<z.ZodString>;
856
+ next: z.ZodOptional<z.ZodString>;
857
+ }, "strip", z.ZodTypeAny, {
858
+ self: string;
859
+ first?: string | undefined;
860
+ last?: string | undefined;
861
+ prev?: string | undefined;
862
+ next?: string | undefined;
863
+ }, {
864
+ self: string;
865
+ first?: string | undefined;
866
+ last?: string | undefined;
867
+ prev?: string | undefined;
868
+ next?: string | undefined;
869
+ }>>;
870
+ }, "strip", z.ZodTypeAny, {
871
+ data: {
872
+ id: string;
873
+ type: "commercial-quotes";
874
+ attributes: {
875
+ createdAt: string;
876
+ updatedAt: string;
877
+ companyId: string;
878
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
879
+ currency: string;
880
+ amount: number;
881
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
882
+ createdById: string;
883
+ notes?: string | null | undefined;
884
+ validUntil?: string | null | undefined;
885
+ };
886
+ }[];
887
+ meta?: {
888
+ page?: number | undefined;
889
+ total?: number | undefined;
890
+ size?: number | undefined;
891
+ pages?: number | undefined;
892
+ hasNextPage?: boolean | undefined;
893
+ hasPreviousPage?: boolean | undefined;
894
+ } | undefined;
895
+ links?: {
896
+ self: string;
897
+ first?: string | undefined;
898
+ last?: string | undefined;
899
+ prev?: string | undefined;
900
+ next?: string | undefined;
901
+ } | undefined;
902
+ }, {
903
+ data: {
904
+ id: string;
905
+ type: "commercial-quotes";
906
+ attributes: {
907
+ createdAt: string;
908
+ updatedAt: string;
909
+ companyId: string;
910
+ status: "DRAFT" | "SENT" | "ACCEPTED" | "DECLINED" | "EXPIRED";
911
+ currency: string;
912
+ amount: number;
913
+ band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
914
+ createdById: string;
915
+ notes?: string | null | undefined;
916
+ validUntil?: string | null | undefined;
917
+ };
918
+ }[];
919
+ meta?: {
920
+ page?: number | undefined;
921
+ total?: number | undefined;
922
+ size?: number | undefined;
923
+ pages?: number | undefined;
924
+ hasNextPage?: boolean | undefined;
925
+ hasPreviousPage?: boolean | undefined;
926
+ } | undefined;
927
+ links?: {
928
+ self: string;
929
+ first?: string | undefined;
930
+ last?: string | undefined;
931
+ prev?: string | undefined;
932
+ next?: string | undefined;
933
+ } | undefined;
934
+ }>;
935
+ 401: z.ZodObject<{
936
+ errors: z.ZodArray<z.ZodObject<{
937
+ status: z.ZodString;
938
+ title: z.ZodString;
939
+ detail: z.ZodOptional<z.ZodString>;
940
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
941
+ }, "strip", z.ZodTypeAny, {
942
+ status: string;
943
+ title: string;
944
+ detail?: string | undefined;
945
+ meta?: Record<string, unknown> | undefined;
946
+ }, {
947
+ status: string;
948
+ title: string;
949
+ detail?: string | undefined;
950
+ meta?: Record<string, unknown> | undefined;
951
+ }>, "many">;
952
+ }, "strip", z.ZodTypeAny, {
953
+ errors: {
954
+ status: string;
955
+ title: string;
956
+ detail?: string | undefined;
957
+ meta?: Record<string, unknown> | undefined;
958
+ }[];
959
+ }, {
960
+ errors: {
961
+ status: string;
962
+ title: string;
963
+ detail?: string | undefined;
964
+ meta?: Record<string, unknown> | undefined;
965
+ }[];
966
+ }>;
967
+ 403: z.ZodObject<{
968
+ errors: z.ZodArray<z.ZodObject<{
969
+ status: z.ZodString;
970
+ title: z.ZodString;
971
+ detail: z.ZodOptional<z.ZodString>;
972
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
973
+ }, "strip", z.ZodTypeAny, {
974
+ status: string;
975
+ title: string;
976
+ detail?: string | undefined;
977
+ meta?: Record<string, unknown> | undefined;
978
+ }, {
979
+ status: string;
980
+ title: string;
981
+ detail?: string | undefined;
982
+ meta?: Record<string, unknown> | undefined;
983
+ }>, "many">;
984
+ }, "strip", z.ZodTypeAny, {
985
+ errors: {
986
+ status: string;
987
+ title: string;
988
+ detail?: string | undefined;
989
+ meta?: Record<string, unknown> | undefined;
990
+ }[];
991
+ }, {
992
+ errors: {
993
+ status: string;
994
+ title: string;
995
+ detail?: string | undefined;
996
+ meta?: Record<string, unknown> | undefined;
997
+ }[];
998
+ }>;
999
+ };
1000
+ };
1001
+ createSubscription: {
1002
+ summary: "Start subscription with free client/consultant seats";
1003
+ method: "POST";
1004
+ body: z.ZodObject<{
1005
+ planId: z.ZodString;
1006
+ }, "strip", z.ZodTypeAny, {
1007
+ planId: string;
1008
+ }, {
1009
+ planId: string;
1010
+ }>;
1011
+ path: "/commercial/subscriptions";
1012
+ responses: {
1013
+ 201: z.ZodObject<{
1014
+ data: z.ZodObject<{
1015
+ type: z.ZodLiteral<"commercial-subscriptions">;
1016
+ id: z.ZodString;
1017
+ attributes: z.ZodObject<Omit<{
1018
+ id: z.ZodString;
1019
+ companyId: z.ZodString;
1020
+ planId: z.ZodString;
1021
+ status: z.ZodEnum<["TRIALING", "ACTIVE", "PAST_DUE", "CANCELLED"]>;
1022
+ startedAt: z.ZodString;
1023
+ endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1024
+ clientSeatsUsed: z.ZodNumber;
1025
+ consultantSeatsUsed: z.ZodNumber;
1026
+ createdAt: z.ZodString;
1027
+ updatedAt: z.ZodString;
1028
+ }, "id">, "strip", z.ZodTypeAny, {
1029
+ createdAt: string;
1030
+ updatedAt: string;
1031
+ companyId: string;
1032
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1033
+ planId: string;
1034
+ startedAt: string;
1035
+ clientSeatsUsed: number;
1036
+ consultantSeatsUsed: number;
1037
+ endsAt?: string | null | undefined;
1038
+ }, {
1039
+ createdAt: string;
1040
+ updatedAt: string;
1041
+ companyId: string;
1042
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1043
+ planId: string;
1044
+ startedAt: string;
1045
+ clientSeatsUsed: number;
1046
+ consultantSeatsUsed: number;
1047
+ endsAt?: string | null | undefined;
1048
+ }>;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ id: string;
1051
+ type: "commercial-subscriptions";
1052
+ attributes: {
1053
+ createdAt: string;
1054
+ updatedAt: string;
1055
+ companyId: string;
1056
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1057
+ planId: string;
1058
+ startedAt: string;
1059
+ clientSeatsUsed: number;
1060
+ consultantSeatsUsed: number;
1061
+ endsAt?: string | null | undefined;
1062
+ };
1063
+ }, {
1064
+ id: string;
1065
+ type: "commercial-subscriptions";
1066
+ attributes: {
1067
+ createdAt: string;
1068
+ updatedAt: string;
1069
+ companyId: string;
1070
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1071
+ planId: string;
1072
+ startedAt: string;
1073
+ clientSeatsUsed: number;
1074
+ consultantSeatsUsed: number;
1075
+ endsAt?: string | null | undefined;
1076
+ };
1077
+ }>;
1078
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1079
+ links: z.ZodOptional<z.ZodObject<{
1080
+ self: z.ZodString;
1081
+ first: z.ZodOptional<z.ZodString>;
1082
+ last: z.ZodOptional<z.ZodString>;
1083
+ prev: z.ZodOptional<z.ZodString>;
1084
+ next: z.ZodOptional<z.ZodString>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ self: string;
1087
+ first?: string | undefined;
1088
+ last?: string | undefined;
1089
+ prev?: string | undefined;
1090
+ next?: string | undefined;
1091
+ }, {
1092
+ self: string;
1093
+ first?: string | undefined;
1094
+ last?: string | undefined;
1095
+ prev?: string | undefined;
1096
+ next?: string | undefined;
1097
+ }>>;
1098
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1099
+ status: z.ZodString;
1100
+ title: z.ZodString;
1101
+ detail: z.ZodOptional<z.ZodString>;
1102
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1103
+ }, "strip", z.ZodTypeAny, {
1104
+ status: string;
1105
+ title: string;
1106
+ detail?: string | undefined;
1107
+ meta?: Record<string, unknown> | undefined;
1108
+ }, {
1109
+ status: string;
1110
+ title: string;
1111
+ detail?: string | undefined;
1112
+ meta?: Record<string, unknown> | undefined;
1113
+ }>, "many">>;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ data: {
1116
+ id: string;
1117
+ type: "commercial-subscriptions";
1118
+ attributes: {
1119
+ createdAt: string;
1120
+ updatedAt: string;
1121
+ companyId: string;
1122
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1123
+ planId: string;
1124
+ startedAt: string;
1125
+ clientSeatsUsed: number;
1126
+ consultantSeatsUsed: number;
1127
+ endsAt?: string | null | undefined;
1128
+ };
1129
+ };
1130
+ meta?: Record<string, unknown> | undefined;
1131
+ links?: {
1132
+ self: string;
1133
+ first?: string | undefined;
1134
+ last?: string | undefined;
1135
+ prev?: string | undefined;
1136
+ next?: string | undefined;
1137
+ } | undefined;
1138
+ errors?: {
1139
+ status: string;
1140
+ title: string;
1141
+ detail?: string | undefined;
1142
+ meta?: Record<string, unknown> | undefined;
1143
+ }[] | undefined;
1144
+ }, {
1145
+ data: {
1146
+ id: string;
1147
+ type: "commercial-subscriptions";
1148
+ attributes: {
1149
+ createdAt: string;
1150
+ updatedAt: string;
1151
+ companyId: string;
1152
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1153
+ planId: string;
1154
+ startedAt: string;
1155
+ clientSeatsUsed: number;
1156
+ consultantSeatsUsed: number;
1157
+ endsAt?: string | null | undefined;
1158
+ };
1159
+ };
1160
+ meta?: Record<string, unknown> | undefined;
1161
+ links?: {
1162
+ self: string;
1163
+ first?: string | undefined;
1164
+ last?: string | undefined;
1165
+ prev?: string | undefined;
1166
+ next?: string | undefined;
1167
+ } | undefined;
1168
+ errors?: {
1169
+ status: string;
1170
+ title: string;
1171
+ detail?: string | undefined;
1172
+ meta?: Record<string, unknown> | undefined;
1173
+ }[] | undefined;
1174
+ }>;
1175
+ 401: z.ZodObject<{
1176
+ errors: z.ZodArray<z.ZodObject<{
1177
+ status: z.ZodString;
1178
+ title: z.ZodString;
1179
+ detail: z.ZodOptional<z.ZodString>;
1180
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ status: string;
1183
+ title: string;
1184
+ detail?: string | undefined;
1185
+ meta?: Record<string, unknown> | undefined;
1186
+ }, {
1187
+ status: string;
1188
+ title: string;
1189
+ detail?: string | undefined;
1190
+ meta?: Record<string, unknown> | undefined;
1191
+ }>, "many">;
1192
+ }, "strip", z.ZodTypeAny, {
1193
+ errors: {
1194
+ status: string;
1195
+ title: string;
1196
+ detail?: string | undefined;
1197
+ meta?: Record<string, unknown> | undefined;
1198
+ }[];
1199
+ }, {
1200
+ errors: {
1201
+ status: string;
1202
+ title: string;
1203
+ detail?: string | undefined;
1204
+ meta?: Record<string, unknown> | undefined;
1205
+ }[];
1206
+ }>;
1207
+ 403: z.ZodObject<{
1208
+ errors: z.ZodArray<z.ZodObject<{
1209
+ status: z.ZodString;
1210
+ title: z.ZodString;
1211
+ detail: z.ZodOptional<z.ZodString>;
1212
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1213
+ }, "strip", z.ZodTypeAny, {
1214
+ status: string;
1215
+ title: string;
1216
+ detail?: string | undefined;
1217
+ meta?: Record<string, unknown> | undefined;
1218
+ }, {
1219
+ status: string;
1220
+ title: string;
1221
+ detail?: string | undefined;
1222
+ meta?: Record<string, unknown> | undefined;
1223
+ }>, "many">;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ errors: {
1226
+ status: string;
1227
+ title: string;
1228
+ detail?: string | undefined;
1229
+ meta?: Record<string, unknown> | undefined;
1230
+ }[];
1231
+ }, {
1232
+ errors: {
1233
+ status: string;
1234
+ title: string;
1235
+ detail?: string | undefined;
1236
+ meta?: Record<string, unknown> | undefined;
1237
+ }[];
1238
+ }>;
1239
+ };
1240
+ };
1241
+ getSubscription: {
1242
+ summary: "Get current company subscription";
1243
+ method: "GET";
1244
+ path: "/commercial/subscriptions/current";
1245
+ responses: {
1246
+ 200: z.ZodObject<{
1247
+ data: z.ZodObject<{
1248
+ type: z.ZodLiteral<"commercial-subscriptions">;
1249
+ id: z.ZodString;
1250
+ attributes: z.ZodObject<Omit<{
1251
+ id: z.ZodString;
1252
+ companyId: z.ZodString;
1253
+ planId: z.ZodString;
1254
+ status: z.ZodEnum<["TRIALING", "ACTIVE", "PAST_DUE", "CANCELLED"]>;
1255
+ startedAt: z.ZodString;
1256
+ endsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1257
+ clientSeatsUsed: z.ZodNumber;
1258
+ consultantSeatsUsed: z.ZodNumber;
1259
+ createdAt: z.ZodString;
1260
+ updatedAt: z.ZodString;
1261
+ }, "id">, "strip", z.ZodTypeAny, {
1262
+ createdAt: string;
1263
+ updatedAt: string;
1264
+ companyId: string;
1265
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1266
+ planId: string;
1267
+ startedAt: string;
1268
+ clientSeatsUsed: number;
1269
+ consultantSeatsUsed: number;
1270
+ endsAt?: string | null | undefined;
1271
+ }, {
1272
+ createdAt: string;
1273
+ updatedAt: string;
1274
+ companyId: string;
1275
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1276
+ planId: string;
1277
+ startedAt: string;
1278
+ clientSeatsUsed: number;
1279
+ consultantSeatsUsed: number;
1280
+ endsAt?: string | null | undefined;
1281
+ }>;
1282
+ }, "strip", z.ZodTypeAny, {
1283
+ id: string;
1284
+ type: "commercial-subscriptions";
1285
+ attributes: {
1286
+ createdAt: string;
1287
+ updatedAt: string;
1288
+ companyId: string;
1289
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1290
+ planId: string;
1291
+ startedAt: string;
1292
+ clientSeatsUsed: number;
1293
+ consultantSeatsUsed: number;
1294
+ endsAt?: string | null | undefined;
1295
+ };
1296
+ }, {
1297
+ id: string;
1298
+ type: "commercial-subscriptions";
1299
+ attributes: {
1300
+ createdAt: string;
1301
+ updatedAt: string;
1302
+ companyId: string;
1303
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1304
+ planId: string;
1305
+ startedAt: string;
1306
+ clientSeatsUsed: number;
1307
+ consultantSeatsUsed: number;
1308
+ endsAt?: string | null | undefined;
1309
+ };
1310
+ }>;
1311
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1312
+ links: z.ZodOptional<z.ZodObject<{
1313
+ self: z.ZodString;
1314
+ first: z.ZodOptional<z.ZodString>;
1315
+ last: z.ZodOptional<z.ZodString>;
1316
+ prev: z.ZodOptional<z.ZodString>;
1317
+ next: z.ZodOptional<z.ZodString>;
1318
+ }, "strip", z.ZodTypeAny, {
1319
+ self: string;
1320
+ first?: string | undefined;
1321
+ last?: string | undefined;
1322
+ prev?: string | undefined;
1323
+ next?: string | undefined;
1324
+ }, {
1325
+ self: string;
1326
+ first?: string | undefined;
1327
+ last?: string | undefined;
1328
+ prev?: string | undefined;
1329
+ next?: string | undefined;
1330
+ }>>;
1331
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1332
+ status: z.ZodString;
1333
+ title: z.ZodString;
1334
+ detail: z.ZodOptional<z.ZodString>;
1335
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ status: string;
1338
+ title: string;
1339
+ detail?: string | undefined;
1340
+ meta?: Record<string, unknown> | undefined;
1341
+ }, {
1342
+ status: string;
1343
+ title: string;
1344
+ detail?: string | undefined;
1345
+ meta?: Record<string, unknown> | undefined;
1346
+ }>, "many">>;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ data: {
1349
+ id: string;
1350
+ type: "commercial-subscriptions";
1351
+ attributes: {
1352
+ createdAt: string;
1353
+ updatedAt: string;
1354
+ companyId: string;
1355
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1356
+ planId: string;
1357
+ startedAt: string;
1358
+ clientSeatsUsed: number;
1359
+ consultantSeatsUsed: number;
1360
+ endsAt?: string | null | undefined;
1361
+ };
1362
+ };
1363
+ meta?: Record<string, unknown> | undefined;
1364
+ links?: {
1365
+ self: string;
1366
+ first?: string | undefined;
1367
+ last?: string | undefined;
1368
+ prev?: string | undefined;
1369
+ next?: string | undefined;
1370
+ } | undefined;
1371
+ errors?: {
1372
+ status: string;
1373
+ title: string;
1374
+ detail?: string | undefined;
1375
+ meta?: Record<string, unknown> | undefined;
1376
+ }[] | undefined;
1377
+ }, {
1378
+ data: {
1379
+ id: string;
1380
+ type: "commercial-subscriptions";
1381
+ attributes: {
1382
+ createdAt: string;
1383
+ updatedAt: string;
1384
+ companyId: string;
1385
+ status: "ACTIVE" | "CANCELLED" | "TRIALING" | "PAST_DUE";
1386
+ planId: string;
1387
+ startedAt: string;
1388
+ clientSeatsUsed: number;
1389
+ consultantSeatsUsed: number;
1390
+ endsAt?: string | null | undefined;
1391
+ };
1392
+ };
1393
+ meta?: Record<string, unknown> | undefined;
1394
+ links?: {
1395
+ self: string;
1396
+ first?: string | undefined;
1397
+ last?: string | undefined;
1398
+ prev?: string | undefined;
1399
+ next?: string | undefined;
1400
+ } | undefined;
1401
+ errors?: {
1402
+ status: string;
1403
+ title: string;
1404
+ detail?: string | undefined;
1405
+ meta?: Record<string, unknown> | undefined;
1406
+ }[] | undefined;
1407
+ }>;
1408
+ 404: z.ZodObject<{
1409
+ errors: z.ZodArray<z.ZodObject<{
1410
+ status: z.ZodString;
1411
+ title: z.ZodString;
1412
+ detail: z.ZodOptional<z.ZodString>;
1413
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1414
+ }, "strip", z.ZodTypeAny, {
1415
+ status: string;
1416
+ title: string;
1417
+ detail?: string | undefined;
1418
+ meta?: Record<string, unknown> | undefined;
1419
+ }, {
1420
+ status: string;
1421
+ title: string;
1422
+ detail?: string | undefined;
1423
+ meta?: Record<string, unknown> | undefined;
1424
+ }>, "many">;
1425
+ }, "strip", z.ZodTypeAny, {
1426
+ errors: {
1427
+ status: string;
1428
+ title: string;
1429
+ detail?: string | undefined;
1430
+ meta?: Record<string, unknown> | undefined;
1431
+ }[];
1432
+ }, {
1433
+ errors: {
1434
+ status: string;
1435
+ title: string;
1436
+ detail?: string | undefined;
1437
+ meta?: Record<string, unknown> | undefined;
1438
+ }[];
1439
+ }>;
1440
+ 401: z.ZodObject<{
1441
+ errors: z.ZodArray<z.ZodObject<{
1442
+ status: z.ZodString;
1443
+ title: z.ZodString;
1444
+ detail: z.ZodOptional<z.ZodString>;
1445
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ status: string;
1448
+ title: string;
1449
+ detail?: string | undefined;
1450
+ meta?: Record<string, unknown> | undefined;
1451
+ }, {
1452
+ status: string;
1453
+ title: string;
1454
+ detail?: string | undefined;
1455
+ meta?: Record<string, unknown> | undefined;
1456
+ }>, "many">;
1457
+ }, "strip", z.ZodTypeAny, {
1458
+ errors: {
1459
+ status: string;
1460
+ title: string;
1461
+ detail?: string | undefined;
1462
+ meta?: Record<string, unknown> | undefined;
1463
+ }[];
1464
+ }, {
1465
+ errors: {
1466
+ status: string;
1467
+ title: string;
1468
+ detail?: string | undefined;
1469
+ meta?: Record<string, unknown> | undefined;
1470
+ }[];
1471
+ }>;
1472
+ };
1473
+ };
1474
+ };
1475
+ //# sourceMappingURL=commercial.d.ts.map