uploadImageRequest = ({fileContents, filename, contentType, ref}) => {
    const form = new FormData();
    form.append('file', fileContents, {
        filename,
        contentType
    });

    form.append('purpose', 'image');
    if (ref) {
        form.append('ref', ref);
    }

    return agent
        .post('/images/upload/')
        .body(form);
}
@param {object} options
@param {Buffer} options.fileContents
@param {string} options.filename
@param {string} options.contentType
@param {string} [options.ref]
@returns