feat(redeem): streamline phone redemption confirmation
CI / verify (pull_request) Has been cancelled
CI / verify (pull_request) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,6 +45,22 @@ export interface RedeemPhonePrepareDto {
|
||||
expireInSeconds: number;
|
||||
}
|
||||
|
||||
export interface RedeemPhoneDirectPrepareRequest {
|
||||
phone: string;
|
||||
amount: number;
|
||||
}
|
||||
|
||||
export interface RedeemPhoneDirectPrepareResult extends RedeemPhonePrepareDto {
|
||||
totalBalance: number;
|
||||
maskedPhone: string;
|
||||
user: {
|
||||
id: string;
|
||||
userNo?: string | null;
|
||||
nickname?: string | null;
|
||||
phone?: string | null;
|
||||
};
|
||||
}
|
||||
|
||||
export type RedeemPendingStatus = 'PENDING' | 'COMPLETED' | 'REJECTED';
|
||||
|
||||
export const REDEEM_PENDING_STATUS_LABELS: Record<RedeemPendingStatus, string> = {
|
||||
|
||||
Reference in New Issue
Block a user