/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Construct a type with a set of properties K of type T */ export type DeletedBuild = {}; /** @internal */ export const DeletedBuild$inboundSchema: z.ZodType< DeletedBuild, z.ZodTypeDef, unknown > = z.object({}); /** @internal */ export type DeletedBuild$Outbound = {}; /** @internal */ export const DeletedBuild$outboundSchema: z.ZodType< DeletedBuild$Outbound, z.ZodTypeDef, DeletedBuild > = z.object({}); export function deletedBuildToJSON(deletedBuild: DeletedBuild): string { return JSON.stringify(DeletedBuild$outboundSchema.parse(deletedBuild)); } export function deletedBuildFromJSON( jsonString: string, ): SafeParseResult { return safeParse( jsonString, (x) => DeletedBuild$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeletedBuild' from JSON`, ); }