Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

952 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * authentication_service
 * OpenAPI spec version: 0.1.0
 */
import type { UpdateAutoReloadRequestMonthlySpendLimitCents } from './updateAutoReloadRequestMonthlySpendLimitCents';

/**
 * Request body for [`update_auto_reload_handler`].
 */
export interface UpdateAutoReloadRequest {
  /** Purchase prepaid credits automatically using the payer's card. */
  enabled: boolean;
  /** Reload once the balance drops below this, cents. Must be positive. */
  minimumBalanceCents: number;
  /** Most to reload per calendar month, cents. Omit or `null` for no limit.
Must be at least the catalog's `overage_limit_min_cents` (legacy name). */
  monthlySpendLimitCents?: UpdateAutoReloadRequestMonthlySpendLimitCents;
  /** Reload the balance back up to this, cents. At least $0.50 above the
minimum and no more than the catalog's `auto_reload_target_max_cents`. */
  targetBalanceCents: number;
}