package dto_astrologer

// VerifyOTPRequest is the /verify-login payload.
//
// Mobile is what the call actually resolves the account by, so it is the field
// that is required. Type carried no information here — /verify-login only ever
// checks a mobile OTP — yet it was required, so a request without it was
// rejected before it reached the service. Apps that still send it keep working.
type VerifyOTPRequest struct {
	Mobile string `json:"mobile" binding:"required"`
	Email  string `json:"email"`
	OTP    string `json:"otp" binding:"required"`
	Type   string `json:"type"`

	// ip_address, device_name, platform, device_token — optional.
	DeviceSession
}
