feat(api): Add CheckoutOrder request and response types, and update user purchase request parameters

This commit is contained in:
web@ppanel
2025-03-14 13:34:36 +07:00
parent 786ba0e41c
commit 48a1b97051
8 changed files with 91 additions and 36 deletions
+16
View File
@@ -94,6 +94,17 @@ declare namespace API {
enabled: boolean;
};
type CheckoutOrderRequest = {
orderNo: string;
returnUrl?: string;
};
type CheckoutOrderResponse = {
type: string;
checkout_url?: string;
stripe?: StripePayment;
};
type CheckUserParams = {
email: string;
};
@@ -496,6 +507,11 @@ declare namespace API {
total: number;
};
type QueryUserAffiliateListRequest = {
page: number;
size: number;
};
type QueryUserAffiliateListResponse = {
list: UserAffiliate[];
total: number;