/**
 * Facebook 登录请求
 * 
 */
import { z } from "zod";

import { booleanOrFalse, stringOrEmpty } from "../nullable-defaults";

export const FacebookLoginRequestSchema = z.object({
  accessToken: z.string(),
  platform: z.string(),
  guestId: stringOrEmpty,
  isTestAccount: booleanOrFalse,
});

export type FacebookLoginRequestInput = z.input<typeof FacebookLoginRequestSchema>;
export type FacebookLoginRequestData = z.output<typeof FacebookLoginRequestSchema>;
