Diode markings are always very hard to read. Even when theyre loose, on the desk, in good light.
These two are the same, but have the writing in different orientations -


both 1N4148. Im posting the images as an example of what to look for / how hard it is to see.
I assume there's no hope of soldering the wire back onto the body? It does not look like there is a stub, but it may be a consideration?
On looking further, im almost certain that the other parts are a pair of photoswitches. Here is a photo of some fresh ones -

They are not big money - couple of quid each or so.