Skip to main content

TypeAlias.SharedBudgetView

type SharedBudgetView = z.infer<typeof sharedBudgetSchema>;

Shared budget of an application or of the whole organization: it caps what every agent wallet of the scope spends together per calendar day, week (Monday to Sunday) and month, in the organization display currency. Amounts are decimal-integer strings in sub-units. usage.<window>.spent counts consumed payments in the window plus approved-unsigned and pending-human-approval holds.