@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
|
@@ -4,14 +4,14 @@ import { z } from 'zod';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const subscriptionTierSchema: z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>;
|
|
6
6
|
export declare const subscriptionStatusSchema: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
7
|
-
export declare const billingCycleSchema: z.ZodEnum<["monthly", "annual", "
|
|
7
|
+
export declare const billingCycleSchema: z.ZodEnum<["monthly", "annual", "custom"]>;
|
|
8
8
|
export declare const satelliteFrequencySchema: z.ZodEnum<["monthly", "weekly", "daily"]>;
|
|
9
9
|
export declare const subscriptionAttributesSchema: z.ZodObject<{
|
|
10
10
|
tier: z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>;
|
|
11
11
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
12
12
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
14
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
14
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
15
15
|
currentPeriodStart: z.ZodString;
|
|
16
16
|
currentPeriodEnd: z.ZodString;
|
|
17
17
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -32,7 +32,7 @@ export declare const subscriptionAttributesSchema: z.ZodObject<{
|
|
|
32
32
|
currentPeriodStart: string;
|
|
33
33
|
currentPeriodEnd: string;
|
|
34
34
|
amount?: number | null | undefined;
|
|
35
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
35
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
36
36
|
cancelledAt?: string | null | undefined;
|
|
37
37
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
38
38
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const subscriptionAttributesSchema: z.ZodObject<{
|
|
|
48
48
|
currentPeriodStart: string;
|
|
49
49
|
currentPeriodEnd: string;
|
|
50
50
|
amount?: number | null | undefined;
|
|
51
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
51
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
52
52
|
cancelledAt?: string | null | undefined;
|
|
53
53
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
54
54
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -60,21 +60,21 @@ export declare const createSubscriptionAttributesSchema: z.ZodObject<{
|
|
|
60
60
|
tier: z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>;
|
|
61
61
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
62
62
|
currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
|
|
63
|
-
billingCycle: z.ZodOptional<z.ZodEnum<["monthly", "annual", "
|
|
63
|
+
billingCycle: z.ZodOptional<z.ZodEnum<["monthly", "annual", "custom"]>>;
|
|
64
64
|
paymentGateway: z.ZodOptional<z.ZodEnum<["flutterwave", "paystack", "stripe", "paypal", "other"]>>;
|
|
65
65
|
gatewaySubscriptionId: z.ZodOptional<z.ZodString>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
currency: "NGN" | "USD";
|
|
68
68
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
69
69
|
amount?: number | undefined;
|
|
70
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
70
|
+
billingCycle?: "custom" | "monthly" | "annual" | undefined;
|
|
71
71
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
72
72
|
gatewaySubscriptionId?: string | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
75
75
|
currency?: "NGN" | "USD" | undefined;
|
|
76
76
|
amount?: number | undefined;
|
|
77
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
77
|
+
billingCycle?: "custom" | "monthly" | "annual" | undefined;
|
|
78
78
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
79
79
|
gatewaySubscriptionId?: string | undefined;
|
|
80
80
|
}>;
|
|
@@ -82,35 +82,35 @@ export declare const upgradeSubscriptionAttributesSchema: z.ZodObject<{
|
|
|
82
82
|
tier: z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>;
|
|
83
83
|
amount: z.ZodNumber;
|
|
84
84
|
currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
|
|
85
|
-
billingCycle: z.ZodEnum<["monthly", "annual", "
|
|
85
|
+
billingCycle: z.ZodEnum<["monthly", "annual", "custom"]>;
|
|
86
86
|
paymentGateway: z.ZodOptional<z.ZodEnum<["flutterwave", "paystack", "stripe", "paypal", "other"]>>;
|
|
87
87
|
gatewaySubscriptionId: z.ZodOptional<z.ZodString>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
currency: "NGN" | "USD";
|
|
90
90
|
amount: number;
|
|
91
91
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
92
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
92
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
93
93
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
94
94
|
gatewaySubscriptionId?: string | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
amount: number;
|
|
97
97
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
98
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
98
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
99
99
|
currency?: "NGN" | "USD" | undefined;
|
|
100
100
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | undefined;
|
|
101
101
|
gatewaySubscriptionId?: string | undefined;
|
|
102
102
|
}>;
|
|
103
103
|
export declare const createSubscriptionPaymentLinkAttributesSchema: z.ZodObject<{
|
|
104
104
|
tier: z.ZodEffects<z.ZodEnum<["FREE", "STARTER_PACK", "COOPERATIVE", "ENTERPRISE", "GOVERNMENT"]>, "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT", "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT">;
|
|
105
|
-
billingCycle: z.ZodEffects<z.ZodEnum<["monthly", "annual", "
|
|
105
|
+
billingCycle: z.ZodEffects<z.ZodEnum<["monthly", "annual", "custom"]>, "monthly" | "annual", "custom" | "monthly" | "annual">;
|
|
106
106
|
currency: z.ZodDefault<z.ZodEnum<["NGN", "USD"]>>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
currency: "NGN" | "USD";
|
|
109
109
|
tier: "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
110
|
-
billingCycle: "monthly" | "annual"
|
|
110
|
+
billingCycle: "monthly" | "annual";
|
|
111
111
|
}, {
|
|
112
112
|
tier: "FREE" | "STARTER_PACK" | "COOPERATIVE" | "ENTERPRISE" | "GOVERNMENT";
|
|
113
|
-
billingCycle: "custom" | "monthly" | "annual"
|
|
113
|
+
billingCycle: "custom" | "monthly" | "annual";
|
|
114
114
|
currency?: "NGN" | "USD" | undefined;
|
|
115
115
|
}>;
|
|
116
116
|
export declare const subscriptionPaymentLinkResponseSchema: z.ZodObject<{
|
|
@@ -154,7 +154,7 @@ export declare const subscriptionResourceSchema: z.ZodObject<{
|
|
|
154
154
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
155
155
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
156
156
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
157
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
157
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
158
158
|
currentPeriodStart: z.ZodString;
|
|
159
159
|
currentPeriodEnd: z.ZodString;
|
|
160
160
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -175,7 +175,7 @@ export declare const subscriptionResourceSchema: z.ZodObject<{
|
|
|
175
175
|
currentPeriodStart: string;
|
|
176
176
|
currentPeriodEnd: string;
|
|
177
177
|
amount?: number | null | undefined;
|
|
178
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
178
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
179
179
|
cancelledAt?: string | null | undefined;
|
|
180
180
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
181
181
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -191,7 +191,7 @@ export declare const subscriptionResourceSchema: z.ZodObject<{
|
|
|
191
191
|
currentPeriodStart: string;
|
|
192
192
|
currentPeriodEnd: string;
|
|
193
193
|
amount?: number | null | undefined;
|
|
194
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
194
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
195
195
|
cancelledAt?: string | null | undefined;
|
|
196
196
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
197
197
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -211,7 +211,7 @@ export declare const subscriptionResourceSchema: z.ZodObject<{
|
|
|
211
211
|
currentPeriodStart: string;
|
|
212
212
|
currentPeriodEnd: string;
|
|
213
213
|
amount?: number | null | undefined;
|
|
214
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
214
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
215
215
|
cancelledAt?: string | null | undefined;
|
|
216
216
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
217
217
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -231,7 +231,7 @@ export declare const subscriptionResourceSchema: z.ZodObject<{
|
|
|
231
231
|
currentPeriodStart: string;
|
|
232
232
|
currentPeriodEnd: string;
|
|
233
233
|
amount?: number | null | undefined;
|
|
234
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
234
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
235
235
|
cancelledAt?: string | null | undefined;
|
|
236
236
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
237
237
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -249,7 +249,7 @@ export declare const subscriptionResponseSchema: z.ZodObject<{
|
|
|
249
249
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
250
250
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
251
251
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
252
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
252
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
253
253
|
currentPeriodStart: z.ZodString;
|
|
254
254
|
currentPeriodEnd: z.ZodString;
|
|
255
255
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -270,7 +270,7 @@ export declare const subscriptionResponseSchema: z.ZodObject<{
|
|
|
270
270
|
currentPeriodStart: string;
|
|
271
271
|
currentPeriodEnd: string;
|
|
272
272
|
amount?: number | null | undefined;
|
|
273
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
273
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
274
274
|
cancelledAt?: string | null | undefined;
|
|
275
275
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
276
276
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -286,7 +286,7 @@ export declare const subscriptionResponseSchema: z.ZodObject<{
|
|
|
286
286
|
currentPeriodStart: string;
|
|
287
287
|
currentPeriodEnd: string;
|
|
288
288
|
amount?: number | null | undefined;
|
|
289
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
289
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
290
290
|
cancelledAt?: string | null | undefined;
|
|
291
291
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
292
292
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -306,7 +306,7 @@ export declare const subscriptionResponseSchema: z.ZodObject<{
|
|
|
306
306
|
currentPeriodStart: string;
|
|
307
307
|
currentPeriodEnd: string;
|
|
308
308
|
amount?: number | null | undefined;
|
|
309
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
309
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
310
310
|
cancelledAt?: string | null | undefined;
|
|
311
311
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
312
312
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -326,7 +326,7 @@ export declare const subscriptionResponseSchema: z.ZodObject<{
|
|
|
326
326
|
currentPeriodStart: string;
|
|
327
327
|
currentPeriodEnd: string;
|
|
328
328
|
amount?: number | null | undefined;
|
|
329
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
329
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
330
330
|
cancelledAt?: string | null | undefined;
|
|
331
331
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
332
332
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -372,7 +372,7 @@ export declare const subscriptionResponseSchema: z.ZodObject<{
|
|
|
372
372
|
currentPeriodStart: string;
|
|
373
373
|
currentPeriodEnd: string;
|
|
374
374
|
amount?: number | null | undefined;
|
|
375
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
375
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
376
376
|
cancelledAt?: string | null | undefined;
|
|
377
377
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
378
378
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -404,7 +404,7 @@ export declare const subscriptionResponseSchema: z.ZodObject<{
|
|
|
404
404
|
currentPeriodStart: string;
|
|
405
405
|
currentPeriodEnd: string;
|
|
406
406
|
amount?: number | null | undefined;
|
|
407
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
407
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
408
408
|
cancelledAt?: string | null | undefined;
|
|
409
409
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
410
410
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -433,7 +433,7 @@ export declare const subscriptionListResponseSchema: z.ZodObject<{
|
|
|
433
433
|
status: z.ZodEnum<["active", "cancelled", "expired", "trial"]>;
|
|
434
434
|
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
435
435
|
currency: z.ZodEnum<["NGN", "USD"]>;
|
|
436
|
-
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "
|
|
436
|
+
billingCycle: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "annual", "custom"]>>>;
|
|
437
437
|
currentPeriodStart: z.ZodString;
|
|
438
438
|
currentPeriodEnd: z.ZodString;
|
|
439
439
|
cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -454,7 +454,7 @@ export declare const subscriptionListResponseSchema: z.ZodObject<{
|
|
|
454
454
|
currentPeriodStart: string;
|
|
455
455
|
currentPeriodEnd: string;
|
|
456
456
|
amount?: number | null | undefined;
|
|
457
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
457
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
458
458
|
cancelledAt?: string | null | undefined;
|
|
459
459
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
460
460
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -470,7 +470,7 @@ export declare const subscriptionListResponseSchema: z.ZodObject<{
|
|
|
470
470
|
currentPeriodStart: string;
|
|
471
471
|
currentPeriodEnd: string;
|
|
472
472
|
amount?: number | null | undefined;
|
|
473
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
473
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
474
474
|
cancelledAt?: string | null | undefined;
|
|
475
475
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
476
476
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -490,7 +490,7 @@ export declare const subscriptionListResponseSchema: z.ZodObject<{
|
|
|
490
490
|
currentPeriodStart: string;
|
|
491
491
|
currentPeriodEnd: string;
|
|
492
492
|
amount?: number | null | undefined;
|
|
493
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
493
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
494
494
|
cancelledAt?: string | null | undefined;
|
|
495
495
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
496
496
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -510,7 +510,7 @@ export declare const subscriptionListResponseSchema: z.ZodObject<{
|
|
|
510
510
|
currentPeriodStart: string;
|
|
511
511
|
currentPeriodEnd: string;
|
|
512
512
|
amount?: number | null | undefined;
|
|
513
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
513
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
514
514
|
cancelledAt?: string | null | undefined;
|
|
515
515
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
516
516
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -556,7 +556,7 @@ export declare const subscriptionListResponseSchema: z.ZodObject<{
|
|
|
556
556
|
currentPeriodStart: string;
|
|
557
557
|
currentPeriodEnd: string;
|
|
558
558
|
amount?: number | null | undefined;
|
|
559
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
559
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
560
560
|
cancelledAt?: string | null | undefined;
|
|
561
561
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
562
562
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -588,7 +588,7 @@ export declare const subscriptionListResponseSchema: z.ZodObject<{
|
|
|
588
588
|
currentPeriodStart: string;
|
|
589
589
|
currentPeriodEnd: string;
|
|
590
590
|
amount?: number | null | undefined;
|
|
591
|
-
billingCycle?: "custom" | "monthly" | "annual" |
|
|
591
|
+
billingCycle?: "custom" | "monthly" | "annual" | null | undefined;
|
|
592
592
|
cancelledAt?: string | null | undefined;
|
|
593
593
|
paymentGateway?: "other" | "flutterwave" | "paystack" | "stripe" | "paypal" | null | undefined;
|
|
594
594
|
gatewaySubscriptionId?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/subscriptions.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,sBAAsB,gFAMjC,CAAC;AAGH,eAAO,MAAM,wBAAwB,wDAKnC,CAAC;AAGH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"subscriptions.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/subscriptions.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eAAO,MAAM,sBAAsB,gFAMjC,CAAC;AAGH,eAAO,MAAM,wBAAwB,wDAKnC,CAAC;AAGH,eAAO,MAAM,kBAAkB,4CAI7B,CAAC;AAGH,eAAO,MAAM,wBAAwB,2CAAyC,CAAC;AAK/E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcf,CAAC;AAG3B,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;EAO7C,CAAC;AAGH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;EAO9C,CAAC;AAGH,eAAO,MAAM,6CAA6C;;;;;;;;;;;;EAQxD,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