Boundary $\mathcal{N} = 2$ theory, Floer homologies, affine algebras, and the Verlinde formula