feat(chat): render role-bound payment guidance
Docker Image / Build and Push Docker Image (push) Successful in 5m2s
Docker Image / Build and Push Docker Image (push) Successful in 5m2s
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
} from "../../nullable-defaults";
|
||||
import { ChatLockTypeSchema } from "../chat_lock_type";
|
||||
import { ChatImageSchema } from "../chat_payloads";
|
||||
import { PaymentGuidanceSchema } from "./chat_send_response";
|
||||
|
||||
/**
|
||||
* 单条历史付费 / 私密消息解锁响应。
|
||||
@@ -28,6 +29,7 @@ export const UnlockPrivateResponseSchema = z
|
||||
creditsCharged: numberOrZero,
|
||||
requiredCredits: numberOrZero,
|
||||
shortfallCredits: numberOrZero,
|
||||
paymentGuidance: PaymentGuidanceSchema.nullish().default(null),
|
||||
})
|
||||
.readonly();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user