function bulkAction(bulkActionResult, _apiConfig, frame) {
    return {
        bulk: {
            action: frame.data.action,
            meta: {
                stats: {
                    successful: bulkActionResult.successful,
                    unsuccessful: bulkActionResult.unsuccessful
                },
                errors: bulkActionResult.errors,
                unsuccessfulData: bulkActionResult.unsuccessfulData
            }
        }
    };
}
@param {object} bulkActionResult
@param {APIConfig} _apiConfig
@param {import('@tryghost/api-framework').Frame} frame

@returns {{bulk: SerializedBulkAction}}