@deepintel-ltd/farmpro-contracts 1.0.2 → 1.0.3

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 (100) hide show
  1. package/dist/index.d.ts +41 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +81 -0
  4. package/dist/routes/analytics.routes.d.ts +754 -0
  5. package/dist/routes/analytics.routes.d.ts.map +1 -0
  6. package/dist/routes/analytics.routes.js +24 -0
  7. package/dist/routes/auth.routes.d.ts +3836 -0
  8. package/dist/routes/auth.routes.d.ts.map +1 -0
  9. package/dist/routes/auth.routes.js +158 -0
  10. package/dist/routes/documents.routes.d.ts +2476 -0
  11. package/dist/routes/documents.routes.d.ts.map +1 -0
  12. package/dist/routes/documents.routes.js +100 -0
  13. package/dist/routes/equipment.routes.d.ts +3617 -0
  14. package/dist/routes/equipment.routes.d.ts.map +1 -0
  15. package/dist/routes/equipment.routes.js +118 -0
  16. package/dist/routes/farms.routes.d.ts +2202 -0
  17. package/dist/routes/farms.routes.d.ts.map +1 -0
  18. package/dist/routes/farms.routes.js +111 -0
  19. package/dist/routes/fields.routes.d.ts +3389 -0
  20. package/dist/routes/fields.routes.d.ts.map +1 -0
  21. package/dist/routes/fields.routes.js +95 -0
  22. package/dist/routes/finance.routes.d.ts +6855 -0
  23. package/dist/routes/finance.routes.d.ts.map +1 -0
  24. package/dist/routes/finance.routes.js +259 -0
  25. package/dist/routes/harvest.routes.d.ts +2337 -0
  26. package/dist/routes/harvest.routes.d.ts.map +1 -0
  27. package/dist/routes/harvest.routes.js +99 -0
  28. package/dist/routes/index.d.ts +68 -0
  29. package/dist/routes/index.d.ts.map +1 -0
  30. package/dist/routes/index.js +43 -0
  31. package/dist/routes/inventory.routes.d.ts +2853 -0
  32. package/dist/routes/inventory.routes.d.ts.map +1 -0
  33. package/dist/routes/inventory.routes.js +121 -0
  34. package/dist/routes/soil-tests.routes.d.ts +3005 -0
  35. package/dist/routes/soil-tests.routes.d.ts.map +1 -0
  36. package/dist/routes/soil-tests.routes.js +98 -0
  37. package/dist/routes/suppliers.routes.d.ts +4190 -0
  38. package/dist/routes/suppliers.routes.d.ts.map +1 -0
  39. package/dist/routes/suppliers.routes.js +146 -0
  40. package/dist/routes/tasks.routes.d.ts +4192 -0
  41. package/dist/routes/tasks.routes.d.ts.map +1 -0
  42. package/dist/routes/tasks.routes.js +138 -0
  43. package/dist/routes/team.routes.d.ts +2210 -0
  44. package/dist/routes/team.routes.d.ts.map +1 -0
  45. package/dist/routes/team.routes.js +98 -0
  46. package/dist/routes/users.routes.d.ts +721 -0
  47. package/dist/routes/users.routes.d.ts.map +1 -0
  48. package/dist/routes/users.routes.js +35 -0
  49. package/dist/routes/weather.routes.d.ts +500 -0
  50. package/dist/routes/weather.routes.d.ts.map +1 -0
  51. package/dist/routes/weather.routes.js +23 -0
  52. package/dist/schemas/analytics.schemas.d.ts +1344 -0
  53. package/dist/schemas/analytics.schemas.d.ts.map +1 -0
  54. package/dist/schemas/analytics.schemas.js +73 -0
  55. package/dist/schemas/auth.schemas.d.ts +1093 -0
  56. package/dist/schemas/auth.schemas.d.ts.map +1 -0
  57. package/dist/schemas/auth.schemas.js +159 -0
  58. package/dist/schemas/common.schemas.d.ts +562 -0
  59. package/dist/schemas/common.schemas.d.ts.map +1 -0
  60. package/dist/schemas/common.schemas.js +122 -0
  61. package/dist/schemas/documents.schemas.d.ts +850 -0
  62. package/dist/schemas/documents.schemas.d.ts.map +1 -0
  63. package/dist/schemas/documents.schemas.js +75 -0
  64. package/dist/schemas/equipment.schemas.d.ts +1618 -0
  65. package/dist/schemas/equipment.schemas.d.ts.map +1 -0
  66. package/dist/schemas/equipment.schemas.js +125 -0
  67. package/dist/schemas/farms.schemas.d.ts +1171 -0
  68. package/dist/schemas/farms.schemas.d.ts.map +1 -0
  69. package/dist/schemas/farms.schemas.js +62 -0
  70. package/dist/schemas/fields.schemas.d.ts +2508 -0
  71. package/dist/schemas/fields.schemas.d.ts.map +1 -0
  72. package/dist/schemas/fields.schemas.js +125 -0
  73. package/dist/schemas/finance.schemas.d.ts +2869 -0
  74. package/dist/schemas/finance.schemas.d.ts.map +1 -0
  75. package/dist/schemas/finance.schemas.js +196 -0
  76. package/dist/schemas/harvest.schemas.d.ts +1051 -0
  77. package/dist/schemas/harvest.schemas.d.ts.map +1 -0
  78. package/dist/schemas/harvest.schemas.js +71 -0
  79. package/dist/schemas/inventory.schemas.d.ts +1138 -0
  80. package/dist/schemas/inventory.schemas.d.ts.map +1 -0
  81. package/dist/schemas/inventory.schemas.js +89 -0
  82. package/dist/schemas/soil-tests.schemas.d.ts +1885 -0
  83. package/dist/schemas/soil-tests.schemas.d.ts.map +1 -0
  84. package/dist/schemas/soil-tests.schemas.js +102 -0
  85. package/dist/schemas/suppliers.schemas.d.ts +1774 -0
  86. package/dist/schemas/suppliers.schemas.d.ts.map +1 -0
  87. package/dist/schemas/suppliers.schemas.js +121 -0
  88. package/dist/schemas/tasks.schemas.d.ts +1761 -0
  89. package/dist/schemas/tasks.schemas.d.ts.map +1 -0
  90. package/dist/schemas/tasks.schemas.js +121 -0
  91. package/dist/schemas/team.schemas.d.ts +583 -0
  92. package/dist/schemas/team.schemas.d.ts.map +1 -0
  93. package/dist/schemas/team.schemas.js +60 -0
  94. package/dist/schemas/users.schemas.d.ts +288 -0
  95. package/dist/schemas/users.schemas.d.ts.map +1 -0
  96. package/dist/schemas/users.schemas.js +32 -0
  97. package/dist/schemas/weather.schemas.d.ts +682 -0
  98. package/dist/schemas/weather.schemas.d.ts.map +1 -0
  99. package/dist/schemas/weather.schemas.js +49 -0
  100. package/package.json +1 -1
@@ -0,0 +1,721 @@
1
+ import { z } from 'zod';
2
+ export declare const usersRouter: {
3
+ getProfile: {
4
+ summary: "Get current user profile";
5
+ description: "Get authenticated user profile information";
6
+ method: "GET";
7
+ path: "/user/profile";
8
+ responses: {
9
+ 200: z.ZodObject<{
10
+ data: z.ZodObject<{
11
+ type: z.ZodLiteral<string>;
12
+ id: z.ZodString;
13
+ attributes: z.ZodObject<{
14
+ name: z.ZodString;
15
+ email: z.ZodString;
16
+ phone: z.ZodNullable<z.ZodString>;
17
+ emailVerified: z.ZodBoolean;
18
+ avatar: z.ZodNullable<z.ZodString>;
19
+ } & {
20
+ createdAt: z.ZodString;
21
+ updatedAt: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ email: string;
24
+ createdAt: string;
25
+ updatedAt: string;
26
+ name: string;
27
+ phone: string | null;
28
+ emailVerified: boolean;
29
+ avatar: string | null;
30
+ }, {
31
+ email: string;
32
+ createdAt: string;
33
+ updatedAt: string;
34
+ name: string;
35
+ phone: string | null;
36
+ emailVerified: boolean;
37
+ avatar: string | null;
38
+ }>;
39
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
41
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42
+ }, "strip", z.ZodTypeAny, {
43
+ type: string;
44
+ id: string;
45
+ attributes: {
46
+ email: string;
47
+ createdAt: string;
48
+ updatedAt: string;
49
+ name: string;
50
+ phone: string | null;
51
+ emailVerified: boolean;
52
+ avatar: string | null;
53
+ };
54
+ relationships?: Record<string, unknown> | undefined;
55
+ links?: Record<string, string> | undefined;
56
+ meta?: Record<string, unknown> | undefined;
57
+ }, {
58
+ type: string;
59
+ id: string;
60
+ attributes: {
61
+ email: string;
62
+ createdAt: string;
63
+ updatedAt: string;
64
+ name: string;
65
+ phone: string | null;
66
+ emailVerified: boolean;
67
+ avatar: string | null;
68
+ };
69
+ relationships?: Record<string, unknown> | undefined;
70
+ links?: Record<string, string> | undefined;
71
+ meta?: Record<string, unknown> | undefined;
72
+ }>;
73
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ type: z.ZodString;
75
+ id: z.ZodString;
76
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
77
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
78
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
79
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ type: string;
82
+ id: string;
83
+ attributes?: Record<string, unknown> | undefined;
84
+ relationships?: Record<string, unknown> | undefined;
85
+ links?: Record<string, string> | undefined;
86
+ meta?: Record<string, unknown> | undefined;
87
+ }, {
88
+ type: string;
89
+ id: string;
90
+ attributes?: Record<string, unknown> | undefined;
91
+ relationships?: Record<string, unknown> | undefined;
92
+ links?: Record<string, string> | undefined;
93
+ meta?: Record<string, unknown> | undefined;
94
+ }>, "many">>;
95
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
96
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ data: {
99
+ type: string;
100
+ id: string;
101
+ attributes: {
102
+ email: string;
103
+ createdAt: string;
104
+ updatedAt: string;
105
+ name: string;
106
+ phone: string | null;
107
+ emailVerified: boolean;
108
+ avatar: string | null;
109
+ };
110
+ relationships?: Record<string, unknown> | undefined;
111
+ links?: Record<string, string> | undefined;
112
+ meta?: Record<string, unknown> | undefined;
113
+ };
114
+ links?: Record<string, string> | undefined;
115
+ meta?: Record<string, unknown> | undefined;
116
+ included?: {
117
+ type: string;
118
+ id: string;
119
+ attributes?: Record<string, unknown> | undefined;
120
+ relationships?: Record<string, unknown> | undefined;
121
+ links?: Record<string, string> | undefined;
122
+ meta?: Record<string, unknown> | undefined;
123
+ }[] | undefined;
124
+ }, {
125
+ data: {
126
+ type: string;
127
+ id: string;
128
+ attributes: {
129
+ email: string;
130
+ createdAt: string;
131
+ updatedAt: string;
132
+ name: string;
133
+ phone: string | null;
134
+ emailVerified: boolean;
135
+ avatar: string | null;
136
+ };
137
+ relationships?: Record<string, unknown> | undefined;
138
+ links?: Record<string, string> | undefined;
139
+ meta?: Record<string, unknown> | undefined;
140
+ };
141
+ links?: Record<string, string> | undefined;
142
+ meta?: Record<string, unknown> | undefined;
143
+ included?: {
144
+ type: string;
145
+ id: string;
146
+ attributes?: Record<string, unknown> | undefined;
147
+ relationships?: Record<string, unknown> | undefined;
148
+ links?: Record<string, string> | undefined;
149
+ meta?: Record<string, unknown> | undefined;
150
+ }[] | undefined;
151
+ }>;
152
+ 401: z.ZodObject<{
153
+ errors: z.ZodArray<z.ZodObject<{
154
+ id: z.ZodOptional<z.ZodString>;
155
+ links: z.ZodOptional<z.ZodObject<{
156
+ about: z.ZodOptional<z.ZodString>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ about?: string | undefined;
159
+ }, {
160
+ about?: string | undefined;
161
+ }>>;
162
+ status: z.ZodOptional<z.ZodString>;
163
+ code: z.ZodOptional<z.ZodString>;
164
+ title: z.ZodOptional<z.ZodString>;
165
+ detail: z.ZodOptional<z.ZodString>;
166
+ source: z.ZodOptional<z.ZodObject<{
167
+ pointer: z.ZodOptional<z.ZodString>;
168
+ parameter: z.ZodOptional<z.ZodString>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ pointer?: string | undefined;
171
+ parameter?: string | undefined;
172
+ }, {
173
+ pointer?: string | undefined;
174
+ parameter?: string | undefined;
175
+ }>>;
176
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ status?: string | undefined;
179
+ code?: string | undefined;
180
+ id?: string | undefined;
181
+ links?: {
182
+ about?: string | undefined;
183
+ } | undefined;
184
+ meta?: Record<string, unknown> | undefined;
185
+ title?: string | undefined;
186
+ detail?: string | undefined;
187
+ source?: {
188
+ pointer?: string | undefined;
189
+ parameter?: string | undefined;
190
+ } | undefined;
191
+ }, {
192
+ status?: string | undefined;
193
+ code?: string | undefined;
194
+ id?: string | undefined;
195
+ links?: {
196
+ about?: string | undefined;
197
+ } | undefined;
198
+ meta?: Record<string, unknown> | undefined;
199
+ title?: string | undefined;
200
+ detail?: string | undefined;
201
+ source?: {
202
+ pointer?: string | undefined;
203
+ parameter?: string | undefined;
204
+ } | undefined;
205
+ }>, "many">;
206
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ errors: {
209
+ status?: string | undefined;
210
+ code?: string | undefined;
211
+ id?: string | undefined;
212
+ links?: {
213
+ about?: string | undefined;
214
+ } | undefined;
215
+ meta?: Record<string, unknown> | undefined;
216
+ title?: string | undefined;
217
+ detail?: string | undefined;
218
+ source?: {
219
+ pointer?: string | undefined;
220
+ parameter?: string | undefined;
221
+ } | undefined;
222
+ }[];
223
+ meta?: Record<string, unknown> | undefined;
224
+ }, {
225
+ errors: {
226
+ status?: string | undefined;
227
+ code?: string | undefined;
228
+ id?: string | undefined;
229
+ links?: {
230
+ about?: string | undefined;
231
+ } | undefined;
232
+ meta?: Record<string, unknown> | undefined;
233
+ title?: string | undefined;
234
+ detail?: string | undefined;
235
+ source?: {
236
+ pointer?: string | undefined;
237
+ parameter?: string | undefined;
238
+ } | undefined;
239
+ }[];
240
+ meta?: Record<string, unknown> | undefined;
241
+ }>;
242
+ };
243
+ };
244
+ updateProfile: {
245
+ summary: "Update user profile";
246
+ description: "Update authenticated user profile information";
247
+ method: "PATCH";
248
+ body: z.ZodObject<{
249
+ data: z.ZodObject<{
250
+ type: z.ZodLiteral<"users">;
251
+ id: z.ZodString;
252
+ attributes: z.ZodObject<{
253
+ name: z.ZodOptional<z.ZodString>;
254
+ phone: z.ZodOptional<z.ZodString>;
255
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
+ }, "strip", z.ZodTypeAny, {
257
+ name?: string | undefined;
258
+ phone?: string | undefined;
259
+ avatar?: string | null | undefined;
260
+ }, {
261
+ name?: string | undefined;
262
+ phone?: string | undefined;
263
+ avatar?: string | null | undefined;
264
+ }>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ type: "users";
267
+ id: string;
268
+ attributes: {
269
+ name?: string | undefined;
270
+ phone?: string | undefined;
271
+ avatar?: string | null | undefined;
272
+ };
273
+ }, {
274
+ type: "users";
275
+ id: string;
276
+ attributes: {
277
+ name?: string | undefined;
278
+ phone?: string | undefined;
279
+ avatar?: string | null | undefined;
280
+ };
281
+ }>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ data: {
284
+ type: "users";
285
+ id: string;
286
+ attributes: {
287
+ name?: string | undefined;
288
+ phone?: string | undefined;
289
+ avatar?: string | null | undefined;
290
+ };
291
+ };
292
+ }, {
293
+ data: {
294
+ type: "users";
295
+ id: string;
296
+ attributes: {
297
+ name?: string | undefined;
298
+ phone?: string | undefined;
299
+ avatar?: string | null | undefined;
300
+ };
301
+ };
302
+ }>;
303
+ path: "/user/profile";
304
+ responses: {
305
+ 200: z.ZodObject<{
306
+ data: z.ZodObject<{
307
+ type: z.ZodLiteral<string>;
308
+ id: z.ZodString;
309
+ attributes: z.ZodObject<{
310
+ name: z.ZodString;
311
+ email: z.ZodString;
312
+ phone: z.ZodNullable<z.ZodString>;
313
+ emailVerified: z.ZodBoolean;
314
+ avatar: z.ZodNullable<z.ZodString>;
315
+ } & {
316
+ createdAt: z.ZodString;
317
+ updatedAt: z.ZodString;
318
+ }, "strip", z.ZodTypeAny, {
319
+ email: string;
320
+ createdAt: string;
321
+ updatedAt: string;
322
+ name: string;
323
+ phone: string | null;
324
+ emailVerified: boolean;
325
+ avatar: string | null;
326
+ }, {
327
+ email: string;
328
+ createdAt: string;
329
+ updatedAt: string;
330
+ name: string;
331
+ phone: string | null;
332
+ emailVerified: boolean;
333
+ avatar: string | null;
334
+ }>;
335
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
336
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
337
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ type: string;
340
+ id: string;
341
+ attributes: {
342
+ email: string;
343
+ createdAt: string;
344
+ updatedAt: string;
345
+ name: string;
346
+ phone: string | null;
347
+ emailVerified: boolean;
348
+ avatar: string | null;
349
+ };
350
+ relationships?: Record<string, unknown> | undefined;
351
+ links?: Record<string, string> | undefined;
352
+ meta?: Record<string, unknown> | undefined;
353
+ }, {
354
+ type: string;
355
+ id: string;
356
+ attributes: {
357
+ email: string;
358
+ createdAt: string;
359
+ updatedAt: string;
360
+ name: string;
361
+ phone: string | null;
362
+ emailVerified: boolean;
363
+ avatar: string | null;
364
+ };
365
+ relationships?: Record<string, unknown> | undefined;
366
+ links?: Record<string, string> | undefined;
367
+ meta?: Record<string, unknown> | undefined;
368
+ }>;
369
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
370
+ type: z.ZodString;
371
+ id: z.ZodString;
372
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
373
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
374
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
375
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ type: string;
378
+ id: string;
379
+ attributes?: Record<string, unknown> | undefined;
380
+ relationships?: Record<string, unknown> | undefined;
381
+ links?: Record<string, string> | undefined;
382
+ meta?: Record<string, unknown> | undefined;
383
+ }, {
384
+ type: string;
385
+ id: string;
386
+ attributes?: Record<string, unknown> | undefined;
387
+ relationships?: Record<string, unknown> | undefined;
388
+ links?: Record<string, string> | undefined;
389
+ meta?: Record<string, unknown> | undefined;
390
+ }>, "many">>;
391
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
392
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ data: {
395
+ type: string;
396
+ id: string;
397
+ attributes: {
398
+ email: string;
399
+ createdAt: string;
400
+ updatedAt: string;
401
+ name: string;
402
+ phone: string | null;
403
+ emailVerified: boolean;
404
+ avatar: string | null;
405
+ };
406
+ relationships?: Record<string, unknown> | undefined;
407
+ links?: Record<string, string> | undefined;
408
+ meta?: Record<string, unknown> | undefined;
409
+ };
410
+ links?: Record<string, string> | undefined;
411
+ meta?: Record<string, unknown> | undefined;
412
+ included?: {
413
+ type: string;
414
+ id: string;
415
+ attributes?: Record<string, unknown> | undefined;
416
+ relationships?: Record<string, unknown> | undefined;
417
+ links?: Record<string, string> | undefined;
418
+ meta?: Record<string, unknown> | undefined;
419
+ }[] | undefined;
420
+ }, {
421
+ data: {
422
+ type: string;
423
+ id: string;
424
+ attributes: {
425
+ email: string;
426
+ createdAt: string;
427
+ updatedAt: string;
428
+ name: string;
429
+ phone: string | null;
430
+ emailVerified: boolean;
431
+ avatar: string | null;
432
+ };
433
+ relationships?: Record<string, unknown> | undefined;
434
+ links?: Record<string, string> | undefined;
435
+ meta?: Record<string, unknown> | undefined;
436
+ };
437
+ links?: Record<string, string> | undefined;
438
+ meta?: Record<string, unknown> | undefined;
439
+ included?: {
440
+ type: string;
441
+ id: string;
442
+ attributes?: Record<string, unknown> | undefined;
443
+ relationships?: Record<string, unknown> | undefined;
444
+ links?: Record<string, string> | undefined;
445
+ meta?: Record<string, unknown> | undefined;
446
+ }[] | undefined;
447
+ }>;
448
+ 400: z.ZodObject<{
449
+ errors: z.ZodArray<z.ZodObject<{
450
+ id: z.ZodOptional<z.ZodString>;
451
+ links: z.ZodOptional<z.ZodObject<{
452
+ about: z.ZodOptional<z.ZodString>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ about?: string | undefined;
455
+ }, {
456
+ about?: string | undefined;
457
+ }>>;
458
+ status: z.ZodOptional<z.ZodString>;
459
+ code: z.ZodOptional<z.ZodString>;
460
+ title: z.ZodOptional<z.ZodString>;
461
+ detail: z.ZodOptional<z.ZodString>;
462
+ source: z.ZodOptional<z.ZodObject<{
463
+ pointer: z.ZodOptional<z.ZodString>;
464
+ parameter: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ pointer?: string | undefined;
467
+ parameter?: string | undefined;
468
+ }, {
469
+ pointer?: string | undefined;
470
+ parameter?: string | undefined;
471
+ }>>;
472
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
473
+ }, "strip", z.ZodTypeAny, {
474
+ status?: string | undefined;
475
+ code?: string | undefined;
476
+ id?: string | undefined;
477
+ links?: {
478
+ about?: string | undefined;
479
+ } | undefined;
480
+ meta?: Record<string, unknown> | undefined;
481
+ title?: string | undefined;
482
+ detail?: string | undefined;
483
+ source?: {
484
+ pointer?: string | undefined;
485
+ parameter?: string | undefined;
486
+ } | undefined;
487
+ }, {
488
+ status?: string | undefined;
489
+ code?: string | undefined;
490
+ id?: string | undefined;
491
+ links?: {
492
+ about?: string | undefined;
493
+ } | undefined;
494
+ meta?: Record<string, unknown> | undefined;
495
+ title?: string | undefined;
496
+ detail?: string | undefined;
497
+ source?: {
498
+ pointer?: string | undefined;
499
+ parameter?: string | undefined;
500
+ } | undefined;
501
+ }>, "many">;
502
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ errors: {
505
+ status?: string | undefined;
506
+ code?: string | undefined;
507
+ id?: string | undefined;
508
+ links?: {
509
+ about?: string | undefined;
510
+ } | undefined;
511
+ meta?: Record<string, unknown> | undefined;
512
+ title?: string | undefined;
513
+ detail?: string | undefined;
514
+ source?: {
515
+ pointer?: string | undefined;
516
+ parameter?: string | undefined;
517
+ } | undefined;
518
+ }[];
519
+ meta?: Record<string, unknown> | undefined;
520
+ }, {
521
+ errors: {
522
+ status?: string | undefined;
523
+ code?: string | undefined;
524
+ id?: string | undefined;
525
+ links?: {
526
+ about?: string | undefined;
527
+ } | undefined;
528
+ meta?: Record<string, unknown> | undefined;
529
+ title?: string | undefined;
530
+ detail?: string | undefined;
531
+ source?: {
532
+ pointer?: string | undefined;
533
+ parameter?: string | undefined;
534
+ } | undefined;
535
+ }[];
536
+ meta?: Record<string, unknown> | undefined;
537
+ }>;
538
+ 401: z.ZodObject<{
539
+ errors: z.ZodArray<z.ZodObject<{
540
+ id: z.ZodOptional<z.ZodString>;
541
+ links: z.ZodOptional<z.ZodObject<{
542
+ about: z.ZodOptional<z.ZodString>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ about?: string | undefined;
545
+ }, {
546
+ about?: string | undefined;
547
+ }>>;
548
+ status: z.ZodOptional<z.ZodString>;
549
+ code: z.ZodOptional<z.ZodString>;
550
+ title: z.ZodOptional<z.ZodString>;
551
+ detail: z.ZodOptional<z.ZodString>;
552
+ source: z.ZodOptional<z.ZodObject<{
553
+ pointer: z.ZodOptional<z.ZodString>;
554
+ parameter: z.ZodOptional<z.ZodString>;
555
+ }, "strip", z.ZodTypeAny, {
556
+ pointer?: string | undefined;
557
+ parameter?: string | undefined;
558
+ }, {
559
+ pointer?: string | undefined;
560
+ parameter?: string | undefined;
561
+ }>>;
562
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
563
+ }, "strip", z.ZodTypeAny, {
564
+ status?: string | undefined;
565
+ code?: string | undefined;
566
+ id?: string | undefined;
567
+ links?: {
568
+ about?: string | undefined;
569
+ } | undefined;
570
+ meta?: Record<string, unknown> | undefined;
571
+ title?: string | undefined;
572
+ detail?: string | undefined;
573
+ source?: {
574
+ pointer?: string | undefined;
575
+ parameter?: string | undefined;
576
+ } | undefined;
577
+ }, {
578
+ status?: string | undefined;
579
+ code?: string | undefined;
580
+ id?: string | undefined;
581
+ links?: {
582
+ about?: string | undefined;
583
+ } | undefined;
584
+ meta?: Record<string, unknown> | undefined;
585
+ title?: string | undefined;
586
+ detail?: string | undefined;
587
+ source?: {
588
+ pointer?: string | undefined;
589
+ parameter?: string | undefined;
590
+ } | undefined;
591
+ }>, "many">;
592
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
593
+ }, "strip", z.ZodTypeAny, {
594
+ errors: {
595
+ status?: string | undefined;
596
+ code?: string | undefined;
597
+ id?: string | undefined;
598
+ links?: {
599
+ about?: string | undefined;
600
+ } | undefined;
601
+ meta?: Record<string, unknown> | undefined;
602
+ title?: string | undefined;
603
+ detail?: string | undefined;
604
+ source?: {
605
+ pointer?: string | undefined;
606
+ parameter?: string | undefined;
607
+ } | undefined;
608
+ }[];
609
+ meta?: Record<string, unknown> | undefined;
610
+ }, {
611
+ errors: {
612
+ status?: string | undefined;
613
+ code?: string | undefined;
614
+ id?: string | undefined;
615
+ links?: {
616
+ about?: string | undefined;
617
+ } | undefined;
618
+ meta?: Record<string, unknown> | undefined;
619
+ title?: string | undefined;
620
+ detail?: string | undefined;
621
+ source?: {
622
+ pointer?: string | undefined;
623
+ parameter?: string | undefined;
624
+ } | undefined;
625
+ }[];
626
+ meta?: Record<string, unknown> | undefined;
627
+ }>;
628
+ 422: z.ZodObject<{
629
+ errors: z.ZodArray<z.ZodObject<{
630
+ id: z.ZodOptional<z.ZodString>;
631
+ links: z.ZodOptional<z.ZodObject<{
632
+ about: z.ZodOptional<z.ZodString>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ about?: string | undefined;
635
+ }, {
636
+ about?: string | undefined;
637
+ }>>;
638
+ status: z.ZodOptional<z.ZodString>;
639
+ code: z.ZodOptional<z.ZodString>;
640
+ title: z.ZodOptional<z.ZodString>;
641
+ detail: z.ZodOptional<z.ZodString>;
642
+ source: z.ZodOptional<z.ZodObject<{
643
+ pointer: z.ZodOptional<z.ZodString>;
644
+ parameter: z.ZodOptional<z.ZodString>;
645
+ }, "strip", z.ZodTypeAny, {
646
+ pointer?: string | undefined;
647
+ parameter?: string | undefined;
648
+ }, {
649
+ pointer?: string | undefined;
650
+ parameter?: string | undefined;
651
+ }>>;
652
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
653
+ }, "strip", z.ZodTypeAny, {
654
+ status?: string | undefined;
655
+ code?: string | undefined;
656
+ id?: string | undefined;
657
+ links?: {
658
+ about?: string | undefined;
659
+ } | undefined;
660
+ meta?: Record<string, unknown> | undefined;
661
+ title?: string | undefined;
662
+ detail?: string | undefined;
663
+ source?: {
664
+ pointer?: string | undefined;
665
+ parameter?: string | undefined;
666
+ } | undefined;
667
+ }, {
668
+ status?: string | undefined;
669
+ code?: string | undefined;
670
+ id?: string | undefined;
671
+ links?: {
672
+ about?: string | undefined;
673
+ } | undefined;
674
+ meta?: Record<string, unknown> | undefined;
675
+ title?: string | undefined;
676
+ detail?: string | undefined;
677
+ source?: {
678
+ pointer?: string | undefined;
679
+ parameter?: string | undefined;
680
+ } | undefined;
681
+ }>, "many">;
682
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
683
+ }, "strip", z.ZodTypeAny, {
684
+ errors: {
685
+ status?: string | undefined;
686
+ code?: string | undefined;
687
+ id?: string | undefined;
688
+ links?: {
689
+ about?: string | undefined;
690
+ } | undefined;
691
+ meta?: Record<string, unknown> | undefined;
692
+ title?: string | undefined;
693
+ detail?: string | undefined;
694
+ source?: {
695
+ pointer?: string | undefined;
696
+ parameter?: string | undefined;
697
+ } | undefined;
698
+ }[];
699
+ meta?: Record<string, unknown> | undefined;
700
+ }, {
701
+ errors: {
702
+ status?: string | undefined;
703
+ code?: string | undefined;
704
+ id?: string | undefined;
705
+ links?: {
706
+ about?: string | undefined;
707
+ } | undefined;
708
+ meta?: Record<string, unknown> | undefined;
709
+ title?: string | undefined;
710
+ detail?: string | undefined;
711
+ source?: {
712
+ pointer?: string | undefined;
713
+ parameter?: string | undefined;
714
+ } | undefined;
715
+ }[];
716
+ meta?: Record<string, unknown> | undefined;
717
+ }>;
718
+ };
719
+ };
720
+ };
721
+ //# sourceMappingURL=users.routes.d.ts.map