Show SMS sent breakdown by type in admin and business settings.
Data rows for total/mass/singular/auth/auto/admin; balance stays a credit data row. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
6bc57f26ed
commit
dbc17b2589
@@ -71,6 +71,13 @@ export async function getSmsCredit(signal?: AbortSignal) {
|
||||
credit: number | null
|
||||
/** Lifetime SMS messages billed (one per recipient). */
|
||||
sentCount: number
|
||||
sentByType: {
|
||||
mass: number
|
||||
singular: number
|
||||
auth: number
|
||||
autoCustomer: number
|
||||
admin: number
|
||||
}
|
||||
unit: 'credits'
|
||||
currency: string | null
|
||||
message: string | null
|
||||
|
||||
Reference in New Issue
Block a user