/**
 * Zod schema for SubscribeResponse
 *
 * This schema provides runtime validation and type inference.
 *  * Response serializer for subscription endpoint.
 *  */
import { z } from 'zod'

/**
 * Response serializer for subscription endpoint.
 */
export const SubscribeResponseSchema = z.object({
  success: z.boolean(),
  subscription_id: z.int(),
  created: z.boolean(),
})

/**
 * Infer TypeScript type from Zod schema
 */
export type SubscribeResponse = z.infer<typeof SubscribeResponseSchema>