@deepintel-ltd/farmpro-contracts 1.5.19 → 1.5.20

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