@deepintel-ltd/farmpro-contracts 1.15.6 → 1.16.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.
- package/dist/routes/farm-updates.routes.d.ts +456 -16
- package/dist/routes/farm-updates.routes.d.ts.map +1 -1
- package/dist/routes/farm-updates.routes.js +27 -11
- package/dist/routes/live-monitor.routes.d.ts +29 -9
- package/dist/routes/live-monitor.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.d.ts +169 -41
- package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.js +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +22 -22
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/schemas/agents.schemas.d.ts +144 -0
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +35 -0
- package/dist/schemas/farm-updates.schemas.d.ts +249 -0
- package/dist/schemas/farm-updates.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-updates.schemas.js +18 -0
- package/dist/schemas/live-monitor.schemas.d.ts +44 -12
- package/dist/schemas/live-monitor.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.d.ts +323 -40
- package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.js +30 -0
- package/dist/schemas/pest-disease-risk.schemas.d.ts +20 -20
- package/dist/schemas/team-payments.schemas.d.ts +30 -30
- package/package.json +1 -1
|
@@ -54,12 +54,12 @@ export declare const teamPaymentsRouter: {
|
|
|
54
54
|
updatedAt: string;
|
|
55
55
|
organizationId: string;
|
|
56
56
|
isDefault: boolean;
|
|
57
|
+
label: string;
|
|
57
58
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
58
59
|
bankName: string;
|
|
59
60
|
accountNumber: string;
|
|
60
61
|
accountName: string;
|
|
61
62
|
isActive: boolean;
|
|
62
|
-
label: string;
|
|
63
63
|
providerAccountId: string | null;
|
|
64
64
|
dailyLimit: number | null;
|
|
65
65
|
monthlyLimit: number | null;
|
|
@@ -71,12 +71,12 @@ export declare const teamPaymentsRouter: {
|
|
|
71
71
|
updatedAt: string;
|
|
72
72
|
organizationId: string;
|
|
73
73
|
isDefault: boolean;
|
|
74
|
+
label: string;
|
|
74
75
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
75
76
|
bankName: string;
|
|
76
77
|
accountNumber: string;
|
|
77
78
|
accountName: string;
|
|
78
79
|
isActive: boolean;
|
|
79
|
-
label: string;
|
|
80
80
|
providerAccountId: string | null;
|
|
81
81
|
dailyLimit: number | null;
|
|
82
82
|
monthlyLimit: number | null;
|
|
@@ -95,12 +95,12 @@ export declare const teamPaymentsRouter: {
|
|
|
95
95
|
updatedAt: string;
|
|
96
96
|
organizationId: string;
|
|
97
97
|
isDefault: boolean;
|
|
98
|
+
label: string;
|
|
98
99
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
99
100
|
bankName: string;
|
|
100
101
|
accountNumber: string;
|
|
101
102
|
accountName: string;
|
|
102
103
|
isActive: boolean;
|
|
103
|
-
label: string;
|
|
104
104
|
providerAccountId: string | null;
|
|
105
105
|
dailyLimit: number | null;
|
|
106
106
|
monthlyLimit: number | null;
|
|
@@ -119,12 +119,12 @@ export declare const teamPaymentsRouter: {
|
|
|
119
119
|
updatedAt: string;
|
|
120
120
|
organizationId: string;
|
|
121
121
|
isDefault: boolean;
|
|
122
|
+
label: string;
|
|
122
123
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
123
124
|
bankName: string;
|
|
124
125
|
accountNumber: string;
|
|
125
126
|
accountName: string;
|
|
126
127
|
isActive: boolean;
|
|
127
|
-
label: string;
|
|
128
128
|
providerAccountId: string | null;
|
|
129
129
|
dailyLimit: number | null;
|
|
130
130
|
monthlyLimit: number | null;
|
|
@@ -169,12 +169,12 @@ export declare const teamPaymentsRouter: {
|
|
|
169
169
|
updatedAt: string;
|
|
170
170
|
organizationId: string;
|
|
171
171
|
isDefault: boolean;
|
|
172
|
+
label: string;
|
|
172
173
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
173
174
|
bankName: string;
|
|
174
175
|
accountNumber: string;
|
|
175
176
|
accountName: string;
|
|
176
177
|
isActive: boolean;
|
|
177
|
-
label: string;
|
|
178
178
|
providerAccountId: string | null;
|
|
179
179
|
dailyLimit: number | null;
|
|
180
180
|
monthlyLimit: number | null;
|
|
@@ -205,12 +205,12 @@ export declare const teamPaymentsRouter: {
|
|
|
205
205
|
updatedAt: string;
|
|
206
206
|
organizationId: string;
|
|
207
207
|
isDefault: boolean;
|
|
208
|
+
label: string;
|
|
208
209
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
209
210
|
bankName: string;
|
|
210
211
|
accountNumber: string;
|
|
211
212
|
accountName: string;
|
|
212
213
|
isActive: boolean;
|
|
213
|
-
label: string;
|
|
214
214
|
providerAccountId: string | null;
|
|
215
215
|
dailyLimit: number | null;
|
|
216
216
|
monthlyLimit: number | null;
|
|
@@ -533,22 +533,22 @@ export declare const teamPaymentsRouter: {
|
|
|
533
533
|
monthlyLimit: z.ZodOptional<z.ZodNumber>;
|
|
534
534
|
}, "strip", z.ZodTypeAny, {
|
|
535
535
|
isDefault: boolean;
|
|
536
|
+
label: string;
|
|
536
537
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
537
538
|
bankName: string;
|
|
538
539
|
accountNumber: string;
|
|
539
540
|
accountName: string;
|
|
540
541
|
isActive: boolean;
|
|
541
|
-
label: string;
|
|
542
542
|
providerAccountId?: string | undefined;
|
|
543
543
|
dailyLimit?: number | undefined;
|
|
544
544
|
monthlyLimit?: number | undefined;
|
|
545
545
|
providerCredentials?: Record<string, unknown> | undefined;
|
|
546
546
|
}, {
|
|
547
|
+
label: string;
|
|
547
548
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
548
549
|
bankName: string;
|
|
549
550
|
accountNumber: string;
|
|
550
551
|
accountName: string;
|
|
551
|
-
label: string;
|
|
552
552
|
isDefault?: boolean | undefined;
|
|
553
553
|
isActive?: boolean | undefined;
|
|
554
554
|
providerAccountId?: string | undefined;
|
|
@@ -560,12 +560,12 @@ export declare const teamPaymentsRouter: {
|
|
|
560
560
|
type: "company-payment-accounts";
|
|
561
561
|
attributes: {
|
|
562
562
|
isDefault: boolean;
|
|
563
|
+
label: string;
|
|
563
564
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
564
565
|
bankName: string;
|
|
565
566
|
accountNumber: string;
|
|
566
567
|
accountName: string;
|
|
567
568
|
isActive: boolean;
|
|
568
|
-
label: string;
|
|
569
569
|
providerAccountId?: string | undefined;
|
|
570
570
|
dailyLimit?: number | undefined;
|
|
571
571
|
monthlyLimit?: number | undefined;
|
|
@@ -574,11 +574,11 @@ export declare const teamPaymentsRouter: {
|
|
|
574
574
|
}, {
|
|
575
575
|
type: "company-payment-accounts";
|
|
576
576
|
attributes: {
|
|
577
|
+
label: string;
|
|
577
578
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
578
579
|
bankName: string;
|
|
579
580
|
accountNumber: string;
|
|
580
581
|
accountName: string;
|
|
581
|
-
label: string;
|
|
582
582
|
isDefault?: boolean | undefined;
|
|
583
583
|
isActive?: boolean | undefined;
|
|
584
584
|
providerAccountId?: string | undefined;
|
|
@@ -592,12 +592,12 @@ export declare const teamPaymentsRouter: {
|
|
|
592
592
|
type: "company-payment-accounts";
|
|
593
593
|
attributes: {
|
|
594
594
|
isDefault: boolean;
|
|
595
|
+
label: string;
|
|
595
596
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
596
597
|
bankName: string;
|
|
597
598
|
accountNumber: string;
|
|
598
599
|
accountName: string;
|
|
599
600
|
isActive: boolean;
|
|
600
|
-
label: string;
|
|
601
601
|
providerAccountId?: string | undefined;
|
|
602
602
|
dailyLimit?: number | undefined;
|
|
603
603
|
monthlyLimit?: number | undefined;
|
|
@@ -608,11 +608,11 @@ export declare const teamPaymentsRouter: {
|
|
|
608
608
|
data: {
|
|
609
609
|
type: "company-payment-accounts";
|
|
610
610
|
attributes: {
|
|
611
|
+
label: string;
|
|
611
612
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
612
613
|
bankName: string;
|
|
613
614
|
accountNumber: string;
|
|
614
615
|
accountName: string;
|
|
615
|
-
label: string;
|
|
616
616
|
isDefault?: boolean | undefined;
|
|
617
617
|
isActive?: boolean | undefined;
|
|
618
618
|
providerAccountId?: string | undefined;
|
|
@@ -651,12 +651,12 @@ export declare const teamPaymentsRouter: {
|
|
|
651
651
|
updatedAt: string;
|
|
652
652
|
organizationId: string;
|
|
653
653
|
isDefault: boolean;
|
|
654
|
+
label: string;
|
|
654
655
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
655
656
|
bankName: string;
|
|
656
657
|
accountNumber: string;
|
|
657
658
|
accountName: string;
|
|
658
659
|
isActive: boolean;
|
|
659
|
-
label: string;
|
|
660
660
|
providerAccountId: string | null;
|
|
661
661
|
dailyLimit: number | null;
|
|
662
662
|
monthlyLimit: number | null;
|
|
@@ -668,12 +668,12 @@ export declare const teamPaymentsRouter: {
|
|
|
668
668
|
updatedAt: string;
|
|
669
669
|
organizationId: string;
|
|
670
670
|
isDefault: boolean;
|
|
671
|
+
label: string;
|
|
671
672
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
672
673
|
bankName: string;
|
|
673
674
|
accountNumber: string;
|
|
674
675
|
accountName: string;
|
|
675
676
|
isActive: boolean;
|
|
676
|
-
label: string;
|
|
677
677
|
providerAccountId: string | null;
|
|
678
678
|
dailyLimit: number | null;
|
|
679
679
|
monthlyLimit: number | null;
|
|
@@ -692,12 +692,12 @@ export declare const teamPaymentsRouter: {
|
|
|
692
692
|
updatedAt: string;
|
|
693
693
|
organizationId: string;
|
|
694
694
|
isDefault: boolean;
|
|
695
|
+
label: string;
|
|
695
696
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
696
697
|
bankName: string;
|
|
697
698
|
accountNumber: string;
|
|
698
699
|
accountName: string;
|
|
699
700
|
isActive: boolean;
|
|
700
|
-
label: string;
|
|
701
701
|
providerAccountId: string | null;
|
|
702
702
|
dailyLimit: number | null;
|
|
703
703
|
monthlyLimit: number | null;
|
|
@@ -716,12 +716,12 @@ export declare const teamPaymentsRouter: {
|
|
|
716
716
|
updatedAt: string;
|
|
717
717
|
organizationId: string;
|
|
718
718
|
isDefault: boolean;
|
|
719
|
+
label: string;
|
|
719
720
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
720
721
|
bankName: string;
|
|
721
722
|
accountNumber: string;
|
|
722
723
|
accountName: string;
|
|
723
724
|
isActive: boolean;
|
|
724
|
-
label: string;
|
|
725
725
|
providerAccountId: string | null;
|
|
726
726
|
dailyLimit: number | null;
|
|
727
727
|
monthlyLimit: number | null;
|
|
@@ -766,12 +766,12 @@ export declare const teamPaymentsRouter: {
|
|
|
766
766
|
updatedAt: string;
|
|
767
767
|
organizationId: string;
|
|
768
768
|
isDefault: boolean;
|
|
769
|
+
label: string;
|
|
769
770
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
770
771
|
bankName: string;
|
|
771
772
|
accountNumber: string;
|
|
772
773
|
accountName: string;
|
|
773
774
|
isActive: boolean;
|
|
774
|
-
label: string;
|
|
775
775
|
providerAccountId: string | null;
|
|
776
776
|
dailyLimit: number | null;
|
|
777
777
|
monthlyLimit: number | null;
|
|
@@ -802,12 +802,12 @@ export declare const teamPaymentsRouter: {
|
|
|
802
802
|
updatedAt: string;
|
|
803
803
|
organizationId: string;
|
|
804
804
|
isDefault: boolean;
|
|
805
|
+
label: string;
|
|
805
806
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
806
807
|
bankName: string;
|
|
807
808
|
accountNumber: string;
|
|
808
809
|
accountName: string;
|
|
809
810
|
isActive: boolean;
|
|
810
|
-
label: string;
|
|
811
811
|
providerAccountId: string | null;
|
|
812
812
|
dailyLimit: number | null;
|
|
813
813
|
monthlyLimit: number | null;
|
|
@@ -1324,12 +1324,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1324
1324
|
updatedAt: string;
|
|
1325
1325
|
organizationId: string;
|
|
1326
1326
|
isDefault: boolean;
|
|
1327
|
+
label: string;
|
|
1327
1328
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1328
1329
|
bankName: string;
|
|
1329
1330
|
accountNumber: string;
|
|
1330
1331
|
accountName: string;
|
|
1331
1332
|
isActive: boolean;
|
|
1332
|
-
label: string;
|
|
1333
1333
|
providerAccountId: string | null;
|
|
1334
1334
|
dailyLimit: number | null;
|
|
1335
1335
|
monthlyLimit: number | null;
|
|
@@ -1341,12 +1341,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1341
1341
|
updatedAt: string;
|
|
1342
1342
|
organizationId: string;
|
|
1343
1343
|
isDefault: boolean;
|
|
1344
|
+
label: string;
|
|
1344
1345
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1345
1346
|
bankName: string;
|
|
1346
1347
|
accountNumber: string;
|
|
1347
1348
|
accountName: string;
|
|
1348
1349
|
isActive: boolean;
|
|
1349
|
-
label: string;
|
|
1350
1350
|
providerAccountId: string | null;
|
|
1351
1351
|
dailyLimit: number | null;
|
|
1352
1352
|
monthlyLimit: number | null;
|
|
@@ -1365,12 +1365,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1365
1365
|
updatedAt: string;
|
|
1366
1366
|
organizationId: string;
|
|
1367
1367
|
isDefault: boolean;
|
|
1368
|
+
label: string;
|
|
1368
1369
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1369
1370
|
bankName: string;
|
|
1370
1371
|
accountNumber: string;
|
|
1371
1372
|
accountName: string;
|
|
1372
1373
|
isActive: boolean;
|
|
1373
|
-
label: string;
|
|
1374
1374
|
providerAccountId: string | null;
|
|
1375
1375
|
dailyLimit: number | null;
|
|
1376
1376
|
monthlyLimit: number | null;
|
|
@@ -1389,12 +1389,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1389
1389
|
updatedAt: string;
|
|
1390
1390
|
organizationId: string;
|
|
1391
1391
|
isDefault: boolean;
|
|
1392
|
+
label: string;
|
|
1392
1393
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1393
1394
|
bankName: string;
|
|
1394
1395
|
accountNumber: string;
|
|
1395
1396
|
accountName: string;
|
|
1396
1397
|
isActive: boolean;
|
|
1397
|
-
label: string;
|
|
1398
1398
|
providerAccountId: string | null;
|
|
1399
1399
|
dailyLimit: number | null;
|
|
1400
1400
|
monthlyLimit: number | null;
|
|
@@ -1439,12 +1439,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1439
1439
|
updatedAt: string;
|
|
1440
1440
|
organizationId: string;
|
|
1441
1441
|
isDefault: boolean;
|
|
1442
|
+
label: string;
|
|
1442
1443
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1443
1444
|
bankName: string;
|
|
1444
1445
|
accountNumber: string;
|
|
1445
1446
|
accountName: string;
|
|
1446
1447
|
isActive: boolean;
|
|
1447
|
-
label: string;
|
|
1448
1448
|
providerAccountId: string | null;
|
|
1449
1449
|
dailyLimit: number | null;
|
|
1450
1450
|
monthlyLimit: number | null;
|
|
@@ -1475,12 +1475,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1475
1475
|
updatedAt: string;
|
|
1476
1476
|
organizationId: string;
|
|
1477
1477
|
isDefault: boolean;
|
|
1478
|
+
label: string;
|
|
1478
1479
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1479
1480
|
bankName: string;
|
|
1480
1481
|
accountNumber: string;
|
|
1481
1482
|
accountName: string;
|
|
1482
1483
|
isActive: boolean;
|
|
1483
|
-
label: string;
|
|
1484
1484
|
providerAccountId: string | null;
|
|
1485
1485
|
dailyLimit: number | null;
|
|
1486
1486
|
monthlyLimit: number | null;
|
|
@@ -1806,24 +1806,24 @@ export declare const teamPaymentsRouter: {
|
|
|
1806
1806
|
monthlyLimit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1807
1807
|
}, "strip", z.ZodTypeAny, {
|
|
1808
1808
|
isDefault?: boolean | undefined;
|
|
1809
|
+
label?: string | undefined;
|
|
1809
1810
|
provider?: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT" | undefined;
|
|
1810
1811
|
bankName?: string | undefined;
|
|
1811
1812
|
accountNumber?: string | undefined;
|
|
1812
1813
|
accountName?: string | undefined;
|
|
1813
1814
|
isActive?: boolean | undefined;
|
|
1814
|
-
label?: string | undefined;
|
|
1815
1815
|
providerAccountId?: string | undefined;
|
|
1816
1816
|
dailyLimit?: number | undefined;
|
|
1817
1817
|
monthlyLimit?: number | undefined;
|
|
1818
1818
|
providerCredentials?: Record<string, unknown> | undefined;
|
|
1819
1819
|
}, {
|
|
1820
1820
|
isDefault?: boolean | undefined;
|
|
1821
|
+
label?: string | undefined;
|
|
1821
1822
|
provider?: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT" | undefined;
|
|
1822
1823
|
bankName?: string | undefined;
|
|
1823
1824
|
accountNumber?: string | undefined;
|
|
1824
1825
|
accountName?: string | undefined;
|
|
1825
1826
|
isActive?: boolean | undefined;
|
|
1826
|
-
label?: string | undefined;
|
|
1827
1827
|
providerAccountId?: string | undefined;
|
|
1828
1828
|
dailyLimit?: number | undefined;
|
|
1829
1829
|
monthlyLimit?: number | undefined;
|
|
@@ -1834,12 +1834,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1834
1834
|
id: string;
|
|
1835
1835
|
attributes: {
|
|
1836
1836
|
isDefault?: boolean | undefined;
|
|
1837
|
+
label?: string | undefined;
|
|
1837
1838
|
provider?: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT" | undefined;
|
|
1838
1839
|
bankName?: string | undefined;
|
|
1839
1840
|
accountNumber?: string | undefined;
|
|
1840
1841
|
accountName?: string | undefined;
|
|
1841
1842
|
isActive?: boolean | undefined;
|
|
1842
|
-
label?: string | undefined;
|
|
1843
1843
|
providerAccountId?: string | undefined;
|
|
1844
1844
|
dailyLimit?: number | undefined;
|
|
1845
1845
|
monthlyLimit?: number | undefined;
|
|
@@ -1850,12 +1850,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1850
1850
|
id: string;
|
|
1851
1851
|
attributes: {
|
|
1852
1852
|
isDefault?: boolean | undefined;
|
|
1853
|
+
label?: string | undefined;
|
|
1853
1854
|
provider?: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT" | undefined;
|
|
1854
1855
|
bankName?: string | undefined;
|
|
1855
1856
|
accountNumber?: string | undefined;
|
|
1856
1857
|
accountName?: string | undefined;
|
|
1857
1858
|
isActive?: boolean | undefined;
|
|
1858
|
-
label?: string | undefined;
|
|
1859
1859
|
providerAccountId?: string | undefined;
|
|
1860
1860
|
dailyLimit?: number | undefined;
|
|
1861
1861
|
monthlyLimit?: number | undefined;
|
|
@@ -1868,12 +1868,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1868
1868
|
id: string;
|
|
1869
1869
|
attributes: {
|
|
1870
1870
|
isDefault?: boolean | undefined;
|
|
1871
|
+
label?: string | undefined;
|
|
1871
1872
|
provider?: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT" | undefined;
|
|
1872
1873
|
bankName?: string | undefined;
|
|
1873
1874
|
accountNumber?: string | undefined;
|
|
1874
1875
|
accountName?: string | undefined;
|
|
1875
1876
|
isActive?: boolean | undefined;
|
|
1876
|
-
label?: string | undefined;
|
|
1877
1877
|
providerAccountId?: string | undefined;
|
|
1878
1878
|
dailyLimit?: number | undefined;
|
|
1879
1879
|
monthlyLimit?: number | undefined;
|
|
@@ -1886,12 +1886,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1886
1886
|
id: string;
|
|
1887
1887
|
attributes: {
|
|
1888
1888
|
isDefault?: boolean | undefined;
|
|
1889
|
+
label?: string | undefined;
|
|
1889
1890
|
provider?: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT" | undefined;
|
|
1890
1891
|
bankName?: string | undefined;
|
|
1891
1892
|
accountNumber?: string | undefined;
|
|
1892
1893
|
accountName?: string | undefined;
|
|
1893
1894
|
isActive?: boolean | undefined;
|
|
1894
|
-
label?: string | undefined;
|
|
1895
1895
|
providerAccountId?: string | undefined;
|
|
1896
1896
|
dailyLimit?: number | undefined;
|
|
1897
1897
|
monthlyLimit?: number | undefined;
|
|
@@ -1928,12 +1928,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1928
1928
|
updatedAt: string;
|
|
1929
1929
|
organizationId: string;
|
|
1930
1930
|
isDefault: boolean;
|
|
1931
|
+
label: string;
|
|
1931
1932
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1932
1933
|
bankName: string;
|
|
1933
1934
|
accountNumber: string;
|
|
1934
1935
|
accountName: string;
|
|
1935
1936
|
isActive: boolean;
|
|
1936
|
-
label: string;
|
|
1937
1937
|
providerAccountId: string | null;
|
|
1938
1938
|
dailyLimit: number | null;
|
|
1939
1939
|
monthlyLimit: number | null;
|
|
@@ -1945,12 +1945,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1945
1945
|
updatedAt: string;
|
|
1946
1946
|
organizationId: string;
|
|
1947
1947
|
isDefault: boolean;
|
|
1948
|
+
label: string;
|
|
1948
1949
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1949
1950
|
bankName: string;
|
|
1950
1951
|
accountNumber: string;
|
|
1951
1952
|
accountName: string;
|
|
1952
1953
|
isActive: boolean;
|
|
1953
|
-
label: string;
|
|
1954
1954
|
providerAccountId: string | null;
|
|
1955
1955
|
dailyLimit: number | null;
|
|
1956
1956
|
monthlyLimit: number | null;
|
|
@@ -1969,12 +1969,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1969
1969
|
updatedAt: string;
|
|
1970
1970
|
organizationId: string;
|
|
1971
1971
|
isDefault: boolean;
|
|
1972
|
+
label: string;
|
|
1972
1973
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1973
1974
|
bankName: string;
|
|
1974
1975
|
accountNumber: string;
|
|
1975
1976
|
accountName: string;
|
|
1976
1977
|
isActive: boolean;
|
|
1977
|
-
label: string;
|
|
1978
1978
|
providerAccountId: string | null;
|
|
1979
1979
|
dailyLimit: number | null;
|
|
1980
1980
|
monthlyLimit: number | null;
|
|
@@ -1993,12 +1993,12 @@ export declare const teamPaymentsRouter: {
|
|
|
1993
1993
|
updatedAt: string;
|
|
1994
1994
|
organizationId: string;
|
|
1995
1995
|
isDefault: boolean;
|
|
1996
|
+
label: string;
|
|
1996
1997
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
1997
1998
|
bankName: string;
|
|
1998
1999
|
accountNumber: string;
|
|
1999
2000
|
accountName: string;
|
|
2000
2001
|
isActive: boolean;
|
|
2001
|
-
label: string;
|
|
2002
2002
|
providerAccountId: string | null;
|
|
2003
2003
|
dailyLimit: number | null;
|
|
2004
2004
|
monthlyLimit: number | null;
|
|
@@ -2043,12 +2043,12 @@ export declare const teamPaymentsRouter: {
|
|
|
2043
2043
|
updatedAt: string;
|
|
2044
2044
|
organizationId: string;
|
|
2045
2045
|
isDefault: boolean;
|
|
2046
|
+
label: string;
|
|
2046
2047
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
2047
2048
|
bankName: string;
|
|
2048
2049
|
accountNumber: string;
|
|
2049
2050
|
accountName: string;
|
|
2050
2051
|
isActive: boolean;
|
|
2051
|
-
label: string;
|
|
2052
2052
|
providerAccountId: string | null;
|
|
2053
2053
|
dailyLimit: number | null;
|
|
2054
2054
|
monthlyLimit: number | null;
|
|
@@ -2079,12 +2079,12 @@ export declare const teamPaymentsRouter: {
|
|
|
2079
2079
|
updatedAt: string;
|
|
2080
2080
|
organizationId: string;
|
|
2081
2081
|
isDefault: boolean;
|
|
2082
|
+
label: string;
|
|
2082
2083
|
provider: "OPAY" | "PAYSTACK" | "FLUTTERWAVE" | "MONO" | "OKRA" | "BANK_DIRECT";
|
|
2083
2084
|
bankName: string;
|
|
2084
2085
|
accountNumber: string;
|
|
2085
2086
|
accountName: string;
|
|
2086
2087
|
isActive: boolean;
|
|
2087
|
-
label: string;
|
|
2088
2088
|
providerAccountId: string | null;
|
|
2089
2089
|
dailyLimit: number | null;
|
|
2090
2090
|
monthlyLimit: number | null;
|
|
@@ -3672,6 +3672,149 @@ export declare const farmBrainProposedActionSchema: z.ZodObject<{
|
|
|
3672
3672
|
payload: Record<string, unknown>;
|
|
3673
3673
|
requiresConfirmation?: boolean | undefined;
|
|
3674
3674
|
}>;
|
|
3675
|
+
/** Structured advisory assessment emitted on Farm Brain streams */
|
|
3676
|
+
export declare const advisoryReportSeveritySchema: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
3677
|
+
export declare const advisoryReportFactSchema: z.ZodObject<{
|
|
3678
|
+
label: z.ZodString;
|
|
3679
|
+
value: z.ZodString;
|
|
3680
|
+
}, "strip", z.ZodTypeAny, {
|
|
3681
|
+
value: string;
|
|
3682
|
+
label: string;
|
|
3683
|
+
}, {
|
|
3684
|
+
value: string;
|
|
3685
|
+
label: string;
|
|
3686
|
+
}>;
|
|
3687
|
+
export declare const advisoryReportCauseSchema: z.ZodObject<{
|
|
3688
|
+
title: z.ZodString;
|
|
3689
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
3690
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3691
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3692
|
+
}, "strip", z.ZodTypeAny, {
|
|
3693
|
+
title: string;
|
|
3694
|
+
detail?: string | undefined;
|
|
3695
|
+
sources?: string[] | undefined;
|
|
3696
|
+
probability?: number | undefined;
|
|
3697
|
+
}, {
|
|
3698
|
+
title: string;
|
|
3699
|
+
detail?: string | undefined;
|
|
3700
|
+
sources?: string[] | undefined;
|
|
3701
|
+
probability?: number | undefined;
|
|
3702
|
+
}>;
|
|
3703
|
+
export declare const advisoryReportActionSchema: z.ZodObject<{
|
|
3704
|
+
title: z.ZodString;
|
|
3705
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
3706
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3707
|
+
timing: z.ZodOptional<z.ZodEnum<["today", "this_week", "next_week"]>>;
|
|
3708
|
+
}, "strip", z.ZodTypeAny, {
|
|
3709
|
+
title: string;
|
|
3710
|
+
priority: "low" | "medium" | "high";
|
|
3711
|
+
detail?: string | undefined;
|
|
3712
|
+
timing?: "today" | "this_week" | "next_week" | undefined;
|
|
3713
|
+
}, {
|
|
3714
|
+
title: string;
|
|
3715
|
+
priority: "low" | "medium" | "high";
|
|
3716
|
+
detail?: string | undefined;
|
|
3717
|
+
timing?: "today" | "this_week" | "next_week" | undefined;
|
|
3718
|
+
}>;
|
|
3719
|
+
export declare const advisoryReportSchema: z.ZodObject<{
|
|
3720
|
+
id: z.ZodString;
|
|
3721
|
+
title: z.ZodString;
|
|
3722
|
+
severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
|
|
3723
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
3724
|
+
summary: z.ZodString;
|
|
3725
|
+
facts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3726
|
+
label: z.ZodString;
|
|
3727
|
+
value: z.ZodString;
|
|
3728
|
+
}, "strip", z.ZodTypeAny, {
|
|
3729
|
+
value: string;
|
|
3730
|
+
label: string;
|
|
3731
|
+
}, {
|
|
3732
|
+
value: string;
|
|
3733
|
+
label: string;
|
|
3734
|
+
}>, "many">>;
|
|
3735
|
+
causes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3736
|
+
title: z.ZodString;
|
|
3737
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
3738
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3739
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3740
|
+
}, "strip", z.ZodTypeAny, {
|
|
3741
|
+
title: string;
|
|
3742
|
+
detail?: string | undefined;
|
|
3743
|
+
sources?: string[] | undefined;
|
|
3744
|
+
probability?: number | undefined;
|
|
3745
|
+
}, {
|
|
3746
|
+
title: string;
|
|
3747
|
+
detail?: string | undefined;
|
|
3748
|
+
sources?: string[] | undefined;
|
|
3749
|
+
probability?: number | undefined;
|
|
3750
|
+
}>, "many">>;
|
|
3751
|
+
recommendedActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3752
|
+
title: z.ZodString;
|
|
3753
|
+
priority: z.ZodEnum<["high", "medium", "low"]>;
|
|
3754
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3755
|
+
timing: z.ZodOptional<z.ZodEnum<["today", "this_week", "next_week"]>>;
|
|
3756
|
+
}, "strip", z.ZodTypeAny, {
|
|
3757
|
+
title: string;
|
|
3758
|
+
priority: "low" | "medium" | "high";
|
|
3759
|
+
detail?: string | undefined;
|
|
3760
|
+
timing?: "today" | "this_week" | "next_week" | undefined;
|
|
3761
|
+
}, {
|
|
3762
|
+
title: string;
|
|
3763
|
+
priority: "low" | "medium" | "high";
|
|
3764
|
+
detail?: string | undefined;
|
|
3765
|
+
timing?: "today" | "this_week" | "next_week" | undefined;
|
|
3766
|
+
}>, "many">>;
|
|
3767
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3768
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3769
|
+
}, "strip", z.ZodTypeAny, {
|
|
3770
|
+
id: string;
|
|
3771
|
+
title: string;
|
|
3772
|
+
summary: string;
|
|
3773
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
3774
|
+
sources?: string[] | undefined;
|
|
3775
|
+
confidence?: number | undefined;
|
|
3776
|
+
facts?: {
|
|
3777
|
+
value: string;
|
|
3778
|
+
label: string;
|
|
3779
|
+
}[] | undefined;
|
|
3780
|
+
causes?: {
|
|
3781
|
+
title: string;
|
|
3782
|
+
detail?: string | undefined;
|
|
3783
|
+
sources?: string[] | undefined;
|
|
3784
|
+
probability?: number | undefined;
|
|
3785
|
+
}[] | undefined;
|
|
3786
|
+
recommendedActions?: {
|
|
3787
|
+
title: string;
|
|
3788
|
+
priority: "low" | "medium" | "high";
|
|
3789
|
+
detail?: string | undefined;
|
|
3790
|
+
timing?: "today" | "this_week" | "next_week" | undefined;
|
|
3791
|
+
}[] | undefined;
|
|
3792
|
+
imageUrl?: string | undefined;
|
|
3793
|
+
}, {
|
|
3794
|
+
id: string;
|
|
3795
|
+
title: string;
|
|
3796
|
+
summary: string;
|
|
3797
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
3798
|
+
sources?: string[] | undefined;
|
|
3799
|
+
confidence?: number | undefined;
|
|
3800
|
+
facts?: {
|
|
3801
|
+
value: string;
|
|
3802
|
+
label: string;
|
|
3803
|
+
}[] | undefined;
|
|
3804
|
+
causes?: {
|
|
3805
|
+
title: string;
|
|
3806
|
+
detail?: string | undefined;
|
|
3807
|
+
sources?: string[] | undefined;
|
|
3808
|
+
probability?: number | undefined;
|
|
3809
|
+
}[] | undefined;
|
|
3810
|
+
recommendedActions?: {
|
|
3811
|
+
title: string;
|
|
3812
|
+
priority: "low" | "medium" | "high";
|
|
3813
|
+
detail?: string | undefined;
|
|
3814
|
+
timing?: "today" | "this_week" | "next_week" | undefined;
|
|
3815
|
+
}[] | undefined;
|
|
3816
|
+
imageUrl?: string | undefined;
|
|
3817
|
+
}>;
|
|
3675
3818
|
export declare const farmBrainChatRequestSchema: z.ZodObject<{
|
|
3676
3819
|
message: z.ZodString;
|
|
3677
3820
|
/** Continue an existing AgentConversation when set */
|
|
@@ -4091,6 +4234,7 @@ export type HarvestReadinessResponse = z.infer<typeof harvestReadinessResponseSc
|
|
|
4091
4234
|
export type FarmBrainChatRequest = z.infer<typeof farmBrainChatRequestSchema>;
|
|
4092
4235
|
export type FarmBrainChatResponse = z.infer<typeof farmBrainChatResponseSchema>;
|
|
4093
4236
|
export type FarmBrainProposedAction = z.infer<typeof farmBrainProposedActionSchema>;
|
|
4237
|
+
export type AdvisoryReport = z.infer<typeof advisoryReportSchema>;
|
|
4094
4238
|
export type DailyBriefingResponse = z.infer<typeof dailyBriefingResponseSchema>;
|
|
4095
4239
|
export type FarmBrainLocalizedRequest = z.infer<typeof farmBrainLocalizedRequestSchema>;
|
|
4096
4240
|
export type FarmBrainLocalizedResponse = z.infer<typeof farmBrainLocalizedResponseSchema>;
|