UploadedMedia and ImageSizeType had been moved to twitter-types package.