Here are photos of the two parts.
https://imgur.com/a/ELPcCnrThe white sticker box is the door lock (we have one of these mounted on door frame (not on elevator car itself) and there is one on each floor. The orange sticker item is the gate switch (mounted on top of the elevator car). Oddly, bot have the same part numbers on them, 3152415. I noticed that this PN was part of a recall, but not sure if that means I can get a free replacement.
https://www.cpsc.gov/Recalls/2016/Porta-Recalls-Residential-Elevators