Spain's national intelligence agency issued multiple warnings before the Ceuta border crisis about a potential mass crossing of migrants from Morocco into the Spanish exclave in late July.