export type HttpMethod = 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE'; export interface ErrorIssue { path: string; message: string; code: string; } export interface ErrorEnvelope { status: number; code: string; message: string; retry_after?: number; issues?: ErrorIssue[]; } export interface ResponseEnvelope { success: boolean; data: T | null; error: ErrorEnvelope | null; trace_id?: string; request_id?: string; } export interface RequestOptions { idempotencyKey?: string; signal?: AbortSignal; maxRetries?: number; query?: Record; /** * Extra headers to merge into the request. SDK defaults (User-Agent, * Accept, Content-Type) can be overridden; SDK-managed Authorization and * Idempotency-Key always win regardless of what is set here. */ headers?: HeadersInit; } //# sourceMappingURL=types.d.ts.map