/* * 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 LocationServicesLocationManagementCreateListDay = { open?: string | undefined; close?: string | undefined; information?: string | undefined; }; /** @internal */ export type LocationServicesLocationManagementCreateListDay$Outbound = { Open?: string | undefined; Close?: string | undefined; Information?: string | undefined; }; /** @internal */ export const LocationServicesLocationManagementCreateListDay$outboundSchema: z.ZodType< LocationServicesLocationManagementCreateListDay$Outbound, z.ZodTypeDef, LocationServicesLocationManagementCreateListDay > = 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 locationServicesLocationManagementCreateListDayToJSON( locationServicesLocationManagementCreateListDay: LocationServicesLocationManagementCreateListDay, ): string { return JSON.stringify( LocationServicesLocationManagementCreateListDay$outboundSchema.parse( locationServicesLocationManagementCreateListDay, ), ); }