Skip to content

Commit b57aae5

Browse files
committed
update types
1 parent 8345adc commit b57aae5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/sim/app/api/v1/admin/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,8 @@ export interface AdminUserBilling {
550550
totalWebhookTriggers: number
551551
totalScheduledExecutions: number
552552
totalChatExecutions: number
553+
totalMcpExecutions: number
554+
totalA2aExecutions: number
553555
totalTokensUsed: number
554556
totalCost: string
555557
currentUsageLimit: string | null

apps/sim/app/api/v1/admin/users/[id]/billing/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ export const GET = withAdminAuthParams<RouteParams>(async (_, context) => {
9797
totalWebhookTriggers: stats?.totalWebhookTriggers ?? 0,
9898
totalScheduledExecutions: stats?.totalScheduledExecutions ?? 0,
9999
totalChatExecutions: stats?.totalChatExecutions ?? 0,
100+
totalMcpExecutions: stats?.totalMcpExecutions ?? 0,
101+
totalA2aExecutions: stats?.totalA2aExecutions ?? 0,
100102
totalTokensUsed: stats?.totalTokensUsed ?? 0,
101103
totalCost: stats?.totalCost ?? '0',
102104
currentUsageLimit: stats?.currentUsageLimit ?? null,

0 commit comments

Comments
 (0)