Can some one help me in sequelize syntax for the below query

SELECT
 distinct Stores.id
,Stores.firstName
,Stores.lastName
,Stores.mobile
,Stores.email
,Stores.fcmtoken
,Stores.storeName
,Stores.storeCat
,Stores.storeImage
,Stores.address1
,Stores.address2
,Stores.city
,Stores.state
,Stores.zip
,Stores.country
,Stores.landmark
,Stores.storeLat
,Stores.storeLng
,Stores.storeStatus
,Stores.deliveryType
,Stores.createdAt
,Stores.updatedAt
,6371* acos(cos(radians(Stores.storeLat))* cos(radians(13.3209803)) * cos(radians(79.5813091) - radians(Stores.storeLng)) + sin(radians(Stores.storeLat))* sin(radians(13.3209803))) AS distance
,(
    select avg(Feedbacks.rating)
    from Feedbacks
    where Feedbacks .storeId =Stores.id
) as rating
FROM Feedbacks
RIGHT JOIN Stores on Feedbacks.storeId = Stores.id
HAVING (Stores.storeStatus = 'active' AND (distance < 10 OR deliveryType > 0))
ORDER BY distance ASC