/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type DeleteTopicSubscriberIdentifierDto = { /** * Unique identifier for this subscription. If provided, deletes only this specific subscription. */ identifier?: string | undefined; /** * The subscriber ID. If provided without identifier, deletes all subscriptions for this subscriber within the topic. */ subscriberId?: string | undefined; }; /** @internal */ export type DeleteTopicSubscriberIdentifierDto$Outbound = { identifier?: string | undefined; subscriberId?: string | undefined; }; /** @internal */ export const DeleteTopicSubscriberIdentifierDto$outboundSchema: z.ZodType< DeleteTopicSubscriberIdentifierDto$Outbound, z.ZodTypeDef, DeleteTopicSubscriberIdentifierDto > = z.object({ identifier: z.string().optional(), subscriberId: z.string().optional(), }); export function deleteTopicSubscriberIdentifierDtoToJSON( deleteTopicSubscriberIdentifierDto: DeleteTopicSubscriberIdentifierDto, ): string { return JSON.stringify( DeleteTopicSubscriberIdentifierDto$outboundSchema.parse( deleteTopicSubscriberIdentifierDto, ), ); }