/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; export type LocationServicesDistanceFinderNearbyDay = { open?: string | undefined; close?: string | undefined; information?: string | undefined; }; /** @internal */ export type LocationServicesDistanceFinderNearbyDay$Outbound = { Open?: string | undefined; Close?: string | undefined; Information?: string | undefined; }; /** @internal */ export const LocationServicesDistanceFinderNearbyDay$outboundSchema: z.ZodType< LocationServicesDistanceFinderNearbyDay$Outbound, z.ZodTypeDef, LocationServicesDistanceFinderNearbyDay > = z.object({ open: z.string().optional(), close: z.string().optional(), information: z.string().optional(), }).transform((v) => { return remap$(v, { open: "Open", close: "Close", information: "Information", }); }); export function locationServicesDistanceFinderNearbyDayToJSON( locationServicesDistanceFinderNearbyDay: LocationServicesDistanceFinderNearbyDay, ): string { return JSON.stringify( LocationServicesDistanceFinderNearbyDay$outboundSchema.parse( locationServicesDistanceFinderNearbyDay, ), ); }