/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; /** * Accessible link to the file, either public http or local file:// */ export type UrlSource = { type?: "URL" | undefined; url: string; }; /** @internal */ export const UrlSource$inboundSchema: z.ZodType< UrlSource, z.ZodTypeDef, unknown > = z.object({ type: z.literal("URL").optional(), url: z.string(), }); /** @internal */ export type UrlSource$Outbound = { type: "URL"; url: string; }; /** @internal */ export const UrlSource$outboundSchema: z.ZodType< UrlSource$Outbound, z.ZodTypeDef, UrlSource > = z.object({ type: z.literal("URL").default("URL" as const), url: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace UrlSource$ { /** @deprecated use `UrlSource$inboundSchema` instead. */ export const inboundSchema = UrlSource$inboundSchema; /** @deprecated use `UrlSource$outboundSchema` instead. */ export const outboundSchema = UrlSource$outboundSchema; /** @deprecated use `UrlSource$Outbound` instead. */ export type Outbound = UrlSource$Outbound; }