KAZOO-3112: Add pvt_type, when adding or removing attachment from doc, t...

...o ensure flush