North Korea said it had successfully test-fired a new type of medium- to long-range ballistic missile on Sunday, claiming advances in a weapons program it is pursuing in violation of U.N. resolutions.