import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Code change data. * * @remarks * * `id` and `codeChange` are required. All other fields are optional to support customizable field visibility. * * Omitted keys mean the column is not in the response; `null` means the column is present but empty. */ export type CodeChange = { /** * Code change record ID - always present. */ id: string; /** * Code change title (e.g. PR title) - always present. */ codeChange: string; /** * IDs of the audit segments this code change is in scope for. * * @remarks * Omitted when segment scoping is disabled. */ segmentIds?: Array | undefined; /** * Code change identifier (e.g. PR number). */ identifier?: string | undefined; /** * Version control source where the change originated. * * @remarks * Known values are listed in {@link ApiCodeChangeSource}; other strings may * appear if a new source is onboarded before this enum is updated. */ service?: string | undefined; /** * Repository name. */ repository?: string | undefined; /** * Date the code change was opened. */ openedAt?: Date | undefined; /** * Date the code change was merged/closed. */ closedAt?: Date | undefined; }; /** @internal */ export declare const CodeChange$inboundSchema: z.ZodType; export declare function codeChangeFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=codechange.d.ts.map