@deepintel-ltd/farmpro-contracts 1.5.17 → 1.5.19
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/payments.routes.d.ts +4 -4
- package/dist/routes/payments.routes.js +8 -8
- package/dist/routes/subscriptions.routes.d.ts +288 -56
- package/dist/routes/subscriptions.routes.d.ts.map +1 -1
- package/dist/routes/subscriptions.routes.js +25 -2
- package/dist/schemas/payments.schemas.d.ts +65 -48
- package/dist/schemas/payments.schemas.d.ts.map +1 -1
- package/dist/schemas/payments.schemas.js +18 -15
- package/dist/schemas/subscriptions.schemas.d.ts +32 -32
- package/dist/schemas/subscriptions.schemas.d.ts.map +1 -1
- package/dist/schemas/subscriptions.schemas.js +0 -1
- package/package.json +1 -1
|
@@ -306,7 +306,7 @@ export declare const subscriptionsRouter: {
|
|
|
306
306
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
307
307
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
308
308
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
309
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
309
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
310
310
|
currentPeriodStart: z.ZodString;
|
|
311
311
|
currentPeriodEnd: z.ZodString;
|
|
312
312
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -327,7 +327,7 @@ export declare const subscriptionsRouter: {
|
|
|
327
327
|
currentPeriodStart: string;
|
|
328
328
|
currentPeriodEnd: string;
|
|
329
329
|
amount?: number | null | undefined;
|
|
330
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
330
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
331
331
|
cancelledAt?: string | null | undefined;
|
|
332
332
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
333
333
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -343,7 +343,7 @@ export declare const subscriptionsRouter: {
|
|
|
343
343
|
currentPeriodStart: string;
|
|
344
344
|
currentPeriodEnd: string;
|
|
345
345
|
amount?: number | null | undefined;
|
|
346
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
346
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
347
347
|
cancelledAt?: string | null | undefined;
|
|
348
348
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
349
349
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -363,7 +363,7 @@ export declare const subscriptionsRouter: {
|
|
|
363
363
|
currentPeriodStart: string;
|
|
364
364
|
currentPeriodEnd: string;
|
|
365
365
|
amount?: number | null | undefined;
|
|
366
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
366
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
367
367
|
cancelledAt?: string | null | undefined;
|
|
368
368
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
369
369
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -383,7 +383,7 @@ export declare const subscriptionsRouter: {
|
|
|
383
383
|
currentPeriodStart: string;
|
|
384
384
|
currentPeriodEnd: string;
|
|
385
385
|
amount?: number | null | undefined;
|
|
386
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
386
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
387
387
|
cancelledAt?: string | null | undefined;
|
|
388
388
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
389
389
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -429,7 +429,7 @@ export declare const subscriptionsRouter: {
|
|
|
429
429
|
currentPeriodStart: string;
|
|
430
430
|
currentPeriodEnd: string;
|
|
431
431
|
amount?: number | null | undefined;
|
|
432
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
432
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
433
433
|
cancelledAt?: string | null | undefined;
|
|
434
434
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
435
435
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -461,7 +461,7 @@ export declare const subscriptionsRouter: {
|
|
|
461
461
|
currentPeriodStart: string;
|
|
462
462
|
currentPeriodEnd: string;
|
|
463
463
|
amount?: number | null | undefined;
|
|
464
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
464
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
465
465
|
cancelledAt?: string | null | undefined;
|
|
466
466
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
467
467
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -688,7 +688,7 @@ export declare const subscriptionsRouter: {
|
|
|
688
688
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
689
689
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
690
690
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
691
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
691
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
692
692
|
currentPeriodStart: z.ZodString;
|
|
693
693
|
currentPeriodEnd: z.ZodString;
|
|
694
694
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -709,7 +709,7 @@ export declare const subscriptionsRouter: {
|
|
|
709
709
|
currentPeriodStart: string;
|
|
710
710
|
currentPeriodEnd: string;
|
|
711
711
|
amount?: number | null | undefined;
|
|
712
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
712
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
713
713
|
cancelledAt?: string | null | undefined;
|
|
714
714
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
715
715
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -725,7 +725,7 @@ export declare const subscriptionsRouter: {
|
|
|
725
725
|
currentPeriodStart: string;
|
|
726
726
|
currentPeriodEnd: string;
|
|
727
727
|
amount?: number | null | undefined;
|
|
728
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
728
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
729
729
|
cancelledAt?: string | null | undefined;
|
|
730
730
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
731
731
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -745,7 +745,7 @@ export declare const subscriptionsRouter: {
|
|
|
745
745
|
currentPeriodStart: string;
|
|
746
746
|
currentPeriodEnd: string;
|
|
747
747
|
amount?: number | null | undefined;
|
|
748
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
748
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
749
749
|
cancelledAt?: string | null | undefined;
|
|
750
750
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
751
751
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -765,7 +765,7 @@ export declare const subscriptionsRouter: {
|
|
|
765
765
|
currentPeriodStart: string;
|
|
766
766
|
currentPeriodEnd: string;
|
|
767
767
|
amount?: number | null | undefined;
|
|
768
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
768
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
769
769
|
cancelledAt?: string | null | undefined;
|
|
770
770
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
771
771
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -811,7 +811,7 @@ export declare const subscriptionsRouter: {
|
|
|
811
811
|
currentPeriodStart: string;
|
|
812
812
|
currentPeriodEnd: string;
|
|
813
813
|
amount?: number | null | undefined;
|
|
814
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
814
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
815
815
|
cancelledAt?: string | null | undefined;
|
|
816
816
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
817
817
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -843,7 +843,7 @@ export declare const subscriptionsRouter: {
|
|
|
843
843
|
currentPeriodStart: string;
|
|
844
844
|
currentPeriodEnd: string;
|
|
845
845
|
amount?: number | null | undefined;
|
|
846
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
846
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
847
847
|
cancelledAt?: string | null | undefined;
|
|
848
848
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
849
849
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1084,7 +1084,7 @@ export declare const subscriptionsRouter: {
|
|
|
1084
1084
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
1085
1085
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1086
1086
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
1087
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
1087
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
1088
1088
|
currentPeriodStart: z.ZodString;
|
|
1089
1089
|
currentPeriodEnd: z.ZodString;
|
|
1090
1090
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1105,7 +1105,7 @@ export declare const subscriptionsRouter: {
|
|
|
1105
1105
|
currentPeriodStart: string;
|
|
1106
1106
|
currentPeriodEnd: string;
|
|
1107
1107
|
amount?: number | null | undefined;
|
|
1108
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1108
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1109
1109
|
cancelledAt?: string | null | undefined;
|
|
1110
1110
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1111
1111
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1121,7 +1121,7 @@ export declare const subscriptionsRouter: {
|
|
|
1121
1121
|
currentPeriodStart: string;
|
|
1122
1122
|
currentPeriodEnd: string;
|
|
1123
1123
|
amount?: number | null | undefined;
|
|
1124
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1124
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1125
1125
|
cancelledAt?: string | null | undefined;
|
|
1126
1126
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1127
1127
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1141,7 +1141,7 @@ export declare const subscriptionsRouter: {
|
|
|
1141
1141
|
currentPeriodStart: string;
|
|
1142
1142
|
currentPeriodEnd: string;
|
|
1143
1143
|
amount?: number | null | undefined;
|
|
1144
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1144
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1145
1145
|
cancelledAt?: string | null | undefined;
|
|
1146
1146
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1147
1147
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1161,7 +1161,7 @@ export declare const subscriptionsRouter: {
|
|
|
1161
1161
|
currentPeriodStart: string;
|
|
1162
1162
|
currentPeriodEnd: string;
|
|
1163
1163
|
amount?: number | null | undefined;
|
|
1164
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1164
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1165
1165
|
cancelledAt?: string | null | undefined;
|
|
1166
1166
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1167
1167
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1207,7 +1207,7 @@ export declare const subscriptionsRouter: {
|
|
|
1207
1207
|
currentPeriodStart: string;
|
|
1208
1208
|
currentPeriodEnd: string;
|
|
1209
1209
|
amount?: number | null | undefined;
|
|
1210
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1210
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1211
1211
|
cancelledAt?: string | null | undefined;
|
|
1212
1212
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1213
1213
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1239,7 +1239,7 @@ export declare const subscriptionsRouter: {
|
|
|
1239
1239
|
currentPeriodStart: string;
|
|
1240
1240
|
currentPeriodEnd: string;
|
|
1241
1241
|
amount?: number | null | undefined;
|
|
1242
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1242
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1243
1243
|
cancelledAt?: string | null | undefined;
|
|
1244
1244
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1245
1245
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1457,15 +1457,15 @@ export declare const subscriptionsRouter: {
|
|
|
1457
1457
|
type: z.ZodLiteral<"subscriptions">;
|
|
1458
1458
|
attributes: z.ZodObject<{
|
|
1459
1459
|
tier: z.ZodEffects<z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>, "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT", "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT">;
|
|
1460
|
-
billingCycle: z.ZodEffects<z.ZodEnum<["monthly", "annual", "
|
|
1460
|
+
billingCycle: z.ZodEffects<z.ZodEnum<["monthly", "annual", "custom"]>, "monthly" | "annual", "custom" | "monthly" | "annual">;
|
|
1461
1461
|
currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
|
|
1462
1462
|
}, "strip", z.ZodTypeAny, {
|
|
1463
1463
|
currency: "NGN" | "USD";
|
|
1464
1464
|
tier: "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1465
|
-
billingCycle: "monthly" | "annual"
|
|
1465
|
+
billingCycle: "monthly" | "annual";
|
|
1466
1466
|
}, {
|
|
1467
1467
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1468
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1468
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1469
1469
|
currency?: "NGN" | "USD" | undefined;
|
|
1470
1470
|
}>;
|
|
1471
1471
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1473,13 +1473,13 @@ export declare const subscriptionsRouter: {
|
|
|
1473
1473
|
attributes: {
|
|
1474
1474
|
currency: "NGN" | "USD";
|
|
1475
1475
|
tier: "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1476
|
-
billingCycle: "monthly" | "annual"
|
|
1476
|
+
billingCycle: "monthly" | "annual";
|
|
1477
1477
|
};
|
|
1478
1478
|
}, {
|
|
1479
1479
|
type: "subscriptions";
|
|
1480
1480
|
attributes: {
|
|
1481
1481
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1482
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1482
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1483
1483
|
currency?: "NGN" | "USD" | undefined;
|
|
1484
1484
|
};
|
|
1485
1485
|
}>;
|
|
@@ -1489,7 +1489,7 @@ export declare const subscriptionsRouter: {
|
|
|
1489
1489
|
attributes: {
|
|
1490
1490
|
currency: "NGN" | "USD";
|
|
1491
1491
|
tier: "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1492
|
-
billingCycle: "monthly" | "annual"
|
|
1492
|
+
billingCycle: "monthly" | "annual";
|
|
1493
1493
|
};
|
|
1494
1494
|
};
|
|
1495
1495
|
}, {
|
|
@@ -1497,7 +1497,7 @@ export declare const subscriptionsRouter: {
|
|
|
1497
1497
|
type: "subscriptions";
|
|
1498
1498
|
attributes: {
|
|
1499
1499
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1500
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1500
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1501
1501
|
currency?: "NGN" | "USD" | undefined;
|
|
1502
1502
|
};
|
|
1503
1503
|
};
|
|
@@ -1827,20 +1827,20 @@ export declare const subscriptionsRouter: {
|
|
|
1827
1827
|
tier: z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>;
|
|
1828
1828
|
amount: z.ZodNumber;
|
|
1829
1829
|
currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
|
|
1830
|
-
billingCycle: z.ZodEnum<["monthly", "annual", "
|
|
1830
|
+
billingCycle: z.ZodEnum<["monthly", "annual", "custom"]>;
|
|
1831
1831
|
paymentGateway: z.ZodOptional<z.ZodEnum<["flutterwave", "paystack", "stripe", "paypal", "other"]>>;
|
|
1832
1832
|
gatewaySubscriptionId: z.ZodOptional<z.ZodString>;
|
|
1833
1833
|
}, "strip", z.ZodTypeAny, {
|
|
1834
1834
|
currency: "NGN" | "USD";
|
|
1835
1835
|
amount: number;
|
|
1836
1836
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1837
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1837
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1838
1838
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
1839
1839
|
gatewaySubscriptionId?: string | undefined;
|
|
1840
1840
|
}, {
|
|
1841
1841
|
amount: number;
|
|
1842
1842
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1843
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1843
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1844
1844
|
currency?: "NGN" | "USD" | undefined;
|
|
1845
1845
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
1846
1846
|
gatewaySubscriptionId?: string | undefined;
|
|
@@ -1851,7 +1851,7 @@ export declare const subscriptionsRouter: {
|
|
|
1851
1851
|
currency: "NGN" | "USD";
|
|
1852
1852
|
amount: number;
|
|
1853
1853
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1854
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1854
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1855
1855
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
1856
1856
|
gatewaySubscriptionId?: string | undefined;
|
|
1857
1857
|
};
|
|
@@ -1860,7 +1860,7 @@ export declare const subscriptionsRouter: {
|
|
|
1860
1860
|
attributes: {
|
|
1861
1861
|
amount: number;
|
|
1862
1862
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1863
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1863
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1864
1864
|
currency?: "NGN" | "USD" | undefined;
|
|
1865
1865
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
1866
1866
|
gatewaySubscriptionId?: string | undefined;
|
|
@@ -1873,7 +1873,7 @@ export declare const subscriptionsRouter: {
|
|
|
1873
1873
|
currency: "NGN" | "USD";
|
|
1874
1874
|
amount: number;
|
|
1875
1875
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1876
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1876
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1877
1877
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
1878
1878
|
gatewaySubscriptionId?: string | undefined;
|
|
1879
1879
|
};
|
|
@@ -1884,7 +1884,7 @@ export declare const subscriptionsRouter: {
|
|
|
1884
1884
|
attributes: {
|
|
1885
1885
|
amount: number;
|
|
1886
1886
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
1887
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
1887
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
1888
1888
|
currency?: "NGN" | "USD" | undefined;
|
|
1889
1889
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
1890
1890
|
gatewaySubscriptionId?: string | undefined;
|
|
@@ -1902,7 +1902,7 @@ export declare const subscriptionsRouter: {
|
|
|
1902
1902
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
1903
1903
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1904
1904
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
1905
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
1905
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
1906
1906
|
currentPeriodStart: z.ZodString;
|
|
1907
1907
|
currentPeriodEnd: z.ZodString;
|
|
1908
1908
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1923,7 +1923,7 @@ export declare const subscriptionsRouter: {
|
|
|
1923
1923
|
currentPeriodStart: string;
|
|
1924
1924
|
currentPeriodEnd: string;
|
|
1925
1925
|
amount?: number | null | undefined;
|
|
1926
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1926
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1927
1927
|
cancelledAt?: string | null | undefined;
|
|
1928
1928
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1929
1929
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1939,7 +1939,7 @@ export declare const subscriptionsRouter: {
|
|
|
1939
1939
|
currentPeriodStart: string;
|
|
1940
1940
|
currentPeriodEnd: string;
|
|
1941
1941
|
amount?: number | null | undefined;
|
|
1942
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1942
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1943
1943
|
cancelledAt?: string | null | undefined;
|
|
1944
1944
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1945
1945
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1959,7 +1959,7 @@ export declare const subscriptionsRouter: {
|
|
|
1959
1959
|
currentPeriodStart: string;
|
|
1960
1960
|
currentPeriodEnd: string;
|
|
1961
1961
|
amount?: number | null | undefined;
|
|
1962
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1962
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1963
1963
|
cancelledAt?: string | null | undefined;
|
|
1964
1964
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1965
1965
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1979,7 +1979,7 @@ export declare const subscriptionsRouter: {
|
|
|
1979
1979
|
currentPeriodStart: string;
|
|
1980
1980
|
currentPeriodEnd: string;
|
|
1981
1981
|
amount?: number | null | undefined;
|
|
1982
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
1982
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
1983
1983
|
cancelledAt?: string | null | undefined;
|
|
1984
1984
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
1985
1985
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2025,7 +2025,7 @@ export declare const subscriptionsRouter: {
|
|
|
2025
2025
|
currentPeriodStart: string;
|
|
2026
2026
|
currentPeriodEnd: string;
|
|
2027
2027
|
amount?: number | null | undefined;
|
|
2028
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2028
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2029
2029
|
cancelledAt?: string | null | undefined;
|
|
2030
2030
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2031
2031
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2057,7 +2057,7 @@ export declare const subscriptionsRouter: {
|
|
|
2057
2057
|
currentPeriodStart: string;
|
|
2058
2058
|
currentPeriodEnd: string;
|
|
2059
2059
|
amount?: number | null | undefined;
|
|
2060
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2060
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2061
2061
|
cancelledAt?: string | null | undefined;
|
|
2062
2062
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2063
2063
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2375,7 +2375,7 @@ export declare const subscriptionsRouter: {
|
|
|
2375
2375
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
2376
2376
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2377
2377
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
2378
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
2378
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
2379
2379
|
currentPeriodStart: z.ZodString;
|
|
2380
2380
|
currentPeriodEnd: z.ZodString;
|
|
2381
2381
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2396,7 +2396,7 @@ export declare const subscriptionsRouter: {
|
|
|
2396
2396
|
currentPeriodStart: string;
|
|
2397
2397
|
currentPeriodEnd: string;
|
|
2398
2398
|
amount?: number | null | undefined;
|
|
2399
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2399
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2400
2400
|
cancelledAt?: string | null | undefined;
|
|
2401
2401
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2402
2402
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2412,7 +2412,7 @@ export declare const subscriptionsRouter: {
|
|
|
2412
2412
|
currentPeriodStart: string;
|
|
2413
2413
|
currentPeriodEnd: string;
|
|
2414
2414
|
amount?: number | null | undefined;
|
|
2415
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2415
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2416
2416
|
cancelledAt?: string | null | undefined;
|
|
2417
2417
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2418
2418
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2432,7 +2432,7 @@ export declare const subscriptionsRouter: {
|
|
|
2432
2432
|
currentPeriodStart: string;
|
|
2433
2433
|
currentPeriodEnd: string;
|
|
2434
2434
|
amount?: number | null | undefined;
|
|
2435
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2435
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2436
2436
|
cancelledAt?: string | null | undefined;
|
|
2437
2437
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2438
2438
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2452,7 +2452,7 @@ export declare const subscriptionsRouter: {
|
|
|
2452
2452
|
currentPeriodStart: string;
|
|
2453
2453
|
currentPeriodEnd: string;
|
|
2454
2454
|
amount?: number | null | undefined;
|
|
2455
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2455
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2456
2456
|
cancelledAt?: string | null | undefined;
|
|
2457
2457
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2458
2458
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2498,7 +2498,7 @@ export declare const subscriptionsRouter: {
|
|
|
2498
2498
|
currentPeriodStart: string;
|
|
2499
2499
|
currentPeriodEnd: string;
|
|
2500
2500
|
amount?: number | null | undefined;
|
|
2501
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2501
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2502
2502
|
cancelledAt?: string | null | undefined;
|
|
2503
2503
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2504
2504
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -2530,7 +2530,7 @@ export declare const subscriptionsRouter: {
|
|
|
2530
2530
|
currentPeriodStart: string;
|
|
2531
2531
|
currentPeriodEnd: string;
|
|
2532
2532
|
amount?: number | null | undefined;
|
|
2533
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
2533
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
2534
2534
|
cancelledAt?: string | null | undefined;
|
|
2535
2535
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
2536
2536
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -3573,7 +3573,7 @@ export declare const subscriptionsRouter: {
|
|
|
3573
3573
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
3574
3574
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3575
3575
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
3576
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
3576
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
3577
3577
|
currentPeriodStart: z.ZodString;
|
|
3578
3578
|
currentPeriodEnd: z.ZodString;
|
|
3579
3579
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3594,7 +3594,7 @@ export declare const subscriptionsRouter: {
|
|
|
3594
3594
|
currentPeriodStart: string;
|
|
3595
3595
|
currentPeriodEnd: string;
|
|
3596
3596
|
amount?: number | null | undefined;
|
|
3597
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
3597
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
3598
3598
|
cancelledAt?: string | null | undefined;
|
|
3599
3599
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
3600
3600
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -3610,7 +3610,7 @@ export declare const subscriptionsRouter: {
|
|
|
3610
3610
|
currentPeriodStart: string;
|
|
3611
3611
|
currentPeriodEnd: string;
|
|
3612
3612
|
amount?: number | null | undefined;
|
|
3613
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
3613
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
3614
3614
|
cancelledAt?: string | null | undefined;
|
|
3615
3615
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
3616
3616
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -3630,7 +3630,7 @@ export declare const subscriptionsRouter: {
|
|
|
3630
3630
|
currentPeriodStart: string;
|
|
3631
3631
|
currentPeriodEnd: string;
|
|
3632
3632
|
amount?: number | null | undefined;
|
|
3633
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
3633
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
3634
3634
|
cancelledAt?: string | null | undefined;
|
|
3635
3635
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
3636
3636
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -3650,7 +3650,7 @@ export declare const subscriptionsRouter: {
|
|
|
3650
3650
|
currentPeriodStart: string;
|
|
3651
3651
|
currentPeriodEnd: string;
|
|
3652
3652
|
amount?: number | null | undefined;
|
|
3653
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
3653
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
3654
3654
|
cancelledAt?: string | null | undefined;
|
|
3655
3655
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
3656
3656
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -3696,7 +3696,7 @@ export declare const subscriptionsRouter: {
|
|
|
3696
3696
|
currentPeriodStart: string;
|
|
3697
3697
|
currentPeriodEnd: string;
|
|
3698
3698
|
amount?: number | null | undefined;
|
|
3699
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
3699
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
3700
3700
|
cancelledAt?: string | null | undefined;
|
|
3701
3701
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
3702
3702
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -3728,7 +3728,7 @@ export declare const subscriptionsRouter: {
|
|
|
3728
3728
|
currentPeriodStart: string;
|
|
3729
3729
|
currentPeriodEnd: string;
|
|
3730
3730
|
amount?: number | null | undefined;
|
|
3731
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
3731
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
3732
3732
|
cancelledAt?: string | null | undefined;
|
|
3733
3733
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
3734
3734
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -4020,5 +4020,237 @@ export declare const subscriptionsRouter: {
|
|
|
4020
4020
|
}>;
|
|
4021
4021
|
};
|
|
4022
4022
|
};
|
|
4023
|
+
confirmSubscriptionPayment: {
|
|
4024
|
+
query: z.ZodObject<{
|
|
4025
|
+
trxref: z.ZodOptional<z.ZodString>;
|
|
4026
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
}, "strip", z.ZodTypeAny, {
|
|
4028
|
+
reference?: string | undefined;
|
|
4029
|
+
trxref?: string | undefined;
|
|
4030
|
+
}, {
|
|
4031
|
+
reference?: string | undefined;
|
|
4032
|
+
trxref?: string | undefined;
|
|
4033
|
+
}>;
|
|
4034
|
+
summary: "Confirm subscription payment";
|
|
4035
|
+
description: "Public endpoint for payment gateway redirect callback. Verifies payment and activates subscription. Redirects to success page or returns JSON response.";
|
|
4036
|
+
method: "GET";
|
|
4037
|
+
path: "/subscriptions/confirm";
|
|
4038
|
+
responses: {
|
|
4039
|
+
200: z.ZodObject<{
|
|
4040
|
+
status: z.ZodLiteral<"success">;
|
|
4041
|
+
message: z.ZodString;
|
|
4042
|
+
data: z.ZodObject<{
|
|
4043
|
+
subscriptionId: z.ZodString;
|
|
4044
|
+
farmId: z.ZodString;
|
|
4045
|
+
tier: z.ZodString;
|
|
4046
|
+
}, "strip", z.ZodTypeAny, {
|
|
4047
|
+
farmId: string;
|
|
4048
|
+
tier: string;
|
|
4049
|
+
subscriptionId: string;
|
|
4050
|
+
}, {
|
|
4051
|
+
farmId: string;
|
|
4052
|
+
tier: string;
|
|
4053
|
+
subscriptionId: string;
|
|
4054
|
+
}>;
|
|
4055
|
+
}, "strip", z.ZodTypeAny, {
|
|
4056
|
+
status: "success";
|
|
4057
|
+
message: string;
|
|
4058
|
+
data: {
|
|
4059
|
+
farmId: string;
|
|
4060
|
+
tier: string;
|
|
4061
|
+
subscriptionId: string;
|
|
4062
|
+
};
|
|
4063
|
+
}, {
|
|
4064
|
+
status: "success";
|
|
4065
|
+
message: string;
|
|
4066
|
+
data: {
|
|
4067
|
+
farmId: string;
|
|
4068
|
+
tier: string;
|
|
4069
|
+
subscriptionId: string;
|
|
4070
|
+
};
|
|
4071
|
+
}>;
|
|
4072
|
+
302: z.ZodAny;
|
|
4073
|
+
400: z.ZodObject<{
|
|
4074
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4075
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4077
|
+
about: z.ZodOptional<z.ZodString>;
|
|
4078
|
+
}, "strip", z.ZodTypeAny, {
|
|
4079
|
+
about?: string | undefined;
|
|
4080
|
+
}, {
|
|
4081
|
+
about?: string | undefined;
|
|
4082
|
+
}>>;
|
|
4083
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4084
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4085
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4086
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4087
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4088
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
4089
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
4090
|
+
}, "strip", z.ZodTypeAny, {
|
|
4091
|
+
pointer?: string | undefined;
|
|
4092
|
+
parameter?: string | undefined;
|
|
4093
|
+
}, {
|
|
4094
|
+
pointer?: string | undefined;
|
|
4095
|
+
parameter?: string | undefined;
|
|
4096
|
+
}>>;
|
|
4097
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4098
|
+
}, "strip", z.ZodTypeAny, {
|
|
4099
|
+
status?: string | undefined;
|
|
4100
|
+
code?: string | undefined;
|
|
4101
|
+
id?: string | undefined;
|
|
4102
|
+
links?: {
|
|
4103
|
+
about?: string | undefined;
|
|
4104
|
+
} | undefined;
|
|
4105
|
+
meta?: Record<string, unknown> | undefined;
|
|
4106
|
+
title?: string | undefined;
|
|
4107
|
+
detail?: string | undefined;
|
|
4108
|
+
source?: {
|
|
4109
|
+
pointer?: string | undefined;
|
|
4110
|
+
parameter?: string | undefined;
|
|
4111
|
+
} | undefined;
|
|
4112
|
+
}, {
|
|
4113
|
+
status?: string | undefined;
|
|
4114
|
+
code?: string | undefined;
|
|
4115
|
+
id?: string | undefined;
|
|
4116
|
+
links?: {
|
|
4117
|
+
about?: string | undefined;
|
|
4118
|
+
} | undefined;
|
|
4119
|
+
meta?: Record<string, unknown> | undefined;
|
|
4120
|
+
title?: string | undefined;
|
|
4121
|
+
detail?: string | undefined;
|
|
4122
|
+
source?: {
|
|
4123
|
+
pointer?: string | undefined;
|
|
4124
|
+
parameter?: string | undefined;
|
|
4125
|
+
} | undefined;
|
|
4126
|
+
}>, "many">;
|
|
4127
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4128
|
+
}, "strip", z.ZodTypeAny, {
|
|
4129
|
+
errors: {
|
|
4130
|
+
status?: string | undefined;
|
|
4131
|
+
code?: string | undefined;
|
|
4132
|
+
id?: string | undefined;
|
|
4133
|
+
links?: {
|
|
4134
|
+
about?: string | undefined;
|
|
4135
|
+
} | undefined;
|
|
4136
|
+
meta?: Record<string, unknown> | undefined;
|
|
4137
|
+
title?: string | undefined;
|
|
4138
|
+
detail?: string | undefined;
|
|
4139
|
+
source?: {
|
|
4140
|
+
pointer?: string | undefined;
|
|
4141
|
+
parameter?: string | undefined;
|
|
4142
|
+
} | undefined;
|
|
4143
|
+
}[];
|
|
4144
|
+
meta?: Record<string, unknown> | undefined;
|
|
4145
|
+
}, {
|
|
4146
|
+
errors: {
|
|
4147
|
+
status?: string | undefined;
|
|
4148
|
+
code?: string | undefined;
|
|
4149
|
+
id?: string | undefined;
|
|
4150
|
+
links?: {
|
|
4151
|
+
about?: string | undefined;
|
|
4152
|
+
} | undefined;
|
|
4153
|
+
meta?: Record<string, unknown> | undefined;
|
|
4154
|
+
title?: string | undefined;
|
|
4155
|
+
detail?: string | undefined;
|
|
4156
|
+
source?: {
|
|
4157
|
+
pointer?: string | undefined;
|
|
4158
|
+
parameter?: string | undefined;
|
|
4159
|
+
} | undefined;
|
|
4160
|
+
}[];
|
|
4161
|
+
meta?: Record<string, unknown> | undefined;
|
|
4162
|
+
}>;
|
|
4163
|
+
404: z.ZodObject<{
|
|
4164
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4165
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4166
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
4167
|
+
about: z.ZodOptional<z.ZodString>;
|
|
4168
|
+
}, "strip", z.ZodTypeAny, {
|
|
4169
|
+
about?: string | undefined;
|
|
4170
|
+
}, {
|
|
4171
|
+
about?: string | undefined;
|
|
4172
|
+
}>>;
|
|
4173
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4174
|
+
code: z.ZodOptional<z.ZodString>;
|
|
4175
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
4177
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
4178
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
4179
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
4180
|
+
}, "strip", z.ZodTypeAny, {
|
|
4181
|
+
pointer?: string | undefined;
|
|
4182
|
+
parameter?: string | undefined;
|
|
4183
|
+
}, {
|
|
4184
|
+
pointer?: string | undefined;
|
|
4185
|
+
parameter?: string | undefined;
|
|
4186
|
+
}>>;
|
|
4187
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4188
|
+
}, "strip", z.ZodTypeAny, {
|
|
4189
|
+
status?: string | undefined;
|
|
4190
|
+
code?: string | undefined;
|
|
4191
|
+
id?: string | undefined;
|
|
4192
|
+
links?: {
|
|
4193
|
+
about?: string | undefined;
|
|
4194
|
+
} | undefined;
|
|
4195
|
+
meta?: Record<string, unknown> | undefined;
|
|
4196
|
+
title?: string | undefined;
|
|
4197
|
+
detail?: string | undefined;
|
|
4198
|
+
source?: {
|
|
4199
|
+
pointer?: string | undefined;
|
|
4200
|
+
parameter?: string | undefined;
|
|
4201
|
+
} | undefined;
|
|
4202
|
+
}, {
|
|
4203
|
+
status?: string | undefined;
|
|
4204
|
+
code?: string | undefined;
|
|
4205
|
+
id?: string | undefined;
|
|
4206
|
+
links?: {
|
|
4207
|
+
about?: string | undefined;
|
|
4208
|
+
} | undefined;
|
|
4209
|
+
meta?: Record<string, unknown> | undefined;
|
|
4210
|
+
title?: string | undefined;
|
|
4211
|
+
detail?: string | undefined;
|
|
4212
|
+
source?: {
|
|
4213
|
+
pointer?: string | undefined;
|
|
4214
|
+
parameter?: string | undefined;
|
|
4215
|
+
} | undefined;
|
|
4216
|
+
}>, "many">;
|
|
4217
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4218
|
+
}, "strip", z.ZodTypeAny, {
|
|
4219
|
+
errors: {
|
|
4220
|
+
status?: string | undefined;
|
|
4221
|
+
code?: string | undefined;
|
|
4222
|
+
id?: string | undefined;
|
|
4223
|
+
links?: {
|
|
4224
|
+
about?: string | undefined;
|
|
4225
|
+
} | undefined;
|
|
4226
|
+
meta?: Record<string, unknown> | undefined;
|
|
4227
|
+
title?: string | undefined;
|
|
4228
|
+
detail?: string | undefined;
|
|
4229
|
+
source?: {
|
|
4230
|
+
pointer?: string | undefined;
|
|
4231
|
+
parameter?: string | undefined;
|
|
4232
|
+
} | undefined;
|
|
4233
|
+
}[];
|
|
4234
|
+
meta?: Record<string, unknown> | undefined;
|
|
4235
|
+
}, {
|
|
4236
|
+
errors: {
|
|
4237
|
+
status?: string | undefined;
|
|
4238
|
+
code?: string | undefined;
|
|
4239
|
+
id?: string | undefined;
|
|
4240
|
+
links?: {
|
|
4241
|
+
about?: string | undefined;
|
|
4242
|
+
} | undefined;
|
|
4243
|
+
meta?: Record<string, unknown> | undefined;
|
|
4244
|
+
title?: string | undefined;
|
|
4245
|
+
detail?: string | undefined;
|
|
4246
|
+
source?: {
|
|
4247
|
+
pointer?: string | undefined;
|
|
4248
|
+
parameter?: string | undefined;
|
|
4249
|
+
} | undefined;
|
|
4250
|
+
}[];
|
|
4251
|
+
meta?: Record<string, unknown> | undefined;
|
|
4252
|
+
}>;
|
|
4253
|
+
};
|
|
4254
|
+
};
|
|
4023
4255
|
};
|
|
4024
4256
|
//# sourceMappingURL=subscriptions.routes.d.ts.map
|