import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const UtcDay: { readonly Monday: "monday"; readonly Tuesday: "tuesday"; readonly Wednesday: "wednesday"; readonly Thursday: "thursday"; readonly Friday: "friday"; readonly Saturday: "saturday"; readonly Sunday: "sunday"; }; export type UtcDay = OpenEnum; /** * A conditional override of the base pricing. An entry applies only when all of its condition fields (e.g. min_prompt_tokens, or the utc_start/utc_end time window) match the request; among applicable entries, later entries win per price key; price keys absent from an entry inherit the base price. */ export type PricingOverride = { /** * Overridden price in USD per audio input token */ audio?: string | undefined; /** * Overridden price in USD per token for completion (output) generation */ completion?: string | undefined; /** * Overridden price in USD per cached audio input token */ inputAudioCache?: string | undefined; /** * Overridden price in USD per cached input token (read) */ inputCacheRead?: string | undefined; /** * Overridden price in USD per cache-write token */ inputCacheWrite?: string | undefined; /** * Overridden price in USD per 1-hour cache-write token */ inputCacheWrite1h?: string | undefined; /** * Condition: the entry applies when the total prompt tokens of a request are strictly greater than this threshold */ minPromptTokens?: number | undefined; /** * Overridden price in USD per token for prompt (input) processing */ prompt?: string | undefined; /** * Condition: UTC weekdays the entry applies on, evaluated at the request instant. Scopes the utc_start/utc_end window (or, without a window, the whole UTC day) to the listed days. Absent means every day. */ utcDays?: Array | undefined; /** * Condition: exclusive end of a daily UTC time window as an HHMM clock number (e.g. 400 = 04:00) */ utcEnd?: number | undefined; /** * Condition: inclusive start of a daily UTC time window as an HHMM clock number (e.g. 100 = 01:00, 1030 = 10:30). The entry applies while the current UTC time is inside the half-open window [utc_start, utc_end), which may wrap past midnight (utc_start > utc_end). */ utcStart?: number | undefined; }; /** @internal */ export declare const UtcDay$inboundSchema: z.ZodType; /** @internal */ export declare const PricingOverride$inboundSchema: z.ZodType; export declare function pricingOverrideFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=pricingoverride.d.ts.map