founder-schema 0.30.0 → 0.31.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/core/errors.d.ts +5 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/errors.js +13 -0
- package/dist/core/errors.js.map +1 -1
- package/dist/core/limits.d.ts +17 -0
- package/dist/core/limits.d.ts.map +1 -1
- package/dist/core/limits.js +17 -0
- package/dist/core/limits.js.map +1 -1
- package/dist/core/responses.d.ts +4 -0
- package/dist/core/responses.d.ts.map +1 -1
- package/dist/domains/billing/billing.d.ts +373 -11
- package/dist/domains/billing/billing.d.ts.map +1 -1
- package/dist/domains/billing/billing.js +168 -2
- package/dist/domains/billing/billing.js.map +1 -1
- package/dist/domains/billing/emails.d.ts +171 -0
- package/dist/domains/billing/emails.d.ts.map +1 -0
- package/dist/domains/billing/emails.js +121 -0
- package/dist/domains/billing/emails.js.map +1 -0
- package/dist/domains/billing/payment-method.d.ts +63 -0
- package/dist/domains/billing/payment-method.d.ts.map +1 -0
- package/dist/domains/billing/payment-method.js +57 -0
- package/dist/domains/billing/payment-method.js.map +1 -0
- package/dist/domains/membership/membership.d.ts +127 -0
- package/dist/domains/membership/membership.d.ts.map +1 -1
- package/dist/domains/membership/membership.js +87 -0
- package/dist/domains/membership/membership.js.map +1 -1
- package/dist/domains/notifications/notifications.d.ts +38 -1
- package/dist/domains/notifications/notifications.d.ts.map +1 -1
- package/dist/domains/notifications/notifications.js +33 -2
- package/dist/domains/notifications/notifications.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
* PATCH /api/v1/staff/coupons/:couponId updateCouponBodySchema -> couponSchema
|
|
18
18
|
* PUT /api/v1/members/:memberId/membership setMembershipBodySchema -> memberDetailSchema
|
|
19
19
|
*
|
|
20
|
+
* Auto-renewal (0.31.0, payments v2; founder-circle-backend docs/payments-v2-plan.md 3a):
|
|
21
|
+
* POST /api/v1/billing/auto-renewals startAutoRenewalBodySchema -> createOrderResponseSchema ('subscription')
|
|
22
|
+
* GET /api/v1/billing/auto-renewals/:autoRenewalId autoRenewalStateSchema (polled after authorising)
|
|
23
|
+
* POST /api/v1/billing/auto-renewals/:autoRenewalId/confirm confirmAutoRenewalBodySchema -> autoRenewalStateSchema
|
|
24
|
+
* POST /api/v1/billing/auto-renewals/:autoRenewalId/cancel -> autoRenewalStateSchema (off at the period's end)
|
|
25
|
+
* POST /api/v1/billing/auto-renewals/:autoRenewalId/payment-method -> paymentMethodUpdateSchema
|
|
26
|
+
* (a plan bought with `autoRenew: true` on POST /billing/orders answers 'subscription' too)
|
|
27
|
+
*
|
|
20
28
|
* THE ONE RULE: THE SERVER PRICES, THE CLIENT CHOOSES. A request names what it
|
|
21
29
|
* wants (an item) and maybe a coupon CODE; it never names an amount. Every
|
|
22
30
|
* amount here is the server's, in integer paise, GST included.
|
|
@@ -76,7 +84,11 @@ export declare const taxSplitSchema: z.ZodObject<{
|
|
|
76
84
|
total: z.ZodNumber;
|
|
77
85
|
}, z.core.$strip>;
|
|
78
86
|
export type TaxSplit = z.infer<typeof taxSplitSchema>;
|
|
79
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* `POST /billing/quote`. The state is optional: without it, no tax split.
|
|
89
|
+
* `autoRenew` (0.31.0): price it as an auto-renewing plan, so the quote carries
|
|
90
|
+
* the terms the member must see before authorising (`quote.autoRenew`).
|
|
91
|
+
*/
|
|
80
92
|
export declare const quoteBodySchema: z.ZodObject<{
|
|
81
93
|
item: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
82
94
|
kind: z.ZodLiteral<"membership">;
|
|
@@ -132,6 +144,7 @@ export declare const quoteBodySchema: z.ZodObject<{
|
|
|
132
144
|
37: "37";
|
|
133
145
|
38: "38";
|
|
134
146
|
}>>;
|
|
147
|
+
autoRenew: z.ZodOptional<z.ZodBoolean>;
|
|
135
148
|
}, z.core.$strip>;
|
|
136
149
|
export type QuoteBody = z.infer<typeof quoteBodySchema>;
|
|
137
150
|
/** What a plan or an upgrade would do to the plan, priced now. */
|
|
@@ -165,11 +178,15 @@ export type AppliedCoupon = z.infer<typeof appliedCouponSchema>;
|
|
|
165
178
|
* PLAN_NOTHING_TO_UPGRADE an upgrade with no Premium time left
|
|
166
179
|
* PLAN_TERM_LIMIT past `PLAN_AHEAD_MAX_YEARS` of plan time
|
|
167
180
|
* PLAN_UPGRADE_INSTEAD Business bought while on Premium (that is an upgrade)
|
|
181
|
+
* AUTO_RENEW_STOPPED an auto-renewal's charge that landed after the
|
|
182
|
+
* auto-renewal was stopped at once (a refund, the
|
|
183
|
+
* membership ended, the account deleted) and the
|
|
184
|
+
* gateway's cancel had not taken yet (0.31.0)
|
|
168
185
|
* GRANT_REFUSED any other refusal of the grant: still recorded and
|
|
169
186
|
* refunded, never left captured for nothing (the
|
|
170
187
|
* server logs which one, to add it here)
|
|
171
188
|
*/
|
|
172
|
-
export declare const GRANT_FAILURE_VALUES: readonly ["AMOUNT_MISMATCH", "ACCOUNT_DELETED", "COUPON_ALREADY_USED", "MEMBERSHIP_REQUIRED", "ALREADY_MEMBER", "PLAN_CHANGED", "PLAN_NOTHING_TO_UPGRADE", "PLAN_TERM_LIMIT", "PLAN_UPGRADE_INSTEAD", "GRANT_REFUSED"];
|
|
189
|
+
export declare const GRANT_FAILURE_VALUES: readonly ["AMOUNT_MISMATCH", "ACCOUNT_DELETED", "COUPON_ALREADY_USED", "MEMBERSHIP_REQUIRED", "ALREADY_MEMBER", "PLAN_CHANGED", "PLAN_NOTHING_TO_UPGRADE", "PLAN_TERM_LIMIT", "PLAN_UPGRADE_INSTEAD", "GRANT_REFUSED", "AUTO_RENEW_STOPPED"];
|
|
173
190
|
export declare const grantFailureSchema: z.ZodEnum<{
|
|
174
191
|
MEMBERSHIP_REQUIRED: "MEMBERSHIP_REQUIRED";
|
|
175
192
|
ALREADY_MEMBER: "ALREADY_MEMBER";
|
|
@@ -181,8 +198,33 @@ export declare const grantFailureSchema: z.ZodEnum<{
|
|
|
181
198
|
AMOUNT_MISMATCH: "AMOUNT_MISMATCH";
|
|
182
199
|
ACCOUNT_DELETED: "ACCOUNT_DELETED";
|
|
183
200
|
GRANT_REFUSED: "GRANT_REFUSED";
|
|
201
|
+
AUTO_RENEW_STOPPED: "AUTO_RENEW_STOPPED";
|
|
184
202
|
}>;
|
|
185
203
|
export type GrantFailure = z.infer<typeof grantFailureSchema>;
|
|
204
|
+
/**
|
|
205
|
+
* What an auto-renewing plan will charge (0.31.0), for the disclosure next to
|
|
206
|
+
* Pay. India's 2023 dark-pattern guidelines: the member is told, before
|
|
207
|
+
* authorising, that it renews, how much, how often and from when, and that it
|
|
208
|
+
* can be turned off.
|
|
209
|
+
*
|
|
210
|
+
* chargesNow true: `amount` is taken now and buys the first period.
|
|
211
|
+
* false: time of this tier is already held, so nothing is
|
|
212
|
+
* taken now; the mandate is authorised and the first charge is
|
|
213
|
+
* on `firstChargeAt`, when that time ends.
|
|
214
|
+
* firstChargeAt now (chargesNow) or the end of the time held
|
|
215
|
+
* nextChargeAt the charge after the first: one `period` later, India's calendar
|
|
216
|
+
*/
|
|
217
|
+
export declare const autoRenewTermsSchema: z.ZodObject<{
|
|
218
|
+
amount: z.ZodNumber;
|
|
219
|
+
period: z.ZodEnum<{
|
|
220
|
+
month: "month";
|
|
221
|
+
year: "year";
|
|
222
|
+
}>;
|
|
223
|
+
chargesNow: z.ZodBoolean;
|
|
224
|
+
firstChargeAt: z.ZodISODateTime;
|
|
225
|
+
nextChargeAt: z.ZodISODateTime;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
export type AutoRenewTerms = z.infer<typeof autoRenewTermsSchema>;
|
|
186
228
|
export declare const quoteSchema: z.ZodObject<{
|
|
187
229
|
item: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
188
230
|
kind: z.ZodLiteral<"membership">;
|
|
@@ -225,6 +267,16 @@ export declare const quoteSchema: z.ZodObject<{
|
|
|
225
267
|
total: z.ZodNumber;
|
|
226
268
|
}, z.core.$strip>>;
|
|
227
269
|
refundWindowDays: z.ZodNumber;
|
|
270
|
+
autoRenew: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
271
|
+
amount: z.ZodNumber;
|
|
272
|
+
period: z.ZodEnum<{
|
|
273
|
+
month: "month";
|
|
274
|
+
year: "year";
|
|
275
|
+
}>;
|
|
276
|
+
chargesNow: z.ZodBoolean;
|
|
277
|
+
firstChargeAt: z.ZodISODateTime;
|
|
278
|
+
nextChargeAt: z.ZodISODateTime;
|
|
279
|
+
}, z.core.$strip>>>;
|
|
228
280
|
}, z.core.$strip>;
|
|
229
281
|
export type Quote = z.infer<typeof quoteSchema>;
|
|
230
282
|
/**
|
|
@@ -243,8 +295,8 @@ export declare const orderStatusSchema: z.ZodEnum<{
|
|
|
243
295
|
paid: "paid";
|
|
244
296
|
refunded: "refunded";
|
|
245
297
|
created: "created";
|
|
246
|
-
granted_free: "granted_free";
|
|
247
298
|
expired: "expired";
|
|
299
|
+
granted_free: "granted_free";
|
|
248
300
|
refund_pending: "refund_pending";
|
|
249
301
|
refund_failed: "refund_failed";
|
|
250
302
|
}>;
|
|
@@ -315,6 +367,7 @@ export declare const createOrderBodySchema: z.ZodObject<{
|
|
|
315
367
|
legalName: z.ZodOptional<z.ZodString>;
|
|
316
368
|
address: z.ZodOptional<z.ZodString>;
|
|
317
369
|
}, z.core.$strip>>;
|
|
370
|
+
autoRenew: z.ZodOptional<z.ZodBoolean>;
|
|
318
371
|
}, z.core.$strip>;
|
|
319
372
|
export type CreateOrderBody = z.infer<typeof createOrderBodySchema>;
|
|
320
373
|
/**
|
|
@@ -342,6 +395,32 @@ export declare const createOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
342
395
|
contact: z.ZodOptional<z.ZodString>;
|
|
343
396
|
}, z.core.$strip>;
|
|
344
397
|
}, z.core.$strip>;
|
|
398
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
399
|
+
status: z.ZodLiteral<"subscription">;
|
|
400
|
+
autoRenewalId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
401
|
+
orderId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
402
|
+
expiresAt: z.ZodISODateTime;
|
|
403
|
+
terms: z.ZodObject<{
|
|
404
|
+
amount: z.ZodNumber;
|
|
405
|
+
period: z.ZodEnum<{
|
|
406
|
+
month: "month";
|
|
407
|
+
year: "year";
|
|
408
|
+
}>;
|
|
409
|
+
chargesNow: z.ZodBoolean;
|
|
410
|
+
firstChargeAt: z.ZodISODateTime;
|
|
411
|
+
nextChargeAt: z.ZodISODateTime;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
checkout: z.ZodObject<{
|
|
414
|
+
keyId: z.ZodString;
|
|
415
|
+
razorpaySubscriptionId: z.ZodString;
|
|
416
|
+
name: z.ZodString;
|
|
417
|
+
description: z.ZodString;
|
|
418
|
+
prefill: z.ZodObject<{
|
|
419
|
+
name: z.ZodString;
|
|
420
|
+
email: z.ZodString;
|
|
421
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
422
|
+
}, z.core.$strip>;
|
|
423
|
+
}, z.core.$strip>;
|
|
345
424
|
}, z.core.$strip>], "status">;
|
|
346
425
|
export type CreateOrderResponse = z.infer<typeof createOrderResponseSchema>;
|
|
347
426
|
export declare const orderParamsSchema: z.ZodObject<{
|
|
@@ -355,6 +434,155 @@ export declare const confirmOrderBodySchema: z.ZodObject<{
|
|
|
355
434
|
razorpaySignature: z.ZodString;
|
|
356
435
|
}, z.core.$strip>;
|
|
357
436
|
export type ConfirmOrderBody = z.infer<typeof confirmOrderBodySchema>;
|
|
437
|
+
export declare const autoRenewalParamsSchema: z.ZodObject<{
|
|
438
|
+
autoRenewalId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
439
|
+
}, z.core.$strip>;
|
|
440
|
+
export type AutoRenewalParams = z.infer<typeof autoRenewalParamsSchema>;
|
|
441
|
+
/**
|
|
442
|
+
* `POST /billing/auto-renewals`: turn auto-renew ON for the plan time already
|
|
443
|
+
* held (Me > Plans, after turning it off, after an upgrade). Nothing is taken
|
|
444
|
+
* now; the first charge is when the time it follows ends (`terms.chargesNow`
|
|
445
|
+
* false):
|
|
446
|
+
*
|
|
447
|
+
* the tier's own time held it starts when that tier's time ends
|
|
448
|
+
* Premium while only Business is held (a DOWNGRADE, "switch to Premium at
|
|
449
|
+
* renewal") it starts when the Business time ends
|
|
450
|
+
*
|
|
451
|
+
* Refused (`AUTO_RENEW_NOT_OFFERED`) with no plan time held (buy the plan with
|
|
452
|
+
* `autoRenew` instead), for Business while only Premium is held (that is an
|
|
453
|
+
* upgrade), while another auto-renewal holds the slot (one whose stop is
|
|
454
|
+
* already requested does not), or while auto-renew is off on this server.
|
|
455
|
+
*
|
|
456
|
+
* `billing`: the place of supply every renewal's invoice needs. Without it the
|
|
457
|
+
* member's saved details are used; with neither, `VALIDATION_ERROR` on
|
|
458
|
+
* `billing.stateCode`, as for an order.
|
|
459
|
+
*/
|
|
460
|
+
export declare const startAutoRenewalBodySchema: z.ZodObject<{
|
|
461
|
+
tier: z.ZodEnum<{
|
|
462
|
+
premium: "premium";
|
|
463
|
+
business: "business";
|
|
464
|
+
}>;
|
|
465
|
+
period: z.ZodEnum<{
|
|
466
|
+
month: "month";
|
|
467
|
+
year: "year";
|
|
468
|
+
}>;
|
|
469
|
+
billing: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
stateCode: z.ZodEnum<{
|
|
471
|
+
"01": "01";
|
|
472
|
+
"02": "02";
|
|
473
|
+
"03": "03";
|
|
474
|
+
"04": "04";
|
|
475
|
+
"05": "05";
|
|
476
|
+
"06": "06";
|
|
477
|
+
"07": "07";
|
|
478
|
+
"08": "08";
|
|
479
|
+
"09": "09";
|
|
480
|
+
10: "10";
|
|
481
|
+
11: "11";
|
|
482
|
+
12: "12";
|
|
483
|
+
13: "13";
|
|
484
|
+
14: "14";
|
|
485
|
+
15: "15";
|
|
486
|
+
16: "16";
|
|
487
|
+
17: "17";
|
|
488
|
+
18: "18";
|
|
489
|
+
19: "19";
|
|
490
|
+
20: "20";
|
|
491
|
+
21: "21";
|
|
492
|
+
22: "22";
|
|
493
|
+
23: "23";
|
|
494
|
+
24: "24";
|
|
495
|
+
26: "26";
|
|
496
|
+
27: "27";
|
|
497
|
+
29: "29";
|
|
498
|
+
30: "30";
|
|
499
|
+
31: "31";
|
|
500
|
+
32: "32";
|
|
501
|
+
33: "33";
|
|
502
|
+
34: "34";
|
|
503
|
+
35: "35";
|
|
504
|
+
36: "36";
|
|
505
|
+
37: "37";
|
|
506
|
+
38: "38";
|
|
507
|
+
}>;
|
|
508
|
+
gstin: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
509
|
+
legalName: z.ZodOptional<z.ZodString>;
|
|
510
|
+
address: z.ZodOptional<z.ZodString>;
|
|
511
|
+
}, z.core.$strip>>;
|
|
512
|
+
}, z.core.$strip>;
|
|
513
|
+
export type StartAutoRenewalBody = z.infer<typeof startAutoRenewalBodySchema>;
|
|
514
|
+
/**
|
|
515
|
+
* What Razorpay Checkout's `handler` hands back for a subscription, as it
|
|
516
|
+
* names it. The server checks the signature over its OWN stored subscription
|
|
517
|
+
* id, never the one sent here: HMAC_SHA256(razorpay_payment_id + "|" +
|
|
518
|
+
* subscription_id, key secret).
|
|
519
|
+
*/
|
|
520
|
+
export declare const confirmAutoRenewalBodySchema: z.ZodObject<{
|
|
521
|
+
razorpaySubscriptionId: z.ZodString;
|
|
522
|
+
razorpayPaymentId: z.ZodString;
|
|
523
|
+
razorpaySignature: z.ZodString;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
export type ConfirmAutoRenewalBody = z.infer<typeof confirmAutoRenewalBodySchema>;
|
|
526
|
+
/** An auto-renewal as its member polls or changes it. */
|
|
527
|
+
export declare const autoRenewalStateSchema: z.ZodObject<{
|
|
528
|
+
autoRenewalId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
529
|
+
status: z.ZodEnum<{
|
|
530
|
+
active: "active";
|
|
531
|
+
created: "created";
|
|
532
|
+
authenticated: "authenticated";
|
|
533
|
+
pending: "pending";
|
|
534
|
+
halted: "halted";
|
|
535
|
+
cancelled: "cancelled";
|
|
536
|
+
completed: "completed";
|
|
537
|
+
expired: "expired";
|
|
538
|
+
paused: "paused";
|
|
539
|
+
}>;
|
|
540
|
+
tier: z.ZodEnum<{
|
|
541
|
+
premium: "premium";
|
|
542
|
+
business: "business";
|
|
543
|
+
}>;
|
|
544
|
+
period: z.ZodEnum<{
|
|
545
|
+
month: "month";
|
|
546
|
+
year: "year";
|
|
547
|
+
}>;
|
|
548
|
+
orderId: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
549
|
+
nextChargeAt: z.ZodNullable<z.ZodISODateTime>;
|
|
550
|
+
cancelAtCycleEnd: z.ZodBoolean;
|
|
551
|
+
}, z.core.$strip>;
|
|
552
|
+
export type AutoRenewalState = z.infer<typeof autoRenewalStateSchema>;
|
|
553
|
+
/**
|
|
554
|
+
* `POST /billing/auto-renewals/:id/payment-method`: how the member updates the
|
|
555
|
+
* method a failed charge used. A card mandate opens Checkout to change the
|
|
556
|
+
* card (`subscription_card_change`); any other opens Razorpay's own page,
|
|
557
|
+
* where a UPI or eMandate can move to a card only (Razorpay's rule).
|
|
558
|
+
*/
|
|
559
|
+
export declare const paymentMethodUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"checkout">;
|
|
561
|
+
keyId: z.ZodString;
|
|
562
|
+
razorpaySubscriptionId: z.ZodString;
|
|
563
|
+
name: z.ZodString;
|
|
564
|
+
prefill: z.ZodObject<{
|
|
565
|
+
name: z.ZodString;
|
|
566
|
+
email: z.ZodString;
|
|
567
|
+
contact: z.ZodOptional<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>;
|
|
569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
570
|
+
kind: z.ZodLiteral<"link">;
|
|
571
|
+
url: z.ZodURL;
|
|
572
|
+
}, z.core.$strip>], "kind">;
|
|
573
|
+
export type PaymentMethodUpdate = z.infer<typeof paymentMethodUpdateSchema>;
|
|
574
|
+
/**
|
|
575
|
+
* Where an order came from (0.31.0). ⚠ Stored: append only.
|
|
576
|
+
*
|
|
577
|
+
* checkout the member bought it (or a free code granted it)
|
|
578
|
+
* renewal an auto-renewal's charge
|
|
579
|
+
*/
|
|
580
|
+
export declare const ORDER_SOURCE_VALUES: readonly ["checkout", "renewal"];
|
|
581
|
+
export declare const orderSourceSchema: z.ZodEnum<{
|
|
582
|
+
checkout: "checkout";
|
|
583
|
+
renewal: "renewal";
|
|
584
|
+
}>;
|
|
585
|
+
export type OrderSource = z.infer<typeof orderSourceSchema>;
|
|
358
586
|
/** An order as its buyer polls it. */
|
|
359
587
|
export declare const orderStateSchema: z.ZodObject<{
|
|
360
588
|
orderId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
@@ -377,8 +605,8 @@ export declare const orderStateSchema: z.ZodObject<{
|
|
|
377
605
|
paid: "paid";
|
|
378
606
|
refunded: "refunded";
|
|
379
607
|
created: "created";
|
|
380
|
-
granted_free: "granted_free";
|
|
381
608
|
expired: "expired";
|
|
609
|
+
granted_free: "granted_free";
|
|
382
610
|
refund_pending: "refund_pending";
|
|
383
611
|
refund_failed: "refund_failed";
|
|
384
612
|
}>;
|
|
@@ -588,14 +816,36 @@ export declare const paymentSummarySchema: z.ZodObject<{
|
|
|
588
816
|
paid: "paid";
|
|
589
817
|
refunded: "refunded";
|
|
590
818
|
created: "created";
|
|
591
|
-
granted_free: "granted_free";
|
|
592
819
|
expired: "expired";
|
|
820
|
+
granted_free: "granted_free";
|
|
593
821
|
refund_pending: "refund_pending";
|
|
594
822
|
refund_failed: "refund_failed";
|
|
595
823
|
}>;
|
|
596
824
|
paidAt: z.ZodISODateTime;
|
|
597
825
|
invoiceNumber: z.ZodNullable<z.ZodString>;
|
|
598
826
|
refundableUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
827
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
828
|
+
checkout: "checkout";
|
|
829
|
+
renewal: "renewal";
|
|
830
|
+
}>>;
|
|
831
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
832
|
+
method: z.ZodEnum<{
|
|
833
|
+
other: "other";
|
|
834
|
+
card: "card";
|
|
835
|
+
upi: "upi";
|
|
836
|
+
netbanking: "netbanking";
|
|
837
|
+
wallet: "wallet";
|
|
838
|
+
emi: "emi";
|
|
839
|
+
paylater: "paylater";
|
|
840
|
+
emandate: "emandate";
|
|
841
|
+
}>;
|
|
842
|
+
cardNetwork: z.ZodNullable<z.ZodString>;
|
|
843
|
+
cardType: z.ZodNullable<z.ZodString>;
|
|
844
|
+
cardLast4: z.ZodNullable<z.ZodString>;
|
|
845
|
+
bank: z.ZodNullable<z.ZodString>;
|
|
846
|
+
wallet: z.ZodNullable<z.ZodString>;
|
|
847
|
+
upiHandle: z.ZodNullable<z.ZodString>;
|
|
848
|
+
}, z.core.$strip>>>;
|
|
599
849
|
}, z.core.$strip>;
|
|
600
850
|
export type PaymentSummary = z.infer<typeof paymentSummarySchema>;
|
|
601
851
|
export declare const paymentPageSchema: z.ZodObject<{
|
|
@@ -622,14 +872,36 @@ export declare const paymentPageSchema: z.ZodObject<{
|
|
|
622
872
|
paid: "paid";
|
|
623
873
|
refunded: "refunded";
|
|
624
874
|
created: "created";
|
|
625
|
-
granted_free: "granted_free";
|
|
626
875
|
expired: "expired";
|
|
876
|
+
granted_free: "granted_free";
|
|
627
877
|
refund_pending: "refund_pending";
|
|
628
878
|
refund_failed: "refund_failed";
|
|
629
879
|
}>;
|
|
630
880
|
paidAt: z.ZodISODateTime;
|
|
631
881
|
invoiceNumber: z.ZodNullable<z.ZodString>;
|
|
632
882
|
refundableUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
883
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
884
|
+
checkout: "checkout";
|
|
885
|
+
renewal: "renewal";
|
|
886
|
+
}>>;
|
|
887
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
888
|
+
method: z.ZodEnum<{
|
|
889
|
+
other: "other";
|
|
890
|
+
card: "card";
|
|
891
|
+
upi: "upi";
|
|
892
|
+
netbanking: "netbanking";
|
|
893
|
+
wallet: "wallet";
|
|
894
|
+
emi: "emi";
|
|
895
|
+
paylater: "paylater";
|
|
896
|
+
emandate: "emandate";
|
|
897
|
+
}>;
|
|
898
|
+
cardNetwork: z.ZodNullable<z.ZodString>;
|
|
899
|
+
cardType: z.ZodNullable<z.ZodString>;
|
|
900
|
+
cardLast4: z.ZodNullable<z.ZodString>;
|
|
901
|
+
bank: z.ZodNullable<z.ZodString>;
|
|
902
|
+
wallet: z.ZodNullable<z.ZodString>;
|
|
903
|
+
upiHandle: z.ZodNullable<z.ZodString>;
|
|
904
|
+
}, z.core.$strip>>>;
|
|
633
905
|
}, z.core.$strip>>;
|
|
634
906
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
635
907
|
}, z.core.$strip>;
|
|
@@ -657,14 +929,36 @@ export declare const paymentDetailSchema: z.ZodObject<{
|
|
|
657
929
|
paid: "paid";
|
|
658
930
|
refunded: "refunded";
|
|
659
931
|
created: "created";
|
|
660
|
-
granted_free: "granted_free";
|
|
661
932
|
expired: "expired";
|
|
933
|
+
granted_free: "granted_free";
|
|
662
934
|
refund_pending: "refund_pending";
|
|
663
935
|
refund_failed: "refund_failed";
|
|
664
936
|
}>;
|
|
665
937
|
paidAt: z.ZodISODateTime;
|
|
666
938
|
invoiceNumber: z.ZodNullable<z.ZodString>;
|
|
667
939
|
refundableUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
940
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
941
|
+
checkout: "checkout";
|
|
942
|
+
renewal: "renewal";
|
|
943
|
+
}>>;
|
|
944
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
945
|
+
method: z.ZodEnum<{
|
|
946
|
+
other: "other";
|
|
947
|
+
card: "card";
|
|
948
|
+
upi: "upi";
|
|
949
|
+
netbanking: "netbanking";
|
|
950
|
+
wallet: "wallet";
|
|
951
|
+
emi: "emi";
|
|
952
|
+
paylater: "paylater";
|
|
953
|
+
emandate: "emandate";
|
|
954
|
+
}>;
|
|
955
|
+
cardNetwork: z.ZodNullable<z.ZodString>;
|
|
956
|
+
cardType: z.ZodNullable<z.ZodString>;
|
|
957
|
+
cardLast4: z.ZodNullable<z.ZodString>;
|
|
958
|
+
bank: z.ZodNullable<z.ZodString>;
|
|
959
|
+
wallet: z.ZodNullable<z.ZodString>;
|
|
960
|
+
upiHandle: z.ZodNullable<z.ZodString>;
|
|
961
|
+
}, z.core.$strip>>>;
|
|
668
962
|
listPrice: z.ZodNumber;
|
|
669
963
|
discount: z.ZodNumber;
|
|
670
964
|
coupon: z.ZodNullable<z.ZodObject<{
|
|
@@ -814,8 +1108,8 @@ export declare const staffPaymentsQuerySchema: z.ZodObject<{
|
|
|
814
1108
|
paid: "paid";
|
|
815
1109
|
refunded: "refunded";
|
|
816
1110
|
created: "created";
|
|
817
|
-
granted_free: "granted_free";
|
|
818
1111
|
expired: "expired";
|
|
1112
|
+
granted_free: "granted_free";
|
|
819
1113
|
refund_pending: "refund_pending";
|
|
820
1114
|
refund_failed: "refund_failed";
|
|
821
1115
|
}>>;
|
|
@@ -847,14 +1141,36 @@ export declare const staffPaymentSummarySchema: z.ZodObject<{
|
|
|
847
1141
|
paid: "paid";
|
|
848
1142
|
refunded: "refunded";
|
|
849
1143
|
created: "created";
|
|
850
|
-
granted_free: "granted_free";
|
|
851
1144
|
expired: "expired";
|
|
1145
|
+
granted_free: "granted_free";
|
|
852
1146
|
refund_pending: "refund_pending";
|
|
853
1147
|
refund_failed: "refund_failed";
|
|
854
1148
|
}>;
|
|
855
1149
|
paidAt: z.ZodISODateTime;
|
|
856
1150
|
invoiceNumber: z.ZodNullable<z.ZodString>;
|
|
857
1151
|
refundableUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
1152
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
1153
|
+
checkout: "checkout";
|
|
1154
|
+
renewal: "renewal";
|
|
1155
|
+
}>>;
|
|
1156
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1157
|
+
method: z.ZodEnum<{
|
|
1158
|
+
other: "other";
|
|
1159
|
+
card: "card";
|
|
1160
|
+
upi: "upi";
|
|
1161
|
+
netbanking: "netbanking";
|
|
1162
|
+
wallet: "wallet";
|
|
1163
|
+
emi: "emi";
|
|
1164
|
+
paylater: "paylater";
|
|
1165
|
+
emandate: "emandate";
|
|
1166
|
+
}>;
|
|
1167
|
+
cardNetwork: z.ZodNullable<z.ZodString>;
|
|
1168
|
+
cardType: z.ZodNullable<z.ZodString>;
|
|
1169
|
+
cardLast4: z.ZodNullable<z.ZodString>;
|
|
1170
|
+
bank: z.ZodNullable<z.ZodString>;
|
|
1171
|
+
wallet: z.ZodNullable<z.ZodString>;
|
|
1172
|
+
upiHandle: z.ZodNullable<z.ZodString>;
|
|
1173
|
+
}, z.core.$strip>>>;
|
|
858
1174
|
payer: z.ZodObject<{
|
|
859
1175
|
userId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
860
1176
|
username: z.ZodNullable<z.ZodString>;
|
|
@@ -891,14 +1207,36 @@ export declare const staffPaymentPageSchema: z.ZodObject<{
|
|
|
891
1207
|
paid: "paid";
|
|
892
1208
|
refunded: "refunded";
|
|
893
1209
|
created: "created";
|
|
894
|
-
granted_free: "granted_free";
|
|
895
1210
|
expired: "expired";
|
|
1211
|
+
granted_free: "granted_free";
|
|
896
1212
|
refund_pending: "refund_pending";
|
|
897
1213
|
refund_failed: "refund_failed";
|
|
898
1214
|
}>;
|
|
899
1215
|
paidAt: z.ZodISODateTime;
|
|
900
1216
|
invoiceNumber: z.ZodNullable<z.ZodString>;
|
|
901
1217
|
refundableUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
1218
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
1219
|
+
checkout: "checkout";
|
|
1220
|
+
renewal: "renewal";
|
|
1221
|
+
}>>;
|
|
1222
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1223
|
+
method: z.ZodEnum<{
|
|
1224
|
+
other: "other";
|
|
1225
|
+
card: "card";
|
|
1226
|
+
upi: "upi";
|
|
1227
|
+
netbanking: "netbanking";
|
|
1228
|
+
wallet: "wallet";
|
|
1229
|
+
emi: "emi";
|
|
1230
|
+
paylater: "paylater";
|
|
1231
|
+
emandate: "emandate";
|
|
1232
|
+
}>;
|
|
1233
|
+
cardNetwork: z.ZodNullable<z.ZodString>;
|
|
1234
|
+
cardType: z.ZodNullable<z.ZodString>;
|
|
1235
|
+
cardLast4: z.ZodNullable<z.ZodString>;
|
|
1236
|
+
bank: z.ZodNullable<z.ZodString>;
|
|
1237
|
+
wallet: z.ZodNullable<z.ZodString>;
|
|
1238
|
+
upiHandle: z.ZodNullable<z.ZodString>;
|
|
1239
|
+
}, z.core.$strip>>>;
|
|
902
1240
|
payer: z.ZodObject<{
|
|
903
1241
|
userId: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
904
1242
|
username: z.ZodNullable<z.ZodString>;
|
|
@@ -936,14 +1274,36 @@ export declare const staffPaymentDetailSchema: z.ZodObject<{
|
|
|
936
1274
|
paid: "paid";
|
|
937
1275
|
refunded: "refunded";
|
|
938
1276
|
created: "created";
|
|
939
|
-
granted_free: "granted_free";
|
|
940
1277
|
expired: "expired";
|
|
1278
|
+
granted_free: "granted_free";
|
|
941
1279
|
refund_pending: "refund_pending";
|
|
942
1280
|
refund_failed: "refund_failed";
|
|
943
1281
|
}>;
|
|
944
1282
|
paidAt: z.ZodISODateTime;
|
|
945
1283
|
invoiceNumber: z.ZodNullable<z.ZodString>;
|
|
946
1284
|
refundableUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
1285
|
+
source: z.ZodDefault<z.ZodEnum<{
|
|
1286
|
+
checkout: "checkout";
|
|
1287
|
+
renewal: "renewal";
|
|
1288
|
+
}>>;
|
|
1289
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1290
|
+
method: z.ZodEnum<{
|
|
1291
|
+
other: "other";
|
|
1292
|
+
card: "card";
|
|
1293
|
+
upi: "upi";
|
|
1294
|
+
netbanking: "netbanking";
|
|
1295
|
+
wallet: "wallet";
|
|
1296
|
+
emi: "emi";
|
|
1297
|
+
paylater: "paylater";
|
|
1298
|
+
emandate: "emandate";
|
|
1299
|
+
}>;
|
|
1300
|
+
cardNetwork: z.ZodNullable<z.ZodString>;
|
|
1301
|
+
cardType: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
cardLast4: z.ZodNullable<z.ZodString>;
|
|
1303
|
+
bank: z.ZodNullable<z.ZodString>;
|
|
1304
|
+
wallet: z.ZodNullable<z.ZodString>;
|
|
1305
|
+
upiHandle: z.ZodNullable<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>>>;
|
|
947
1307
|
listPrice: z.ZodNumber;
|
|
948
1308
|
discount: z.ZodNumber;
|
|
949
1309
|
coupon: z.ZodNullable<z.ZodObject<{
|
|
@@ -1086,6 +1446,7 @@ export declare const staffPaymentDetailSchema: z.ZodObject<{
|
|
|
1086
1446
|
orderId: z.ZodNullable<z.ZodString>;
|
|
1087
1447
|
paymentId: z.ZodNullable<z.ZodString>;
|
|
1088
1448
|
refundId: z.ZodNullable<z.ZodString>;
|
|
1449
|
+
subscriptionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1089
1450
|
}, z.core.$strip>;
|
|
1090
1451
|
refundReason: z.ZodNullable<z.ZodString>;
|
|
1091
1452
|
grantFailed: z.ZodNullable<z.ZodEnum<{
|
|
@@ -1099,6 +1460,7 @@ export declare const staffPaymentDetailSchema: z.ZodObject<{
|
|
|
1099
1460
|
AMOUNT_MISMATCH: "AMOUNT_MISMATCH";
|
|
1100
1461
|
ACCOUNT_DELETED: "ACCOUNT_DELETED";
|
|
1101
1462
|
GRANT_REFUSED: "GRANT_REFUSED";
|
|
1463
|
+
AUTO_RENEW_STOPPED: "AUTO_RENEW_STOPPED";
|
|
1102
1464
|
}>>;
|
|
1103
1465
|
disputedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
1104
1466
|
refundedOutside: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../../src/domains/billing/billing.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"billing.d.ts","sourceRoot":"","sources":["../../../src/domains/billing/billing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiCxB,OAAO,EACL,KAAK,cAAc,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,UAAU,EACV,KAAK,YAAY,EACjB,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,YAAY,GACb,MAAM,UAAU,CAAC;AAIlB,4CAA4C;AAC5C,eAAO,MAAM,oBAAoB,4CAA6C,CAAC;AAC/E,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;2BAI7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,6EAA6E;AAC7E,eAAO,MAAM,gBAAgB,wDAMO,CAAC;A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