Hamas has announced its acceptance of a new ceasefire proposal for the Gaza Strip, which was presented by mediators from Egypt and Qatar.