import { z } from "zod";

import { arrayOrEmpty, numberOrZero } from "../../nullable-defaults";
import { PrivateAlbumSchema } from "../private_album";

export const PrivateAlbumsResponseSchema = z.object({
  items: arrayOrEmpty(PrivateAlbumSchema),
  creditBalance: numberOrZero,
});

export type PrivateAlbumsResponseInput = z.input<
  typeof PrivateAlbumsResponseSchema
>;
export type PrivateAlbumsResponseData = z.output<
  typeof PrivateAlbumsResponseSchema
>;
