Please reason step by step, and put your final answer within \boxed{}.
Calculate

$$
\int_{L}\left(2 x^{2}+3 y^{2} i\right) d z
$$

where \( L \) is the straight line segment connecting the points \( z_{1}=1+i \) and \( z_{2}=2+3 i \).
user