In the second sitemap I haven't included social links, also there are a lot of pages missing like "place order" page that is called when "place order button" is pressed in the cart page. Or if I include all pages I would create flow map?
What pages are required for the sitemap and what are optional?
A sitemap is a file where you can list the web pages of your site to tell Google and other search engines about the organization of your site content. Search engine web crawlers like Googlebot read this file to more intelligently crawl your site.
Also, your sitemap can provide valuable metadata associated with the pages you list in that sitemap: Metadata is information about a webpage, such as when the page was last updated, how often the page is changed, and the importance of the page relative to other URLs in the site.
and here you can find the guidelines for creating a sitemap according to Google: https://support.google.com/webmasters/answer/183668?hl=en&ref_topic=4581190
My suggestion is that the 1st one that you present has too little information and the 2nd one too much. Google shouldn't know any information about personal data, favorite items, orders etc. I would suggest keeping this part of your sitemap only.
Lastly, depending on the CMS system - if you use one- that you use in order to create your site, there might be some extension to generate the sitemap. Maybe you could have a look at this as well.