/* * 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 LocationServicesLocationManagementGetListsGlobals = { source?: string | undefined; }; export type GetListsRequest = { /** * The key you want to use to authenticate with the service (you can request we create one for you or create one in your [account section](https://account.loqate.com/account#/)). */ key?: string | undefined; /** * The unique GUID for a given list. */ listId?: string | undefined; }; /** @internal */ export type GetListsRequest$Outbound = { Key: string; listId?: string | undefined; }; /** @internal */ export const GetListsRequest$outboundSchema: z.ZodType< GetListsRequest$Outbound, z.ZodTypeDef, GetListsRequest > = z.object({ key: z.string().default("AA11-AA11-AA11-AA11"), listId: z.string().optional(), }).transform((v) => { return remap$(v, { key: "Key", }); }); export function getListsRequestToJSON( getListsRequest: GetListsRequest, ): string { return JSON.stringify(GetListsRequest$outboundSchema.parse(getListsRequest)); }