/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type SnoozeSubscriberNotificationDto = { /** * The date and time until which the notification should be snoozed */ snoozeUntil: Date; }; /** @internal */ export type SnoozeSubscriberNotificationDto$Outbound = { snoozeUntil: string; }; /** @internal */ export const SnoozeSubscriberNotificationDto$outboundSchema: z.ZodType< SnoozeSubscriberNotificationDto$Outbound, z.ZodTypeDef, SnoozeSubscriberNotificationDto > = z.object({ snoozeUntil: z.date().transform(v => v.toISOString()), }); export function snoozeSubscriberNotificationDtoToJSON( snoozeSubscriberNotificationDto: SnoozeSubscriberNotificationDto, ): string { return JSON.stringify( SnoozeSubscriberNotificationDto$outboundSchema.parse( snoozeSubscriberNotificationDto, ), ); }