/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 41a091b2e8f5 */ import * as z from "zod/v3"; export type DeleteallchatsRequest = { /** * The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. */ locale?: string | undefined; /** * The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. */ timezoneOffset?: number | undefined; }; /** @internal */ export type DeleteallchatsRequest$Outbound = { locale?: string | undefined; timezoneOffset?: number | undefined; }; /** @internal */ export const DeleteallchatsRequest$outboundSchema: z.ZodType< DeleteallchatsRequest$Outbound, z.ZodTypeDef, DeleteallchatsRequest > = z.object({ locale: z.string().optional(), timezoneOffset: z.number().int().optional(), }); export function deleteallchatsRequestToJSON( deleteallchatsRequest: DeleteallchatsRequest, ): string { return JSON.stringify( DeleteallchatsRequest$outboundSchema.parse(deleteallchatsRequest), ); }