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