/* * 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 StoreFinderInteractiveRetrieveCoordinatesGlobals = { source?: string | undefined; }; export type StoreFinderInteractiveRetrieveCoordinatesRequest = { /** * The key to use to authenticate to the service. */ key?: string | undefined; /** * The ID of the location to get the coordinates for. Use the FindPlaceNames to get the Id. */ id: string; }; /** @internal */ export type StoreFinderInteractiveRetrieveCoordinatesRequest$Outbound = { Key?: string | undefined; Id: string; }; /** @internal */ export const StoreFinderInteractiveRetrieveCoordinatesRequest$outboundSchema: z.ZodType< StoreFinderInteractiveRetrieveCoordinatesRequest$Outbound, z.ZodTypeDef, StoreFinderInteractiveRetrieveCoordinatesRequest > = z.object({ key: z.string().optional(), id: z.string(), }).transform((v) => { return remap$(v, { key: "Key", id: "Id", }); }); export function storeFinderInteractiveRetrieveCoordinatesRequestToJSON( storeFinderInteractiveRetrieveCoordinatesRequest: StoreFinderInteractiveRetrieveCoordinatesRequest, ): string { return JSON.stringify( StoreFinderInteractiveRetrieveCoordinatesRequest$outboundSchema.parse( storeFinderInteractiveRetrieveCoordinatesRequest, ), ); }