@unifiedcommerce/core 0.3.3 → 0.4.0

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 (35) hide show
  1. package/dist/auth/setup.d.ts +25 -66
  2. package/dist/auth/setup.d.ts.map +1 -1
  3. package/dist/auth/setup.js +7 -20
  4. package/dist/interfaces/mcp/tools/webhooks.d.ts +1 -1
  5. package/dist/interfaces/rest/index.d.ts.map +1 -1
  6. package/dist/interfaces/rest/index.js +14 -3
  7. package/dist/interfaces/rest/routes/customers.d.ts +5 -0
  8. package/dist/interfaces/rest/routes/customers.d.ts.map +1 -0
  9. package/dist/interfaces/rest/routes/customers.js +74 -0
  10. package/dist/interfaces/rest/routes/inventory.d.ts.map +1 -1
  11. package/dist/interfaces/rest/routes/inventory.js +14 -1
  12. package/dist/interfaces/rest/schemas/customers.d.ts +422 -0
  13. package/dist/interfaces/rest/schemas/customers.d.ts.map +1 -0
  14. package/dist/interfaces/rest/schemas/customers.js +150 -0
  15. package/dist/interfaces/rest/schemas/inventory.d.ts +92 -0
  16. package/dist/interfaces/rest/schemas/inventory.d.ts.map +1 -1
  17. package/dist/interfaces/rest/schemas/inventory.js +20 -0
  18. package/dist/modules/customers/service.d.ts +2 -0
  19. package/dist/modules/customers/service.d.ts.map +1 -1
  20. package/dist/modules/customers/service.js +15 -0
  21. package/dist/modules/inventory/service.d.ts +4 -0
  22. package/dist/modules/inventory/service.d.ts.map +1 -1
  23. package/dist/modules/inventory/service.js +12 -0
  24. package/dist/runtime/server.d.ts.map +1 -1
  25. package/dist/runtime/server.js +29 -0
  26. package/package.json +2 -2
  27. package/src/auth/setup.ts +30 -79
  28. package/src/interfaces/rest/index.ts +17 -3
  29. package/src/interfaces/rest/routes/customers.ts +94 -0
  30. package/src/interfaces/rest/routes/inventory.ts +17 -0
  31. package/src/interfaces/rest/schemas/customers.ts +155 -0
  32. package/src/interfaces/rest/schemas/inventory.ts +21 -0
  33. package/src/modules/customers/service.ts +25 -0
  34. package/src/modules/inventory/service.ts +17 -0
  35. package/src/runtime/server.ts +30 -0
@@ -0,0 +1,422 @@
1
+ import { z } from "@hono/zod-openapi";
2
+ export declare const listCustomersRoute: {
3
+ method: "get";
4
+ path: "/";
5
+ tags: string[];
6
+ summary: string;
7
+ request: {
8
+ query: z.ZodObject<{
9
+ page: z.ZodOptional<z.ZodString>;
10
+ limit: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ };
13
+ responses: {
14
+ 200: {
15
+ content: {
16
+ "application/json": {
17
+ schema: z.ZodObject<{
18
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19
+ meta: z.ZodObject<{
20
+ pagination: z.ZodObject<{
21
+ page: z.ZodNumber;
22
+ limit: z.ZodNumber;
23
+ total: z.ZodNumber;
24
+ totalPages: z.ZodNumber;
25
+ }, z.core.$strip>;
26
+ }, z.core.$strip>;
27
+ }, z.core.$strip>;
28
+ };
29
+ };
30
+ description: string;
31
+ };
32
+ };
33
+ } & {
34
+ getRoutingPath(): "/";
35
+ };
36
+ export declare const getCustomerRoute: {
37
+ method: "get";
38
+ path: "/{id}";
39
+ tags: string[];
40
+ summary: string;
41
+ request: {
42
+ params: z.ZodObject<{
43
+ id: z.ZodString;
44
+ }, z.core.$strip>;
45
+ };
46
+ responses: {
47
+ 400: {
48
+ readonly content: {
49
+ readonly "application/json": {
50
+ readonly schema: z.ZodObject<{
51
+ error: z.ZodObject<{
52
+ code: z.ZodString;
53
+ message: z.ZodString;
54
+ }, z.core.$strip>;
55
+ }, z.core.$strip>;
56
+ };
57
+ };
58
+ readonly description: "Business logic error.";
59
+ };
60
+ 401: {
61
+ readonly content: {
62
+ readonly "application/json": {
63
+ readonly schema: z.ZodObject<{
64
+ error: z.ZodObject<{
65
+ code: z.ZodString;
66
+ message: z.ZodString;
67
+ }, z.core.$strip>;
68
+ }, z.core.$strip>;
69
+ };
70
+ };
71
+ readonly description: "Authentication required.";
72
+ };
73
+ 403: {
74
+ readonly content: {
75
+ readonly "application/json": {
76
+ readonly schema: z.ZodObject<{
77
+ error: z.ZodObject<{
78
+ code: z.ZodString;
79
+ message: z.ZodString;
80
+ }, z.core.$strip>;
81
+ }, z.core.$strip>;
82
+ };
83
+ };
84
+ readonly description: "Insufficient permissions.";
85
+ };
86
+ 404: {
87
+ readonly content: {
88
+ readonly "application/json": {
89
+ readonly schema: z.ZodObject<{
90
+ error: z.ZodObject<{
91
+ code: z.ZodString;
92
+ message: z.ZodString;
93
+ }, z.core.$strip>;
94
+ }, z.core.$strip>;
95
+ };
96
+ };
97
+ readonly description: "Resource not found.";
98
+ };
99
+ 422: {
100
+ readonly content: {
101
+ readonly "application/json": {
102
+ readonly schema: z.ZodObject<{
103
+ error: z.ZodObject<{
104
+ code: z.ZodString;
105
+ message: z.ZodString;
106
+ }, z.core.$strip>;
107
+ }, z.core.$strip>;
108
+ };
109
+ };
110
+ readonly description: "Validation error.";
111
+ };
112
+ 200: {
113
+ content: {
114
+ "application/json": {
115
+ schema: z.ZodObject<{
116
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
117
+ }, z.core.$strip>;
118
+ };
119
+ };
120
+ description: string;
121
+ };
122
+ };
123
+ } & {
124
+ getRoutingPath(): "/:id";
125
+ };
126
+ export declare const updateCustomerRoute: {
127
+ method: "patch";
128
+ path: "/{id}";
129
+ tags: string[];
130
+ summary: string;
131
+ request: {
132
+ params: z.ZodObject<{
133
+ id: z.ZodString;
134
+ }, z.core.$strip>;
135
+ body: {
136
+ content: {
137
+ "application/json": {
138
+ schema: z.ZodObject<{
139
+ firstName: z.ZodOptional<z.ZodString>;
140
+ lastName: z.ZodOptional<z.ZodString>;
141
+ email: z.ZodOptional<z.ZodString>;
142
+ phone: z.ZodOptional<z.ZodString>;
143
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
144
+ }, z.core.$strip>;
145
+ };
146
+ };
147
+ };
148
+ };
149
+ responses: {
150
+ 400: {
151
+ readonly content: {
152
+ readonly "application/json": {
153
+ readonly schema: z.ZodObject<{
154
+ error: z.ZodObject<{
155
+ code: z.ZodString;
156
+ message: z.ZodString;
157
+ }, z.core.$strip>;
158
+ }, z.core.$strip>;
159
+ };
160
+ };
161
+ readonly description: "Business logic error.";
162
+ };
163
+ 401: {
164
+ readonly content: {
165
+ readonly "application/json": {
166
+ readonly schema: z.ZodObject<{
167
+ error: z.ZodObject<{
168
+ code: z.ZodString;
169
+ message: z.ZodString;
170
+ }, z.core.$strip>;
171
+ }, z.core.$strip>;
172
+ };
173
+ };
174
+ readonly description: "Authentication required.";
175
+ };
176
+ 403: {
177
+ readonly content: {
178
+ readonly "application/json": {
179
+ readonly schema: z.ZodObject<{
180
+ error: z.ZodObject<{
181
+ code: z.ZodString;
182
+ message: z.ZodString;
183
+ }, z.core.$strip>;
184
+ }, z.core.$strip>;
185
+ };
186
+ };
187
+ readonly description: "Insufficient permissions.";
188
+ };
189
+ 404: {
190
+ readonly content: {
191
+ readonly "application/json": {
192
+ readonly schema: z.ZodObject<{
193
+ error: z.ZodObject<{
194
+ code: z.ZodString;
195
+ message: z.ZodString;
196
+ }, z.core.$strip>;
197
+ }, z.core.$strip>;
198
+ };
199
+ };
200
+ readonly description: "Resource not found.";
201
+ };
202
+ 422: {
203
+ readonly content: {
204
+ readonly "application/json": {
205
+ readonly schema: z.ZodObject<{
206
+ error: z.ZodObject<{
207
+ code: z.ZodString;
208
+ message: z.ZodString;
209
+ }, z.core.$strip>;
210
+ }, z.core.$strip>;
211
+ };
212
+ };
213
+ readonly description: "Validation error.";
214
+ };
215
+ 200: {
216
+ content: {
217
+ "application/json": {
218
+ schema: z.ZodObject<{
219
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
220
+ }, z.core.$strip>;
221
+ };
222
+ };
223
+ description: string;
224
+ };
225
+ };
226
+ } & {
227
+ getRoutingPath(): "/:id";
228
+ };
229
+ export declare const getCustomerOrdersRoute: {
230
+ method: "get";
231
+ path: "/{id}/orders";
232
+ tags: string[];
233
+ summary: string;
234
+ request: {
235
+ params: z.ZodObject<{
236
+ id: z.ZodString;
237
+ }, z.core.$strip>;
238
+ query: z.ZodObject<{
239
+ status: z.ZodOptional<z.ZodString>;
240
+ page: z.ZodOptional<z.ZodString>;
241
+ limit: z.ZodOptional<z.ZodString>;
242
+ }, z.core.$strip>;
243
+ };
244
+ responses: {
245
+ 400: {
246
+ readonly content: {
247
+ readonly "application/json": {
248
+ readonly schema: z.ZodObject<{
249
+ error: z.ZodObject<{
250
+ code: z.ZodString;
251
+ message: z.ZodString;
252
+ }, z.core.$strip>;
253
+ }, z.core.$strip>;
254
+ };
255
+ };
256
+ readonly description: "Business logic error.";
257
+ };
258
+ 401: {
259
+ readonly content: {
260
+ readonly "application/json": {
261
+ readonly schema: z.ZodObject<{
262
+ error: z.ZodObject<{
263
+ code: z.ZodString;
264
+ message: z.ZodString;
265
+ }, z.core.$strip>;
266
+ }, z.core.$strip>;
267
+ };
268
+ };
269
+ readonly description: "Authentication required.";
270
+ };
271
+ 403: {
272
+ readonly content: {
273
+ readonly "application/json": {
274
+ readonly schema: z.ZodObject<{
275
+ error: z.ZodObject<{
276
+ code: z.ZodString;
277
+ message: z.ZodString;
278
+ }, z.core.$strip>;
279
+ }, z.core.$strip>;
280
+ };
281
+ };
282
+ readonly description: "Insufficient permissions.";
283
+ };
284
+ 404: {
285
+ readonly content: {
286
+ readonly "application/json": {
287
+ readonly schema: z.ZodObject<{
288
+ error: z.ZodObject<{
289
+ code: z.ZodString;
290
+ message: z.ZodString;
291
+ }, z.core.$strip>;
292
+ }, z.core.$strip>;
293
+ };
294
+ };
295
+ readonly description: "Resource not found.";
296
+ };
297
+ 422: {
298
+ readonly content: {
299
+ readonly "application/json": {
300
+ readonly schema: z.ZodObject<{
301
+ error: z.ZodObject<{
302
+ code: z.ZodString;
303
+ message: z.ZodString;
304
+ }, z.core.$strip>;
305
+ }, z.core.$strip>;
306
+ };
307
+ };
308
+ readonly description: "Validation error.";
309
+ };
310
+ 200: {
311
+ content: {
312
+ "application/json": {
313
+ schema: z.ZodObject<{
314
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
315
+ meta: z.ZodObject<{
316
+ pagination: z.ZodObject<{
317
+ page: z.ZodNumber;
318
+ limit: z.ZodNumber;
319
+ total: z.ZodNumber;
320
+ totalPages: z.ZodNumber;
321
+ }, z.core.$strip>;
322
+ }, z.core.$strip>;
323
+ }, z.core.$strip>;
324
+ };
325
+ };
326
+ description: string;
327
+ };
328
+ };
329
+ } & {
330
+ getRoutingPath(): "/:id/orders";
331
+ };
332
+ export declare const getCustomerAddressesRoute: {
333
+ method: "get";
334
+ path: "/{id}/addresses";
335
+ tags: string[];
336
+ summary: string;
337
+ request: {
338
+ params: z.ZodObject<{
339
+ id: z.ZodString;
340
+ }, z.core.$strip>;
341
+ };
342
+ responses: {
343
+ 400: {
344
+ readonly content: {
345
+ readonly "application/json": {
346
+ readonly schema: z.ZodObject<{
347
+ error: z.ZodObject<{
348
+ code: z.ZodString;
349
+ message: z.ZodString;
350
+ }, z.core.$strip>;
351
+ }, z.core.$strip>;
352
+ };
353
+ };
354
+ readonly description: "Business logic error.";
355
+ };
356
+ 401: {
357
+ readonly content: {
358
+ readonly "application/json": {
359
+ readonly schema: z.ZodObject<{
360
+ error: z.ZodObject<{
361
+ code: z.ZodString;
362
+ message: z.ZodString;
363
+ }, z.core.$strip>;
364
+ }, z.core.$strip>;
365
+ };
366
+ };
367
+ readonly description: "Authentication required.";
368
+ };
369
+ 403: {
370
+ readonly content: {
371
+ readonly "application/json": {
372
+ readonly schema: z.ZodObject<{
373
+ error: z.ZodObject<{
374
+ code: z.ZodString;
375
+ message: z.ZodString;
376
+ }, z.core.$strip>;
377
+ }, z.core.$strip>;
378
+ };
379
+ };
380
+ readonly description: "Insufficient permissions.";
381
+ };
382
+ 404: {
383
+ readonly content: {
384
+ readonly "application/json": {
385
+ readonly schema: z.ZodObject<{
386
+ error: z.ZodObject<{
387
+ code: z.ZodString;
388
+ message: z.ZodString;
389
+ }, z.core.$strip>;
390
+ }, z.core.$strip>;
391
+ };
392
+ };
393
+ readonly description: "Resource not found.";
394
+ };
395
+ 422: {
396
+ readonly content: {
397
+ readonly "application/json": {
398
+ readonly schema: z.ZodObject<{
399
+ error: z.ZodObject<{
400
+ code: z.ZodString;
401
+ message: z.ZodString;
402
+ }, z.core.$strip>;
403
+ }, z.core.$strip>;
404
+ };
405
+ };
406
+ readonly description: "Validation error.";
407
+ };
408
+ 200: {
409
+ content: {
410
+ "application/json": {
411
+ schema: z.ZodObject<{
412
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
413
+ }, z.core.$strip>;
414
+ };
415
+ };
416
+ description: string;
417
+ };
418
+ };
419
+ } & {
420
+ getRoutingPath(): "/:id/addresses";
421
+ };
422
+ //# sourceMappingURL=customers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/customers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAGnD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B7B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB3B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCjC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBpC,CAAC"}
@@ -0,0 +1,150 @@
1
+ import { z, createRoute } from "@hono/zod-openapi";
2
+ import { errorResponses } from "./shared.js";
3
+ export const listCustomersRoute = createRoute({
4
+ method: "get",
5
+ path: "/",
6
+ tags: ["Customers"],
7
+ summary: "List customers",
8
+ request: {
9
+ query: z.object({
10
+ page: z.string().optional().openapi({ example: "1" }),
11
+ limit: z.string().optional().openapi({ example: "20" }),
12
+ }),
13
+ },
14
+ responses: {
15
+ 200: {
16
+ content: {
17
+ "application/json": {
18
+ schema: z.object({
19
+ data: z.array(z.record(z.string(), z.unknown())),
20
+ meta: z.object({
21
+ pagination: z.object({
22
+ page: z.number(),
23
+ limit: z.number(),
24
+ total: z.number(),
25
+ totalPages: z.number(),
26
+ }),
27
+ }),
28
+ }),
29
+ },
30
+ },
31
+ description: "Customer list",
32
+ },
33
+ },
34
+ });
35
+ export const getCustomerRoute = createRoute({
36
+ method: "get",
37
+ path: "/{id}",
38
+ tags: ["Customers"],
39
+ summary: "Get customer by ID",
40
+ request: {
41
+ params: z.object({
42
+ id: z.string().uuid().openapi({ example: "b482a588-..." }),
43
+ }),
44
+ },
45
+ responses: {
46
+ 200: {
47
+ content: {
48
+ "application/json": {
49
+ schema: z.object({ data: z.record(z.string(), z.unknown()) }),
50
+ },
51
+ },
52
+ description: "Customer detail",
53
+ },
54
+ ...errorResponses,
55
+ },
56
+ });
57
+ export const updateCustomerRoute = createRoute({
58
+ method: "patch",
59
+ path: "/{id}",
60
+ tags: ["Customers"],
61
+ summary: "Update a customer",
62
+ request: {
63
+ params: z.object({
64
+ id: z.string().uuid(),
65
+ }),
66
+ body: {
67
+ content: {
68
+ "application/json": {
69
+ schema: z.object({
70
+ firstName: z.string().optional(),
71
+ lastName: z.string().optional(),
72
+ email: z.string().email().optional(),
73
+ phone: z.string().optional(),
74
+ metadata: z.record(z.string(), z.unknown()).optional(),
75
+ }).openapi("UpdateCustomerRequest"),
76
+ },
77
+ },
78
+ },
79
+ },
80
+ responses: {
81
+ 200: {
82
+ content: {
83
+ "application/json": {
84
+ schema: z.object({ data: z.record(z.string(), z.unknown()) }),
85
+ },
86
+ },
87
+ description: "Customer updated",
88
+ },
89
+ ...errorResponses,
90
+ },
91
+ });
92
+ export const getCustomerOrdersRoute = createRoute({
93
+ method: "get",
94
+ path: "/{id}/orders",
95
+ tags: ["Customers"],
96
+ summary: "List orders for a customer",
97
+ request: {
98
+ params: z.object({
99
+ id: z.string().uuid(),
100
+ }),
101
+ query: z.object({
102
+ status: z.string().optional(),
103
+ page: z.string().optional().openapi({ example: "1" }),
104
+ limit: z.string().optional().openapi({ example: "20" }),
105
+ }),
106
+ },
107
+ responses: {
108
+ 200: {
109
+ content: {
110
+ "application/json": {
111
+ schema: z.object({
112
+ data: z.array(z.record(z.string(), z.unknown())),
113
+ meta: z.object({
114
+ pagination: z.object({
115
+ page: z.number(),
116
+ limit: z.number(),
117
+ total: z.number(),
118
+ totalPages: z.number(),
119
+ }),
120
+ }),
121
+ }),
122
+ },
123
+ },
124
+ description: "Customer orders",
125
+ },
126
+ ...errorResponses,
127
+ },
128
+ });
129
+ export const getCustomerAddressesRoute = createRoute({
130
+ method: "get",
131
+ path: "/{id}/addresses",
132
+ tags: ["Customers"],
133
+ summary: "List addresses for a customer",
134
+ request: {
135
+ params: z.object({
136
+ id: z.string().uuid(),
137
+ }),
138
+ },
139
+ responses: {
140
+ 200: {
141
+ content: {
142
+ "application/json": {
143
+ schema: z.object({ data: z.array(z.record(z.string(), z.unknown())) }),
144
+ },
145
+ },
146
+ description: "Customer addresses",
147
+ },
148
+ ...errorResponses,
149
+ },
150
+ });
@@ -6,6 +6,98 @@ export declare const CreateWarehouseBodySchema: z.ZodObject<{
6
6
  code: z.ZodOptional<z.ZodString>;
7
7
  address: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
8
  }, z.core.$strip>;
9
+ export declare const listInventoryLevelsRoute: {
10
+ method: "get";
11
+ path: "/levels";
12
+ tags: string[];
13
+ summary: string;
14
+ description: string;
15
+ request: {
16
+ query: z.ZodObject<{
17
+ warehouseId: z.ZodOptional<z.ZodString>;
18
+ entityId: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ };
21
+ responses: {
22
+ 400: {
23
+ readonly content: {
24
+ readonly "application/json": {
25
+ readonly schema: z.ZodObject<{
26
+ error: z.ZodObject<{
27
+ code: z.ZodString;
28
+ message: z.ZodString;
29
+ }, z.core.$strip>;
30
+ }, z.core.$strip>;
31
+ };
32
+ };
33
+ readonly description: "Business logic error.";
34
+ };
35
+ 401: {
36
+ readonly content: {
37
+ readonly "application/json": {
38
+ readonly schema: z.ZodObject<{
39
+ error: z.ZodObject<{
40
+ code: z.ZodString;
41
+ message: z.ZodString;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
44
+ };
45
+ };
46
+ readonly description: "Authentication required.";
47
+ };
48
+ 403: {
49
+ readonly content: {
50
+ readonly "application/json": {
51
+ readonly schema: z.ZodObject<{
52
+ error: z.ZodObject<{
53
+ code: z.ZodString;
54
+ message: z.ZodString;
55
+ }, z.core.$strip>;
56
+ }, z.core.$strip>;
57
+ };
58
+ };
59
+ readonly description: "Insufficient permissions.";
60
+ };
61
+ 404: {
62
+ readonly content: {
63
+ readonly "application/json": {
64
+ readonly schema: z.ZodObject<{
65
+ error: z.ZodObject<{
66
+ code: z.ZodString;
67
+ message: z.ZodString;
68
+ }, z.core.$strip>;
69
+ }, z.core.$strip>;
70
+ };
71
+ };
72
+ readonly description: "Resource not found.";
73
+ };
74
+ 422: {
75
+ readonly content: {
76
+ readonly "application/json": {
77
+ readonly schema: z.ZodObject<{
78
+ error: z.ZodObject<{
79
+ code: z.ZodString;
80
+ message: z.ZodString;
81
+ }, z.core.$strip>;
82
+ }, z.core.$strip>;
83
+ };
84
+ };
85
+ readonly description: "Validation error.";
86
+ };
87
+ 200: {
88
+ content: {
89
+ "application/json": {
90
+ schema: z.ZodObject<{
91
+ data: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
92
+ }, z.core.$strip>;
93
+ };
94
+ };
95
+ description: string;
96
+ };
97
+ };
98
+ } & {
99
+ getRoutingPath(): "/levels";
100
+ };
9
101
  export declare const inventoryCheckRoute: {
10
102
  method: "get";
11
103
  path: "/check";
@@ -1 +1 @@
1
- {"version":3,"file":"inventory.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/rest/schemas/inventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;AAKnD,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AAC1I,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,CAAC;AAE7F,eAAO,MAAM,yBAAyB;;;;iBAIF,CAAC;AAIrC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;CAgB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;CAW9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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