@deepintel-ltd/farmpro-contracts 1.14.0 → 1.15.1

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.
@@ -22,6 +22,8 @@ export declare const capitalTransactionAttributesSchema: z.ZodObject<{
22
22
  amountRepaid: z.ZodNumber;
23
23
  outstandingBalance: z.ZodOptional<z.ZodNumber>;
24
24
  notes: z.ZodNullable<z.ZodString>;
25
+ createdById: z.ZodNullable<z.ZodString>;
26
+ createdByName: z.ZodNullable<z.ZodString>;
25
27
  } & {
26
28
  createdAt: z.ZodString;
27
29
  updatedAt: z.ZodString;
@@ -35,6 +37,8 @@ export declare const capitalTransactionAttributesSchema: z.ZodObject<{
35
37
  currency: "NGN" | "USD";
36
38
  notes: string | null;
37
39
  amount: number;
40
+ createdById: string | null;
41
+ createdByName: string | null;
38
42
  reference: string | null;
39
43
  transactionDate: string;
40
44
  isRepayable: boolean;
@@ -53,6 +57,8 @@ export declare const capitalTransactionAttributesSchema: z.ZodObject<{
53
57
  currency: "NGN" | "USD";
54
58
  notes: string | null;
55
59
  amount: number;
60
+ createdById: string | null;
61
+ createdByName: string | null;
56
62
  reference: string | null;
57
63
  transactionDate: string;
58
64
  isRepayable: boolean;
@@ -425,6 +431,8 @@ export declare const capitalTransactionResourceSchema: z.ZodObject<{
425
431
  amountRepaid: z.ZodNumber;
426
432
  outstandingBalance: z.ZodOptional<z.ZodNumber>;
427
433
  notes: z.ZodNullable<z.ZodString>;
434
+ createdById: z.ZodNullable<z.ZodString>;
435
+ createdByName: z.ZodNullable<z.ZodString>;
428
436
  } & {
429
437
  createdAt: z.ZodString;
430
438
  updatedAt: z.ZodString;
@@ -438,6 +446,8 @@ export declare const capitalTransactionResourceSchema: z.ZodObject<{
438
446
  currency: "NGN" | "USD";
439
447
  notes: string | null;
440
448
  amount: number;
449
+ createdById: string | null;
450
+ createdByName: string | null;
441
451
  reference: string | null;
442
452
  transactionDate: string;
443
453
  isRepayable: boolean;
@@ -456,6 +466,8 @@ export declare const capitalTransactionResourceSchema: z.ZodObject<{
456
466
  currency: "NGN" | "USD";
457
467
  notes: string | null;
458
468
  amount: number;
469
+ createdById: string | null;
470
+ createdByName: string | null;
459
471
  reference: string | null;
460
472
  transactionDate: string;
461
473
  isRepayable: boolean;
@@ -481,6 +493,8 @@ export declare const capitalTransactionResourceSchema: z.ZodObject<{
481
493
  currency: "NGN" | "USD";
482
494
  notes: string | null;
483
495
  amount: number;
496
+ createdById: string | null;
497
+ createdByName: string | null;
484
498
  reference: string | null;
485
499
  transactionDate: string;
486
500
  isRepayable: boolean;
@@ -506,6 +520,8 @@ export declare const capitalTransactionResourceSchema: z.ZodObject<{
506
520
  currency: "NGN" | "USD";
507
521
  notes: string | null;
508
522
  amount: number;
523
+ createdById: string | null;
524
+ createdByName: string | null;
509
525
  reference: string | null;
510
526
  transactionDate: string;
511
527
  isRepayable: boolean;
@@ -538,6 +554,8 @@ export declare const capitalTransactionDetailResourceSchema: z.ZodObject<{
538
554
  amountRepaid: z.ZodNumber;
539
555
  outstandingBalance: z.ZodOptional<z.ZodNumber>;
540
556
  notes: z.ZodNullable<z.ZodString>;
557
+ createdById: z.ZodNullable<z.ZodString>;
558
+ createdByName: z.ZodNullable<z.ZodString>;
541
559
  } & {
542
560
  createdAt: z.ZodString;
543
561
  updatedAt: z.ZodString;
@@ -551,6 +569,8 @@ export declare const capitalTransactionDetailResourceSchema: z.ZodObject<{
551
569
  currency: "NGN" | "USD";
552
570
  notes: string | null;
553
571
  amount: number;
572
+ createdById: string | null;
573
+ createdByName: string | null;
554
574
  reference: string | null;
555
575
  transactionDate: string;
556
576
  isRepayable: boolean;
@@ -569,6 +589,8 @@ export declare const capitalTransactionDetailResourceSchema: z.ZodObject<{
569
589
  currency: "NGN" | "USD";
570
590
  notes: string | null;
571
591
  amount: number;
592
+ createdById: string | null;
593
+ createdByName: string | null;
572
594
  reference: string | null;
573
595
  transactionDate: string;
574
596
  isRepayable: boolean;
@@ -625,6 +647,8 @@ export declare const capitalTransactionDetailResourceSchema: z.ZodObject<{
625
647
  currency: "NGN" | "USD";
626
648
  notes: string | null;
627
649
  amount: number;
650
+ createdById: string | null;
651
+ createdByName: string | null;
628
652
  reference: string | null;
629
653
  transactionDate: string;
630
654
  isRepayable: boolean;
@@ -656,6 +680,8 @@ export declare const capitalTransactionDetailResourceSchema: z.ZodObject<{
656
680
  currency: "NGN" | "USD";
657
681
  notes: string | null;
658
682
  amount: number;
683
+ createdById: string | null;
684
+ createdByName: string | null;
659
685
  reference: string | null;
660
686
  transactionDate: string;
661
687
  isRepayable: boolean;
@@ -695,6 +721,8 @@ export declare const capitalTransactionResponseSchema: z.ZodObject<{
695
721
  amountRepaid: z.ZodNumber;
696
722
  outstandingBalance: z.ZodOptional<z.ZodNumber>;
697
723
  notes: z.ZodNullable<z.ZodString>;
724
+ createdById: z.ZodNullable<z.ZodString>;
725
+ createdByName: z.ZodNullable<z.ZodString>;
698
726
  } & {
699
727
  createdAt: z.ZodString;
700
728
  updatedAt: z.ZodString;
@@ -708,6 +736,8 @@ export declare const capitalTransactionResponseSchema: z.ZodObject<{
708
736
  currency: "NGN" | "USD";
709
737
  notes: string | null;
710
738
  amount: number;
739
+ createdById: string | null;
740
+ createdByName: string | null;
711
741
  reference: string | null;
712
742
  transactionDate: string;
713
743
  isRepayable: boolean;
@@ -726,6 +756,8 @@ export declare const capitalTransactionResponseSchema: z.ZodObject<{
726
756
  currency: "NGN" | "USD";
727
757
  notes: string | null;
728
758
  amount: number;
759
+ createdById: string | null;
760
+ createdByName: string | null;
729
761
  reference: string | null;
730
762
  transactionDate: string;
731
763
  isRepayable: boolean;
@@ -751,6 +783,8 @@ export declare const capitalTransactionResponseSchema: z.ZodObject<{
751
783
  currency: "NGN" | "USD";
752
784
  notes: string | null;
753
785
  amount: number;
786
+ createdById: string | null;
787
+ createdByName: string | null;
754
788
  reference: string | null;
755
789
  transactionDate: string;
756
790
  isRepayable: boolean;
@@ -776,6 +810,8 @@ export declare const capitalTransactionResponseSchema: z.ZodObject<{
776
810
  currency: "NGN" | "USD";
777
811
  notes: string | null;
778
812
  amount: number;
813
+ createdById: string | null;
814
+ createdByName: string | null;
779
815
  reference: string | null;
780
816
  transactionDate: string;
781
817
  isRepayable: boolean;
@@ -827,6 +863,8 @@ export declare const capitalTransactionResponseSchema: z.ZodObject<{
827
863
  currency: "NGN" | "USD";
828
864
  notes: string | null;
829
865
  amount: number;
866
+ createdById: string | null;
867
+ createdByName: string | null;
830
868
  reference: string | null;
831
869
  transactionDate: string;
832
870
  isRepayable: boolean;
@@ -864,6 +902,8 @@ export declare const capitalTransactionResponseSchema: z.ZodObject<{
864
902
  currency: "NGN" | "USD";
865
903
  notes: string | null;
866
904
  amount: number;
905
+ createdById: string | null;
906
+ createdByName: string | null;
867
907
  reference: string | null;
868
908
  transactionDate: string;
869
909
  isRepayable: boolean;
@@ -908,6 +948,8 @@ export declare const capitalTransactionDetailResponseSchema: z.ZodObject<{
908
948
  amountRepaid: z.ZodNumber;
909
949
  outstandingBalance: z.ZodOptional<z.ZodNumber>;
910
950
  notes: z.ZodNullable<z.ZodString>;
951
+ createdById: z.ZodNullable<z.ZodString>;
952
+ createdByName: z.ZodNullable<z.ZodString>;
911
953
  } & {
912
954
  createdAt: z.ZodString;
913
955
  updatedAt: z.ZodString;
@@ -921,6 +963,8 @@ export declare const capitalTransactionDetailResponseSchema: z.ZodObject<{
921
963
  currency: "NGN" | "USD";
922
964
  notes: string | null;
923
965
  amount: number;
966
+ createdById: string | null;
967
+ createdByName: string | null;
924
968
  reference: string | null;
925
969
  transactionDate: string;
926
970
  isRepayable: boolean;
@@ -939,6 +983,8 @@ export declare const capitalTransactionDetailResponseSchema: z.ZodObject<{
939
983
  currency: "NGN" | "USD";
940
984
  notes: string | null;
941
985
  amount: number;
986
+ createdById: string | null;
987
+ createdByName: string | null;
942
988
  reference: string | null;
943
989
  transactionDate: string;
944
990
  isRepayable: boolean;
@@ -995,6 +1041,8 @@ export declare const capitalTransactionDetailResponseSchema: z.ZodObject<{
995
1041
  currency: "NGN" | "USD";
996
1042
  notes: string | null;
997
1043
  amount: number;
1044
+ createdById: string | null;
1045
+ createdByName: string | null;
998
1046
  reference: string | null;
999
1047
  transactionDate: string;
1000
1048
  isRepayable: boolean;
@@ -1026,6 +1074,8 @@ export declare const capitalTransactionDetailResponseSchema: z.ZodObject<{
1026
1074
  currency: "NGN" | "USD";
1027
1075
  notes: string | null;
1028
1076
  amount: number;
1077
+ createdById: string | null;
1078
+ createdByName: string | null;
1029
1079
  reference: string | null;
1030
1080
  transactionDate: string;
1031
1081
  isRepayable: boolean;
@@ -1083,6 +1133,8 @@ export declare const capitalTransactionDetailResponseSchema: z.ZodObject<{
1083
1133
  currency: "NGN" | "USD";
1084
1134
  notes: string | null;
1085
1135
  amount: number;
1136
+ createdById: string | null;
1137
+ createdByName: string | null;
1086
1138
  reference: string | null;
1087
1139
  transactionDate: string;
1088
1140
  isRepayable: boolean;
@@ -1126,6 +1178,8 @@ export declare const capitalTransactionDetailResponseSchema: z.ZodObject<{
1126
1178
  currency: "NGN" | "USD";
1127
1179
  notes: string | null;
1128
1180
  amount: number;
1181
+ createdById: string | null;
1182
+ createdByName: string | null;
1129
1183
  reference: string | null;
1130
1184
  transactionDate: string;
1131
1185
  isRepayable: boolean;
@@ -1176,6 +1230,8 @@ export declare const capitalTransactionListResponseSchema: z.ZodObject<{
1176
1230
  amountRepaid: z.ZodNumber;
1177
1231
  outstandingBalance: z.ZodOptional<z.ZodNumber>;
1178
1232
  notes: z.ZodNullable<z.ZodString>;
1233
+ createdById: z.ZodNullable<z.ZodString>;
1234
+ createdByName: z.ZodNullable<z.ZodString>;
1179
1235
  } & {
1180
1236
  createdAt: z.ZodString;
1181
1237
  updatedAt: z.ZodString;
@@ -1189,6 +1245,8 @@ export declare const capitalTransactionListResponseSchema: z.ZodObject<{
1189
1245
  currency: "NGN" | "USD";
1190
1246
  notes: string | null;
1191
1247
  amount: number;
1248
+ createdById: string | null;
1249
+ createdByName: string | null;
1192
1250
  reference: string | null;
1193
1251
  transactionDate: string;
1194
1252
  isRepayable: boolean;
@@ -1207,6 +1265,8 @@ export declare const capitalTransactionListResponseSchema: z.ZodObject<{
1207
1265
  currency: "NGN" | "USD";
1208
1266
  notes: string | null;
1209
1267
  amount: number;
1268
+ createdById: string | null;
1269
+ createdByName: string | null;
1210
1270
  reference: string | null;
1211
1271
  transactionDate: string;
1212
1272
  isRepayable: boolean;
@@ -1232,6 +1292,8 @@ export declare const capitalTransactionListResponseSchema: z.ZodObject<{
1232
1292
  currency: "NGN" | "USD";
1233
1293
  notes: string | null;
1234
1294
  amount: number;
1295
+ createdById: string | null;
1296
+ createdByName: string | null;
1235
1297
  reference: string | null;
1236
1298
  transactionDate: string;
1237
1299
  isRepayable: boolean;
@@ -1257,6 +1319,8 @@ export declare const capitalTransactionListResponseSchema: z.ZodObject<{
1257
1319
  currency: "NGN" | "USD";
1258
1320
  notes: string | null;
1259
1321
  amount: number;
1322
+ createdById: string | null;
1323
+ createdByName: string | null;
1260
1324
  reference: string | null;
1261
1325
  transactionDate: string;
1262
1326
  isRepayable: boolean;
@@ -1308,6 +1372,8 @@ export declare const capitalTransactionListResponseSchema: z.ZodObject<{
1308
1372
  currency: "NGN" | "USD";
1309
1373
  notes: string | null;
1310
1374
  amount: number;
1375
+ createdById: string | null;
1376
+ createdByName: string | null;
1311
1377
  reference: string | null;
1312
1378
  transactionDate: string;
1313
1379
  isRepayable: boolean;
@@ -1345,6 +1411,8 @@ export declare const capitalTransactionListResponseSchema: z.ZodObject<{
1345
1411
  currency: "NGN" | "USD";
1346
1412
  notes: string | null;
1347
1413
  amount: number;
1414
+ createdById: string | null;
1415
+ createdByName: string | null;
1348
1416
  reference: string | null;
1349
1417
  transactionDate: string;
1350
1418
  isRepayable: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"capital.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/capital.schemas.ts"],"names":[],"mappings":"AAAA,O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actionAttributesSchema = z.object({
43
43
  // Calculated fields
44
44
  outstandingBalance: z.number().optional(), // amount - amountRepaid (for repayable)
45
45
  notes: z.string().nullable(),
46
+ createdById: z.string().uuid().nullable(),
47
+ createdByName: z.string().nullable(),
46
48
  }).merge(timestampsSchema);
47
49
  // Capital transaction attributes for creation (input)
48
50
  export const createCapitalTransactionAttributesSchema = z.object({
@@ -29,10 +29,10 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
29
29
  inventoryItemId: string | null;
30
30
  unit: string | null;
31
31
  quantity: number | null;
32
+ createdById: string | null;
32
33
  productName: string | null;
33
34
  fertilizerProductId: string | null;
34
35
  occurredAt: string;
35
- createdById: string | null;
36
36
  fieldName?: string | undefined;
37
37
  }, {
38
38
  type: "fertilizer" | "weeding";
@@ -45,10 +45,10 @@ export declare const fieldActivityAttributesSchema: z.ZodObject<{
45
45
  inventoryItemId: string | null;
46
46
  unit: string | null;
47
47
  quantity: number | null;
48
+ createdById: string | null;
48
49
  productName: string | null;
49
50
  fertilizerProductId: string | null;
50
51
  occurredAt: string;
51
- createdById: string | null;
52
52
  fieldName?: string | undefined;
53
53
  }>;
54
54
  export declare const createFieldActivityAttributesSchema: z.ZodEffects<z.ZodObject<{
@@ -323,10 +323,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
323
323
  inventoryItemId: string | null;
324
324
  unit: string | null;
325
325
  quantity: number | null;
326
+ createdById: string | null;
326
327
  productName: string | null;
327
328
  fertilizerProductId: string | null;
328
329
  occurredAt: string;
329
- createdById: string | null;
330
330
  fieldName?: string | undefined;
331
331
  }, {
332
332
  type: "fertilizer" | "weeding";
@@ -339,10 +339,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
339
339
  inventoryItemId: string | null;
340
340
  unit: string | null;
341
341
  quantity: number | null;
342
+ createdById: string | null;
342
343
  productName: string | null;
343
344
  fertilizerProductId: string | null;
344
345
  occurredAt: string;
345
- createdById: string | null;
346
346
  fieldName?: string | undefined;
347
347
  }>;
348
348
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -362,10 +362,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
362
362
  inventoryItemId: string | null;
363
363
  unit: string | null;
364
364
  quantity: number | null;
365
+ createdById: string | null;
365
366
  productName: string | null;
366
367
  fertilizerProductId: string | null;
367
368
  occurredAt: string;
368
- createdById: string | null;
369
369
  fieldName?: string | undefined;
370
370
  };
371
371
  relationships?: Record<string, unknown> | undefined;
@@ -385,10 +385,10 @@ export declare const fieldActivityResourceSchema: z.ZodObject<{
385
385
  inventoryItemId: string | null;
386
386
  unit: string | null;
387
387
  quantity: number | null;
388
+ createdById: string | null;
388
389
  productName: string | null;
389
390
  fertilizerProductId: string | null;
390
391
  occurredAt: string;
391
- createdById: string | null;
392
392
  fieldName?: string | undefined;
393
393
  };
394
394
  relationships?: Record<string, unknown> | undefined;
@@ -427,10 +427,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
427
427
  inventoryItemId: string | null;
428
428
  unit: string | null;
429
429
  quantity: number | null;
430
+ createdById: string | null;
430
431
  productName: string | null;
431
432
  fertilizerProductId: string | null;
432
433
  occurredAt: string;
433
- createdById: string | null;
434
434
  fieldName?: string | undefined;
435
435
  }, {
436
436
  type: "fertilizer" | "weeding";
@@ -443,10 +443,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
443
443
  inventoryItemId: string | null;
444
444
  unit: string | null;
445
445
  quantity: number | null;
446
+ createdById: string | null;
446
447
  productName: string | null;
447
448
  fertilizerProductId: string | null;
448
449
  occurredAt: string;
449
- createdById: string | null;
450
450
  fieldName?: string | undefined;
451
451
  }>;
452
452
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -466,10 +466,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
466
466
  inventoryItemId: string | null;
467
467
  unit: string | null;
468
468
  quantity: number | null;
469
+ createdById: string | null;
469
470
  productName: string | null;
470
471
  fertilizerProductId: string | null;
471
472
  occurredAt: string;
472
- createdById: string | null;
473
473
  fieldName?: string | undefined;
474
474
  };
475
475
  relationships?: Record<string, unknown> | undefined;
@@ -489,10 +489,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
489
489
  inventoryItemId: string | null;
490
490
  unit: string | null;
491
491
  quantity: number | null;
492
+ createdById: string | null;
492
493
  productName: string | null;
493
494
  fertilizerProductId: string | null;
494
495
  occurredAt: string;
495
- createdById: string | null;
496
496
  fieldName?: string | undefined;
497
497
  };
498
498
  relationships?: Record<string, unknown> | undefined;
@@ -538,10 +538,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
538
538
  inventoryItemId: string | null;
539
539
  unit: string | null;
540
540
  quantity: number | null;
541
+ createdById: string | null;
541
542
  productName: string | null;
542
543
  fertilizerProductId: string | null;
543
544
  occurredAt: string;
544
- createdById: string | null;
545
545
  fieldName?: string | undefined;
546
546
  };
547
547
  relationships?: Record<string, unknown> | undefined;
@@ -573,10 +573,10 @@ export declare const fieldActivityResponseSchema: z.ZodObject<{
573
573
  inventoryItemId: string | null;
574
574
  unit: string | null;
575
575
  quantity: number | null;
576
+ createdById: string | null;
576
577
  productName: string | null;
577
578
  fertilizerProductId: string | null;
578
579
  occurredAt: string;
579
- createdById: string | null;
580
580
  fieldName?: string | undefined;
581
581
  };
582
582
  relationships?: Record<string, unknown> | undefined;
@@ -626,10 +626,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
626
626
  inventoryItemId: string | null;
627
627
  unit: string | null;
628
628
  quantity: number | null;
629
+ createdById: string | null;
629
630
  productName: string | null;
630
631
  fertilizerProductId: string | null;
631
632
  occurredAt: string;
632
- createdById: string | null;
633
633
  fieldName?: string | undefined;
634
634
  }, {
635
635
  type: "fertilizer" | "weeding";
@@ -642,10 +642,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
642
642
  inventoryItemId: string | null;
643
643
  unit: string | null;
644
644
  quantity: number | null;
645
+ createdById: string | null;
645
646
  productName: string | null;
646
647
  fertilizerProductId: string | null;
647
648
  occurredAt: string;
648
- createdById: string | null;
649
649
  fieldName?: string | undefined;
650
650
  }>;
651
651
  relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -665,10 +665,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
665
665
  inventoryItemId: string | null;
666
666
  unit: string | null;
667
667
  quantity: number | null;
668
+ createdById: string | null;
668
669
  productName: string | null;
669
670
  fertilizerProductId: string | null;
670
671
  occurredAt: string;
671
- createdById: string | null;
672
672
  fieldName?: string | undefined;
673
673
  };
674
674
  relationships?: Record<string, unknown> | undefined;
@@ -688,10 +688,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
688
688
  inventoryItemId: string | null;
689
689
  unit: string | null;
690
690
  quantity: number | null;
691
+ createdById: string | null;
691
692
  productName: string | null;
692
693
  fertilizerProductId: string | null;
693
694
  occurredAt: string;
694
- createdById: string | null;
695
695
  fieldName?: string | undefined;
696
696
  };
697
697
  relationships?: Record<string, unknown> | undefined;
@@ -737,10 +737,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
737
737
  inventoryItemId: string | null;
738
738
  unit: string | null;
739
739
  quantity: number | null;
740
+ createdById: string | null;
740
741
  productName: string | null;
741
742
  fertilizerProductId: string | null;
742
743
  occurredAt: string;
743
- createdById: string | null;
744
744
  fieldName?: string | undefined;
745
745
  };
746
746
  relationships?: Record<string, unknown> | undefined;
@@ -772,10 +772,10 @@ export declare const fieldActivityListResponseSchema: z.ZodObject<{
772
772
  inventoryItemId: string | null;
773
773
  unit: string | null;
774
774
  quantity: number | null;
775
+ createdById: string | null;
775
776
  productName: string | null;
776
777
  fertilizerProductId: string | null;
777
778
  occurredAt: string;
778
- createdById: string | null;
779
779
  fieldName?: string | undefined;
780
780
  };
781
781
  relationships?: Record<string, unknown> | undefined;