import { IUserModelAttributes } from "../entity/user.entity"; type UserAttributes = Omit; export interface IUserUpsertRequest extends UserAttributes { } export type IUserUpsertRequestWithValidation = Omit & ({ registerType: "credential"; phoneNumber: string; email: string; } | { registerType: "credential-email"; email: string; } | { registerType: "credential-phoneNumber"; phoneNumber: string; } | { registerType: "google"; email: string; } | { registerType: "apple"; email: string; }); export {};