@deepintel-ltd/farmpro-contracts 1.11.12 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1292 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Staff payroll schemas — roster + payments that post to the Expense ledger.
4
+ */
5
+ export declare const staffPayTypeSchema: z.ZodEnum<["monthly", "daily", "piece"]>;
6
+ export declare const staffCurrencySchema: z.ZodEnum<["NGN", "USD"]>;
7
+ export declare const staffMemberAttributesSchema: z.ZodObject<{
8
+ name: z.ZodString;
9
+ title: z.ZodNullable<z.ZodString>;
10
+ payType: z.ZodEnum<["monthly", "daily", "piece"]>;
11
+ defaultAmount: z.ZodNullable<z.ZodNumber>;
12
+ currency: z.ZodEnum<["NGN", "USD"]>;
13
+ isActive: z.ZodBoolean;
14
+ teamMemberId: z.ZodNullable<z.ZodString>;
15
+ notes: z.ZodNullable<z.ZodString>;
16
+ } & {
17
+ createdAt: z.ZodString;
18
+ updatedAt: z.ZodString;
19
+ }, "strip", z.ZodTypeAny, {
20
+ title: string | null;
21
+ createdAt: string;
22
+ updatedAt: string;
23
+ name: string;
24
+ currency: "NGN" | "USD";
25
+ notes: string | null;
26
+ payType: "monthly" | "daily" | "piece";
27
+ defaultAmount: number | null;
28
+ isActive: boolean;
29
+ teamMemberId: string | null;
30
+ }, {
31
+ title: string | null;
32
+ createdAt: string;
33
+ updatedAt: string;
34
+ name: string;
35
+ currency: "NGN" | "USD";
36
+ notes: string | null;
37
+ payType: "monthly" | "daily" | "piece";
38
+ defaultAmount: number | null;
39
+ isActive: boolean;
40
+ teamMemberId: string | null;
41
+ }>;
42
+ export declare const createStaffMemberAttributesSchema: z.ZodObject<{
43
+ name: z.ZodString;
44
+ title: z.ZodOptional<z.ZodString>;
45
+ payType: z.ZodDefault<z.ZodEnum<["monthly", "daily", "piece"]>>;
46
+ defaultAmount: z.ZodOptional<z.ZodNumber>;
47
+ currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
48
+ isActive: z.ZodDefault<z.ZodBoolean>;
49
+ teamMemberId: z.ZodOptional<z.ZodString>;
50
+ notes: z.ZodOptional<z.ZodString>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ name: string;
53
+ currency: "NGN" | "USD";
54
+ payType: "monthly" | "daily" | "piece";
55
+ isActive: boolean;
56
+ title?: string | undefined;
57
+ notes?: string | undefined;
58
+ defaultAmount?: number | undefined;
59
+ teamMemberId?: string | undefined;
60
+ }, {
61
+ name: string;
62
+ title?: string | undefined;
63
+ currency?: "NGN" | "USD" | undefined;
64
+ notes?: string | undefined;
65
+ payType?: "monthly" | "daily" | "piece" | undefined;
66
+ defaultAmount?: number | undefined;
67
+ isActive?: boolean | undefined;
68
+ teamMemberId?: string | undefined;
69
+ }>;
70
+ export declare const updateStaffMemberAttributesSchema: z.ZodObject<{
71
+ name: z.ZodOptional<z.ZodString>;
72
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ payType: z.ZodOptional<z.ZodEnum<["monthly", "daily", "piece"]>>;
74
+ defaultAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ currency: z.ZodOptional<z.ZodEnum<["NGN", "USD"]>>;
76
+ isActive: z.ZodOptional<z.ZodBoolean>;
77
+ teamMemberId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ title?: string | null | undefined;
81
+ name?: string | undefined;
82
+ currency?: "NGN" | "USD" | undefined;
83
+ notes?: string | null | undefined;
84
+ payType?: "monthly" | "daily" | "piece" | undefined;
85
+ defaultAmount?: number | null | undefined;
86
+ isActive?: boolean | undefined;
87
+ teamMemberId?: string | null | undefined;
88
+ }, {
89
+ title?: string | null | undefined;
90
+ name?: string | undefined;
91
+ currency?: "NGN" | "USD" | undefined;
92
+ notes?: string | null | undefined;
93
+ payType?: "monthly" | "daily" | "piece" | undefined;
94
+ defaultAmount?: number | null | undefined;
95
+ isActive?: boolean | undefined;
96
+ teamMemberId?: string | null | undefined;
97
+ }>;
98
+ export declare const createStaffMemberSchema: z.ZodObject<{
99
+ type: z.ZodLiteral<"staff-members">;
100
+ attributes: z.ZodObject<{
101
+ name: z.ZodString;
102
+ title: z.ZodOptional<z.ZodString>;
103
+ payType: z.ZodDefault<z.ZodEnum<["monthly", "daily", "piece"]>>;
104
+ defaultAmount: z.ZodOptional<z.ZodNumber>;
105
+ currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
106
+ isActive: z.ZodDefault<z.ZodBoolean>;
107
+ teamMemberId: z.ZodOptional<z.ZodString>;
108
+ notes: z.ZodOptional<z.ZodString>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ name: string;
111
+ currency: "NGN" | "USD";
112
+ payType: "monthly" | "daily" | "piece";
113
+ isActive: boolean;
114
+ title?: string | undefined;
115
+ notes?: string | undefined;
116
+ defaultAmount?: number | undefined;
117
+ teamMemberId?: string | undefined;
118
+ }, {
119
+ name: string;
120
+ title?: string | undefined;
121
+ currency?: "NGN" | "USD" | undefined;
122
+ notes?: string | undefined;
123
+ payType?: "monthly" | "daily" | "piece" | undefined;
124
+ defaultAmount?: number | undefined;
125
+ isActive?: boolean | undefined;
126
+ teamMemberId?: string | undefined;
127
+ }>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ type: "staff-members";
130
+ attributes: {
131
+ name: string;
132
+ currency: "NGN" | "USD";
133
+ payType: "monthly" | "daily" | "piece";
134
+ isActive: boolean;
135
+ title?: string | undefined;
136
+ notes?: string | undefined;
137
+ defaultAmount?: number | undefined;
138
+ teamMemberId?: string | undefined;
139
+ };
140
+ }, {
141
+ type: "staff-members";
142
+ attributes: {
143
+ name: string;
144
+ title?: string | undefined;
145
+ currency?: "NGN" | "USD" | undefined;
146
+ notes?: string | undefined;
147
+ payType?: "monthly" | "daily" | "piece" | undefined;
148
+ defaultAmount?: number | undefined;
149
+ isActive?: boolean | undefined;
150
+ teamMemberId?: string | undefined;
151
+ };
152
+ }>;
153
+ export declare const updateStaffMemberSchema: z.ZodObject<{
154
+ type: z.ZodLiteral<"staff-members">;
155
+ id: z.ZodString;
156
+ attributes: z.ZodObject<{
157
+ name: z.ZodOptional<z.ZodString>;
158
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
+ payType: z.ZodOptional<z.ZodEnum<["monthly", "daily", "piece"]>>;
160
+ defaultAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
161
+ currency: z.ZodOptional<z.ZodEnum<["NGN", "USD"]>>;
162
+ isActive: z.ZodOptional<z.ZodBoolean>;
163
+ teamMemberId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ title?: string | null | undefined;
167
+ name?: string | undefined;
168
+ currency?: "NGN" | "USD" | undefined;
169
+ notes?: string | null | undefined;
170
+ payType?: "monthly" | "daily" | "piece" | undefined;
171
+ defaultAmount?: number | null | undefined;
172
+ isActive?: boolean | undefined;
173
+ teamMemberId?: string | null | undefined;
174
+ }, {
175
+ title?: string | null | undefined;
176
+ name?: string | undefined;
177
+ currency?: "NGN" | "USD" | undefined;
178
+ notes?: string | null | undefined;
179
+ payType?: "monthly" | "daily" | "piece" | undefined;
180
+ defaultAmount?: number | null | undefined;
181
+ isActive?: boolean | undefined;
182
+ teamMemberId?: string | null | undefined;
183
+ }>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ type: "staff-members";
186
+ id: string;
187
+ attributes: {
188
+ title?: string | null | undefined;
189
+ name?: string | undefined;
190
+ currency?: "NGN" | "USD" | undefined;
191
+ notes?: string | null | undefined;
192
+ payType?: "monthly" | "daily" | "piece" | undefined;
193
+ defaultAmount?: number | null | undefined;
194
+ isActive?: boolean | undefined;
195
+ teamMemberId?: string | null | undefined;
196
+ };
197
+ }, {
198
+ type: "staff-members";
199
+ id: string;
200
+ attributes: {
201
+ title?: string | null | undefined;
202
+ name?: string | undefined;
203
+ currency?: "NGN" | "USD" | undefined;
204
+ notes?: string | null | undefined;
205
+ payType?: "monthly" | "daily" | "piece" | undefined;
206
+ defaultAmount?: number | null | undefined;
207
+ isActive?: boolean | undefined;
208
+ teamMemberId?: string | null | undefined;
209
+ };
210
+ }>;
211
+ export declare const staffMemberResourceSchema: z.ZodObject<{
212
+ type: z.ZodLiteral<string>;
213
+ id: z.ZodString;
214
+ attributes: z.ZodObject<{
215
+ name: z.ZodString;
216
+ title: z.ZodNullable<z.ZodString>;
217
+ payType: z.ZodEnum<["monthly", "daily", "piece"]>;
218
+ defaultAmount: z.ZodNullable<z.ZodNumber>;
219
+ currency: z.ZodEnum<["NGN", "USD"]>;
220
+ isActive: z.ZodBoolean;
221
+ teamMemberId: z.ZodNullable<z.ZodString>;
222
+ notes: z.ZodNullable<z.ZodString>;
223
+ } & {
224
+ createdAt: z.ZodString;
225
+ updatedAt: z.ZodString;
226
+ }, "strip", z.ZodTypeAny, {
227
+ title: string | null;
228
+ createdAt: string;
229
+ updatedAt: string;
230
+ name: string;
231
+ currency: "NGN" | "USD";
232
+ notes: string | null;
233
+ payType: "monthly" | "daily" | "piece";
234
+ defaultAmount: number | null;
235
+ isActive: boolean;
236
+ teamMemberId: string | null;
237
+ }, {
238
+ title: string | null;
239
+ createdAt: string;
240
+ updatedAt: string;
241
+ name: string;
242
+ currency: "NGN" | "USD";
243
+ notes: string | null;
244
+ payType: "monthly" | "daily" | "piece";
245
+ defaultAmount: number | null;
246
+ isActive: boolean;
247
+ teamMemberId: string | null;
248
+ }>;
249
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
250
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
251
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ type: string;
254
+ id: string;
255
+ attributes: {
256
+ title: string | null;
257
+ createdAt: string;
258
+ updatedAt: string;
259
+ name: string;
260
+ currency: "NGN" | "USD";
261
+ notes: string | null;
262
+ payType: "monthly" | "daily" | "piece";
263
+ defaultAmount: number | null;
264
+ isActive: boolean;
265
+ teamMemberId: string | null;
266
+ };
267
+ relationships?: Record<string, unknown> | undefined;
268
+ links?: Record<string, string> | undefined;
269
+ meta?: Record<string, unknown> | undefined;
270
+ }, {
271
+ type: string;
272
+ id: string;
273
+ attributes: {
274
+ title: string | null;
275
+ createdAt: string;
276
+ updatedAt: string;
277
+ name: string;
278
+ currency: "NGN" | "USD";
279
+ notes: string | null;
280
+ payType: "monthly" | "daily" | "piece";
281
+ defaultAmount: number | null;
282
+ isActive: boolean;
283
+ teamMemberId: string | null;
284
+ };
285
+ relationships?: Record<string, unknown> | undefined;
286
+ links?: Record<string, string> | undefined;
287
+ meta?: Record<string, unknown> | undefined;
288
+ }>;
289
+ export declare const staffMemberResponseSchema: z.ZodObject<{
290
+ data: z.ZodObject<{
291
+ type: z.ZodLiteral<string>;
292
+ id: z.ZodString;
293
+ attributes: z.ZodObject<{
294
+ name: z.ZodString;
295
+ title: z.ZodNullable<z.ZodString>;
296
+ payType: z.ZodEnum<["monthly", "daily", "piece"]>;
297
+ defaultAmount: z.ZodNullable<z.ZodNumber>;
298
+ currency: z.ZodEnum<["NGN", "USD"]>;
299
+ isActive: z.ZodBoolean;
300
+ teamMemberId: z.ZodNullable<z.ZodString>;
301
+ notes: z.ZodNullable<z.ZodString>;
302
+ } & {
303
+ createdAt: z.ZodString;
304
+ updatedAt: z.ZodString;
305
+ }, "strip", z.ZodTypeAny, {
306
+ title: string | null;
307
+ createdAt: string;
308
+ updatedAt: string;
309
+ name: string;
310
+ currency: "NGN" | "USD";
311
+ notes: string | null;
312
+ payType: "monthly" | "daily" | "piece";
313
+ defaultAmount: number | null;
314
+ isActive: boolean;
315
+ teamMemberId: string | null;
316
+ }, {
317
+ title: string | null;
318
+ createdAt: string;
319
+ updatedAt: string;
320
+ name: string;
321
+ currency: "NGN" | "USD";
322
+ notes: string | null;
323
+ payType: "monthly" | "daily" | "piece";
324
+ defaultAmount: number | null;
325
+ isActive: boolean;
326
+ teamMemberId: string | null;
327
+ }>;
328
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
329
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
330
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
331
+ }, "strip", z.ZodTypeAny, {
332
+ type: string;
333
+ id: string;
334
+ attributes: {
335
+ title: string | null;
336
+ createdAt: string;
337
+ updatedAt: string;
338
+ name: string;
339
+ currency: "NGN" | "USD";
340
+ notes: string | null;
341
+ payType: "monthly" | "daily" | "piece";
342
+ defaultAmount: number | null;
343
+ isActive: boolean;
344
+ teamMemberId: string | null;
345
+ };
346
+ relationships?: Record<string, unknown> | undefined;
347
+ links?: Record<string, string> | undefined;
348
+ meta?: Record<string, unknown> | undefined;
349
+ }, {
350
+ type: string;
351
+ id: string;
352
+ attributes: {
353
+ title: string | null;
354
+ createdAt: string;
355
+ updatedAt: string;
356
+ name: string;
357
+ currency: "NGN" | "USD";
358
+ notes: string | null;
359
+ payType: "monthly" | "daily" | "piece";
360
+ defaultAmount: number | null;
361
+ isActive: boolean;
362
+ teamMemberId: string | null;
363
+ };
364
+ relationships?: Record<string, unknown> | undefined;
365
+ links?: Record<string, string> | undefined;
366
+ meta?: Record<string, unknown> | undefined;
367
+ }>;
368
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
369
+ type: z.ZodString;
370
+ id: z.ZodString;
371
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
372
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
373
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
374
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ type: string;
377
+ id: string;
378
+ attributes?: Record<string, unknown> | undefined;
379
+ relationships?: Record<string, unknown> | undefined;
380
+ links?: Record<string, string> | undefined;
381
+ meta?: Record<string, unknown> | undefined;
382
+ }, {
383
+ type: string;
384
+ id: string;
385
+ attributes?: Record<string, unknown> | undefined;
386
+ relationships?: Record<string, unknown> | undefined;
387
+ links?: Record<string, string> | undefined;
388
+ meta?: Record<string, unknown> | undefined;
389
+ }>, "many">>;
390
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
391
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ data: {
394
+ type: string;
395
+ id: string;
396
+ attributes: {
397
+ title: string | null;
398
+ createdAt: string;
399
+ updatedAt: string;
400
+ name: string;
401
+ currency: "NGN" | "USD";
402
+ notes: string | null;
403
+ payType: "monthly" | "daily" | "piece";
404
+ defaultAmount: number | null;
405
+ isActive: boolean;
406
+ teamMemberId: string | null;
407
+ };
408
+ relationships?: Record<string, unknown> | undefined;
409
+ links?: Record<string, string> | undefined;
410
+ meta?: Record<string, unknown> | undefined;
411
+ };
412
+ links?: Record<string, string> | undefined;
413
+ meta?: Record<string, unknown> | undefined;
414
+ included?: {
415
+ type: string;
416
+ id: string;
417
+ attributes?: Record<string, unknown> | undefined;
418
+ relationships?: Record<string, unknown> | undefined;
419
+ links?: Record<string, string> | undefined;
420
+ meta?: Record<string, unknown> | undefined;
421
+ }[] | undefined;
422
+ }, {
423
+ data: {
424
+ type: string;
425
+ id: string;
426
+ attributes: {
427
+ title: string | null;
428
+ createdAt: string;
429
+ updatedAt: string;
430
+ name: string;
431
+ currency: "NGN" | "USD";
432
+ notes: string | null;
433
+ payType: "monthly" | "daily" | "piece";
434
+ defaultAmount: number | null;
435
+ isActive: boolean;
436
+ teamMemberId: string | null;
437
+ };
438
+ relationships?: Record<string, unknown> | undefined;
439
+ links?: Record<string, string> | undefined;
440
+ meta?: Record<string, unknown> | undefined;
441
+ };
442
+ links?: Record<string, string> | undefined;
443
+ meta?: Record<string, unknown> | undefined;
444
+ included?: {
445
+ type: string;
446
+ id: string;
447
+ attributes?: Record<string, unknown> | undefined;
448
+ relationships?: Record<string, unknown> | undefined;
449
+ links?: Record<string, string> | undefined;
450
+ meta?: Record<string, unknown> | undefined;
451
+ }[] | undefined;
452
+ }>;
453
+ export declare const staffMemberListResponseSchema: z.ZodObject<{
454
+ data: z.ZodArray<z.ZodObject<{
455
+ type: z.ZodLiteral<string>;
456
+ id: z.ZodString;
457
+ attributes: z.ZodObject<{
458
+ name: z.ZodString;
459
+ title: z.ZodNullable<z.ZodString>;
460
+ payType: z.ZodEnum<["monthly", "daily", "piece"]>;
461
+ defaultAmount: z.ZodNullable<z.ZodNumber>;
462
+ currency: z.ZodEnum<["NGN", "USD"]>;
463
+ isActive: z.ZodBoolean;
464
+ teamMemberId: z.ZodNullable<z.ZodString>;
465
+ notes: z.ZodNullable<z.ZodString>;
466
+ } & {
467
+ createdAt: z.ZodString;
468
+ updatedAt: z.ZodString;
469
+ }, "strip", z.ZodTypeAny, {
470
+ title: string | null;
471
+ createdAt: string;
472
+ updatedAt: string;
473
+ name: string;
474
+ currency: "NGN" | "USD";
475
+ notes: string | null;
476
+ payType: "monthly" | "daily" | "piece";
477
+ defaultAmount: number | null;
478
+ isActive: boolean;
479
+ teamMemberId: string | null;
480
+ }, {
481
+ title: string | null;
482
+ createdAt: string;
483
+ updatedAt: string;
484
+ name: string;
485
+ currency: "NGN" | "USD";
486
+ notes: string | null;
487
+ payType: "monthly" | "daily" | "piece";
488
+ defaultAmount: number | null;
489
+ isActive: boolean;
490
+ teamMemberId: string | null;
491
+ }>;
492
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
493
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
494
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ type: string;
497
+ id: string;
498
+ attributes: {
499
+ title: string | null;
500
+ createdAt: string;
501
+ updatedAt: string;
502
+ name: string;
503
+ currency: "NGN" | "USD";
504
+ notes: string | null;
505
+ payType: "monthly" | "daily" | "piece";
506
+ defaultAmount: number | null;
507
+ isActive: boolean;
508
+ teamMemberId: string | null;
509
+ };
510
+ relationships?: Record<string, unknown> | undefined;
511
+ links?: Record<string, string> | undefined;
512
+ meta?: Record<string, unknown> | undefined;
513
+ }, {
514
+ type: string;
515
+ id: string;
516
+ attributes: {
517
+ title: string | null;
518
+ createdAt: string;
519
+ updatedAt: string;
520
+ name: string;
521
+ currency: "NGN" | "USD";
522
+ notes: string | null;
523
+ payType: "monthly" | "daily" | "piece";
524
+ defaultAmount: number | null;
525
+ isActive: boolean;
526
+ teamMemberId: string | null;
527
+ };
528
+ relationships?: Record<string, unknown> | undefined;
529
+ links?: Record<string, string> | undefined;
530
+ meta?: Record<string, unknown> | undefined;
531
+ }>, "many">;
532
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
533
+ type: z.ZodString;
534
+ id: z.ZodString;
535
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
536
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
537
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
538
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
539
+ }, "strip", z.ZodTypeAny, {
540
+ type: string;
541
+ id: string;
542
+ attributes?: Record<string, unknown> | undefined;
543
+ relationships?: Record<string, unknown> | undefined;
544
+ links?: Record<string, string> | undefined;
545
+ meta?: Record<string, unknown> | undefined;
546
+ }, {
547
+ type: string;
548
+ id: string;
549
+ attributes?: Record<string, unknown> | undefined;
550
+ relationships?: Record<string, unknown> | undefined;
551
+ links?: Record<string, string> | undefined;
552
+ meta?: Record<string, unknown> | undefined;
553
+ }>, "many">>;
554
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
555
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ data: {
558
+ type: string;
559
+ id: string;
560
+ attributes: {
561
+ title: string | null;
562
+ createdAt: string;
563
+ updatedAt: string;
564
+ name: string;
565
+ currency: "NGN" | "USD";
566
+ notes: string | null;
567
+ payType: "monthly" | "daily" | "piece";
568
+ defaultAmount: number | null;
569
+ isActive: boolean;
570
+ teamMemberId: string | null;
571
+ };
572
+ relationships?: Record<string, unknown> | undefined;
573
+ links?: Record<string, string> | undefined;
574
+ meta?: Record<string, unknown> | undefined;
575
+ }[];
576
+ links?: Record<string, string> | undefined;
577
+ meta?: Record<string, unknown> | undefined;
578
+ included?: {
579
+ type: string;
580
+ id: string;
581
+ attributes?: Record<string, unknown> | undefined;
582
+ relationships?: Record<string, unknown> | undefined;
583
+ links?: Record<string, string> | undefined;
584
+ meta?: Record<string, unknown> | undefined;
585
+ }[] | undefined;
586
+ }, {
587
+ data: {
588
+ type: string;
589
+ id: string;
590
+ attributes: {
591
+ title: string | null;
592
+ createdAt: string;
593
+ updatedAt: string;
594
+ name: string;
595
+ currency: "NGN" | "USD";
596
+ notes: string | null;
597
+ payType: "monthly" | "daily" | "piece";
598
+ defaultAmount: number | null;
599
+ isActive: boolean;
600
+ teamMemberId: string | null;
601
+ };
602
+ relationships?: Record<string, unknown> | undefined;
603
+ links?: Record<string, string> | undefined;
604
+ meta?: Record<string, unknown> | undefined;
605
+ }[];
606
+ links?: Record<string, string> | undefined;
607
+ meta?: Record<string, unknown> | undefined;
608
+ included?: {
609
+ type: string;
610
+ id: string;
611
+ attributes?: Record<string, unknown> | undefined;
612
+ relationships?: Record<string, unknown> | undefined;
613
+ links?: Record<string, string> | undefined;
614
+ meta?: Record<string, unknown> | undefined;
615
+ }[] | undefined;
616
+ }>;
617
+ export declare const staffPaymentAttributesSchema: z.ZodObject<{
618
+ staffMemberId: z.ZodString;
619
+ staffMemberName: z.ZodOptional<z.ZodString>;
620
+ amount: z.ZodNumber;
621
+ currency: z.ZodEnum<["NGN", "USD"]>;
622
+ paymentDate: z.ZodString;
623
+ periodStart: z.ZodNullable<z.ZodString>;
624
+ periodEnd: z.ZodNullable<z.ZodString>;
625
+ description: z.ZodNullable<z.ZodString>;
626
+ expenseId: z.ZodString;
627
+ } & {
628
+ createdAt: z.ZodString;
629
+ updatedAt: z.ZodString;
630
+ }, "strip", z.ZodTypeAny, {
631
+ createdAt: string;
632
+ updatedAt: string;
633
+ description: string | null;
634
+ currency: "NGN" | "USD";
635
+ expenseId: string;
636
+ amount: number;
637
+ periodStart: string | null;
638
+ periodEnd: string | null;
639
+ staffMemberId: string;
640
+ paymentDate: string;
641
+ staffMemberName?: string | undefined;
642
+ }, {
643
+ createdAt: string;
644
+ updatedAt: string;
645
+ description: string | null;
646
+ currency: "NGN" | "USD";
647
+ expenseId: string;
648
+ amount: number;
649
+ periodStart: string | null;
650
+ periodEnd: string | null;
651
+ staffMemberId: string;
652
+ paymentDate: string;
653
+ staffMemberName?: string | undefined;
654
+ }>;
655
+ export declare const createStaffPaymentAttributesSchema: z.ZodObject<{
656
+ staffMemberId: z.ZodString;
657
+ amount: z.ZodOptional<z.ZodNumber>;
658
+ currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
659
+ paymentDate: z.ZodString;
660
+ periodStart: z.ZodOptional<z.ZodString>;
661
+ periodEnd: z.ZodOptional<z.ZodString>;
662
+ description: z.ZodOptional<z.ZodString>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ currency: "NGN" | "USD";
665
+ staffMemberId: string;
666
+ paymentDate: string;
667
+ description?: string | undefined;
668
+ amount?: number | undefined;
669
+ periodStart?: string | undefined;
670
+ periodEnd?: string | undefined;
671
+ }, {
672
+ staffMemberId: string;
673
+ paymentDate: string;
674
+ description?: string | undefined;
675
+ currency?: "NGN" | "USD" | undefined;
676
+ amount?: number | undefined;
677
+ periodStart?: string | undefined;
678
+ periodEnd?: string | undefined;
679
+ }>;
680
+ export declare const createStaffPaymentSchema: z.ZodObject<{
681
+ type: z.ZodLiteral<"staff-payments">;
682
+ attributes: z.ZodObject<{
683
+ staffMemberId: z.ZodString;
684
+ amount: z.ZodOptional<z.ZodNumber>;
685
+ currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
686
+ paymentDate: z.ZodString;
687
+ periodStart: z.ZodOptional<z.ZodString>;
688
+ periodEnd: z.ZodOptional<z.ZodString>;
689
+ description: z.ZodOptional<z.ZodString>;
690
+ }, "strip", z.ZodTypeAny, {
691
+ currency: "NGN" | "USD";
692
+ staffMemberId: string;
693
+ paymentDate: string;
694
+ description?: string | undefined;
695
+ amount?: number | undefined;
696
+ periodStart?: string | undefined;
697
+ periodEnd?: string | undefined;
698
+ }, {
699
+ staffMemberId: string;
700
+ paymentDate: string;
701
+ description?: string | undefined;
702
+ currency?: "NGN" | "USD" | undefined;
703
+ amount?: number | undefined;
704
+ periodStart?: string | undefined;
705
+ periodEnd?: string | undefined;
706
+ }>;
707
+ }, "strip", z.ZodTypeAny, {
708
+ type: "staff-payments";
709
+ attributes: {
710
+ currency: "NGN" | "USD";
711
+ staffMemberId: string;
712
+ paymentDate: string;
713
+ description?: string | undefined;
714
+ amount?: number | undefined;
715
+ periodStart?: string | undefined;
716
+ periodEnd?: string | undefined;
717
+ };
718
+ }, {
719
+ type: "staff-payments";
720
+ attributes: {
721
+ staffMemberId: string;
722
+ paymentDate: string;
723
+ description?: string | undefined;
724
+ currency?: "NGN" | "USD" | undefined;
725
+ amount?: number | undefined;
726
+ periodStart?: string | undefined;
727
+ periodEnd?: string | undefined;
728
+ };
729
+ }>;
730
+ export declare const bulkStaffPaymentItemSchema: z.ZodObject<{
731
+ staffMemberId: z.ZodString;
732
+ amount: z.ZodOptional<z.ZodNumber>;
733
+ description: z.ZodOptional<z.ZodString>;
734
+ }, "strip", z.ZodTypeAny, {
735
+ staffMemberId: string;
736
+ description?: string | undefined;
737
+ amount?: number | undefined;
738
+ }, {
739
+ staffMemberId: string;
740
+ description?: string | undefined;
741
+ amount?: number | undefined;
742
+ }>;
743
+ export declare const createBulkStaffPaymentsAttributesSchema: z.ZodObject<{
744
+ paymentDate: z.ZodString;
745
+ periodStart: z.ZodOptional<z.ZodString>;
746
+ periodEnd: z.ZodOptional<z.ZodString>;
747
+ currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
748
+ payments: z.ZodArray<z.ZodObject<{
749
+ staffMemberId: z.ZodString;
750
+ amount: z.ZodOptional<z.ZodNumber>;
751
+ description: z.ZodOptional<z.ZodString>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ staffMemberId: string;
754
+ description?: string | undefined;
755
+ amount?: number | undefined;
756
+ }, {
757
+ staffMemberId: string;
758
+ description?: string | undefined;
759
+ amount?: number | undefined;
760
+ }>, "many">;
761
+ }, "strip", z.ZodTypeAny, {
762
+ currency: "NGN" | "USD";
763
+ payments: {
764
+ staffMemberId: string;
765
+ description?: string | undefined;
766
+ amount?: number | undefined;
767
+ }[];
768
+ paymentDate: string;
769
+ periodStart?: string | undefined;
770
+ periodEnd?: string | undefined;
771
+ }, {
772
+ payments: {
773
+ staffMemberId: string;
774
+ description?: string | undefined;
775
+ amount?: number | undefined;
776
+ }[];
777
+ paymentDate: string;
778
+ currency?: "NGN" | "USD" | undefined;
779
+ periodStart?: string | undefined;
780
+ periodEnd?: string | undefined;
781
+ }>;
782
+ export declare const createBulkStaffPaymentsSchema: z.ZodObject<{
783
+ type: z.ZodLiteral<"staff-payment-bulk">;
784
+ attributes: z.ZodObject<{
785
+ paymentDate: z.ZodString;
786
+ periodStart: z.ZodOptional<z.ZodString>;
787
+ periodEnd: z.ZodOptional<z.ZodString>;
788
+ currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
789
+ payments: z.ZodArray<z.ZodObject<{
790
+ staffMemberId: z.ZodString;
791
+ amount: z.ZodOptional<z.ZodNumber>;
792
+ description: z.ZodOptional<z.ZodString>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ staffMemberId: string;
795
+ description?: string | undefined;
796
+ amount?: number | undefined;
797
+ }, {
798
+ staffMemberId: string;
799
+ description?: string | undefined;
800
+ amount?: number | undefined;
801
+ }>, "many">;
802
+ }, "strip", z.ZodTypeAny, {
803
+ currency: "NGN" | "USD";
804
+ payments: {
805
+ staffMemberId: string;
806
+ description?: string | undefined;
807
+ amount?: number | undefined;
808
+ }[];
809
+ paymentDate: string;
810
+ periodStart?: string | undefined;
811
+ periodEnd?: string | undefined;
812
+ }, {
813
+ payments: {
814
+ staffMemberId: string;
815
+ description?: string | undefined;
816
+ amount?: number | undefined;
817
+ }[];
818
+ paymentDate: string;
819
+ currency?: "NGN" | "USD" | undefined;
820
+ periodStart?: string | undefined;
821
+ periodEnd?: string | undefined;
822
+ }>;
823
+ }, "strip", z.ZodTypeAny, {
824
+ type: "staff-payment-bulk";
825
+ attributes: {
826
+ currency: "NGN" | "USD";
827
+ payments: {
828
+ staffMemberId: string;
829
+ description?: string | undefined;
830
+ amount?: number | undefined;
831
+ }[];
832
+ paymentDate: string;
833
+ periodStart?: string | undefined;
834
+ periodEnd?: string | undefined;
835
+ };
836
+ }, {
837
+ type: "staff-payment-bulk";
838
+ attributes: {
839
+ payments: {
840
+ staffMemberId: string;
841
+ description?: string | undefined;
842
+ amount?: number | undefined;
843
+ }[];
844
+ paymentDate: string;
845
+ currency?: "NGN" | "USD" | undefined;
846
+ periodStart?: string | undefined;
847
+ periodEnd?: string | undefined;
848
+ };
849
+ }>;
850
+ export declare const staffPaymentResourceSchema: z.ZodObject<{
851
+ type: z.ZodLiteral<string>;
852
+ id: z.ZodString;
853
+ attributes: z.ZodObject<{
854
+ staffMemberId: z.ZodString;
855
+ staffMemberName: z.ZodOptional<z.ZodString>;
856
+ amount: z.ZodNumber;
857
+ currency: z.ZodEnum<["NGN", "USD"]>;
858
+ paymentDate: z.ZodString;
859
+ periodStart: z.ZodNullable<z.ZodString>;
860
+ periodEnd: z.ZodNullable<z.ZodString>;
861
+ description: z.ZodNullable<z.ZodString>;
862
+ expenseId: z.ZodString;
863
+ } & {
864
+ createdAt: z.ZodString;
865
+ updatedAt: z.ZodString;
866
+ }, "strip", z.ZodTypeAny, {
867
+ createdAt: string;
868
+ updatedAt: string;
869
+ description: string | null;
870
+ currency: "NGN" | "USD";
871
+ expenseId: string;
872
+ amount: number;
873
+ periodStart: string | null;
874
+ periodEnd: string | null;
875
+ staffMemberId: string;
876
+ paymentDate: string;
877
+ staffMemberName?: string | undefined;
878
+ }, {
879
+ createdAt: string;
880
+ updatedAt: string;
881
+ description: string | null;
882
+ currency: "NGN" | "USD";
883
+ expenseId: string;
884
+ amount: number;
885
+ periodStart: string | null;
886
+ periodEnd: string | null;
887
+ staffMemberId: string;
888
+ paymentDate: string;
889
+ staffMemberName?: string | undefined;
890
+ }>;
891
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
892
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
893
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
894
+ }, "strip", z.ZodTypeAny, {
895
+ type: string;
896
+ id: string;
897
+ attributes: {
898
+ createdAt: string;
899
+ updatedAt: string;
900
+ description: string | null;
901
+ currency: "NGN" | "USD";
902
+ expenseId: string;
903
+ amount: number;
904
+ periodStart: string | null;
905
+ periodEnd: string | null;
906
+ staffMemberId: string;
907
+ paymentDate: string;
908
+ staffMemberName?: string | undefined;
909
+ };
910
+ relationships?: Record<string, unknown> | undefined;
911
+ links?: Record<string, string> | undefined;
912
+ meta?: Record<string, unknown> | undefined;
913
+ }, {
914
+ type: string;
915
+ id: string;
916
+ attributes: {
917
+ createdAt: string;
918
+ updatedAt: string;
919
+ description: string | null;
920
+ currency: "NGN" | "USD";
921
+ expenseId: string;
922
+ amount: number;
923
+ periodStart: string | null;
924
+ periodEnd: string | null;
925
+ staffMemberId: string;
926
+ paymentDate: string;
927
+ staffMemberName?: string | undefined;
928
+ };
929
+ relationships?: Record<string, unknown> | undefined;
930
+ links?: Record<string, string> | undefined;
931
+ meta?: Record<string, unknown> | undefined;
932
+ }>;
933
+ export declare const staffPaymentResponseSchema: z.ZodObject<{
934
+ data: z.ZodObject<{
935
+ type: z.ZodLiteral<string>;
936
+ id: z.ZodString;
937
+ attributes: z.ZodObject<{
938
+ staffMemberId: z.ZodString;
939
+ staffMemberName: z.ZodOptional<z.ZodString>;
940
+ amount: z.ZodNumber;
941
+ currency: z.ZodEnum<["NGN", "USD"]>;
942
+ paymentDate: z.ZodString;
943
+ periodStart: z.ZodNullable<z.ZodString>;
944
+ periodEnd: z.ZodNullable<z.ZodString>;
945
+ description: z.ZodNullable<z.ZodString>;
946
+ expenseId: z.ZodString;
947
+ } & {
948
+ createdAt: z.ZodString;
949
+ updatedAt: z.ZodString;
950
+ }, "strip", z.ZodTypeAny, {
951
+ createdAt: string;
952
+ updatedAt: string;
953
+ description: string | null;
954
+ currency: "NGN" | "USD";
955
+ expenseId: string;
956
+ amount: number;
957
+ periodStart: string | null;
958
+ periodEnd: string | null;
959
+ staffMemberId: string;
960
+ paymentDate: string;
961
+ staffMemberName?: string | undefined;
962
+ }, {
963
+ createdAt: string;
964
+ updatedAt: string;
965
+ description: string | null;
966
+ currency: "NGN" | "USD";
967
+ expenseId: string;
968
+ amount: number;
969
+ periodStart: string | null;
970
+ periodEnd: string | null;
971
+ staffMemberId: string;
972
+ paymentDate: string;
973
+ staffMemberName?: string | undefined;
974
+ }>;
975
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
976
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
977
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ type: string;
980
+ id: string;
981
+ attributes: {
982
+ createdAt: string;
983
+ updatedAt: string;
984
+ description: string | null;
985
+ currency: "NGN" | "USD";
986
+ expenseId: string;
987
+ amount: number;
988
+ periodStart: string | null;
989
+ periodEnd: string | null;
990
+ staffMemberId: string;
991
+ paymentDate: string;
992
+ staffMemberName?: string | undefined;
993
+ };
994
+ relationships?: Record<string, unknown> | undefined;
995
+ links?: Record<string, string> | undefined;
996
+ meta?: Record<string, unknown> | undefined;
997
+ }, {
998
+ type: string;
999
+ id: string;
1000
+ attributes: {
1001
+ createdAt: string;
1002
+ updatedAt: string;
1003
+ description: string | null;
1004
+ currency: "NGN" | "USD";
1005
+ expenseId: string;
1006
+ amount: number;
1007
+ periodStart: string | null;
1008
+ periodEnd: string | null;
1009
+ staffMemberId: string;
1010
+ paymentDate: string;
1011
+ staffMemberName?: string | undefined;
1012
+ };
1013
+ relationships?: Record<string, unknown> | undefined;
1014
+ links?: Record<string, string> | undefined;
1015
+ meta?: Record<string, unknown> | undefined;
1016
+ }>;
1017
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1018
+ type: z.ZodString;
1019
+ id: z.ZodString;
1020
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1021
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1022
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1023
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ type: string;
1026
+ id: string;
1027
+ attributes?: Record<string, unknown> | undefined;
1028
+ relationships?: Record<string, unknown> | undefined;
1029
+ links?: Record<string, string> | undefined;
1030
+ meta?: Record<string, unknown> | undefined;
1031
+ }, {
1032
+ type: string;
1033
+ id: string;
1034
+ attributes?: Record<string, unknown> | undefined;
1035
+ relationships?: Record<string, unknown> | undefined;
1036
+ links?: Record<string, string> | undefined;
1037
+ meta?: Record<string, unknown> | undefined;
1038
+ }>, "many">>;
1039
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1040
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ data: {
1043
+ type: string;
1044
+ id: string;
1045
+ attributes: {
1046
+ createdAt: string;
1047
+ updatedAt: string;
1048
+ description: string | null;
1049
+ currency: "NGN" | "USD";
1050
+ expenseId: string;
1051
+ amount: number;
1052
+ periodStart: string | null;
1053
+ periodEnd: string | null;
1054
+ staffMemberId: string;
1055
+ paymentDate: string;
1056
+ staffMemberName?: string | undefined;
1057
+ };
1058
+ relationships?: Record<string, unknown> | undefined;
1059
+ links?: Record<string, string> | undefined;
1060
+ meta?: Record<string, unknown> | undefined;
1061
+ };
1062
+ links?: Record<string, string> | undefined;
1063
+ meta?: Record<string, unknown> | undefined;
1064
+ included?: {
1065
+ type: string;
1066
+ id: string;
1067
+ attributes?: Record<string, unknown> | undefined;
1068
+ relationships?: Record<string, unknown> | undefined;
1069
+ links?: Record<string, string> | undefined;
1070
+ meta?: Record<string, unknown> | undefined;
1071
+ }[] | undefined;
1072
+ }, {
1073
+ data: {
1074
+ type: string;
1075
+ id: string;
1076
+ attributes: {
1077
+ createdAt: string;
1078
+ updatedAt: string;
1079
+ description: string | null;
1080
+ currency: "NGN" | "USD";
1081
+ expenseId: string;
1082
+ amount: number;
1083
+ periodStart: string | null;
1084
+ periodEnd: string | null;
1085
+ staffMemberId: string;
1086
+ paymentDate: string;
1087
+ staffMemberName?: string | undefined;
1088
+ };
1089
+ relationships?: Record<string, unknown> | undefined;
1090
+ links?: Record<string, string> | undefined;
1091
+ meta?: Record<string, unknown> | undefined;
1092
+ };
1093
+ links?: Record<string, string> | undefined;
1094
+ meta?: Record<string, unknown> | undefined;
1095
+ included?: {
1096
+ type: string;
1097
+ id: string;
1098
+ attributes?: Record<string, unknown> | undefined;
1099
+ relationships?: Record<string, unknown> | undefined;
1100
+ links?: Record<string, string> | undefined;
1101
+ meta?: Record<string, unknown> | undefined;
1102
+ }[] | undefined;
1103
+ }>;
1104
+ export declare const staffPaymentListResponseSchema: z.ZodObject<{
1105
+ data: z.ZodArray<z.ZodObject<{
1106
+ type: z.ZodLiteral<string>;
1107
+ id: z.ZodString;
1108
+ attributes: z.ZodObject<{
1109
+ staffMemberId: z.ZodString;
1110
+ staffMemberName: z.ZodOptional<z.ZodString>;
1111
+ amount: z.ZodNumber;
1112
+ currency: z.ZodEnum<["NGN", "USD"]>;
1113
+ paymentDate: z.ZodString;
1114
+ periodStart: z.ZodNullable<z.ZodString>;
1115
+ periodEnd: z.ZodNullable<z.ZodString>;
1116
+ description: z.ZodNullable<z.ZodString>;
1117
+ expenseId: z.ZodString;
1118
+ } & {
1119
+ createdAt: z.ZodString;
1120
+ updatedAt: z.ZodString;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ createdAt: string;
1123
+ updatedAt: string;
1124
+ description: string | null;
1125
+ currency: "NGN" | "USD";
1126
+ expenseId: string;
1127
+ amount: number;
1128
+ periodStart: string | null;
1129
+ periodEnd: string | null;
1130
+ staffMemberId: string;
1131
+ paymentDate: string;
1132
+ staffMemberName?: string | undefined;
1133
+ }, {
1134
+ createdAt: string;
1135
+ updatedAt: string;
1136
+ description: string | null;
1137
+ currency: "NGN" | "USD";
1138
+ expenseId: string;
1139
+ amount: number;
1140
+ periodStart: string | null;
1141
+ periodEnd: string | null;
1142
+ staffMemberId: string;
1143
+ paymentDate: string;
1144
+ staffMemberName?: string | undefined;
1145
+ }>;
1146
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1147
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1148
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ type: string;
1151
+ id: string;
1152
+ attributes: {
1153
+ createdAt: string;
1154
+ updatedAt: string;
1155
+ description: string | null;
1156
+ currency: "NGN" | "USD";
1157
+ expenseId: string;
1158
+ amount: number;
1159
+ periodStart: string | null;
1160
+ periodEnd: string | null;
1161
+ staffMemberId: string;
1162
+ paymentDate: string;
1163
+ staffMemberName?: string | undefined;
1164
+ };
1165
+ relationships?: Record<string, unknown> | undefined;
1166
+ links?: Record<string, string> | undefined;
1167
+ meta?: Record<string, unknown> | undefined;
1168
+ }, {
1169
+ type: string;
1170
+ id: string;
1171
+ attributes: {
1172
+ createdAt: string;
1173
+ updatedAt: string;
1174
+ description: string | null;
1175
+ currency: "NGN" | "USD";
1176
+ expenseId: string;
1177
+ amount: number;
1178
+ periodStart: string | null;
1179
+ periodEnd: string | null;
1180
+ staffMemberId: string;
1181
+ paymentDate: string;
1182
+ staffMemberName?: string | undefined;
1183
+ };
1184
+ relationships?: Record<string, unknown> | undefined;
1185
+ links?: Record<string, string> | undefined;
1186
+ meta?: Record<string, unknown> | undefined;
1187
+ }>, "many">;
1188
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
1189
+ type: z.ZodString;
1190
+ id: z.ZodString;
1191
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1192
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1193
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1194
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ type: string;
1197
+ id: string;
1198
+ attributes?: Record<string, unknown> | undefined;
1199
+ relationships?: Record<string, unknown> | undefined;
1200
+ links?: Record<string, string> | undefined;
1201
+ meta?: Record<string, unknown> | undefined;
1202
+ }, {
1203
+ type: string;
1204
+ id: string;
1205
+ attributes?: Record<string, unknown> | undefined;
1206
+ relationships?: Record<string, unknown> | undefined;
1207
+ links?: Record<string, string> | undefined;
1208
+ meta?: Record<string, unknown> | undefined;
1209
+ }>, "many">>;
1210
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1211
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ data: {
1214
+ type: string;
1215
+ id: string;
1216
+ attributes: {
1217
+ createdAt: string;
1218
+ updatedAt: string;
1219
+ description: string | null;
1220
+ currency: "NGN" | "USD";
1221
+ expenseId: string;
1222
+ amount: number;
1223
+ periodStart: string | null;
1224
+ periodEnd: string | null;
1225
+ staffMemberId: string;
1226
+ paymentDate: string;
1227
+ staffMemberName?: string | undefined;
1228
+ };
1229
+ relationships?: Record<string, unknown> | undefined;
1230
+ links?: Record<string, string> | undefined;
1231
+ meta?: Record<string, unknown> | undefined;
1232
+ }[];
1233
+ links?: Record<string, string> | undefined;
1234
+ meta?: Record<string, unknown> | undefined;
1235
+ included?: {
1236
+ type: string;
1237
+ id: string;
1238
+ attributes?: Record<string, unknown> | undefined;
1239
+ relationships?: Record<string, unknown> | undefined;
1240
+ links?: Record<string, string> | undefined;
1241
+ meta?: Record<string, unknown> | undefined;
1242
+ }[] | undefined;
1243
+ }, {
1244
+ data: {
1245
+ type: string;
1246
+ id: string;
1247
+ attributes: {
1248
+ createdAt: string;
1249
+ updatedAt: string;
1250
+ description: string | null;
1251
+ currency: "NGN" | "USD";
1252
+ expenseId: string;
1253
+ amount: number;
1254
+ periodStart: string | null;
1255
+ periodEnd: string | null;
1256
+ staffMemberId: string;
1257
+ paymentDate: string;
1258
+ staffMemberName?: string | undefined;
1259
+ };
1260
+ relationships?: Record<string, unknown> | undefined;
1261
+ links?: Record<string, string> | undefined;
1262
+ meta?: Record<string, unknown> | undefined;
1263
+ }[];
1264
+ links?: Record<string, string> | undefined;
1265
+ meta?: Record<string, unknown> | undefined;
1266
+ included?: {
1267
+ type: string;
1268
+ id: string;
1269
+ attributes?: Record<string, unknown> | undefined;
1270
+ relationships?: Record<string, unknown> | undefined;
1271
+ links?: Record<string, string> | undefined;
1272
+ meta?: Record<string, unknown> | undefined;
1273
+ }[] | undefined;
1274
+ }>;
1275
+ export type StaffPayType = z.infer<typeof staffPayTypeSchema>;
1276
+ export type StaffCurrency = z.infer<typeof staffCurrencySchema>;
1277
+ export type CreateStaffMemberAttributes = z.infer<typeof createStaffMemberAttributesSchema>;
1278
+ export type UpdateStaffMemberAttributes = z.infer<typeof updateStaffMemberAttributesSchema>;
1279
+ export type CreateStaffMemberInput = z.infer<typeof createStaffMemberSchema>;
1280
+ export type UpdateStaffMemberInput = z.infer<typeof updateStaffMemberSchema>;
1281
+ export type StaffMemberAttributes = z.infer<typeof staffMemberAttributesSchema>;
1282
+ export type StaffMemberResource = z.infer<typeof staffMemberResourceSchema>;
1283
+ export type StaffMemberResponse = z.infer<typeof staffMemberResponseSchema>;
1284
+ export type StaffMemberListResponse = z.infer<typeof staffMemberListResponseSchema>;
1285
+ export type CreateStaffPaymentAttributes = z.infer<typeof createStaffPaymentAttributesSchema>;
1286
+ export type CreateStaffPaymentInput = z.infer<typeof createStaffPaymentSchema>;
1287
+ export type CreateBulkStaffPaymentsInput = z.infer<typeof createBulkStaffPaymentsSchema>;
1288
+ export type StaffPaymentAttributes = z.infer<typeof staffPaymentAttributesSchema>;
1289
+ export type StaffPaymentResource = z.infer<typeof staffPaymentResourceSchema>;
1290
+ export type StaffPaymentResponse = z.infer<typeof staffPaymentResponseSchema>;
1291
+ export type StaffPaymentListResponse = z.infer<typeof staffPaymentListResponseSchema>;
1292
+ //# sourceMappingURL=staff.schemas.d.ts.map