feat(subscription): split vip and topup flows

This commit is contained in:
2026-06-29 14:45:01 +08:00
parent 72ac923a44
commit 096978e703
17 changed files with 106 additions and 432 deletions
@@ -9,7 +9,7 @@ import { StorageKeys } from "../storage_keys";
const PendingPaymentOrderSchema = z.object({
orderId: z.string().min(1),
payChannel: z.literal("ezpay"),
subscriptionType: z.enum(["vip", "voice"]),
subscriptionType: z.enum(["vip", "topup"]),
returnTo: z.enum(["chat"]).optional(),
createdAt: z.number(),
});