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

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

export const FacebookPsidLoginRequestSchema = z.object({
  psid: z.string(),
  deviceId: stringOrEmpty,
  bindToGuest: booleanOrTrue,
});

export type FacebookPsidLoginRequestInput = z.input<
  typeof FacebookPsidLoginRequestSchema
>;
export type FacebookPsidLoginRequestData = z.output<
  typeof FacebookPsidLoginRequestSchema
>;
