Feature/5895 store all incoming documents in sync db

Why aren't these parameters explicit in the definition?