@deepintel-ltd/farmpro-contracts 1.5.19 → 1.5.21

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,975 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Organization schemas - JSON:API compliant
4
+ */
5
+ export declare const organizationAttributesSchema: z.ZodObject<{
6
+ name: z.ZodString;
7
+ email: z.ZodNullable<z.ZodString>;
8
+ phone: z.ZodNullable<z.ZodString>;
9
+ address: z.ZodNullable<z.ZodString>;
10
+ logo: z.ZodNullable<z.ZodString>;
11
+ } & {
12
+ createdAt: z.ZodString;
13
+ updatedAt: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ email: string | null;
16
+ createdAt: string;
17
+ updatedAt: string;
18
+ name: string;
19
+ phone: string | null;
20
+ address: string | null;
21
+ logo: string | null;
22
+ }, {
23
+ email: string | null;
24
+ createdAt: string;
25
+ updatedAt: string;
26
+ name: string;
27
+ phone: string | null;
28
+ address: string | null;
29
+ logo: string | null;
30
+ }>;
31
+ export declare const createOrganizationAttributesSchema: z.ZodObject<{
32
+ name: z.ZodString;
33
+ email: z.ZodOptional<z.ZodString>;
34
+ phone: z.ZodOptional<z.ZodString>;
35
+ address: z.ZodOptional<z.ZodString>;
36
+ logo: z.ZodOptional<z.ZodString>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ name: string;
39
+ email?: string | undefined;
40
+ phone?: string | undefined;
41
+ address?: string | undefined;
42
+ logo?: string | undefined;
43
+ }, {
44
+ name: string;
45
+ email?: string | undefined;
46
+ phone?: string | undefined;
47
+ address?: string | undefined;
48
+ logo?: string | undefined;
49
+ }>;
50
+ export declare const updateOrganizationAttributesSchema: z.ZodObject<{
51
+ name: z.ZodOptional<z.ZodString>;
52
+ email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
53
+ phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
54
+ address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
55
+ logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ email?: string | undefined;
58
+ name?: string | undefined;
59
+ phone?: string | undefined;
60
+ address?: string | undefined;
61
+ logo?: string | undefined;
62
+ }, {
63
+ email?: string | undefined;
64
+ name?: string | undefined;
65
+ phone?: string | undefined;
66
+ address?: string | undefined;
67
+ logo?: string | undefined;
68
+ }>;
69
+ export declare const createOrganizationSchema: z.ZodObject<{
70
+ type: z.ZodLiteral<"organizations">;
71
+ attributes: z.ZodObject<{
72
+ name: z.ZodString;
73
+ email: z.ZodOptional<z.ZodString>;
74
+ phone: z.ZodOptional<z.ZodString>;
75
+ address: z.ZodOptional<z.ZodString>;
76
+ logo: z.ZodOptional<z.ZodString>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ name: string;
79
+ email?: string | undefined;
80
+ phone?: string | undefined;
81
+ address?: string | undefined;
82
+ logo?: string | undefined;
83
+ }, {
84
+ name: string;
85
+ email?: string | undefined;
86
+ phone?: string | undefined;
87
+ address?: string | undefined;
88
+ logo?: string | undefined;
89
+ }>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ type: "organizations";
92
+ attributes: {
93
+ name: string;
94
+ email?: string | undefined;
95
+ phone?: string | undefined;
96
+ address?: string | undefined;
97
+ logo?: string | undefined;
98
+ };
99
+ }, {
100
+ type: "organizations";
101
+ attributes: {
102
+ name: string;
103
+ email?: string | undefined;
104
+ phone?: string | undefined;
105
+ address?: string | undefined;
106
+ logo?: string | undefined;
107
+ };
108
+ }>;
109
+ export declare const updateOrganizationSchema: z.ZodObject<{
110
+ type: z.ZodLiteral<"organizations">;
111
+ id: z.ZodString;
112
+ attributes: z.ZodObject<{
113
+ name: z.ZodOptional<z.ZodString>;
114
+ email: z.ZodOptional<z.ZodOptional<z.ZodString>>;
115
+ phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
116
+ address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
117
+ logo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ email?: string | undefined;
120
+ name?: string | undefined;
121
+ phone?: string | undefined;
122
+ address?: string | undefined;
123
+ logo?: string | undefined;
124
+ }, {
125
+ email?: string | undefined;
126
+ name?: string | undefined;
127
+ phone?: string | undefined;
128
+ address?: string | undefined;
129
+ logo?: string | undefined;
130
+ }>;
131
+ }, "strip", z.ZodTypeAny, {
132
+ type: "organizations";
133
+ id: string;
134
+ attributes: {
135
+ email?: string | undefined;
136
+ name?: string | undefined;
137
+ phone?: string | undefined;
138
+ address?: string | undefined;
139
+ logo?: string | undefined;
140
+ };
141
+ }, {
142
+ type: "organizations";
143
+ id: string;
144
+ attributes: {
145
+ email?: string | undefined;
146
+ name?: string | undefined;
147
+ phone?: string | undefined;
148
+ address?: string | undefined;
149
+ logo?: string | undefined;
150
+ };
151
+ }>;
152
+ export declare const organizationResourceSchema: z.ZodObject<{
153
+ type: z.ZodLiteral<string>;
154
+ id: z.ZodString;
155
+ attributes: z.ZodObject<{
156
+ name: z.ZodString;
157
+ email: z.ZodNullable<z.ZodString>;
158
+ phone: z.ZodNullable<z.ZodString>;
159
+ address: z.ZodNullable<z.ZodString>;
160
+ logo: z.ZodNullable<z.ZodString>;
161
+ } & {
162
+ createdAt: z.ZodString;
163
+ updatedAt: z.ZodString;
164
+ }, "strip", z.ZodTypeAny, {
165
+ email: string | null;
166
+ createdAt: string;
167
+ updatedAt: string;
168
+ name: string;
169
+ phone: string | null;
170
+ address: string | null;
171
+ logo: string | null;
172
+ }, {
173
+ email: string | null;
174
+ createdAt: string;
175
+ updatedAt: string;
176
+ name: string;
177
+ phone: string | null;
178
+ address: string | null;
179
+ logo: string | null;
180
+ }>;
181
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
182
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
183
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ type: string;
186
+ id: string;
187
+ attributes: {
188
+ email: string | null;
189
+ createdAt: string;
190
+ updatedAt: string;
191
+ name: string;
192
+ phone: string | null;
193
+ address: string | null;
194
+ logo: string | null;
195
+ };
196
+ relationships?: Record<string, unknown> | undefined;
197
+ links?: Record<string, string> | undefined;
198
+ meta?: Record<string, unknown> | undefined;
199
+ }, {
200
+ type: string;
201
+ id: string;
202
+ attributes: {
203
+ email: string | null;
204
+ createdAt: string;
205
+ updatedAt: string;
206
+ name: string;
207
+ phone: string | null;
208
+ address: string | null;
209
+ logo: string | null;
210
+ };
211
+ relationships?: Record<string, unknown> | undefined;
212
+ links?: Record<string, string> | undefined;
213
+ meta?: Record<string, unknown> | undefined;
214
+ }>;
215
+ export declare const organizationResponseSchema: z.ZodObject<{
216
+ data: z.ZodObject<{
217
+ type: z.ZodLiteral<string>;
218
+ id: z.ZodString;
219
+ attributes: z.ZodObject<{
220
+ name: z.ZodString;
221
+ email: z.ZodNullable<z.ZodString>;
222
+ phone: z.ZodNullable<z.ZodString>;
223
+ address: z.ZodNullable<z.ZodString>;
224
+ logo: z.ZodNullable<z.ZodString>;
225
+ } & {
226
+ createdAt: z.ZodString;
227
+ updatedAt: z.ZodString;
228
+ }, "strip", z.ZodTypeAny, {
229
+ email: string | null;
230
+ createdAt: string;
231
+ updatedAt: string;
232
+ name: string;
233
+ phone: string | null;
234
+ address: string | null;
235
+ logo: string | null;
236
+ }, {
237
+ email: string | null;
238
+ createdAt: string;
239
+ updatedAt: string;
240
+ name: string;
241
+ phone: string | null;
242
+ address: string | null;
243
+ logo: string | null;
244
+ }>;
245
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
246
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
247
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ type: string;
250
+ id: string;
251
+ attributes: {
252
+ email: string | null;
253
+ createdAt: string;
254
+ updatedAt: string;
255
+ name: string;
256
+ phone: string | null;
257
+ address: string | null;
258
+ logo: string | null;
259
+ };
260
+ relationships?: Record<string, unknown> | undefined;
261
+ links?: Record<string, string> | undefined;
262
+ meta?: Record<string, unknown> | undefined;
263
+ }, {
264
+ type: string;
265
+ id: string;
266
+ attributes: {
267
+ email: string | null;
268
+ createdAt: string;
269
+ updatedAt: string;
270
+ name: string;
271
+ phone: string | null;
272
+ address: string | null;
273
+ logo: string | null;
274
+ };
275
+ relationships?: Record<string, unknown> | undefined;
276
+ links?: Record<string, string> | undefined;
277
+ meta?: Record<string, unknown> | undefined;
278
+ }>;
279
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
280
+ type: z.ZodString;
281
+ id: z.ZodString;
282
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
283
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
284
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
285
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
286
+ }, "strip", z.ZodTypeAny, {
287
+ type: string;
288
+ id: string;
289
+ attributes?: Record<string, unknown> | undefined;
290
+ relationships?: Record<string, unknown> | undefined;
291
+ links?: Record<string, string> | undefined;
292
+ meta?: Record<string, unknown> | undefined;
293
+ }, {
294
+ type: string;
295
+ id: string;
296
+ attributes?: Record<string, unknown> | undefined;
297
+ relationships?: Record<string, unknown> | undefined;
298
+ links?: Record<string, string> | undefined;
299
+ meta?: Record<string, unknown> | undefined;
300
+ }>, "many">>;
301
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
302
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ data: {
305
+ type: string;
306
+ id: string;
307
+ attributes: {
308
+ email: string | null;
309
+ createdAt: string;
310
+ updatedAt: string;
311
+ name: string;
312
+ phone: string | null;
313
+ address: string | null;
314
+ logo: string | null;
315
+ };
316
+ relationships?: Record<string, unknown> | undefined;
317
+ links?: Record<string, string> | undefined;
318
+ meta?: Record<string, unknown> | undefined;
319
+ };
320
+ links?: Record<string, string> | undefined;
321
+ meta?: Record<string, unknown> | undefined;
322
+ included?: {
323
+ type: string;
324
+ id: string;
325
+ attributes?: Record<string, unknown> | undefined;
326
+ relationships?: Record<string, unknown> | undefined;
327
+ links?: Record<string, string> | undefined;
328
+ meta?: Record<string, unknown> | undefined;
329
+ }[] | undefined;
330
+ }, {
331
+ data: {
332
+ type: string;
333
+ id: string;
334
+ attributes: {
335
+ email: string | null;
336
+ createdAt: string;
337
+ updatedAt: string;
338
+ name: string;
339
+ phone: string | null;
340
+ address: string | null;
341
+ logo: string | null;
342
+ };
343
+ relationships?: Record<string, unknown> | undefined;
344
+ links?: Record<string, string> | undefined;
345
+ meta?: Record<string, unknown> | undefined;
346
+ };
347
+ links?: Record<string, string> | undefined;
348
+ meta?: Record<string, unknown> | undefined;
349
+ included?: {
350
+ type: string;
351
+ id: string;
352
+ attributes?: Record<string, unknown> | undefined;
353
+ relationships?: Record<string, unknown> | undefined;
354
+ links?: Record<string, string> | undefined;
355
+ meta?: Record<string, unknown> | undefined;
356
+ }[] | undefined;
357
+ }>;
358
+ export declare const organizationListResponseSchema: z.ZodObject<{
359
+ data: z.ZodArray<z.ZodObject<{
360
+ type: z.ZodLiteral<string>;
361
+ id: z.ZodString;
362
+ attributes: z.ZodObject<{
363
+ name: z.ZodString;
364
+ email: z.ZodNullable<z.ZodString>;
365
+ phone: z.ZodNullable<z.ZodString>;
366
+ address: z.ZodNullable<z.ZodString>;
367
+ logo: z.ZodNullable<z.ZodString>;
368
+ } & {
369
+ createdAt: z.ZodString;
370
+ updatedAt: z.ZodString;
371
+ }, "strip", z.ZodTypeAny, {
372
+ email: string | null;
373
+ createdAt: string;
374
+ updatedAt: string;
375
+ name: string;
376
+ phone: string | null;
377
+ address: string | null;
378
+ logo: string | null;
379
+ }, {
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: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
389
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
390
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ type: string;
393
+ id: string;
394
+ attributes: {
395
+ email: string | null;
396
+ createdAt: string;
397
+ updatedAt: string;
398
+ name: string;
399
+ phone: string | null;
400
+ address: string | null;
401
+ logo: string | null;
402
+ };
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: {
410
+ email: string | null;
411
+ createdAt: string;
412
+ updatedAt: string;
413
+ name: string;
414
+ phone: string | null;
415
+ address: string | null;
416
+ logo: string | null;
417
+ };
418
+ relationships?: Record<string, unknown> | undefined;
419
+ links?: Record<string, string> | undefined;
420
+ meta?: Record<string, unknown> | undefined;
421
+ }>, "many">;
422
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
423
+ type: z.ZodString;
424
+ id: z.ZodString;
425
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
426
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
427
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
428
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
429
+ }, "strip", z.ZodTypeAny, {
430
+ type: string;
431
+ id: string;
432
+ attributes?: Record<string, unknown> | undefined;
433
+ relationships?: Record<string, unknown> | undefined;
434
+ links?: Record<string, string> | undefined;
435
+ meta?: Record<string, unknown> | undefined;
436
+ }, {
437
+ type: string;
438
+ id: string;
439
+ attributes?: Record<string, unknown> | undefined;
440
+ relationships?: Record<string, unknown> | undefined;
441
+ links?: Record<string, string> | undefined;
442
+ meta?: Record<string, unknown> | undefined;
443
+ }>, "many">>;
444
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
445
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ data: {
448
+ type: string;
449
+ id: string;
450
+ attributes: {
451
+ email: string | null;
452
+ createdAt: string;
453
+ updatedAt: string;
454
+ name: string;
455
+ phone: string | null;
456
+ address: string | null;
457
+ logo: string | null;
458
+ };
459
+ relationships?: Record<string, unknown> | undefined;
460
+ links?: Record<string, string> | undefined;
461
+ meta?: Record<string, unknown> | undefined;
462
+ }[];
463
+ links?: Record<string, string> | undefined;
464
+ meta?: Record<string, unknown> | undefined;
465
+ included?: {
466
+ type: string;
467
+ id: string;
468
+ attributes?: Record<string, unknown> | undefined;
469
+ relationships?: Record<string, unknown> | undefined;
470
+ links?: Record<string, string> | undefined;
471
+ meta?: Record<string, unknown> | undefined;
472
+ }[] | undefined;
473
+ }, {
474
+ data: {
475
+ type: string;
476
+ id: string;
477
+ attributes: {
478
+ email: string | null;
479
+ createdAt: string;
480
+ updatedAt: string;
481
+ name: string;
482
+ phone: string | null;
483
+ address: string | null;
484
+ logo: string | null;
485
+ };
486
+ relationships?: Record<string, unknown> | undefined;
487
+ links?: Record<string, string> | undefined;
488
+ meta?: Record<string, unknown> | undefined;
489
+ }[];
490
+ links?: Record<string, string> | undefined;
491
+ meta?: Record<string, unknown> | undefined;
492
+ included?: {
493
+ type: string;
494
+ id: string;
495
+ attributes?: Record<string, unknown> | undefined;
496
+ relationships?: Record<string, unknown> | undefined;
497
+ links?: Record<string, string> | undefined;
498
+ meta?: Record<string, unknown> | undefined;
499
+ }[] | undefined;
500
+ }>;
501
+ export type CreateOrganizationAttributes = z.infer<typeof createOrganizationAttributesSchema>;
502
+ export type UpdateOrganizationAttributes = z.infer<typeof updateOrganizationAttributesSchema>;
503
+ export type CreateOrganizationInput = z.infer<typeof createOrganizationSchema>;
504
+ export type UpdateOrganizationInput = z.infer<typeof updateOrganizationSchema>;
505
+ export type OrganizationAttributes = z.infer<typeof organizationAttributesSchema>;
506
+ export type OrganizationResource = z.infer<typeof organizationResourceSchema>;
507
+ export type OrganizationResponse = z.infer<typeof organizationResponseSchema>;
508
+ export type OrganizationListResponse = z.infer<typeof organizationListResponseSchema>;
509
+ export declare const bankAccountAttributesSchema: z.ZodObject<{
510
+ bankName: z.ZodString;
511
+ accountNumber: z.ZodString;
512
+ accountName: z.ZodString;
513
+ isDefault: z.ZodDefault<z.ZodBoolean>;
514
+ } & {
515
+ createdAt: z.ZodString;
516
+ updatedAt: z.ZodString;
517
+ }, "strip", z.ZodTypeAny, {
518
+ createdAt: string;
519
+ updatedAt: string;
520
+ isDefault: boolean;
521
+ bankName: string;
522
+ accountNumber: string;
523
+ accountName: string;
524
+ }, {
525
+ createdAt: string;
526
+ updatedAt: string;
527
+ bankName: string;
528
+ accountNumber: string;
529
+ accountName: string;
530
+ isDefault?: boolean | undefined;
531
+ }>;
532
+ export declare const createBankAccountAttributesSchema: z.ZodObject<{
533
+ bankName: z.ZodString;
534
+ accountNumber: z.ZodString;
535
+ accountName: z.ZodString;
536
+ isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ isDefault: boolean;
539
+ bankName: string;
540
+ accountNumber: string;
541
+ accountName: string;
542
+ }, {
543
+ bankName: string;
544
+ accountNumber: string;
545
+ accountName: string;
546
+ isDefault?: boolean | undefined;
547
+ }>;
548
+ export declare const updateBankAccountAttributesSchema: z.ZodObject<{
549
+ bankName: z.ZodOptional<z.ZodString>;
550
+ accountNumber: z.ZodOptional<z.ZodString>;
551
+ accountName: z.ZodOptional<z.ZodString>;
552
+ isDefault: z.ZodOptional<z.ZodBoolean>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ isDefault?: boolean | undefined;
555
+ bankName?: string | undefined;
556
+ accountNumber?: string | undefined;
557
+ accountName?: string | undefined;
558
+ }, {
559
+ isDefault?: boolean | undefined;
560
+ bankName?: string | undefined;
561
+ accountNumber?: string | undefined;
562
+ accountName?: string | undefined;
563
+ }>;
564
+ export declare const createBankAccountSchema: z.ZodObject<{
565
+ type: z.ZodLiteral<"bank-accounts">;
566
+ attributes: z.ZodObject<{
567
+ bankName: z.ZodString;
568
+ accountNumber: z.ZodString;
569
+ accountName: z.ZodString;
570
+ isDefault: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
571
+ }, "strip", z.ZodTypeAny, {
572
+ isDefault: boolean;
573
+ bankName: string;
574
+ accountNumber: string;
575
+ accountName: string;
576
+ }, {
577
+ bankName: string;
578
+ accountNumber: string;
579
+ accountName: string;
580
+ isDefault?: boolean | undefined;
581
+ }>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ type: "bank-accounts";
584
+ attributes: {
585
+ isDefault: boolean;
586
+ bankName: string;
587
+ accountNumber: string;
588
+ accountName: string;
589
+ };
590
+ }, {
591
+ type: "bank-accounts";
592
+ attributes: {
593
+ bankName: string;
594
+ accountNumber: string;
595
+ accountName: string;
596
+ isDefault?: boolean | undefined;
597
+ };
598
+ }>;
599
+ export declare const updateBankAccountSchema: z.ZodObject<{
600
+ type: z.ZodLiteral<"bank-accounts">;
601
+ id: z.ZodString;
602
+ attributes: z.ZodObject<{
603
+ bankName: z.ZodOptional<z.ZodString>;
604
+ accountNumber: z.ZodOptional<z.ZodString>;
605
+ accountName: z.ZodOptional<z.ZodString>;
606
+ isDefault: z.ZodOptional<z.ZodBoolean>;
607
+ }, "strip", z.ZodTypeAny, {
608
+ isDefault?: boolean | undefined;
609
+ bankName?: string | undefined;
610
+ accountNumber?: string | undefined;
611
+ accountName?: string | undefined;
612
+ }, {
613
+ isDefault?: boolean | undefined;
614
+ bankName?: string | undefined;
615
+ accountNumber?: string | undefined;
616
+ accountName?: string | undefined;
617
+ }>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ type: "bank-accounts";
620
+ id: string;
621
+ attributes: {
622
+ isDefault?: boolean | undefined;
623
+ bankName?: string | undefined;
624
+ accountNumber?: string | undefined;
625
+ accountName?: string | undefined;
626
+ };
627
+ }, {
628
+ type: "bank-accounts";
629
+ id: string;
630
+ attributes: {
631
+ isDefault?: boolean | undefined;
632
+ bankName?: string | undefined;
633
+ accountNumber?: string | undefined;
634
+ accountName?: string | undefined;
635
+ };
636
+ }>;
637
+ export declare const bankAccountResourceSchema: z.ZodObject<{
638
+ type: z.ZodLiteral<string>;
639
+ id: z.ZodString;
640
+ attributes: z.ZodObject<{
641
+ bankName: z.ZodString;
642
+ accountNumber: z.ZodString;
643
+ accountName: z.ZodString;
644
+ isDefault: z.ZodDefault<z.ZodBoolean>;
645
+ } & {
646
+ createdAt: z.ZodString;
647
+ updatedAt: z.ZodString;
648
+ }, "strip", z.ZodTypeAny, {
649
+ createdAt: string;
650
+ updatedAt: string;
651
+ isDefault: boolean;
652
+ bankName: string;
653
+ accountNumber: string;
654
+ accountName: string;
655
+ }, {
656
+ createdAt: string;
657
+ updatedAt: string;
658
+ bankName: string;
659
+ accountNumber: string;
660
+ accountName: string;
661
+ isDefault?: boolean | undefined;
662
+ }>;
663
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
664
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
665
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
666
+ }, "strip", z.ZodTypeAny, {
667
+ type: string;
668
+ id: string;
669
+ attributes: {
670
+ createdAt: string;
671
+ updatedAt: string;
672
+ isDefault: boolean;
673
+ bankName: string;
674
+ accountNumber: string;
675
+ accountName: string;
676
+ };
677
+ relationships?: Record<string, unknown> | undefined;
678
+ links?: Record<string, string> | undefined;
679
+ meta?: Record<string, unknown> | undefined;
680
+ }, {
681
+ type: string;
682
+ id: string;
683
+ attributes: {
684
+ createdAt: string;
685
+ updatedAt: string;
686
+ bankName: string;
687
+ accountNumber: string;
688
+ accountName: string;
689
+ isDefault?: boolean | undefined;
690
+ };
691
+ relationships?: Record<string, unknown> | undefined;
692
+ links?: Record<string, string> | undefined;
693
+ meta?: Record<string, unknown> | undefined;
694
+ }>;
695
+ export declare const bankAccountResponseSchema: z.ZodObject<{
696
+ data: z.ZodObject<{
697
+ type: z.ZodLiteral<string>;
698
+ id: z.ZodString;
699
+ attributes: z.ZodObject<{
700
+ bankName: z.ZodString;
701
+ accountNumber: z.ZodString;
702
+ accountName: z.ZodString;
703
+ isDefault: z.ZodDefault<z.ZodBoolean>;
704
+ } & {
705
+ createdAt: z.ZodString;
706
+ updatedAt: z.ZodString;
707
+ }, "strip", z.ZodTypeAny, {
708
+ createdAt: string;
709
+ updatedAt: string;
710
+ isDefault: boolean;
711
+ bankName: string;
712
+ accountNumber: string;
713
+ accountName: string;
714
+ }, {
715
+ createdAt: string;
716
+ updatedAt: string;
717
+ bankName: string;
718
+ accountNumber: string;
719
+ accountName: string;
720
+ isDefault?: boolean | undefined;
721
+ }>;
722
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
723
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
724
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ type: string;
727
+ id: string;
728
+ attributes: {
729
+ createdAt: string;
730
+ updatedAt: string;
731
+ isDefault: boolean;
732
+ bankName: string;
733
+ accountNumber: string;
734
+ accountName: string;
735
+ };
736
+ relationships?: Record<string, unknown> | undefined;
737
+ links?: Record<string, string> | undefined;
738
+ meta?: Record<string, unknown> | undefined;
739
+ }, {
740
+ type: string;
741
+ id: string;
742
+ attributes: {
743
+ createdAt: string;
744
+ updatedAt: string;
745
+ bankName: string;
746
+ accountNumber: string;
747
+ accountName: string;
748
+ isDefault?: boolean | undefined;
749
+ };
750
+ relationships?: Record<string, unknown> | undefined;
751
+ links?: Record<string, string> | undefined;
752
+ meta?: Record<string, unknown> | undefined;
753
+ }>;
754
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
755
+ type: z.ZodString;
756
+ id: z.ZodString;
757
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
758
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
759
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
760
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
761
+ }, "strip", z.ZodTypeAny, {
762
+ type: string;
763
+ id: string;
764
+ attributes?: Record<string, unknown> | undefined;
765
+ relationships?: Record<string, unknown> | undefined;
766
+ links?: Record<string, string> | undefined;
767
+ meta?: Record<string, unknown> | undefined;
768
+ }, {
769
+ type: string;
770
+ id: string;
771
+ attributes?: Record<string, unknown> | undefined;
772
+ relationships?: Record<string, unknown> | undefined;
773
+ links?: Record<string, string> | undefined;
774
+ meta?: Record<string, unknown> | undefined;
775
+ }>, "many">>;
776
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
777
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
778
+ }, "strip", z.ZodTypeAny, {
779
+ data: {
780
+ type: string;
781
+ id: string;
782
+ attributes: {
783
+ createdAt: string;
784
+ updatedAt: string;
785
+ isDefault: boolean;
786
+ bankName: string;
787
+ accountNumber: string;
788
+ accountName: string;
789
+ };
790
+ relationships?: Record<string, unknown> | undefined;
791
+ links?: Record<string, string> | undefined;
792
+ meta?: Record<string, unknown> | undefined;
793
+ };
794
+ links?: Record<string, string> | undefined;
795
+ meta?: Record<string, unknown> | undefined;
796
+ included?: {
797
+ type: string;
798
+ id: string;
799
+ attributes?: Record<string, unknown> | undefined;
800
+ relationships?: Record<string, unknown> | undefined;
801
+ links?: Record<string, string> | undefined;
802
+ meta?: Record<string, unknown> | undefined;
803
+ }[] | undefined;
804
+ }, {
805
+ data: {
806
+ type: string;
807
+ id: string;
808
+ attributes: {
809
+ createdAt: string;
810
+ updatedAt: string;
811
+ bankName: string;
812
+ accountNumber: string;
813
+ accountName: string;
814
+ isDefault?: boolean | undefined;
815
+ };
816
+ relationships?: Record<string, unknown> | undefined;
817
+ links?: Record<string, string> | undefined;
818
+ meta?: Record<string, unknown> | undefined;
819
+ };
820
+ links?: Record<string, string> | undefined;
821
+ meta?: Record<string, unknown> | undefined;
822
+ included?: {
823
+ type: string;
824
+ id: string;
825
+ attributes?: Record<string, unknown> | undefined;
826
+ relationships?: Record<string, unknown> | undefined;
827
+ links?: Record<string, string> | undefined;
828
+ meta?: Record<string, unknown> | undefined;
829
+ }[] | undefined;
830
+ }>;
831
+ export declare const bankAccountListResponseSchema: z.ZodObject<{
832
+ data: z.ZodArray<z.ZodObject<{
833
+ type: z.ZodLiteral<string>;
834
+ id: z.ZodString;
835
+ attributes: z.ZodObject<{
836
+ bankName: z.ZodString;
837
+ accountNumber: z.ZodString;
838
+ accountName: z.ZodString;
839
+ isDefault: z.ZodDefault<z.ZodBoolean>;
840
+ } & {
841
+ createdAt: z.ZodString;
842
+ updatedAt: z.ZodString;
843
+ }, "strip", z.ZodTypeAny, {
844
+ createdAt: string;
845
+ updatedAt: string;
846
+ isDefault: boolean;
847
+ bankName: string;
848
+ accountNumber: string;
849
+ accountName: string;
850
+ }, {
851
+ createdAt: string;
852
+ updatedAt: string;
853
+ bankName: string;
854
+ accountNumber: string;
855
+ accountName: string;
856
+ isDefault?: boolean | undefined;
857
+ }>;
858
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
859
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
860
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
861
+ }, "strip", z.ZodTypeAny, {
862
+ type: string;
863
+ id: string;
864
+ attributes: {
865
+ createdAt: string;
866
+ updatedAt: string;
867
+ isDefault: boolean;
868
+ bankName: string;
869
+ accountNumber: string;
870
+ accountName: string;
871
+ };
872
+ relationships?: Record<string, unknown> | undefined;
873
+ links?: Record<string, string> | undefined;
874
+ meta?: Record<string, unknown> | undefined;
875
+ }, {
876
+ type: string;
877
+ id: string;
878
+ attributes: {
879
+ createdAt: string;
880
+ updatedAt: string;
881
+ bankName: string;
882
+ accountNumber: string;
883
+ accountName: string;
884
+ isDefault?: boolean | undefined;
885
+ };
886
+ relationships?: Record<string, unknown> | undefined;
887
+ links?: Record<string, string> | undefined;
888
+ meta?: Record<string, unknown> | undefined;
889
+ }>, "many">;
890
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
891
+ type: z.ZodString;
892
+ id: z.ZodString;
893
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
894
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
895
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
896
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ type: string;
899
+ id: string;
900
+ attributes?: Record<string, unknown> | undefined;
901
+ relationships?: Record<string, unknown> | undefined;
902
+ links?: Record<string, string> | undefined;
903
+ meta?: Record<string, unknown> | undefined;
904
+ }, {
905
+ type: string;
906
+ id: string;
907
+ attributes?: Record<string, unknown> | undefined;
908
+ relationships?: Record<string, unknown> | undefined;
909
+ links?: Record<string, string> | undefined;
910
+ meta?: Record<string, unknown> | undefined;
911
+ }>, "many">>;
912
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
913
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
914
+ }, "strip", z.ZodTypeAny, {
915
+ data: {
916
+ type: string;
917
+ id: string;
918
+ attributes: {
919
+ createdAt: string;
920
+ updatedAt: string;
921
+ isDefault: boolean;
922
+ bankName: string;
923
+ accountNumber: string;
924
+ accountName: string;
925
+ };
926
+ relationships?: Record<string, unknown> | undefined;
927
+ links?: Record<string, string> | undefined;
928
+ meta?: Record<string, unknown> | undefined;
929
+ }[];
930
+ links?: Record<string, string> | undefined;
931
+ meta?: Record<string, unknown> | undefined;
932
+ included?: {
933
+ type: string;
934
+ id: string;
935
+ attributes?: Record<string, unknown> | undefined;
936
+ relationships?: Record<string, unknown> | undefined;
937
+ links?: Record<string, string> | undefined;
938
+ meta?: Record<string, unknown> | undefined;
939
+ }[] | undefined;
940
+ }, {
941
+ data: {
942
+ type: string;
943
+ id: string;
944
+ attributes: {
945
+ createdAt: string;
946
+ updatedAt: string;
947
+ bankName: string;
948
+ accountNumber: string;
949
+ accountName: string;
950
+ isDefault?: boolean | undefined;
951
+ };
952
+ relationships?: Record<string, unknown> | undefined;
953
+ links?: Record<string, string> | undefined;
954
+ meta?: Record<string, unknown> | undefined;
955
+ }[];
956
+ links?: Record<string, string> | undefined;
957
+ meta?: Record<string, unknown> | undefined;
958
+ included?: {
959
+ type: string;
960
+ id: string;
961
+ attributes?: Record<string, unknown> | undefined;
962
+ relationships?: Record<string, unknown> | undefined;
963
+ links?: Record<string, string> | undefined;
964
+ meta?: Record<string, unknown> | undefined;
965
+ }[] | undefined;
966
+ }>;
967
+ export type CreateBankAccountAttributes = z.infer<typeof createBankAccountAttributesSchema>;
968
+ export type UpdateBankAccountAttributes = z.infer<typeof updateBankAccountAttributesSchema>;
969
+ export type CreateBankAccountInput = z.infer<typeof createBankAccountSchema>;
970
+ export type UpdateBankAccountInput = z.infer<typeof updateBankAccountSchema>;
971
+ export type BankAccountAttributes = z.infer<typeof bankAccountAttributesSchema>;
972
+ export type BankAccountResource = z.infer<typeof bankAccountResourceSchema>;
973
+ export type BankAccountResponse = z.infer<typeof bankAccountResponseSchema>;
974
+ export type BankAccountListResponse = z.infer<typeof bankAccountListResponseSchema>;
975
+ //# sourceMappingURL=organizations.schemas.d.ts.map