@deepintel-ltd/farmpro-contracts 1.16.15 → 1.17.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.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/routes/farms.routes.d.ts +523 -70
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/field-activities.routes.d.ts +32 -32
- package/dist/routes/payments.routes.d.ts +22 -22
- package/dist/routes/subscriptions.routes.d.ts +52 -16
- package/dist/routes/subscriptions.routes.d.ts.map +1 -1
- package/dist/routes/subscriptions.routes.js +2 -1
- package/dist/schemas/farms.schemas.d.ts +610 -84
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +25 -4
- package/dist/schemas/field-activities.schemas.d.ts +28 -28
- package/dist/schemas/locale.schemas.d.ts +95 -0
- package/dist/schemas/locale.schemas.d.ts.map +1 -0
- package/dist/schemas/locale.schemas.js +54 -0
- package/dist/schemas/payments.schemas.d.ts +22 -22
- package/dist/schemas/subscriptions.schemas.d.ts +77 -13
- package/dist/schemas/subscriptions.schemas.d.ts.map +1 -1
- package/dist/schemas/subscriptions.schemas.js +11 -10
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farms.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farms.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"farms.routes.d.ts","sourceRoot":"","sources":["../../src/routes/farms.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HtB,CAAC"}
|
|
@@ -56,7 +56,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
56
56
|
updatedAt: z.ZodString;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
type: "weeding" | "fertilizer";
|
|
59
|
-
source: "
|
|
59
|
+
source: "whatsapp" | "manual" | "agent";
|
|
60
60
|
createdAt: string;
|
|
61
61
|
updatedAt: string;
|
|
62
62
|
method: string | null;
|
|
@@ -72,7 +72,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
72
72
|
fieldName?: string | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
type: "weeding" | "fertilizer";
|
|
75
|
-
source: "
|
|
75
|
+
source: "whatsapp" | "manual" | "agent";
|
|
76
76
|
createdAt: string;
|
|
77
77
|
updatedAt: string;
|
|
78
78
|
method: string | null;
|
|
@@ -95,7 +95,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
95
95
|
id: string;
|
|
96
96
|
attributes: {
|
|
97
97
|
type: "weeding" | "fertilizer";
|
|
98
|
-
source: "
|
|
98
|
+
source: "whatsapp" | "manual" | "agent";
|
|
99
99
|
createdAt: string;
|
|
100
100
|
updatedAt: string;
|
|
101
101
|
method: string | null;
|
|
@@ -118,7 +118,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
118
118
|
id: string;
|
|
119
119
|
attributes: {
|
|
120
120
|
type: "weeding" | "fertilizer";
|
|
121
|
-
source: "
|
|
121
|
+
source: "whatsapp" | "manual" | "agent";
|
|
122
122
|
createdAt: string;
|
|
123
123
|
updatedAt: string;
|
|
124
124
|
method: string | null;
|
|
@@ -167,7 +167,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
167
167
|
id: string;
|
|
168
168
|
attributes: {
|
|
169
169
|
type: "weeding" | "fertilizer";
|
|
170
|
-
source: "
|
|
170
|
+
source: "whatsapp" | "manual" | "agent";
|
|
171
171
|
createdAt: string;
|
|
172
172
|
updatedAt: string;
|
|
173
173
|
method: string | null;
|
|
@@ -202,7 +202,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
202
202
|
id: string;
|
|
203
203
|
attributes: {
|
|
204
204
|
type: "weeding" | "fertilizer";
|
|
205
|
-
source: "
|
|
205
|
+
source: "whatsapp" | "manual" | "agent";
|
|
206
206
|
createdAt: string;
|
|
207
207
|
updatedAt: string;
|
|
208
208
|
method: string | null;
|
|
@@ -443,7 +443,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
443
443
|
type: "weeding" | "fertilizer";
|
|
444
444
|
occurredAt: string;
|
|
445
445
|
fieldId: string;
|
|
446
|
-
source?: "
|
|
446
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
447
447
|
method?: string | undefined;
|
|
448
448
|
notes?: string | undefined;
|
|
449
449
|
quantity?: number | undefined;
|
|
@@ -455,7 +455,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
455
455
|
type: "weeding" | "fertilizer";
|
|
456
456
|
occurredAt: string;
|
|
457
457
|
fieldId: string;
|
|
458
|
-
source?: "
|
|
458
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
459
459
|
method?: string | undefined;
|
|
460
460
|
notes?: string | undefined;
|
|
461
461
|
quantity?: number | undefined;
|
|
@@ -467,7 +467,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
467
467
|
type: "weeding" | "fertilizer";
|
|
468
468
|
occurredAt: string;
|
|
469
469
|
fieldId: string;
|
|
470
|
-
source?: "
|
|
470
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
471
471
|
method?: string | undefined;
|
|
472
472
|
notes?: string | undefined;
|
|
473
473
|
quantity?: number | undefined;
|
|
@@ -479,7 +479,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
479
479
|
type: "weeding" | "fertilizer";
|
|
480
480
|
occurredAt: string;
|
|
481
481
|
fieldId: string;
|
|
482
|
-
source?: "
|
|
482
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
483
483
|
method?: string | undefined;
|
|
484
484
|
notes?: string | undefined;
|
|
485
485
|
quantity?: number | undefined;
|
|
@@ -494,7 +494,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
494
494
|
type: "weeding" | "fertilizer";
|
|
495
495
|
occurredAt: string;
|
|
496
496
|
fieldId: string;
|
|
497
|
-
source?: "
|
|
497
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
498
498
|
method?: string | undefined;
|
|
499
499
|
notes?: string | undefined;
|
|
500
500
|
quantity?: number | undefined;
|
|
@@ -509,7 +509,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
509
509
|
type: "weeding" | "fertilizer";
|
|
510
510
|
occurredAt: string;
|
|
511
511
|
fieldId: string;
|
|
512
|
-
source?: "
|
|
512
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
513
513
|
method?: string | undefined;
|
|
514
514
|
notes?: string | undefined;
|
|
515
515
|
quantity?: number | undefined;
|
|
@@ -526,7 +526,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
526
526
|
type: "weeding" | "fertilizer";
|
|
527
527
|
occurredAt: string;
|
|
528
528
|
fieldId: string;
|
|
529
|
-
source?: "
|
|
529
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
530
530
|
method?: string | undefined;
|
|
531
531
|
notes?: string | undefined;
|
|
532
532
|
quantity?: number | undefined;
|
|
@@ -543,7 +543,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
543
543
|
type: "weeding" | "fertilizer";
|
|
544
544
|
occurredAt: string;
|
|
545
545
|
fieldId: string;
|
|
546
|
-
source?: "
|
|
546
|
+
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
547
547
|
method?: string | undefined;
|
|
548
548
|
notes?: string | undefined;
|
|
549
549
|
quantity?: number | undefined;
|
|
@@ -579,7 +579,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
579
579
|
updatedAt: z.ZodString;
|
|
580
580
|
}, "strip", z.ZodTypeAny, {
|
|
581
581
|
type: "weeding" | "fertilizer";
|
|
582
|
-
source: "
|
|
582
|
+
source: "whatsapp" | "manual" | "agent";
|
|
583
583
|
createdAt: string;
|
|
584
584
|
updatedAt: string;
|
|
585
585
|
method: string | null;
|
|
@@ -595,7 +595,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
595
595
|
fieldName?: string | undefined;
|
|
596
596
|
}, {
|
|
597
597
|
type: "weeding" | "fertilizer";
|
|
598
|
-
source: "
|
|
598
|
+
source: "whatsapp" | "manual" | "agent";
|
|
599
599
|
createdAt: string;
|
|
600
600
|
updatedAt: string;
|
|
601
601
|
method: string | null;
|
|
@@ -618,7 +618,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
618
618
|
id: string;
|
|
619
619
|
attributes: {
|
|
620
620
|
type: "weeding" | "fertilizer";
|
|
621
|
-
source: "
|
|
621
|
+
source: "whatsapp" | "manual" | "agent";
|
|
622
622
|
createdAt: string;
|
|
623
623
|
updatedAt: string;
|
|
624
624
|
method: string | null;
|
|
@@ -641,7 +641,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
641
641
|
id: string;
|
|
642
642
|
attributes: {
|
|
643
643
|
type: "weeding" | "fertilizer";
|
|
644
|
-
source: "
|
|
644
|
+
source: "whatsapp" | "manual" | "agent";
|
|
645
645
|
createdAt: string;
|
|
646
646
|
updatedAt: string;
|
|
647
647
|
method: string | null;
|
|
@@ -690,7 +690,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
690
690
|
id: string;
|
|
691
691
|
attributes: {
|
|
692
692
|
type: "weeding" | "fertilizer";
|
|
693
|
-
source: "
|
|
693
|
+
source: "whatsapp" | "manual" | "agent";
|
|
694
694
|
createdAt: string;
|
|
695
695
|
updatedAt: string;
|
|
696
696
|
method: string | null;
|
|
@@ -725,7 +725,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
725
725
|
id: string;
|
|
726
726
|
attributes: {
|
|
727
727
|
type: "weeding" | "fertilizer";
|
|
728
|
-
source: "
|
|
728
|
+
source: "whatsapp" | "manual" | "agent";
|
|
729
729
|
createdAt: string;
|
|
730
730
|
updatedAt: string;
|
|
731
731
|
method: string | null;
|
|
@@ -1155,7 +1155,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1155
1155
|
updatedAt: z.ZodString;
|
|
1156
1156
|
}, "strip", z.ZodTypeAny, {
|
|
1157
1157
|
type: "weeding" | "fertilizer";
|
|
1158
|
-
source: "
|
|
1158
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1159
1159
|
createdAt: string;
|
|
1160
1160
|
updatedAt: string;
|
|
1161
1161
|
method: string | null;
|
|
@@ -1171,7 +1171,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1171
1171
|
fieldName?: string | undefined;
|
|
1172
1172
|
}, {
|
|
1173
1173
|
type: "weeding" | "fertilizer";
|
|
1174
|
-
source: "
|
|
1174
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1175
1175
|
createdAt: string;
|
|
1176
1176
|
updatedAt: string;
|
|
1177
1177
|
method: string | null;
|
|
@@ -1194,7 +1194,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1194
1194
|
id: string;
|
|
1195
1195
|
attributes: {
|
|
1196
1196
|
type: "weeding" | "fertilizer";
|
|
1197
|
-
source: "
|
|
1197
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1198
1198
|
createdAt: string;
|
|
1199
1199
|
updatedAt: string;
|
|
1200
1200
|
method: string | null;
|
|
@@ -1217,7 +1217,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1217
1217
|
id: string;
|
|
1218
1218
|
attributes: {
|
|
1219
1219
|
type: "weeding" | "fertilizer";
|
|
1220
|
-
source: "
|
|
1220
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1221
1221
|
createdAt: string;
|
|
1222
1222
|
updatedAt: string;
|
|
1223
1223
|
method: string | null;
|
|
@@ -1266,7 +1266,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1266
1266
|
id: string;
|
|
1267
1267
|
attributes: {
|
|
1268
1268
|
type: "weeding" | "fertilizer";
|
|
1269
|
-
source: "
|
|
1269
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1270
1270
|
createdAt: string;
|
|
1271
1271
|
updatedAt: string;
|
|
1272
1272
|
method: string | null;
|
|
@@ -1301,7 +1301,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1301
1301
|
id: string;
|
|
1302
1302
|
attributes: {
|
|
1303
1303
|
type: "weeding" | "fertilizer";
|
|
1304
|
-
source: "
|
|
1304
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1305
1305
|
createdAt: string;
|
|
1306
1306
|
updatedAt: string;
|
|
1307
1307
|
method: string | null;
|
|
@@ -1641,7 +1641,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1641
1641
|
updatedAt: z.ZodString;
|
|
1642
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1643
1643
|
type: "weeding" | "fertilizer";
|
|
1644
|
-
source: "
|
|
1644
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1645
1645
|
createdAt: string;
|
|
1646
1646
|
updatedAt: string;
|
|
1647
1647
|
method: string | null;
|
|
@@ -1657,7 +1657,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1657
1657
|
fieldName?: string | undefined;
|
|
1658
1658
|
}, {
|
|
1659
1659
|
type: "weeding" | "fertilizer";
|
|
1660
|
-
source: "
|
|
1660
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1661
1661
|
createdAt: string;
|
|
1662
1662
|
updatedAt: string;
|
|
1663
1663
|
method: string | null;
|
|
@@ -1680,7 +1680,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1680
1680
|
id: string;
|
|
1681
1681
|
attributes: {
|
|
1682
1682
|
type: "weeding" | "fertilizer";
|
|
1683
|
-
source: "
|
|
1683
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1684
1684
|
createdAt: string;
|
|
1685
1685
|
updatedAt: string;
|
|
1686
1686
|
method: string | null;
|
|
@@ -1703,7 +1703,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1703
1703
|
id: string;
|
|
1704
1704
|
attributes: {
|
|
1705
1705
|
type: "weeding" | "fertilizer";
|
|
1706
|
-
source: "
|
|
1706
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1707
1707
|
createdAt: string;
|
|
1708
1708
|
updatedAt: string;
|
|
1709
1709
|
method: string | null;
|
|
@@ -1752,7 +1752,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1752
1752
|
id: string;
|
|
1753
1753
|
attributes: {
|
|
1754
1754
|
type: "weeding" | "fertilizer";
|
|
1755
|
-
source: "
|
|
1755
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1756
1756
|
createdAt: string;
|
|
1757
1757
|
updatedAt: string;
|
|
1758
1758
|
method: string | null;
|
|
@@ -1787,7 +1787,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1787
1787
|
id: string;
|
|
1788
1788
|
attributes: {
|
|
1789
1789
|
type: "weeding" | "fertilizer";
|
|
1790
|
-
source: "
|
|
1790
|
+
source: "whatsapp" | "manual" | "agent";
|
|
1791
1791
|
createdAt: string;
|
|
1792
1792
|
updatedAt: string;
|
|
1793
1793
|
method: string | null;
|
|
@@ -73,7 +73,7 @@ export declare const paymentsRouter: {
|
|
|
73
73
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
74
74
|
metadata?: Record<string, unknown> | null | undefined;
|
|
75
75
|
description?: string | null | undefined;
|
|
76
|
-
paymentMethod?: "
|
|
76
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
77
77
|
gatewayTxRef?: string | null | undefined;
|
|
78
78
|
gatewayTxId?: string | null | undefined;
|
|
79
79
|
failureReason?: string | null | undefined;
|
|
@@ -87,7 +87,7 @@ export declare const paymentsRouter: {
|
|
|
87
87
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
88
88
|
metadata?: Record<string, unknown> | null | undefined;
|
|
89
89
|
description?: string | null | undefined;
|
|
90
|
-
paymentMethod?: "
|
|
90
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
91
91
|
gatewayTxRef?: string | null | undefined;
|
|
92
92
|
gatewayTxId?: string | null | undefined;
|
|
93
93
|
failureReason?: string | null | undefined;
|
|
@@ -108,7 +108,7 @@ export declare const paymentsRouter: {
|
|
|
108
108
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
109
109
|
metadata?: Record<string, unknown> | null | undefined;
|
|
110
110
|
description?: string | null | undefined;
|
|
111
|
-
paymentMethod?: "
|
|
111
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
112
112
|
gatewayTxRef?: string | null | undefined;
|
|
113
113
|
gatewayTxId?: string | null | undefined;
|
|
114
114
|
failureReason?: string | null | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const paymentsRouter: {
|
|
|
129
129
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
130
130
|
metadata?: Record<string, unknown> | null | undefined;
|
|
131
131
|
description?: string | null | undefined;
|
|
132
|
-
paymentMethod?: "
|
|
132
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
133
133
|
gatewayTxRef?: string | null | undefined;
|
|
134
134
|
gatewayTxId?: string | null | undefined;
|
|
135
135
|
failureReason?: string | null | undefined;
|
|
@@ -176,7 +176,7 @@ export declare const paymentsRouter: {
|
|
|
176
176
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
177
177
|
metadata?: Record<string, unknown> | null | undefined;
|
|
178
178
|
description?: string | null | undefined;
|
|
179
|
-
paymentMethod?: "
|
|
179
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
180
180
|
gatewayTxRef?: string | null | undefined;
|
|
181
181
|
gatewayTxId?: string | null | undefined;
|
|
182
182
|
failureReason?: string | null | undefined;
|
|
@@ -209,7 +209,7 @@ export declare const paymentsRouter: {
|
|
|
209
209
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
210
210
|
metadata?: Record<string, unknown> | null | undefined;
|
|
211
211
|
description?: string | null | undefined;
|
|
212
|
-
paymentMethod?: "
|
|
212
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
213
213
|
gatewayTxRef?: string | null | undefined;
|
|
214
214
|
gatewayTxId?: string | null | undefined;
|
|
215
215
|
failureReason?: string | null | undefined;
|
|
@@ -463,7 +463,7 @@ export declare const paymentsRouter: {
|
|
|
463
463
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
464
464
|
metadata?: Record<string, unknown> | null | undefined;
|
|
465
465
|
description?: string | null | undefined;
|
|
466
|
-
paymentMethod?: "
|
|
466
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
467
467
|
gatewayTxRef?: string | null | undefined;
|
|
468
468
|
gatewayTxId?: string | null | undefined;
|
|
469
469
|
failureReason?: string | null | undefined;
|
|
@@ -477,7 +477,7 @@ export declare const paymentsRouter: {
|
|
|
477
477
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
478
478
|
metadata?: Record<string, unknown> | null | undefined;
|
|
479
479
|
description?: string | null | undefined;
|
|
480
|
-
paymentMethod?: "
|
|
480
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
481
481
|
gatewayTxRef?: string | null | undefined;
|
|
482
482
|
gatewayTxId?: string | null | undefined;
|
|
483
483
|
failureReason?: string | null | undefined;
|
|
@@ -498,7 +498,7 @@ export declare const paymentsRouter: {
|
|
|
498
498
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
499
499
|
metadata?: Record<string, unknown> | null | undefined;
|
|
500
500
|
description?: string | null | undefined;
|
|
501
|
-
paymentMethod?: "
|
|
501
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
502
502
|
gatewayTxRef?: string | null | undefined;
|
|
503
503
|
gatewayTxId?: string | null | undefined;
|
|
504
504
|
failureReason?: string | null | undefined;
|
|
@@ -519,7 +519,7 @@ export declare const paymentsRouter: {
|
|
|
519
519
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
520
520
|
metadata?: Record<string, unknown> | null | undefined;
|
|
521
521
|
description?: string | null | undefined;
|
|
522
|
-
paymentMethod?: "
|
|
522
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
523
523
|
gatewayTxRef?: string | null | undefined;
|
|
524
524
|
gatewayTxId?: string | null | undefined;
|
|
525
525
|
failureReason?: string | null | undefined;
|
|
@@ -566,7 +566,7 @@ export declare const paymentsRouter: {
|
|
|
566
566
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
567
567
|
metadata?: Record<string, unknown> | null | undefined;
|
|
568
568
|
description?: string | null | undefined;
|
|
569
|
-
paymentMethod?: "
|
|
569
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
570
570
|
gatewayTxRef?: string | null | undefined;
|
|
571
571
|
gatewayTxId?: string | null | undefined;
|
|
572
572
|
failureReason?: string | null | undefined;
|
|
@@ -599,7 +599,7 @@ export declare const paymentsRouter: {
|
|
|
599
599
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
600
600
|
metadata?: Record<string, unknown> | null | undefined;
|
|
601
601
|
description?: string | null | undefined;
|
|
602
|
-
paymentMethod?: "
|
|
602
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
603
603
|
gatewayTxRef?: string | null | undefined;
|
|
604
604
|
gatewayTxId?: string | null | undefined;
|
|
605
605
|
failureReason?: string | null | undefined;
|
|
@@ -831,7 +831,7 @@ export declare const paymentsRouter: {
|
|
|
831
831
|
phone?: string | undefined;
|
|
832
832
|
metadata?: Record<string, unknown> | undefined;
|
|
833
833
|
description?: string | undefined;
|
|
834
|
-
paymentMethod?: "
|
|
834
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
|
|
835
835
|
}, {
|
|
836
836
|
email: string;
|
|
837
837
|
currency: "NGN" | "USD";
|
|
@@ -840,7 +840,7 @@ export declare const paymentsRouter: {
|
|
|
840
840
|
phone?: string | undefined;
|
|
841
841
|
metadata?: Record<string, unknown> | undefined;
|
|
842
842
|
description?: string | undefined;
|
|
843
|
-
paymentMethod?: "
|
|
843
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
|
|
844
844
|
}>;
|
|
845
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
846
|
data: {
|
|
@@ -851,7 +851,7 @@ export declare const paymentsRouter: {
|
|
|
851
851
|
phone?: string | undefined;
|
|
852
852
|
metadata?: Record<string, unknown> | undefined;
|
|
853
853
|
description?: string | undefined;
|
|
854
|
-
paymentMethod?: "
|
|
854
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
|
|
855
855
|
};
|
|
856
856
|
}, {
|
|
857
857
|
data: {
|
|
@@ -862,7 +862,7 @@ export declare const paymentsRouter: {
|
|
|
862
862
|
phone?: string | undefined;
|
|
863
863
|
metadata?: Record<string, unknown> | undefined;
|
|
864
864
|
description?: string | undefined;
|
|
865
|
-
paymentMethod?: "
|
|
865
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | undefined;
|
|
866
866
|
};
|
|
867
867
|
}>;
|
|
868
868
|
path: "/farms/:farmId/payments/initialize";
|
|
@@ -1302,7 +1302,7 @@ export declare const paymentsRouter: {
|
|
|
1302
1302
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
1303
1303
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1304
1304
|
description?: string | null | undefined;
|
|
1305
|
-
paymentMethod?: "
|
|
1305
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
1306
1306
|
gatewayTxRef?: string | null | undefined;
|
|
1307
1307
|
gatewayTxId?: string | null | undefined;
|
|
1308
1308
|
failureReason?: string | null | undefined;
|
|
@@ -1316,7 +1316,7 @@ export declare const paymentsRouter: {
|
|
|
1316
1316
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
1317
1317
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1318
1318
|
description?: string | null | undefined;
|
|
1319
|
-
paymentMethod?: "
|
|
1319
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
1320
1320
|
gatewayTxRef?: string | null | undefined;
|
|
1321
1321
|
gatewayTxId?: string | null | undefined;
|
|
1322
1322
|
failureReason?: string | null | undefined;
|
|
@@ -1337,7 +1337,7 @@ export declare const paymentsRouter: {
|
|
|
1337
1337
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
1338
1338
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1339
1339
|
description?: string | null | undefined;
|
|
1340
|
-
paymentMethod?: "
|
|
1340
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
1341
1341
|
gatewayTxRef?: string | null | undefined;
|
|
1342
1342
|
gatewayTxId?: string | null | undefined;
|
|
1343
1343
|
failureReason?: string | null | undefined;
|
|
@@ -1358,7 +1358,7 @@ export declare const paymentsRouter: {
|
|
|
1358
1358
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
1359
1359
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1360
1360
|
description?: string | null | undefined;
|
|
1361
|
-
paymentMethod?: "
|
|
1361
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
1362
1362
|
gatewayTxRef?: string | null | undefined;
|
|
1363
1363
|
gatewayTxId?: string | null | undefined;
|
|
1364
1364
|
failureReason?: string | null | undefined;
|
|
@@ -1405,7 +1405,7 @@ export declare const paymentsRouter: {
|
|
|
1405
1405
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
1406
1406
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1407
1407
|
description?: string | null | undefined;
|
|
1408
|
-
paymentMethod?: "
|
|
1408
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
1409
1409
|
gatewayTxRef?: string | null | undefined;
|
|
1410
1410
|
gatewayTxId?: string | null | undefined;
|
|
1411
1411
|
failureReason?: string | null | undefined;
|
|
@@ -1438,7 +1438,7 @@ export declare const paymentsRouter: {
|
|
|
1438
1438
|
gateway: "other" | "flutterwave" | "paystack" | "stripe" | "paypal";
|
|
1439
1439
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1440
1440
|
description?: string | null | undefined;
|
|
1441
|
-
paymentMethod?: "
|
|
1441
|
+
paymentMethod?: "ussd" | "card" | "bank_transfer" | "mobile_money" | "account" | null | undefined;
|
|
1442
1442
|
gatewayTxRef?: string | null | undefined;
|
|
1443
1443
|
gatewayTxId?: string | null | undefined;
|
|
1444
1444
|
failureReason?: string | null | undefined;
|