@deepintel-ltd/buildlink-api-contracts 0.2.25 → 0.2.26
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.
- package/README.md +1 -1
- package/contracts/auth.d.ts +32 -32
- package/contracts/boq.d.ts +117 -0
- package/contracts/boq.d.ts.map +1 -1
- package/contracts/boq.js +33 -5
- package/contracts/boq.js.map +1 -1
- package/contracts/client-progress.d.ts +493 -0
- package/contracts/client-progress.d.ts.map +1 -0
- package/contracts/client-progress.js +20 -0
- package/contracts/client-progress.js.map +1 -0
- package/contracts/commercial.d.ts +309 -310
- package/contracts/commercial.d.ts.map +1 -1
- package/contracts/commercial.js +44 -14
- package/contracts/commercial.js.map +1 -1
- package/contracts/communication.d.ts +64 -64
- package/contracts/contractor-ledger.d.ts +525 -8
- package/contracts/contractor-ledger.d.ts.map +1 -1
- package/contracts/contractor-ledger.js +61 -12
- package/contracts/contractor-ledger.js.map +1 -1
- package/contracts/daily-logs.d.ts +1288 -0
- package/contracts/daily-logs.d.ts.map +1 -1
- package/contracts/daily-logs.js.map +1 -1
- package/contracts/dashboard.d.ts +411 -0
- package/contracts/dashboard.d.ts.map +1 -0
- package/contracts/dashboard.js +16 -0
- package/contracts/dashboard.js.map +1 -0
- package/contracts/deficiencies.d.ts +110 -110
- package/contracts/documents.d.ts +600 -1
- package/contracts/documents.d.ts.map +1 -1
- package/contracts/documents.js +37 -2
- package/contracts/documents.js.map +1 -1
- package/contracts/drawings.d.ts +532 -532
- package/contracts/hub.d.ts.map +1 -1
- package/contracts/hub.js +37 -12
- package/contracts/hub.js.map +1 -1
- package/contracts/index.d.ts +25 -10
- package/contracts/index.d.ts.map +1 -1
- package/contracts/index.js +23 -8
- package/contracts/index.js.map +1 -1
- package/contracts/material-index.d.ts +560 -0
- package/contracts/material-index.d.ts.map +1 -0
- package/contracts/material-index.js +31 -0
- package/contracts/material-index.js.map +1 -0
- package/contracts/meetings.d.ts +136 -136
- package/contracts/projects.d.ts +141 -93
- package/contracts/projects.d.ts.map +1 -1
- package/contracts/proof.d.ts +24 -24
- package/contracts/proof.d.ts.map +1 -1
- package/contracts/proof.js +29 -10
- package/contracts/proof.js.map +1 -1
- package/contracts/qaqc.d.ts +18 -18
- package/contracts/qaqc.d.ts.map +1 -1
- package/contracts/qaqc.js +37 -11
- package/contracts/qaqc.js.map +1 -1
- package/contracts/rbac.d.ts +49 -49
- package/contracts/reports.d.ts +72 -624
- package/contracts/reports.d.ts.map +1 -1
- package/contracts/reports.js.map +1 -1
- package/contracts/resources.d.ts +10 -10
- package/contracts/safety.d.ts +164 -164
- package/contracts/schedule.d.ts +68 -68
- package/contracts/site-links.d.ts +641 -0
- package/contracts/site-links.d.ts.map +1 -0
- package/contracts/site-links.js +48 -0
- package/contracts/site-links.js.map +1 -0
- package/contracts/spec-equal.d.ts.map +1 -1
- package/contracts/spec-equal.js +23 -8
- package/contracts/spec-equal.js.map +1 -1
- package/contracts/specifications.d.ts +296 -296
- package/contracts/tasks.d.ts +110 -110
- package/contracts/tours.d.ts +503 -0
- package/contracts/tours.d.ts.map +1 -0
- package/contracts/tours.js +39 -0
- package/contracts/tours.js.map +1 -0
- package/contracts/transmittals.d.ts +64 -64
- package/contracts/valuations-extras.d.ts +758 -0
- package/contracts/valuations-extras.d.ts.map +1 -0
- package/contracts/valuations-extras.js +61 -0
- package/contracts/valuations-extras.js.map +1 -0
- package/contracts/valuations.d.ts +4425 -559
- package/contracts/valuations.d.ts.map +1 -1
- package/contracts/valuations.js +93 -2
- package/contracts/valuations.js.map +1 -1
- package/package.json +31 -1
- package/schemas/auth.d.ts +13 -13
- package/schemas/boq.d.ts +23 -0
- package/schemas/boq.d.ts.map +1 -1
- package/schemas/boq.js +2 -0
- package/schemas/boq.js.map +1 -1
- package/schemas/cash-flow.d.ts +99 -0
- package/schemas/cash-flow.d.ts.map +1 -0
- package/schemas/cash-flow.js +21 -0
- package/schemas/cash-flow.js.map +1 -0
- package/schemas/client-progress.d.ts +436 -0
- package/schemas/client-progress.d.ts.map +1 -0
- package/schemas/client-progress.js +45 -0
- package/schemas/client-progress.js.map +1 -0
- package/schemas/commercial.d.ts.map +1 -1
- package/schemas/commercial.js +56 -19
- package/schemas/commercial.js.map +1 -1
- package/schemas/common.d.ts +3 -3
- package/schemas/common.d.ts.map +1 -1
- package/schemas/common.js +8 -7
- package/schemas/common.js.map +1 -1
- package/schemas/communication.d.ts +10 -10
- package/schemas/contractor-ledger.d.ts +245 -8
- package/schemas/contractor-ledger.d.ts.map +1 -1
- package/schemas/contractor-ledger.js +108 -19
- package/schemas/contractor-ledger.js.map +1 -1
- package/schemas/cursor-pagination.d.ts +2 -2
- package/schemas/daily-logs.d.ts +420 -0
- package/schemas/daily-logs.d.ts.map +1 -1
- package/schemas/daily-logs.js +9 -0
- package/schemas/daily-logs.js.map +1 -1
- package/schemas/dashboard.d.ts +455 -0
- package/schemas/dashboard.d.ts.map +1 -0
- package/schemas/dashboard.js +47 -0
- package/schemas/dashboard.js.map +1 -0
- package/schemas/deficiencies.d.ts +22 -22
- package/schemas/documents.d.ts +86 -0
- package/schemas/documents.d.ts.map +1 -1
- package/schemas/documents.js +30 -0
- package/schemas/documents.js.map +1 -1
- package/schemas/drawings.d.ts +133 -133
- package/schemas/evidence.d.ts +75 -0
- package/schemas/evidence.d.ts.map +1 -0
- package/schemas/evidence.js +79 -0
- package/schemas/evidence.js.map +1 -0
- package/schemas/hub.d.ts.map +1 -1
- package/schemas/hub.js +52 -15
- package/schemas/hub.js.map +1 -1
- package/schemas/maps.d.ts.map +1 -1
- package/schemas/maps.js.map +1 -1
- package/schemas/material-index.d.ts +256 -0
- package/schemas/material-index.d.ts.map +1 -0
- package/schemas/material-index.js +47 -0
- package/schemas/material-index.js.map +1 -0
- package/schemas/meetings.d.ts +32 -32
- package/schemas/projects.d.ts +27 -16
- package/schemas/projects.d.ts.map +1 -1
- package/schemas/projects.js +4 -0
- package/schemas/projects.js.map +1 -1
- package/schemas/proof.d.ts +12 -12
- package/schemas/proof.d.ts.map +1 -1
- package/schemas/proof.js +30 -11
- package/schemas/proof.js.map +1 -1
- package/schemas/qaqc.d.ts +11 -6
- package/schemas/qaqc.d.ts.map +1 -1
- package/schemas/qaqc.js +5 -0
- package/schemas/qaqc.js.map +1 -1
- package/schemas/rbac.d.ts +28 -28
- package/schemas/rbac.d.ts.map +1 -1
- package/schemas/rbac.js +3 -0
- package/schemas/rbac.js.map +1 -1
- package/schemas/reports.d.ts +56 -236
- package/schemas/reports.d.ts.map +1 -1
- package/schemas/reports.js +0 -20
- package/schemas/reports.js.map +1 -1
- package/schemas/resources.d.ts +18 -18
- package/schemas/safety.d.ts +34 -34
- package/schemas/schedule.d.ts +48 -48
- package/schemas/site-links.d.ts +183 -0
- package/schemas/site-links.d.ts.map +1 -0
- package/schemas/site-links.js +40 -0
- package/schemas/site-links.js.map +1 -0
- package/schemas/spec-equal.d.ts.map +1 -1
- package/schemas/spec-equal.js +10 -4
- package/schemas/spec-equal.js.map +1 -1
- package/schemas/specifications.d.ts +108 -108
- package/schemas/tasks.d.ts +12 -12
- package/schemas/tours.d.ts +114 -0
- package/schemas/tours.d.ts.map +1 -0
- package/schemas/tours.js +29 -0
- package/schemas/tours.js.map +1 -0
- package/schemas/transmittals.d.ts +22 -22
- package/schemas/valuations.d.ts +556 -58
- package/schemas/valuations.d.ts.map +1 -1
- package/schemas/valuations.js +44 -3
- package/schemas/valuations.js.map +1 -1
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
1
|
export declare const commercialContract: {
|
|
3
2
|
listPlans: {
|
|
4
3
|
summary: "List NGN commercial bands/plans";
|
|
5
4
|
method: "GET";
|
|
6
5
|
path: "/commercial/plans";
|
|
7
6
|
responses: {
|
|
8
|
-
200:
|
|
9
|
-
data:
|
|
10
|
-
type:
|
|
11
|
-
id:
|
|
12
|
-
attributes:
|
|
13
|
-
id:
|
|
14
|
-
companyId:
|
|
15
|
-
band:
|
|
16
|
-
currency:
|
|
17
|
-
monthlyPrice:
|
|
18
|
-
freeClientSeats:
|
|
19
|
-
freeConsultantSeats:
|
|
20
|
-
isActive:
|
|
21
|
-
createdAt:
|
|
22
|
-
updatedAt:
|
|
23
|
-
}, "id">, "strip",
|
|
7
|
+
200: import("zod").ZodObject<{
|
|
8
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
9
|
+
type: import("zod").ZodLiteral<"commercial-plans">;
|
|
10
|
+
id: import("zod").ZodString;
|
|
11
|
+
attributes: import("zod").ZodObject<Omit<{
|
|
12
|
+
id: import("zod").ZodString;
|
|
13
|
+
companyId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14
|
+
band: import("zod").ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
|
|
15
|
+
currency: import("zod").ZodString;
|
|
16
|
+
monthlyPrice: import("zod").ZodNumber;
|
|
17
|
+
freeClientSeats: import("zod").ZodNumber;
|
|
18
|
+
freeConsultantSeats: import("zod").ZodNumber;
|
|
19
|
+
isActive: import("zod").ZodBoolean;
|
|
20
|
+
createdAt: import("zod").ZodString;
|
|
21
|
+
updatedAt: import("zod").ZodString;
|
|
22
|
+
}, "id">, "strip", import("zod").ZodTypeAny, {
|
|
24
23
|
createdAt: string;
|
|
25
24
|
updatedAt: string;
|
|
26
25
|
isActive: boolean;
|
|
@@ -41,7 +40,7 @@ export declare const commercialContract: {
|
|
|
41
40
|
freeConsultantSeats: number;
|
|
42
41
|
companyId?: string | null | undefined;
|
|
43
42
|
}>;
|
|
44
|
-
}, "strip",
|
|
43
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
45
44
|
id: string;
|
|
46
45
|
type: "commercial-plans";
|
|
47
46
|
attributes: {
|
|
@@ -70,14 +69,14 @@ export declare const commercialContract: {
|
|
|
70
69
|
companyId?: string | null | undefined;
|
|
71
70
|
};
|
|
72
71
|
}>, "many">;
|
|
73
|
-
meta:
|
|
74
|
-
total:
|
|
75
|
-
page:
|
|
76
|
-
size:
|
|
77
|
-
pages:
|
|
78
|
-
hasNextPage:
|
|
79
|
-
hasPreviousPage:
|
|
80
|
-
}, "strip",
|
|
72
|
+
meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
73
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
74
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
75
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
76
|
+
pages: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
77
|
+
hasNextPage: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
78
|
+
hasPreviousPage: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
79
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
81
80
|
page?: number | undefined;
|
|
82
81
|
total?: number | undefined;
|
|
83
82
|
size?: number | undefined;
|
|
@@ -92,13 +91,13 @@ export declare const commercialContract: {
|
|
|
92
91
|
hasNextPage?: boolean | undefined;
|
|
93
92
|
hasPreviousPage?: boolean | undefined;
|
|
94
93
|
}>>;
|
|
95
|
-
links:
|
|
96
|
-
self:
|
|
97
|
-
first:
|
|
98
|
-
last:
|
|
99
|
-
prev:
|
|
100
|
-
next:
|
|
101
|
-
}, "strip",
|
|
94
|
+
links: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
95
|
+
self: import("zod").ZodString;
|
|
96
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
97
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
+
prev: import("zod").ZodOptional<import("zod").ZodString>;
|
|
99
|
+
next: import("zod").ZodOptional<import("zod").ZodString>;
|
|
100
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
102
101
|
self: string;
|
|
103
102
|
first?: string | undefined;
|
|
104
103
|
last?: string | undefined;
|
|
@@ -111,7 +110,7 @@ export declare const commercialContract: {
|
|
|
111
110
|
prev?: string | undefined;
|
|
112
111
|
next?: string | undefined;
|
|
113
112
|
}>>;
|
|
114
|
-
}, "strip",
|
|
113
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
115
114
|
data: {
|
|
116
115
|
id: string;
|
|
117
116
|
type: "commercial-plans";
|
|
@@ -174,13 +173,13 @@ export declare const commercialContract: {
|
|
|
174
173
|
next?: string | undefined;
|
|
175
174
|
} | undefined;
|
|
176
175
|
}>;
|
|
177
|
-
401:
|
|
178
|
-
errors:
|
|
179
|
-
status:
|
|
180
|
-
title:
|
|
181
|
-
detail:
|
|
182
|
-
meta:
|
|
183
|
-
}, "strip",
|
|
176
|
+
401: import("zod").ZodObject<{
|
|
177
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
178
|
+
status: import("zod").ZodString;
|
|
179
|
+
title: import("zod").ZodString;
|
|
180
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
181
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
182
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
184
183
|
status: string;
|
|
185
184
|
title: string;
|
|
186
185
|
detail?: string | undefined;
|
|
@@ -191,7 +190,7 @@ export declare const commercialContract: {
|
|
|
191
190
|
detail?: string | undefined;
|
|
192
191
|
meta?: Record<string, unknown> | undefined;
|
|
193
192
|
}>, "many">;
|
|
194
|
-
}, "strip",
|
|
193
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
195
194
|
errors: {
|
|
196
195
|
status: string;
|
|
197
196
|
title: string;
|
|
@@ -206,13 +205,13 @@ export declare const commercialContract: {
|
|
|
206
205
|
meta?: Record<string, unknown> | undefined;
|
|
207
206
|
}[];
|
|
208
207
|
}>;
|
|
209
|
-
403:
|
|
210
|
-
errors:
|
|
211
|
-
status:
|
|
212
|
-
title:
|
|
213
|
-
detail:
|
|
214
|
-
meta:
|
|
215
|
-
}, "strip",
|
|
208
|
+
403: import("zod").ZodObject<{
|
|
209
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
210
|
+
status: import("zod").ZodString;
|
|
211
|
+
title: import("zod").ZodString;
|
|
212
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
213
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
214
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
216
215
|
status: string;
|
|
217
216
|
title: string;
|
|
218
217
|
detail?: string | undefined;
|
|
@@ -223,7 +222,7 @@ export declare const commercialContract: {
|
|
|
223
222
|
detail?: string | undefined;
|
|
224
223
|
meta?: Record<string, unknown> | undefined;
|
|
225
224
|
}>, "many">;
|
|
226
|
-
}, "strip",
|
|
225
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
227
226
|
errors: {
|
|
228
227
|
status: string;
|
|
229
228
|
title: string;
|
|
@@ -243,13 +242,13 @@ export declare const commercialContract: {
|
|
|
243
242
|
upsertPlan: {
|
|
244
243
|
summary: "Create or update a commercial plan band";
|
|
245
244
|
method: "POST";
|
|
246
|
-
body:
|
|
247
|
-
band:
|
|
248
|
-
monthlyPrice:
|
|
249
|
-
currency:
|
|
250
|
-
freeClientSeats:
|
|
251
|
-
freeConsultantSeats:
|
|
252
|
-
}, "strip",
|
|
245
|
+
body: import("zod").ZodObject<{
|
|
246
|
+
band: import("zod").ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
|
|
247
|
+
monthlyPrice: import("zod").ZodNumber;
|
|
248
|
+
currency: import("zod").ZodDefault<import("zod").ZodString>;
|
|
249
|
+
freeClientSeats: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
250
|
+
freeConsultantSeats: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
251
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
253
252
|
monthlyPrice: number;
|
|
254
253
|
currency: string;
|
|
255
254
|
band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
|
|
@@ -264,22 +263,22 @@ export declare const commercialContract: {
|
|
|
264
263
|
}>;
|
|
265
264
|
path: "/commercial/plans";
|
|
266
265
|
responses: {
|
|
267
|
-
201:
|
|
268
|
-
data:
|
|
269
|
-
type:
|
|
270
|
-
id:
|
|
271
|
-
attributes:
|
|
272
|
-
id:
|
|
273
|
-
companyId:
|
|
274
|
-
band:
|
|
275
|
-
currency:
|
|
276
|
-
monthlyPrice:
|
|
277
|
-
freeClientSeats:
|
|
278
|
-
freeConsultantSeats:
|
|
279
|
-
isActive:
|
|
280
|
-
createdAt:
|
|
281
|
-
updatedAt:
|
|
282
|
-
}, "id">, "strip",
|
|
266
|
+
201: import("zod").ZodObject<{
|
|
267
|
+
data: import("zod").ZodObject<{
|
|
268
|
+
type: import("zod").ZodLiteral<"commercial-plans">;
|
|
269
|
+
id: import("zod").ZodString;
|
|
270
|
+
attributes: import("zod").ZodObject<Omit<{
|
|
271
|
+
id: import("zod").ZodString;
|
|
272
|
+
companyId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
273
|
+
band: import("zod").ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
|
|
274
|
+
currency: import("zod").ZodString;
|
|
275
|
+
monthlyPrice: import("zod").ZodNumber;
|
|
276
|
+
freeClientSeats: import("zod").ZodNumber;
|
|
277
|
+
freeConsultantSeats: import("zod").ZodNumber;
|
|
278
|
+
isActive: import("zod").ZodBoolean;
|
|
279
|
+
createdAt: import("zod").ZodString;
|
|
280
|
+
updatedAt: import("zod").ZodString;
|
|
281
|
+
}, "id">, "strip", import("zod").ZodTypeAny, {
|
|
283
282
|
createdAt: string;
|
|
284
283
|
updatedAt: string;
|
|
285
284
|
isActive: boolean;
|
|
@@ -300,7 +299,7 @@ export declare const commercialContract: {
|
|
|
300
299
|
freeConsultantSeats: number;
|
|
301
300
|
companyId?: string | null | undefined;
|
|
302
301
|
}>;
|
|
303
|
-
}, "strip",
|
|
302
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
304
303
|
id: string;
|
|
305
304
|
type: "commercial-plans";
|
|
306
305
|
attributes: {
|
|
@@ -329,14 +328,14 @@ export declare const commercialContract: {
|
|
|
329
328
|
companyId?: string | null | undefined;
|
|
330
329
|
};
|
|
331
330
|
}>;
|
|
332
|
-
meta:
|
|
333
|
-
links:
|
|
334
|
-
self:
|
|
335
|
-
first:
|
|
336
|
-
last:
|
|
337
|
-
prev:
|
|
338
|
-
next:
|
|
339
|
-
}, "strip",
|
|
331
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
332
|
+
links: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
333
|
+
self: import("zod").ZodString;
|
|
334
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
335
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
336
|
+
prev: import("zod").ZodOptional<import("zod").ZodString>;
|
|
337
|
+
next: import("zod").ZodOptional<import("zod").ZodString>;
|
|
338
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
340
339
|
self: string;
|
|
341
340
|
first?: string | undefined;
|
|
342
341
|
last?: string | undefined;
|
|
@@ -349,12 +348,12 @@ export declare const commercialContract: {
|
|
|
349
348
|
prev?: string | undefined;
|
|
350
349
|
next?: string | undefined;
|
|
351
350
|
}>>;
|
|
352
|
-
errors:
|
|
353
|
-
status:
|
|
354
|
-
title:
|
|
355
|
-
detail:
|
|
356
|
-
meta:
|
|
357
|
-
}, "strip",
|
|
351
|
+
errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
352
|
+
status: import("zod").ZodString;
|
|
353
|
+
title: import("zod").ZodString;
|
|
354
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
355
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
356
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
358
357
|
status: string;
|
|
359
358
|
title: string;
|
|
360
359
|
detail?: string | undefined;
|
|
@@ -365,7 +364,7 @@ export declare const commercialContract: {
|
|
|
365
364
|
detail?: string | undefined;
|
|
366
365
|
meta?: Record<string, unknown> | undefined;
|
|
367
366
|
}>, "many">>;
|
|
368
|
-
}, "strip",
|
|
367
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
369
368
|
data: {
|
|
370
369
|
id: string;
|
|
371
370
|
type: "commercial-plans";
|
|
@@ -426,13 +425,13 @@ export declare const commercialContract: {
|
|
|
426
425
|
meta?: Record<string, unknown> | undefined;
|
|
427
426
|
}[] | undefined;
|
|
428
427
|
}>;
|
|
429
|
-
401:
|
|
430
|
-
errors:
|
|
431
|
-
status:
|
|
432
|
-
title:
|
|
433
|
-
detail:
|
|
434
|
-
meta:
|
|
435
|
-
}, "strip",
|
|
428
|
+
401: import("zod").ZodObject<{
|
|
429
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
430
|
+
status: import("zod").ZodString;
|
|
431
|
+
title: import("zod").ZodString;
|
|
432
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
433
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
434
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
436
435
|
status: string;
|
|
437
436
|
title: string;
|
|
438
437
|
detail?: string | undefined;
|
|
@@ -443,7 +442,7 @@ export declare const commercialContract: {
|
|
|
443
442
|
detail?: string | undefined;
|
|
444
443
|
meta?: Record<string, unknown> | undefined;
|
|
445
444
|
}>, "many">;
|
|
446
|
-
}, "strip",
|
|
445
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
447
446
|
errors: {
|
|
448
447
|
status: string;
|
|
449
448
|
title: string;
|
|
@@ -458,13 +457,13 @@ export declare const commercialContract: {
|
|
|
458
457
|
meta?: Record<string, unknown> | undefined;
|
|
459
458
|
}[];
|
|
460
459
|
}>;
|
|
461
|
-
403:
|
|
462
|
-
errors:
|
|
463
|
-
status:
|
|
464
|
-
title:
|
|
465
|
-
detail:
|
|
466
|
-
meta:
|
|
467
|
-
}, "strip",
|
|
460
|
+
403: import("zod").ZodObject<{
|
|
461
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
462
|
+
status: import("zod").ZodString;
|
|
463
|
+
title: import("zod").ZodString;
|
|
464
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
465
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
466
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
468
467
|
status: string;
|
|
469
468
|
title: string;
|
|
470
469
|
detail?: string | undefined;
|
|
@@ -475,7 +474,7 @@ export declare const commercialContract: {
|
|
|
475
474
|
detail?: string | undefined;
|
|
476
475
|
meta?: Record<string, unknown> | undefined;
|
|
477
476
|
}>, "many">;
|
|
478
|
-
}, "strip",
|
|
477
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
479
478
|
errors: {
|
|
480
479
|
status: string;
|
|
481
480
|
title: string;
|
|
@@ -495,13 +494,13 @@ export declare const commercialContract: {
|
|
|
495
494
|
createQuote: {
|
|
496
495
|
summary: "Create a commercial quote";
|
|
497
496
|
method: "POST";
|
|
498
|
-
body:
|
|
499
|
-
band:
|
|
500
|
-
amount:
|
|
501
|
-
currency:
|
|
502
|
-
validUntil:
|
|
503
|
-
notes:
|
|
504
|
-
}, "strip",
|
|
497
|
+
body: import("zod").ZodObject<{
|
|
498
|
+
band: import("zod").ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
|
|
499
|
+
amount: import("zod").ZodNumber;
|
|
500
|
+
currency: import("zod").ZodDefault<import("zod").ZodString>;
|
|
501
|
+
validUntil: import("zod").ZodOptional<import("zod").ZodString>;
|
|
502
|
+
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
|
503
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
505
504
|
currency: string;
|
|
506
505
|
amount: number;
|
|
507
506
|
band: "ENTERPRISE" | "STARTER" | "GROWTH" | "SCALE";
|
|
@@ -516,23 +515,23 @@ export declare const commercialContract: {
|
|
|
516
515
|
}>;
|
|
517
516
|
path: "/commercial/quotes";
|
|
518
517
|
responses: {
|
|
519
|
-
201:
|
|
520
|
-
data:
|
|
521
|
-
type:
|
|
522
|
-
id:
|
|
523
|
-
attributes:
|
|
524
|
-
id:
|
|
525
|
-
companyId:
|
|
526
|
-
band:
|
|
527
|
-
amount:
|
|
528
|
-
currency:
|
|
529
|
-
status:
|
|
530
|
-
validUntil:
|
|
531
|
-
notes:
|
|
532
|
-
createdById:
|
|
533
|
-
createdAt:
|
|
534
|
-
updatedAt:
|
|
535
|
-
}, "id">, "strip",
|
|
518
|
+
201: import("zod").ZodObject<{
|
|
519
|
+
data: import("zod").ZodObject<{
|
|
520
|
+
type: import("zod").ZodLiteral<"commercial-quotes">;
|
|
521
|
+
id: import("zod").ZodString;
|
|
522
|
+
attributes: import("zod").ZodObject<Omit<{
|
|
523
|
+
id: import("zod").ZodString;
|
|
524
|
+
companyId: import("zod").ZodString;
|
|
525
|
+
band: import("zod").ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
|
|
526
|
+
amount: import("zod").ZodNumber;
|
|
527
|
+
currency: import("zod").ZodString;
|
|
528
|
+
status: import("zod").ZodEnum<["DRAFT", "SENT", "ACCEPTED", "DECLINED", "EXPIRED"]>;
|
|
529
|
+
validUntil: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
530
|
+
notes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
531
|
+
createdById: import("zod").ZodString;
|
|
532
|
+
createdAt: import("zod").ZodString;
|
|
533
|
+
updatedAt: import("zod").ZodString;
|
|
534
|
+
}, "id">, "strip", import("zod").ZodTypeAny, {
|
|
536
535
|
createdAt: string;
|
|
537
536
|
updatedAt: string;
|
|
538
537
|
companyId: string;
|
|
@@ -555,7 +554,7 @@ export declare const commercialContract: {
|
|
|
555
554
|
notes?: string | null | undefined;
|
|
556
555
|
validUntil?: string | null | undefined;
|
|
557
556
|
}>;
|
|
558
|
-
}, "strip",
|
|
557
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
559
558
|
id: string;
|
|
560
559
|
type: "commercial-quotes";
|
|
561
560
|
attributes: {
|
|
@@ -586,14 +585,14 @@ export declare const commercialContract: {
|
|
|
586
585
|
validUntil?: string | null | undefined;
|
|
587
586
|
};
|
|
588
587
|
}>;
|
|
589
|
-
meta:
|
|
590
|
-
links:
|
|
591
|
-
self:
|
|
592
|
-
first:
|
|
593
|
-
last:
|
|
594
|
-
prev:
|
|
595
|
-
next:
|
|
596
|
-
}, "strip",
|
|
588
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
589
|
+
links: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
590
|
+
self: import("zod").ZodString;
|
|
591
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
592
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
593
|
+
prev: import("zod").ZodOptional<import("zod").ZodString>;
|
|
594
|
+
next: import("zod").ZodOptional<import("zod").ZodString>;
|
|
595
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
597
596
|
self: string;
|
|
598
597
|
first?: string | undefined;
|
|
599
598
|
last?: string | undefined;
|
|
@@ -606,12 +605,12 @@ export declare const commercialContract: {
|
|
|
606
605
|
prev?: string | undefined;
|
|
607
606
|
next?: string | undefined;
|
|
608
607
|
}>>;
|
|
609
|
-
errors:
|
|
610
|
-
status:
|
|
611
|
-
title:
|
|
612
|
-
detail:
|
|
613
|
-
meta:
|
|
614
|
-
}, "strip",
|
|
608
|
+
errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
609
|
+
status: import("zod").ZodString;
|
|
610
|
+
title: import("zod").ZodString;
|
|
611
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
612
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
613
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
615
614
|
status: string;
|
|
616
615
|
title: string;
|
|
617
616
|
detail?: string | undefined;
|
|
@@ -622,7 +621,7 @@ export declare const commercialContract: {
|
|
|
622
621
|
detail?: string | undefined;
|
|
623
622
|
meta?: Record<string, unknown> | undefined;
|
|
624
623
|
}>, "many">>;
|
|
625
|
-
}, "strip",
|
|
624
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
626
625
|
data: {
|
|
627
626
|
id: string;
|
|
628
627
|
type: "commercial-quotes";
|
|
@@ -685,13 +684,13 @@ export declare const commercialContract: {
|
|
|
685
684
|
meta?: Record<string, unknown> | undefined;
|
|
686
685
|
}[] | undefined;
|
|
687
686
|
}>;
|
|
688
|
-
401:
|
|
689
|
-
errors:
|
|
690
|
-
status:
|
|
691
|
-
title:
|
|
692
|
-
detail:
|
|
693
|
-
meta:
|
|
694
|
-
}, "strip",
|
|
687
|
+
401: import("zod").ZodObject<{
|
|
688
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
689
|
+
status: import("zod").ZodString;
|
|
690
|
+
title: import("zod").ZodString;
|
|
691
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
692
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
693
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
695
694
|
status: string;
|
|
696
695
|
title: string;
|
|
697
696
|
detail?: string | undefined;
|
|
@@ -702,7 +701,7 @@ export declare const commercialContract: {
|
|
|
702
701
|
detail?: string | undefined;
|
|
703
702
|
meta?: Record<string, unknown> | undefined;
|
|
704
703
|
}>, "many">;
|
|
705
|
-
}, "strip",
|
|
704
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
706
705
|
errors: {
|
|
707
706
|
status: string;
|
|
708
707
|
title: string;
|
|
@@ -717,13 +716,13 @@ export declare const commercialContract: {
|
|
|
717
716
|
meta?: Record<string, unknown> | undefined;
|
|
718
717
|
}[];
|
|
719
718
|
}>;
|
|
720
|
-
403:
|
|
721
|
-
errors:
|
|
722
|
-
status:
|
|
723
|
-
title:
|
|
724
|
-
detail:
|
|
725
|
-
meta:
|
|
726
|
-
}, "strip",
|
|
719
|
+
403: import("zod").ZodObject<{
|
|
720
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
721
|
+
status: import("zod").ZodString;
|
|
722
|
+
title: import("zod").ZodString;
|
|
723
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
724
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
725
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
727
726
|
status: string;
|
|
728
727
|
title: string;
|
|
729
728
|
detail?: string | undefined;
|
|
@@ -734,7 +733,7 @@ export declare const commercialContract: {
|
|
|
734
733
|
detail?: string | undefined;
|
|
735
734
|
meta?: Record<string, unknown> | undefined;
|
|
736
735
|
}>, "many">;
|
|
737
|
-
}, "strip",
|
|
736
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
738
737
|
errors: {
|
|
739
738
|
status: string;
|
|
740
739
|
title: string;
|
|
@@ -756,23 +755,23 @@ export declare const commercialContract: {
|
|
|
756
755
|
method: "GET";
|
|
757
756
|
path: "/commercial/quotes";
|
|
758
757
|
responses: {
|
|
759
|
-
200:
|
|
760
|
-
data:
|
|
761
|
-
type:
|
|
762
|
-
id:
|
|
763
|
-
attributes:
|
|
764
|
-
id:
|
|
765
|
-
companyId:
|
|
766
|
-
band:
|
|
767
|
-
amount:
|
|
768
|
-
currency:
|
|
769
|
-
status:
|
|
770
|
-
validUntil:
|
|
771
|
-
notes:
|
|
772
|
-
createdById:
|
|
773
|
-
createdAt:
|
|
774
|
-
updatedAt:
|
|
775
|
-
}, "id">, "strip",
|
|
758
|
+
200: import("zod").ZodObject<{
|
|
759
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
760
|
+
type: import("zod").ZodLiteral<"commercial-quotes">;
|
|
761
|
+
id: import("zod").ZodString;
|
|
762
|
+
attributes: import("zod").ZodObject<Omit<{
|
|
763
|
+
id: import("zod").ZodString;
|
|
764
|
+
companyId: import("zod").ZodString;
|
|
765
|
+
band: import("zod").ZodEnum<["STARTER", "GROWTH", "SCALE", "ENTERPRISE"]>;
|
|
766
|
+
amount: import("zod").ZodNumber;
|
|
767
|
+
currency: import("zod").ZodString;
|
|
768
|
+
status: import("zod").ZodEnum<["DRAFT", "SENT", "ACCEPTED", "DECLINED", "EXPIRED"]>;
|
|
769
|
+
validUntil: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
770
|
+
notes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
771
|
+
createdById: import("zod").ZodString;
|
|
772
|
+
createdAt: import("zod").ZodString;
|
|
773
|
+
updatedAt: import("zod").ZodString;
|
|
774
|
+
}, "id">, "strip", import("zod").ZodTypeAny, {
|
|
776
775
|
createdAt: string;
|
|
777
776
|
updatedAt: string;
|
|
778
777
|
companyId: string;
|
|
@@ -795,7 +794,7 @@ export declare const commercialContract: {
|
|
|
795
794
|
notes?: string | null | undefined;
|
|
796
795
|
validUntil?: string | null | undefined;
|
|
797
796
|
}>;
|
|
798
|
-
}, "strip",
|
|
797
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
799
798
|
id: string;
|
|
800
799
|
type: "commercial-quotes";
|
|
801
800
|
attributes: {
|
|
@@ -826,14 +825,14 @@ export declare const commercialContract: {
|
|
|
826
825
|
validUntil?: string | null | undefined;
|
|
827
826
|
};
|
|
828
827
|
}>, "many">;
|
|
829
|
-
meta:
|
|
830
|
-
total:
|
|
831
|
-
page:
|
|
832
|
-
size:
|
|
833
|
-
pages:
|
|
834
|
-
hasNextPage:
|
|
835
|
-
hasPreviousPage:
|
|
836
|
-
}, "strip",
|
|
828
|
+
meta: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
829
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
830
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
831
|
+
size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
832
|
+
pages: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
833
|
+
hasNextPage: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
834
|
+
hasPreviousPage: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
835
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
837
836
|
page?: number | undefined;
|
|
838
837
|
total?: number | undefined;
|
|
839
838
|
size?: number | undefined;
|
|
@@ -848,13 +847,13 @@ export declare const commercialContract: {
|
|
|
848
847
|
hasNextPage?: boolean | undefined;
|
|
849
848
|
hasPreviousPage?: boolean | undefined;
|
|
850
849
|
}>>;
|
|
851
|
-
links:
|
|
852
|
-
self:
|
|
853
|
-
first:
|
|
854
|
-
last:
|
|
855
|
-
prev:
|
|
856
|
-
next:
|
|
857
|
-
}, "strip",
|
|
850
|
+
links: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
851
|
+
self: import("zod").ZodString;
|
|
852
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
853
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
854
|
+
prev: import("zod").ZodOptional<import("zod").ZodString>;
|
|
855
|
+
next: import("zod").ZodOptional<import("zod").ZodString>;
|
|
856
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
858
857
|
self: string;
|
|
859
858
|
first?: string | undefined;
|
|
860
859
|
last?: string | undefined;
|
|
@@ -867,7 +866,7 @@ export declare const commercialContract: {
|
|
|
867
866
|
prev?: string | undefined;
|
|
868
867
|
next?: string | undefined;
|
|
869
868
|
}>>;
|
|
870
|
-
}, "strip",
|
|
869
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
871
870
|
data: {
|
|
872
871
|
id: string;
|
|
873
872
|
type: "commercial-quotes";
|
|
@@ -932,13 +931,13 @@ export declare const commercialContract: {
|
|
|
932
931
|
next?: string | undefined;
|
|
933
932
|
} | undefined;
|
|
934
933
|
}>;
|
|
935
|
-
401:
|
|
936
|
-
errors:
|
|
937
|
-
status:
|
|
938
|
-
title:
|
|
939
|
-
detail:
|
|
940
|
-
meta:
|
|
941
|
-
}, "strip",
|
|
934
|
+
401: import("zod").ZodObject<{
|
|
935
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
936
|
+
status: import("zod").ZodString;
|
|
937
|
+
title: import("zod").ZodString;
|
|
938
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
939
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
940
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
942
941
|
status: string;
|
|
943
942
|
title: string;
|
|
944
943
|
detail?: string | undefined;
|
|
@@ -949,7 +948,7 @@ export declare const commercialContract: {
|
|
|
949
948
|
detail?: string | undefined;
|
|
950
949
|
meta?: Record<string, unknown> | undefined;
|
|
951
950
|
}>, "many">;
|
|
952
|
-
}, "strip",
|
|
951
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
953
952
|
errors: {
|
|
954
953
|
status: string;
|
|
955
954
|
title: string;
|
|
@@ -964,13 +963,13 @@ export declare const commercialContract: {
|
|
|
964
963
|
meta?: Record<string, unknown> | undefined;
|
|
965
964
|
}[];
|
|
966
965
|
}>;
|
|
967
|
-
403:
|
|
968
|
-
errors:
|
|
969
|
-
status:
|
|
970
|
-
title:
|
|
971
|
-
detail:
|
|
972
|
-
meta:
|
|
973
|
-
}, "strip",
|
|
966
|
+
403: import("zod").ZodObject<{
|
|
967
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
968
|
+
status: import("zod").ZodString;
|
|
969
|
+
title: import("zod").ZodString;
|
|
970
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
971
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
972
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
974
973
|
status: string;
|
|
975
974
|
title: string;
|
|
976
975
|
detail?: string | undefined;
|
|
@@ -981,7 +980,7 @@ export declare const commercialContract: {
|
|
|
981
980
|
detail?: string | undefined;
|
|
982
981
|
meta?: Record<string, unknown> | undefined;
|
|
983
982
|
}>, "many">;
|
|
984
|
-
}, "strip",
|
|
983
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
985
984
|
errors: {
|
|
986
985
|
status: string;
|
|
987
986
|
title: string;
|
|
@@ -1001,31 +1000,31 @@ export declare const commercialContract: {
|
|
|
1001
1000
|
createSubscription: {
|
|
1002
1001
|
summary: "Start subscription with free client/consultant seats";
|
|
1003
1002
|
method: "POST";
|
|
1004
|
-
body:
|
|
1005
|
-
planId:
|
|
1006
|
-
}, "strip",
|
|
1003
|
+
body: import("zod").ZodObject<{
|
|
1004
|
+
planId: import("zod").ZodString;
|
|
1005
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1007
1006
|
planId: string;
|
|
1008
1007
|
}, {
|
|
1009
1008
|
planId: string;
|
|
1010
1009
|
}>;
|
|
1011
1010
|
path: "/commercial/subscriptions";
|
|
1012
1011
|
responses: {
|
|
1013
|
-
201:
|
|
1014
|
-
data:
|
|
1015
|
-
type:
|
|
1016
|
-
id:
|
|
1017
|
-
attributes:
|
|
1018
|
-
id:
|
|
1019
|
-
companyId:
|
|
1020
|
-
planId:
|
|
1021
|
-
status:
|
|
1022
|
-
startedAt:
|
|
1023
|
-
endsAt:
|
|
1024
|
-
clientSeatsUsed:
|
|
1025
|
-
consultantSeatsUsed:
|
|
1026
|
-
createdAt:
|
|
1027
|
-
updatedAt:
|
|
1028
|
-
}, "id">, "strip",
|
|
1012
|
+
201: import("zod").ZodObject<{
|
|
1013
|
+
data: import("zod").ZodObject<{
|
|
1014
|
+
type: import("zod").ZodLiteral<"commercial-subscriptions">;
|
|
1015
|
+
id: import("zod").ZodString;
|
|
1016
|
+
attributes: import("zod").ZodObject<Omit<{
|
|
1017
|
+
id: import("zod").ZodString;
|
|
1018
|
+
companyId: import("zod").ZodString;
|
|
1019
|
+
planId: import("zod").ZodString;
|
|
1020
|
+
status: import("zod").ZodEnum<["TRIALING", "ACTIVE", "PAST_DUE", "CANCELLED"]>;
|
|
1021
|
+
startedAt: import("zod").ZodString;
|
|
1022
|
+
endsAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1023
|
+
clientSeatsUsed: import("zod").ZodNumber;
|
|
1024
|
+
consultantSeatsUsed: import("zod").ZodNumber;
|
|
1025
|
+
createdAt: import("zod").ZodString;
|
|
1026
|
+
updatedAt: import("zod").ZodString;
|
|
1027
|
+
}, "id">, "strip", import("zod").ZodTypeAny, {
|
|
1029
1028
|
createdAt: string;
|
|
1030
1029
|
updatedAt: string;
|
|
1031
1030
|
companyId: string;
|
|
@@ -1046,7 +1045,7 @@ export declare const commercialContract: {
|
|
|
1046
1045
|
consultantSeatsUsed: number;
|
|
1047
1046
|
endsAt?: string | null | undefined;
|
|
1048
1047
|
}>;
|
|
1049
|
-
}, "strip",
|
|
1048
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1050
1049
|
id: string;
|
|
1051
1050
|
type: "commercial-subscriptions";
|
|
1052
1051
|
attributes: {
|
|
@@ -1075,14 +1074,14 @@ export declare const commercialContract: {
|
|
|
1075
1074
|
endsAt?: string | null | undefined;
|
|
1076
1075
|
};
|
|
1077
1076
|
}>;
|
|
1078
|
-
meta:
|
|
1079
|
-
links:
|
|
1080
|
-
self:
|
|
1081
|
-
first:
|
|
1082
|
-
last:
|
|
1083
|
-
prev:
|
|
1084
|
-
next:
|
|
1085
|
-
}, "strip",
|
|
1077
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1078
|
+
links: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1079
|
+
self: import("zod").ZodString;
|
|
1080
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1081
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1082
|
+
prev: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1083
|
+
next: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1084
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1086
1085
|
self: string;
|
|
1087
1086
|
first?: string | undefined;
|
|
1088
1087
|
last?: string | undefined;
|
|
@@ -1095,12 +1094,12 @@ export declare const commercialContract: {
|
|
|
1095
1094
|
prev?: string | undefined;
|
|
1096
1095
|
next?: string | undefined;
|
|
1097
1096
|
}>>;
|
|
1098
|
-
errors:
|
|
1099
|
-
status:
|
|
1100
|
-
title:
|
|
1101
|
-
detail:
|
|
1102
|
-
meta:
|
|
1103
|
-
}, "strip",
|
|
1097
|
+
errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1098
|
+
status: import("zod").ZodString;
|
|
1099
|
+
title: import("zod").ZodString;
|
|
1100
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1101
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1102
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1104
1103
|
status: string;
|
|
1105
1104
|
title: string;
|
|
1106
1105
|
detail?: string | undefined;
|
|
@@ -1111,7 +1110,7 @@ export declare const commercialContract: {
|
|
|
1111
1110
|
detail?: string | undefined;
|
|
1112
1111
|
meta?: Record<string, unknown> | undefined;
|
|
1113
1112
|
}>, "many">>;
|
|
1114
|
-
}, "strip",
|
|
1113
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1115
1114
|
data: {
|
|
1116
1115
|
id: string;
|
|
1117
1116
|
type: "commercial-subscriptions";
|
|
@@ -1172,13 +1171,13 @@ export declare const commercialContract: {
|
|
|
1172
1171
|
meta?: Record<string, unknown> | undefined;
|
|
1173
1172
|
}[] | undefined;
|
|
1174
1173
|
}>;
|
|
1175
|
-
401:
|
|
1176
|
-
errors:
|
|
1177
|
-
status:
|
|
1178
|
-
title:
|
|
1179
|
-
detail:
|
|
1180
|
-
meta:
|
|
1181
|
-
}, "strip",
|
|
1174
|
+
401: import("zod").ZodObject<{
|
|
1175
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1176
|
+
status: import("zod").ZodString;
|
|
1177
|
+
title: import("zod").ZodString;
|
|
1178
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1179
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1180
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1182
1181
|
status: string;
|
|
1183
1182
|
title: string;
|
|
1184
1183
|
detail?: string | undefined;
|
|
@@ -1189,7 +1188,7 @@ export declare const commercialContract: {
|
|
|
1189
1188
|
detail?: string | undefined;
|
|
1190
1189
|
meta?: Record<string, unknown> | undefined;
|
|
1191
1190
|
}>, "many">;
|
|
1192
|
-
}, "strip",
|
|
1191
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1193
1192
|
errors: {
|
|
1194
1193
|
status: string;
|
|
1195
1194
|
title: string;
|
|
@@ -1204,13 +1203,13 @@ export declare const commercialContract: {
|
|
|
1204
1203
|
meta?: Record<string, unknown> | undefined;
|
|
1205
1204
|
}[];
|
|
1206
1205
|
}>;
|
|
1207
|
-
403:
|
|
1208
|
-
errors:
|
|
1209
|
-
status:
|
|
1210
|
-
title:
|
|
1211
|
-
detail:
|
|
1212
|
-
meta:
|
|
1213
|
-
}, "strip",
|
|
1206
|
+
403: import("zod").ZodObject<{
|
|
1207
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1208
|
+
status: import("zod").ZodString;
|
|
1209
|
+
title: import("zod").ZodString;
|
|
1210
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1211
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1212
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1214
1213
|
status: string;
|
|
1215
1214
|
title: string;
|
|
1216
1215
|
detail?: string | undefined;
|
|
@@ -1221,7 +1220,7 @@ export declare const commercialContract: {
|
|
|
1221
1220
|
detail?: string | undefined;
|
|
1222
1221
|
meta?: Record<string, unknown> | undefined;
|
|
1223
1222
|
}>, "many">;
|
|
1224
|
-
}, "strip",
|
|
1223
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1225
1224
|
errors: {
|
|
1226
1225
|
status: string;
|
|
1227
1226
|
title: string;
|
|
@@ -1243,22 +1242,22 @@ export declare const commercialContract: {
|
|
|
1243
1242
|
method: "GET";
|
|
1244
1243
|
path: "/commercial/subscriptions/current";
|
|
1245
1244
|
responses: {
|
|
1246
|
-
200:
|
|
1247
|
-
data:
|
|
1248
|
-
type:
|
|
1249
|
-
id:
|
|
1250
|
-
attributes:
|
|
1251
|
-
id:
|
|
1252
|
-
companyId:
|
|
1253
|
-
planId:
|
|
1254
|
-
status:
|
|
1255
|
-
startedAt:
|
|
1256
|
-
endsAt:
|
|
1257
|
-
clientSeatsUsed:
|
|
1258
|
-
consultantSeatsUsed:
|
|
1259
|
-
createdAt:
|
|
1260
|
-
updatedAt:
|
|
1261
|
-
}, "id">, "strip",
|
|
1245
|
+
200: import("zod").ZodObject<{
|
|
1246
|
+
data: import("zod").ZodObject<{
|
|
1247
|
+
type: import("zod").ZodLiteral<"commercial-subscriptions">;
|
|
1248
|
+
id: import("zod").ZodString;
|
|
1249
|
+
attributes: import("zod").ZodObject<Omit<{
|
|
1250
|
+
id: import("zod").ZodString;
|
|
1251
|
+
companyId: import("zod").ZodString;
|
|
1252
|
+
planId: import("zod").ZodString;
|
|
1253
|
+
status: import("zod").ZodEnum<["TRIALING", "ACTIVE", "PAST_DUE", "CANCELLED"]>;
|
|
1254
|
+
startedAt: import("zod").ZodString;
|
|
1255
|
+
endsAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
1256
|
+
clientSeatsUsed: import("zod").ZodNumber;
|
|
1257
|
+
consultantSeatsUsed: import("zod").ZodNumber;
|
|
1258
|
+
createdAt: import("zod").ZodString;
|
|
1259
|
+
updatedAt: import("zod").ZodString;
|
|
1260
|
+
}, "id">, "strip", import("zod").ZodTypeAny, {
|
|
1262
1261
|
createdAt: string;
|
|
1263
1262
|
updatedAt: string;
|
|
1264
1263
|
companyId: string;
|
|
@@ -1279,7 +1278,7 @@ export declare const commercialContract: {
|
|
|
1279
1278
|
consultantSeatsUsed: number;
|
|
1280
1279
|
endsAt?: string | null | undefined;
|
|
1281
1280
|
}>;
|
|
1282
|
-
}, "strip",
|
|
1281
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1283
1282
|
id: string;
|
|
1284
1283
|
type: "commercial-subscriptions";
|
|
1285
1284
|
attributes: {
|
|
@@ -1308,14 +1307,14 @@ export declare const commercialContract: {
|
|
|
1308
1307
|
endsAt?: string | null | undefined;
|
|
1309
1308
|
};
|
|
1310
1309
|
}>;
|
|
1311
|
-
meta:
|
|
1312
|
-
links:
|
|
1313
|
-
self:
|
|
1314
|
-
first:
|
|
1315
|
-
last:
|
|
1316
|
-
prev:
|
|
1317
|
-
next:
|
|
1318
|
-
}, "strip",
|
|
1310
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1311
|
+
links: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1312
|
+
self: import("zod").ZodString;
|
|
1313
|
+
first: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1314
|
+
last: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1315
|
+
prev: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1316
|
+
next: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1317
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1319
1318
|
self: string;
|
|
1320
1319
|
first?: string | undefined;
|
|
1321
1320
|
last?: string | undefined;
|
|
@@ -1328,12 +1327,12 @@ export declare const commercialContract: {
|
|
|
1328
1327
|
prev?: string | undefined;
|
|
1329
1328
|
next?: string | undefined;
|
|
1330
1329
|
}>>;
|
|
1331
|
-
errors:
|
|
1332
|
-
status:
|
|
1333
|
-
title:
|
|
1334
|
-
detail:
|
|
1335
|
-
meta:
|
|
1336
|
-
}, "strip",
|
|
1330
|
+
errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1331
|
+
status: import("zod").ZodString;
|
|
1332
|
+
title: import("zod").ZodString;
|
|
1333
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1334
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1335
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1337
1336
|
status: string;
|
|
1338
1337
|
title: string;
|
|
1339
1338
|
detail?: string | undefined;
|
|
@@ -1344,7 +1343,7 @@ export declare const commercialContract: {
|
|
|
1344
1343
|
detail?: string | undefined;
|
|
1345
1344
|
meta?: Record<string, unknown> | undefined;
|
|
1346
1345
|
}>, "many">>;
|
|
1347
|
-
}, "strip",
|
|
1346
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1348
1347
|
data: {
|
|
1349
1348
|
id: string;
|
|
1350
1349
|
type: "commercial-subscriptions";
|
|
@@ -1405,13 +1404,13 @@ export declare const commercialContract: {
|
|
|
1405
1404
|
meta?: Record<string, unknown> | undefined;
|
|
1406
1405
|
}[] | undefined;
|
|
1407
1406
|
}>;
|
|
1408
|
-
404:
|
|
1409
|
-
errors:
|
|
1410
|
-
status:
|
|
1411
|
-
title:
|
|
1412
|
-
detail:
|
|
1413
|
-
meta:
|
|
1414
|
-
}, "strip",
|
|
1407
|
+
404: import("zod").ZodObject<{
|
|
1408
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1409
|
+
status: import("zod").ZodString;
|
|
1410
|
+
title: import("zod").ZodString;
|
|
1411
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1412
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1413
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1415
1414
|
status: string;
|
|
1416
1415
|
title: string;
|
|
1417
1416
|
detail?: string | undefined;
|
|
@@ -1422,7 +1421,7 @@ export declare const commercialContract: {
|
|
|
1422
1421
|
detail?: string | undefined;
|
|
1423
1422
|
meta?: Record<string, unknown> | undefined;
|
|
1424
1423
|
}>, "many">;
|
|
1425
|
-
}, "strip",
|
|
1424
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1426
1425
|
errors: {
|
|
1427
1426
|
status: string;
|
|
1428
1427
|
title: string;
|
|
@@ -1437,13 +1436,13 @@ export declare const commercialContract: {
|
|
|
1437
1436
|
meta?: Record<string, unknown> | undefined;
|
|
1438
1437
|
}[];
|
|
1439
1438
|
}>;
|
|
1440
|
-
401:
|
|
1441
|
-
errors:
|
|
1442
|
-
status:
|
|
1443
|
-
title:
|
|
1444
|
-
detail:
|
|
1445
|
-
meta:
|
|
1446
|
-
}, "strip",
|
|
1439
|
+
401: import("zod").ZodObject<{
|
|
1440
|
+
errors: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1441
|
+
status: import("zod").ZodString;
|
|
1442
|
+
title: import("zod").ZodString;
|
|
1443
|
+
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1444
|
+
meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1445
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1447
1446
|
status: string;
|
|
1448
1447
|
title: string;
|
|
1449
1448
|
detail?: string | undefined;
|
|
@@ -1454,7 +1453,7 @@ export declare const commercialContract: {
|
|
|
1454
1453
|
detail?: string | undefined;
|
|
1455
1454
|
meta?: Record<string, unknown> | undefined;
|
|
1456
1455
|
}>, "many">;
|
|
1457
|
-
}, "strip",
|
|
1456
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1458
1457
|
errors: {
|
|
1459
1458
|
status: string;
|
|
1460
1459
|
title: string;
|