@deepintel-ltd/farmpro-contracts 1.16.15 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.d.ts +4 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +3 -0
  4. package/dist/routes/accounting.routes.d.ts +13861 -0
  5. package/dist/routes/accounting.routes.d.ts.map +1 -0
  6. package/dist/routes/accounting.routes.js +448 -0
  7. package/dist/routes/commodity-deals.routes.d.ts +48 -48
  8. package/dist/routes/farms.routes.d.ts +523 -70
  9. package/dist/routes/farms.routes.d.ts.map +1 -1
  10. package/dist/routes/field-activities.routes.d.ts +32 -32
  11. package/dist/routes/finance.routes.d.ts +235 -38
  12. package/dist/routes/finance.routes.d.ts.map +1 -1
  13. package/dist/routes/index.d.ts +3 -0
  14. package/dist/routes/index.d.ts.map +1 -1
  15. package/dist/routes/index.js +2 -0
  16. package/dist/routes/live-monitor.routes.d.ts +4 -4
  17. package/dist/routes/monitoring-visualization.routes.d.ts +16 -10
  18. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  19. package/dist/routes/payments.routes.d.ts +22 -22
  20. package/dist/routes/staff.routes.d.ts +36 -36
  21. package/dist/routes/subscriptions.routes.d.ts +52 -16
  22. package/dist/routes/subscriptions.routes.d.ts.map +1 -1
  23. package/dist/routes/subscriptions.routes.js +2 -1
  24. package/dist/schemas/accounting.schemas.d.ts +6002 -0
  25. package/dist/schemas/accounting.schemas.d.ts.map +1 -0
  26. package/dist/schemas/accounting.schemas.js +341 -0
  27. package/dist/schemas/commodity-deals.schemas.d.ts +24 -24
  28. package/dist/schemas/farms.schemas.d.ts +610 -84
  29. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  30. package/dist/schemas/farms.schemas.js +25 -4
  31. package/dist/schemas/field-activities.schemas.d.ts +28 -28
  32. package/dist/schemas/finance.schemas.d.ts +304 -46
  33. package/dist/schemas/finance.schemas.d.ts.map +1 -1
  34. package/dist/schemas/finance.schemas.js +23 -9
  35. package/dist/schemas/live-monitor.schemas.d.ts +6 -6
  36. package/dist/schemas/locale.schemas.d.ts +98 -0
  37. package/dist/schemas/locale.schemas.d.ts.map +1 -0
  38. package/dist/schemas/locale.schemas.js +55 -0
  39. package/dist/schemas/monitoring-visualization.schemas.d.ts +43 -12
  40. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  41. package/dist/schemas/monitoring-visualization.schemas.js +5 -1
  42. package/dist/schemas/payments.schemas.d.ts +22 -22
  43. package/dist/schemas/staff.schemas.d.ts +30 -30
  44. package/dist/schemas/subscriptions.schemas.d.ts +77 -13
  45. package/dist/schemas/subscriptions.schemas.d.ts.map +1 -1
  46. package/dist/schemas/subscriptions.schemas.js +11 -10
  47. package/package.json +1 -1
@@ -30,7 +30,7 @@ export declare const paymentAttributesSchema: z.ZodObject<{
30
30
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
31
31
  metadata?: Record<string, unknown> | null | undefined;
32
32
  description?: string | null | undefined;
33
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
33
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
34
34
  gatewayTxRef?: string | null | undefined;
35
35
  gatewayTxId?: string | null | undefined;
36
36
  failureReason?: string | null | undefined;
@@ -44,7 +44,7 @@ export declare const paymentAttributesSchema: z.ZodObject<{
44
44
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
45
45
  metadata?: Record<string, unknown> | null | undefined;
46
46
  description?: string | null | undefined;
47
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
47
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
48
48
  gatewayTxRef?: string | null | undefined;
49
49
  gatewayTxId?: string | null | undefined;
50
50
  failureReason?: string | null | undefined;
@@ -63,13 +63,13 @@ export declare const createPaymentAttributesSchema: z.ZodObject<{
63
63
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
64
64
  metadata?: Record<string, unknown> | undefined;
65
65
  description?: string | undefined;
66
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | undefined;
66
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
67
67
  }, {
68
68
  amount: number;
69
69
  metadata?: Record<string, unknown> | undefined;
70
70
  description?: string | undefined;
71
71
  currency?: "NGN" | "USD" | undefined;
72
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | undefined;
72
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
73
73
  gateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
74
74
  }>;
75
75
  export declare const updatePaymentAttributesSchema: z.ZodObject<{
@@ -112,7 +112,7 @@ export declare const paymentResourceSchema: z.ZodObject<{
112
112
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
113
113
  metadata?: Record<string, unknown> | null | undefined;
114
114
  description?: string | null | undefined;
115
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
115
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
116
116
  gatewayTxRef?: string | null | undefined;
117
117
  gatewayTxId?: string | null | undefined;
118
118
  failureReason?: string | null | undefined;
@@ -126,7 +126,7 @@ export declare const paymentResourceSchema: z.ZodObject<{
126
126
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
127
127
  metadata?: Record<string, unknown> | null | undefined;
128
128
  description?: string | null | undefined;
129
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
129
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
130
130
  gatewayTxRef?: string | null | undefined;
131
131
  gatewayTxId?: string | null | undefined;
132
132
  failureReason?: string | null | undefined;
@@ -147,7 +147,7 @@ export declare const paymentResourceSchema: z.ZodObject<{
147
147
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
148
148
  metadata?: Record<string, unknown> | null | undefined;
149
149
  description?: string | null | undefined;
150
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
150
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
151
151
  gatewayTxRef?: string | null | undefined;
152
152
  gatewayTxId?: string | null | undefined;
153
153
  failureReason?: string | null | undefined;
@@ -168,7 +168,7 @@ export declare const paymentResourceSchema: z.ZodObject<{
168
168
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
169
169
  metadata?: Record<string, unknown> | null | undefined;
170
170
  description?: string | null | undefined;
171
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
171
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
172
172
  gatewayTxRef?: string | null | undefined;
173
173
  gatewayTxId?: string | null | undefined;
174
174
  failureReason?: string | null | undefined;
@@ -206,7 +206,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
206
206
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
207
207
  metadata?: Record<string, unknown> | null | undefined;
208
208
  description?: string | null | undefined;
209
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
209
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
210
210
  gatewayTxRef?: string | null | undefined;
211
211
  gatewayTxId?: string | null | undefined;
212
212
  failureReason?: string | null | undefined;
@@ -220,7 +220,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
220
220
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
221
221
  metadata?: Record<string, unknown> | null | undefined;
222
222
  description?: string | null | undefined;
223
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
223
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
224
224
  gatewayTxRef?: string | null | undefined;
225
225
  gatewayTxId?: string | null | undefined;
226
226
  failureReason?: string | null | undefined;
@@ -241,7 +241,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
241
241
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
242
242
  metadata?: Record<string, unknown> | null | undefined;
243
243
  description?: string | null | undefined;
244
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
244
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
245
245
  gatewayTxRef?: string | null | undefined;
246
246
  gatewayTxId?: string | null | undefined;
247
247
  failureReason?: string | null | undefined;
@@ -262,7 +262,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
262
262
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
263
263
  metadata?: Record<string, unknown> | null | undefined;
264
264
  description?: string | null | undefined;
265
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
265
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
266
266
  gatewayTxRef?: string | null | undefined;
267
267
  gatewayTxId?: string | null | undefined;
268
268
  failureReason?: string | null | undefined;
@@ -309,7 +309,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
309
309
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
310
310
  metadata?: Record<string, unknown> | null | undefined;
311
311
  description?: string | null | undefined;
312
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
312
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
313
313
  gatewayTxRef?: string | null | undefined;
314
314
  gatewayTxId?: string | null | undefined;
315
315
  failureReason?: string | null | undefined;
@@ -342,7 +342,7 @@ export declare const paymentResponseSchema: z.ZodObject<{
342
342
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
343
343
  metadata?: Record<string, unknown> | null | undefined;
344
344
  description?: string | null | undefined;
345
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
345
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
346
346
  gatewayTxRef?: string | null | undefined;
347
347
  gatewayTxId?: string | null | undefined;
348
348
  failureReason?: string | null | undefined;
@@ -391,7 +391,7 @@ export declare const paymentListResponseSchema: z.ZodObject<{
391
391
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
392
392
  metadata?: Record<string, unknown> | null | undefined;
393
393
  description?: string | null | undefined;
394
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
394
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
395
395
  gatewayTxRef?: string | null | undefined;
396
396
  gatewayTxId?: string | null | undefined;
397
397
  failureReason?: string | null | undefined;
@@ -405,7 +405,7 @@ export declare const paymentListResponseSchema: z.ZodObject<{
405
405
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
406
406
  metadata?: Record<string, unknown> | null | undefined;
407
407
  description?: string | null | undefined;
408
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
408
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
409
409
  gatewayTxRef?: string | null | undefined;
410
410
  gatewayTxId?: string | null | undefined;
411
411
  failureReason?: string | null | undefined;
@@ -426,7 +426,7 @@ export declare const paymentListResponseSchema: z.ZodObject<{
426
426
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
427
427
  metadata?: Record<string, unknown> | null | undefined;
428
428
  description?: string | null | undefined;
429
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
429
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
430
430
  gatewayTxRef?: string | null | undefined;
431
431
  gatewayTxId?: string | null | undefined;
432
432
  failureReason?: string | null | undefined;
@@ -447,7 +447,7 @@ export declare const paymentListResponseSchema: z.ZodObject<{
447
447
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
448
448
  metadata?: Record<string, unknown> | null | undefined;
449
449
  description?: string | null | undefined;
450
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
450
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
451
451
  gatewayTxRef?: string | null | undefined;
452
452
  gatewayTxId?: string | null | undefined;
453
453
  failureReason?: string | null | undefined;
@@ -494,7 +494,7 @@ export declare const paymentListResponseSchema: z.ZodObject<{
494
494
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
495
495
  metadata?: Record<string, unknown> | null | undefined;
496
496
  description?: string | null | undefined;
497
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
497
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
498
498
  gatewayTxRef?: string | null | undefined;
499
499
  gatewayTxId?: string | null | undefined;
500
500
  failureReason?: string | null | undefined;
@@ -527,7 +527,7 @@ export declare const paymentListResponseSchema: z.ZodObject<{
527
527
  gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
528
528
  metadata?: Record<string, unknown> | null | undefined;
529
529
  description?: string | null | undefined;
530
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | null | undefined;
530
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
531
531
  gatewayTxRef?: string | null | undefined;
532
532
  gatewayTxId?: string | null | undefined;
533
533
  failureReason?: string | null | undefined;
@@ -565,7 +565,7 @@ export declare const initPaymentSchema: z.ZodObject<{
565
565
  phone?: string | undefined;
566
566
  metadata?: Record<string, unknown> | undefined;
567
567
  description?: string | undefined;
568
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | undefined;
568
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
569
569
  }, {
570
570
  email: string;
571
571
  currency: "NGN" | "USD";
@@ -574,7 +574,7 @@ export declare const initPaymentSchema: z.ZodObject<{
574
574
  phone?: string | undefined;
575
575
  metadata?: Record<string, unknown> | undefined;
576
576
  description?: string | undefined;
577
- paymentMethod?: "card" | "bank_transfer" | "mobile_money" | "ussd" | "account" | undefined;
577
+ paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
578
578
  }>;
579
579
  export declare const initPaymentResponseSchema: z.ZodObject<{
580
580
  status: z.ZodLiteral<"success">;
@@ -23,9 +23,9 @@ export declare const staffMemberAttributesSchema: z.ZodObject<{
23
23
  name: string;
24
24
  currency: "NGN" | "USD";
25
25
  notes: string | null;
26
+ isActive: boolean;
26
27
  payType: "monthly" | "daily" | "piece";
27
28
  defaultAmount: number | null;
28
- isActive: boolean;
29
29
  teamMemberId: string | null;
30
30
  }, {
31
31
  title: string | null;
@@ -34,9 +34,9 @@ export declare const staffMemberAttributesSchema: z.ZodObject<{
34
34
  name: string;
35
35
  currency: "NGN" | "USD";
36
36
  notes: string | null;
37
+ isActive: boolean;
37
38
  payType: "monthly" | "daily" | "piece";
38
39
  defaultAmount: number | null;
39
- isActive: boolean;
40
40
  teamMemberId: string | null;
41
41
  }>;
42
42
  export declare const createStaffMemberAttributesSchema: z.ZodObject<{
@@ -51,8 +51,8 @@ export declare const createStaffMemberAttributesSchema: z.ZodObject<{
51
51
  }, "strip", z.ZodTypeAny, {
52
52
  name: string;
53
53
  currency: "NGN" | "USD";
54
- payType: "monthly" | "daily" | "piece";
55
54
  isActive: boolean;
55
+ payType: "monthly" | "daily" | "piece";
56
56
  title?: string | undefined;
57
57
  notes?: string | undefined;
58
58
  defaultAmount?: number | undefined;
@@ -62,9 +62,9 @@ export declare const createStaffMemberAttributesSchema: z.ZodObject<{
62
62
  title?: string | undefined;
63
63
  currency?: "NGN" | "USD" | undefined;
64
64
  notes?: string | undefined;
65
+ isActive?: boolean | undefined;
65
66
  payType?: "monthly" | "daily" | "piece" | undefined;
66
67
  defaultAmount?: number | undefined;
67
- isActive?: boolean | undefined;
68
68
  teamMemberId?: string | undefined;
69
69
  }>;
70
70
  export declare const updateStaffMemberAttributesSchema: z.ZodObject<{
@@ -81,18 +81,18 @@ export declare const updateStaffMemberAttributesSchema: z.ZodObject<{
81
81
  name?: string | undefined;
82
82
  currency?: "NGN" | "USD" | undefined;
83
83
  notes?: string | null | undefined;
84
+ isActive?: boolean | undefined;
84
85
  payType?: "monthly" | "daily" | "piece" | undefined;
85
86
  defaultAmount?: number | null | undefined;
86
- isActive?: boolean | undefined;
87
87
  teamMemberId?: string | null | undefined;
88
88
  }, {
89
89
  title?: string | null | undefined;
90
90
  name?: string | undefined;
91
91
  currency?: "NGN" | "USD" | undefined;
92
92
  notes?: string | null | undefined;
93
+ isActive?: boolean | undefined;
93
94
  payType?: "monthly" | "daily" | "piece" | undefined;
94
95
  defaultAmount?: number | null | undefined;
95
- isActive?: boolean | undefined;
96
96
  teamMemberId?: string | null | undefined;
97
97
  }>;
98
98
  export declare const createStaffMemberSchema: z.ZodObject<{
@@ -109,8 +109,8 @@ export declare const createStaffMemberSchema: z.ZodObject<{
109
109
  }, "strip", z.ZodTypeAny, {
110
110
  name: string;
111
111
  currency: "NGN" | "USD";
112
- payType: "monthly" | "daily" | "piece";
113
112
  isActive: boolean;
113
+ payType: "monthly" | "daily" | "piece";
114
114
  title?: string | undefined;
115
115
  notes?: string | undefined;
116
116
  defaultAmount?: number | undefined;
@@ -120,9 +120,9 @@ export declare const createStaffMemberSchema: z.ZodObject<{
120
120
  title?: string | undefined;
121
121
  currency?: "NGN" | "USD" | undefined;
122
122
  notes?: string | undefined;
123
+ isActive?: boolean | undefined;
123
124
  payType?: "monthly" | "daily" | "piece" | undefined;
124
125
  defaultAmount?: number | undefined;
125
- isActive?: boolean | undefined;
126
126
  teamMemberId?: string | undefined;
127
127
  }>;
128
128
  }, "strip", z.ZodTypeAny, {
@@ -130,8 +130,8 @@ export declare const createStaffMemberSchema: z.ZodObject<{
130
130
  attributes: {
131
131
  name: string;
132
132
  currency: "NGN" | "USD";
133
- payType: "monthly" | "daily" | "piece";
134
133
  isActive: boolean;
134
+ payType: "monthly" | "daily" | "piece";
135
135
  title?: string | undefined;
136
136
  notes?: string | undefined;
137
137
  defaultAmount?: number | undefined;
@@ -144,9 +144,9 @@ export declare const createStaffMemberSchema: z.ZodObject<{
144
144
  title?: string | undefined;
145
145
  currency?: "NGN" | "USD" | undefined;
146
146
  notes?: string | undefined;
147
+ isActive?: boolean | undefined;
147
148
  payType?: "monthly" | "daily" | "piece" | undefined;
148
149
  defaultAmount?: number | undefined;
149
- isActive?: boolean | undefined;
150
150
  teamMemberId?: string | undefined;
151
151
  };
152
152
  }>;
@@ -167,18 +167,18 @@ export declare const updateStaffMemberSchema: z.ZodObject<{
167
167
  name?: string | undefined;
168
168
  currency?: "NGN" | "USD" | undefined;
169
169
  notes?: string | null | undefined;
170
+ isActive?: boolean | undefined;
170
171
  payType?: "monthly" | "daily" | "piece" | undefined;
171
172
  defaultAmount?: number | null | undefined;
172
- isActive?: boolean | undefined;
173
173
  teamMemberId?: string | null | undefined;
174
174
  }, {
175
175
  title?: string | null | undefined;
176
176
  name?: string | undefined;
177
177
  currency?: "NGN" | "USD" | undefined;
178
178
  notes?: string | null | undefined;
179
+ isActive?: boolean | undefined;
179
180
  payType?: "monthly" | "daily" | "piece" | undefined;
180
181
  defaultAmount?: number | null | undefined;
181
- isActive?: boolean | undefined;
182
182
  teamMemberId?: string | null | undefined;
183
183
  }>;
184
184
  }, "strip", z.ZodTypeAny, {
@@ -189,9 +189,9 @@ export declare const updateStaffMemberSchema: z.ZodObject<{
189
189
  name?: string | undefined;
190
190
  currency?: "NGN" | "USD" | undefined;
191
191
  notes?: string | null | undefined;
192
+ isActive?: boolean | undefined;
192
193
  payType?: "monthly" | "daily" | "piece" | undefined;
193
194
  defaultAmount?: number | null | undefined;
194
- isActive?: boolean | undefined;
195
195
  teamMemberId?: string | null | undefined;
196
196
  };
197
197
  }, {
@@ -202,9 +202,9 @@ export declare const updateStaffMemberSchema: z.ZodObject<{
202
202
  name?: string | undefined;
203
203
  currency?: "NGN" | "USD" | undefined;
204
204
  notes?: string | null | undefined;
205
+ isActive?: boolean | undefined;
205
206
  payType?: "monthly" | "daily" | "piece" | undefined;
206
207
  defaultAmount?: number | null | undefined;
207
- isActive?: boolean | undefined;
208
208
  teamMemberId?: string | null | undefined;
209
209
  };
210
210
  }>;
@@ -230,9 +230,9 @@ export declare const staffMemberResourceSchema: z.ZodObject<{
230
230
  name: string;
231
231
  currency: "NGN" | "USD";
232
232
  notes: string | null;
233
+ isActive: boolean;
233
234
  payType: "monthly" | "daily" | "piece";
234
235
  defaultAmount: number | null;
235
- isActive: boolean;
236
236
  teamMemberId: string | null;
237
237
  }, {
238
238
  title: string | null;
@@ -241,9 +241,9 @@ export declare const staffMemberResourceSchema: z.ZodObject<{
241
241
  name: string;
242
242
  currency: "NGN" | "USD";
243
243
  notes: string | null;
244
+ isActive: boolean;
244
245
  payType: "monthly" | "daily" | "piece";
245
246
  defaultAmount: number | null;
246
- isActive: boolean;
247
247
  teamMemberId: string | null;
248
248
  }>;
249
249
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -259,9 +259,9 @@ export declare const staffMemberResourceSchema: z.ZodObject<{
259
259
  name: string;
260
260
  currency: "NGN" | "USD";
261
261
  notes: string | null;
262
+ isActive: boolean;
262
263
  payType: "monthly" | "daily" | "piece";
263
264
  defaultAmount: number | null;
264
- isActive: boolean;
265
265
  teamMemberId: string | null;
266
266
  };
267
267
  relationships?: Record<string, unknown> | undefined;
@@ -277,9 +277,9 @@ export declare const staffMemberResourceSchema: z.ZodObject<{
277
277
  name: string;
278
278
  currency: "NGN" | "USD";
279
279
  notes: string | null;
280
+ isActive: boolean;
280
281
  payType: "monthly" | "daily" | "piece";
281
282
  defaultAmount: number | null;
282
- isActive: boolean;
283
283
  teamMemberId: string | null;
284
284
  };
285
285
  relationships?: Record<string, unknown> | undefined;
@@ -309,9 +309,9 @@ export declare const staffMemberResponseSchema: z.ZodObject<{
309
309
  name: string;
310
310
  currency: "NGN" | "USD";
311
311
  notes: string | null;
312
+ isActive: boolean;
312
313
  payType: "monthly" | "daily" | "piece";
313
314
  defaultAmount: number | null;
314
- isActive: boolean;
315
315
  teamMemberId: string | null;
316
316
  }, {
317
317
  title: string | null;
@@ -320,9 +320,9 @@ export declare const staffMemberResponseSchema: z.ZodObject<{
320
320
  name: string;
321
321
  currency: "NGN" | "USD";
322
322
  notes: string | null;
323
+ isActive: boolean;
323
324
  payType: "monthly" | "daily" | "piece";
324
325
  defaultAmount: number | null;
325
- isActive: boolean;
326
326
  teamMemberId: string | null;
327
327
  }>;
328
328
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -338,9 +338,9 @@ export declare const staffMemberResponseSchema: z.ZodObject<{
338
338
  name: string;
339
339
  currency: "NGN" | "USD";
340
340
  notes: string | null;
341
+ isActive: boolean;
341
342
  payType: "monthly" | "daily" | "piece";
342
343
  defaultAmount: number | null;
343
- isActive: boolean;
344
344
  teamMemberId: string | null;
345
345
  };
346
346
  relationships?: Record<string, unknown> | undefined;
@@ -356,9 +356,9 @@ export declare const staffMemberResponseSchema: z.ZodObject<{
356
356
  name: string;
357
357
  currency: "NGN" | "USD";
358
358
  notes: string | null;
359
+ isActive: boolean;
359
360
  payType: "monthly" | "daily" | "piece";
360
361
  defaultAmount: number | null;
361
- isActive: boolean;
362
362
  teamMemberId: string | null;
363
363
  };
364
364
  relationships?: Record<string, unknown> | undefined;
@@ -400,9 +400,9 @@ export declare const staffMemberResponseSchema: z.ZodObject<{
400
400
  name: string;
401
401
  currency: "NGN" | "USD";
402
402
  notes: string | null;
403
+ isActive: boolean;
403
404
  payType: "monthly" | "daily" | "piece";
404
405
  defaultAmount: number | null;
405
- isActive: boolean;
406
406
  teamMemberId: string | null;
407
407
  };
408
408
  relationships?: Record<string, unknown> | undefined;
@@ -430,9 +430,9 @@ export declare const staffMemberResponseSchema: z.ZodObject<{
430
430
  name: string;
431
431
  currency: "NGN" | "USD";
432
432
  notes: string | null;
433
+ isActive: boolean;
433
434
  payType: "monthly" | "daily" | "piece";
434
435
  defaultAmount: number | null;
435
- isActive: boolean;
436
436
  teamMemberId: string | null;
437
437
  };
438
438
  relationships?: Record<string, unknown> | undefined;
@@ -473,9 +473,9 @@ export declare const staffMemberListResponseSchema: z.ZodObject<{
473
473
  name: string;
474
474
  currency: "NGN" | "USD";
475
475
  notes: string | null;
476
+ isActive: boolean;
476
477
  payType: "monthly" | "daily" | "piece";
477
478
  defaultAmount: number | null;
478
- isActive: boolean;
479
479
  teamMemberId: string | null;
480
480
  }, {
481
481
  title: string | null;
@@ -484,9 +484,9 @@ export declare const staffMemberListResponseSchema: z.ZodObject<{
484
484
  name: string;
485
485
  currency: "NGN" | "USD";
486
486
  notes: string | null;
487
+ isActive: boolean;
487
488
  payType: "monthly" | "daily" | "piece";
488
489
  defaultAmount: number | null;
489
- isActive: boolean;
490
490
  teamMemberId: string | null;
491
491
  }>;
492
492
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -502,9 +502,9 @@ export declare const staffMemberListResponseSchema: z.ZodObject<{
502
502
  name: string;
503
503
  currency: "NGN" | "USD";
504
504
  notes: string | null;
505
+ isActive: boolean;
505
506
  payType: "monthly" | "daily" | "piece";
506
507
  defaultAmount: number | null;
507
- isActive: boolean;
508
508
  teamMemberId: string | null;
509
509
  };
510
510
  relationships?: Record<string, unknown> | undefined;
@@ -520,9 +520,9 @@ export declare const staffMemberListResponseSchema: z.ZodObject<{
520
520
  name: string;
521
521
  currency: "NGN" | "USD";
522
522
  notes: string | null;
523
+ isActive: boolean;
523
524
  payType: "monthly" | "daily" | "piece";
524
525
  defaultAmount: number | null;
525
- isActive: boolean;
526
526
  teamMemberId: string | null;
527
527
  };
528
528
  relationships?: Record<string, unknown> | undefined;
@@ -564,9 +564,9 @@ export declare const staffMemberListResponseSchema: z.ZodObject<{
564
564
  name: string;
565
565
  currency: "NGN" | "USD";
566
566
  notes: string | null;
567
+ isActive: boolean;
567
568
  payType: "monthly" | "daily" | "piece";
568
569
  defaultAmount: number | null;
569
- isActive: boolean;
570
570
  teamMemberId: string | null;
571
571
  };
572
572
  relationships?: Record<string, unknown> | undefined;
@@ -594,9 +594,9 @@ export declare const staffMemberListResponseSchema: z.ZodObject<{
594
594
  name: string;
595
595
  currency: "NGN" | "USD";
596
596
  notes: string | null;
597
+ isActive: boolean;
597
598
  payType: "monthly" | "daily" | "piece";
598
599
  defaultAmount: number | null;
599
- isActive: boolean;
600
600
  teamMemberId: string | null;
601
601
  };
602
602
  relationships?: Record<string, unknown> | undefined;