Hamas says it received guarantees that Gaza war 'fully ended'