mirror of
https://github.com/murashit/codex-panel.git
synced 2026-07-22 06:57:10 +00:00
14 lines
916 B
TypeScript
14 lines
916 B
TypeScript
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
|
|
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { PlanType } from "../PlanType";
|
|
import type { CreditsSnapshot } from "./CreditsSnapshot";
|
|
import type { RateLimitReachedType } from "./RateLimitReachedType";
|
|
import type { RateLimitWindow } from "./RateLimitWindow";
|
|
import type { SpendControlLimitSnapshot } from "./SpendControlLimitSnapshot";
|
|
|
|
export type RateLimitSnapshot = { limitId: string | null, limitName: string | null, primary: RateLimitWindow | null, secondary: RateLimitWindow | null, credits: CreditsSnapshot | null, individualLimit: SpendControlLimitSnapshot | null,
|
|
/**
|
|
* Backend-reported spend-control state. `None` is unavailable, not a sparse-update recovery.
|
|
*/
|
|
spendControlReached: boolean | null, planType: PlanType | null, rateLimitReachedType: RateLimitReachedType | null, };
|