import { z } from 'zod';

// --- ASA GENERATED START ---
// Validation schemas for billing/subscribe slice.
// --- ASA GENERATED END ---

// --- USER CODE START ---

export const subscribeInputSchema = z.object({
  price_id: z.string().min(1, 'Price ID is required'),
});

export const subscribeOutputSchema = z.object({
  checkout_url: z.string().nullable(),
  error: z.string().nullable(),
});

export type SubscribeInput = z.infer<typeof subscribeInputSchema>;
export type SubscribeOutput = z.infer<typeof subscribeOutputSchema>;

// --- USER CODE END ---
