Cat Piss.
You want something with "enzymes".
There are powders that draw the piss out of carpet, and then can be vacuumed out..
For the vinyl, I'd use a enzymatic spray.
Nature's miracle is one brand but there are others.
I can't stress enough to pay the few extra bucks for pet stain specific "enzymes".