Skip to main content

Interface: SpendCap

Defined in: javascript/src/types.ts:169

Configuration for a per-user spend cap.

Properties

action

action: "deny" | "warn" | "notify"

Defined in: javascript/src/types.ts:174


limit

limit: number

Defined in: javascript/src/types.ts:173


model?

optional model?: string | null

Defined in: javascript/src/types.ts:172


type

type: "daily" | "monthly"

Defined in: javascript/src/types.ts:171


userId

userId: string

Defined in: javascript/src/types.ts:170