/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */ export type paths = Record; export type webhooks = Record; export interface components { schemas: { ConsoleLogEvent: { function: { cached?: boolean | null; component_path?: string | null; mutation_queue_length?: number | null; mutation_retry_count?: number | null; path: string; request_id: string; type: string; }; is_truncated: boolean; log_level: string; message: string; system_code?: string | null; /** Format: int64 */ timestamp: number; }; CustomAuditEvent: { body: components["schemas"]["Value"]; /** Format: int64 */ timestamp: number; }; DeploymentAuditLogEvent: { audit_log_action: string; audit_log_metadata: string; /** Format: int64 */ timestamp: number; }; FunctionExecutionEvent: { error_message?: string | null; /** Format: int64 */ execution_time_ms: number; function: { cached?: boolean | null; component_path?: string | null; mutation_queue_length?: number | null; mutation_retry_count?: number | null; path: string; request_id: string; type: string; }; occ_info?: null | { component_path?: string | null; document_id?: string | null; /** Format: int64 */ retry_count?: number | null; table_name?: string | null; write_source?: string | null; }; scheduler_info?: null | { job_id: string; }; status: string; /** Format: int64 */ timestamp: number; usage: { /** Format: int64 */ action_memory_used_mb?: number | null; /** Format: int64 */ database_io_read_bytes: number; /** Format: int64 */ database_io_write_bytes: number; /** Format: int64 */ database_read_bytes: number; /** Format: int64 */ database_read_documents: number; /** Format: int64 */ database_write_bytes: number; /** Format: int64 */ file_storage_read_bytes: number; /** Format: int64 */ file_storage_write_bytes: number; /** Format: int64 */ network_egress_bytes: number; /** Format: int64 */ text_search_query_bytes: number; /** Format: int64 */ text_search_write_query_bytes: number; /** Format: int64 */ vector_search_query_bytes: number; /** Format: int64 */ vector_search_write_query_bytes: number; /** Format: int64 */ vector_storage_read_bytes: number; /** Format: int64 */ vector_storage_write_bytes: number; }; /** Format: int64 */ user_execution_time_ms?: number | null; }; LogStreamEvent: (components["schemas"]["ConsoleLogEvent"] & { /** @enum {string} */ topic: "console"; }) | (components["schemas"]["VerificationEvent"] & { /** @enum {string} */ topic: "verification"; }) | (components["schemas"]["FunctionExecutionEvent"] & { /** @enum {string} */ topic: "function_execution"; }) | (components["schemas"]["DeploymentAuditLogEvent"] & { /** @enum {string} */ topic: "audit_log"; }) | (components["schemas"]["SchedulerStatsEvent"] & { /** @enum {string} */ topic: "scheduler_stats"; }) | (components["schemas"]["ScheduledJobLagEvent"] & { /** @enum {string} */ topic: "scheduled_job_lag"; }) | (components["schemas"]["StorageUsageEvent"] & { /** @enum {string} */ topic: "current_storage_usage"; }) | (components["schemas"]["StorageApiBandwidthEvent"] & { /** @enum {string} */ topic: "storage_api_bandwidth"; }) | (components["schemas"]["CustomAuditEvent"] & { /** @enum {string} */ topic: "custom_audit"; }); ScheduledJobLagEvent: { /** Format: int64 */ lag_seconds: number; /** Format: int64 */ timestamp: number; }; SchedulerStatsEvent: { /** Format: int64 */ lag_seconds: number; /** Format: int64 */ num_running_jobs: number; /** Format: int64 */ timestamp: number; }; StorageApiBandwidthEvent: { /** Format: int64 */ egress_bytes: number; storage_id: string; /** Format: int64 */ timestamp: number; }; StorageUsageEvent: { /** Format: int64 */ timestamp: number; /** Format: int64 */ total_backup_storage_bytes: number; /** Format: int64 */ total_document_size_bytes: number; /** Format: int64 */ total_file_storage_bytes: number; /** Format: int64 */ total_index_size_bytes: number; total_system_table_document_size_bytes: { [key: string]: number; }; /** Format: int64 */ total_text_storage_bytes: number; /** Format: int64 */ total_vector_storage_bytes: number; }; Value: unknown; VerificationEvent: { message: string; /** Format: int64 */ timestamp: number; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type ConsoleLogEvent = components['schemas']['ConsoleLogEvent']; export type CustomAuditEvent = components['schemas']['CustomAuditEvent']; export type DeploymentAuditLogEvent = components['schemas']['DeploymentAuditLogEvent']; export type FunctionExecutionEvent = components['schemas']['FunctionExecutionEvent']; export type LogStreamEvent = components['schemas']['LogStreamEvent']; export type ScheduledJobLagEvent = components['schemas']['ScheduledJobLagEvent']; export type SchedulerStatsEvent = components['schemas']['SchedulerStatsEvent']; export type StorageApiBandwidthEvent = components['schemas']['StorageApiBandwidthEvent']; export type StorageUsageEvent = components['schemas']['StorageUsageEvent']; export type Value = components['schemas']['Value']; export type VerificationEvent = components['schemas']['VerificationEvent']; export type $defs = Record; export type operations = Record; //# sourceMappingURL=generatedLogStreamApi.d.ts.map