import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type PlatformLog = {
    /**
     * The account ID of the request
     */
    accountId?: string | null | undefined;
    /**
     * The requested action
     */
    action?: string | null | undefined;
    /**
     * The requested category
     */
    category?: string | null | undefined;
    /**
     * The requested child resource
     */
    childResource?: string | null | undefined;
    /**
     * The request duration in milliseconds
     */
    duration?: number | null | undefined;
    /**
     * The request end time ISO8601 date string
     */
    endTime?: Date | null | undefined;
    /**
     * The event ISO8601 date string
     */
    eventDatetime?: Date | null | undefined;
    /**
     * The requested HTTP method
     */
    httpMethod?: string | null | undefined;
    /**
     * The requested path
     */
    path?: string | null | undefined;
    /**
     * The project ID of the request
     */
    projectId?: string | null | undefined;
    /**
     * The request ID
     */
    requestId?: string | null | undefined;
    /**
     * The requested resource
     */
    resource?: string | null | undefined;
    /**
     * The requests source ID
     */
    sourceId?: string | null | undefined;
    /**
     * The requests source IPV4 ip address
     */
    sourceIp?: string | null | undefined;
    /**
     * The requests source type
     */
    sourceType?: string | null | undefined;
    /**
     * The requests source value
     */
    sourceValue?: string | null | undefined;
    /**
     * The request start time ISO8601 date string
     */
    startTime?: Date | null | undefined;
    /**
     * The requests response status code
     */
    status?: number | null | undefined;
    /**
     * The requested sub resource
     */
    subResource?: string | null | undefined;
    /**
     * The request success flag
     */
    success?: boolean | null | undefined;
    /**
     * The requested URL
     */
    url?: string | null | undefined;
};
/** @internal */
export declare const PlatformLog$inboundSchema: z.ZodType<PlatformLog, z.ZodTypeDef, unknown>;
/** @internal */
export type PlatformLog$Outbound = {
    account_id?: string | null | undefined;
    action?: string | null | undefined;
    category?: string | null | undefined;
    child_resource?: string | null | undefined;
    duration?: number | null | undefined;
    end_time?: string | null | undefined;
    event_datetime?: string | null | undefined;
    http_method?: string | null | undefined;
    path?: string | null | undefined;
    project_id?: string | null | undefined;
    request_id?: string | null | undefined;
    resource?: string | null | undefined;
    source_id?: string | null | undefined;
    source_ip?: string | null | undefined;
    source_type?: string | null | undefined;
    source_value?: string | null | undefined;
    start_time?: string | null | undefined;
    status?: number | null | undefined;
    sub_resource?: string | null | undefined;
    success?: boolean | null | undefined;
    url?: string | null | undefined;
};
/** @internal */
export declare const PlatformLog$outboundSchema: z.ZodType<PlatformLog$Outbound, z.ZodTypeDef, PlatformLog>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace PlatformLog$ {
    /** @deprecated use `PlatformLog$inboundSchema` instead. */
    const inboundSchema: z.ZodType<PlatformLog, z.ZodTypeDef, unknown>;
    /** @deprecated use `PlatformLog$outboundSchema` instead. */
    const outboundSchema: z.ZodType<PlatformLog$Outbound, z.ZodTypeDef, PlatformLog>;
    /** @deprecated use `PlatformLog$Outbound` instead. */
    type Outbound = PlatformLog$Outbound;
}
export declare function platformLogToJSON(platformLog: PlatformLog): string;
export declare function platformLogFromJSON(jsonString: string): SafeParseResult<PlatformLog, SDKValidationError>;
//# sourceMappingURL=platformlog.d.ts.map