refactor: transform payload status to number in subscribe plan requests and update type definitions

This commit is contained in:
Ardeman
2025-03-13 07:01:53 +08:00
parent f40f2dadde
commit 6878da0db2
10 changed files with 142 additions and 28 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const subscribePlanResponseSchema = z.object({
data: z.array(subscribePlanSchema),
})
export type TSubscribePlanSchema = z.infer<typeof subscribePlanSchema>
export type TSubscribePlanResponse = z.infer<typeof subscribePlanSchema>
export const getSubscribePlan = async (parameters?: THttpServer) => {
try {