I need to find a solution to the problem in the general case. For given transfer function
$$ W(s)=\frac{{{K}_{1}}{{e}^{-s{{T}_{1}}}}}{1+{{K}_{2}}{{e}^{-s{{T}_{2}}}}} $$
get the analytical formulas for the following inverse Laplace transform
$$ h(t)={{\mathcal{L}}^{-1}}\left\{ \frac{W(s)}{s} \right\} $$
Can I find a combination of hyperbolic functions expressions to apply? Is this applicable (source)?
Assuming that $|K_2e^{-sT_2}|\lt 1$ we can proceed as follows.
$$ W(s)=K_1e^{-sT_1}\sum_{i=0}^n(-1)^iK_2^ie^{-i T_2s} $$
then
$$ \mathcal{L}^{-1}\left[\frac{W(s)}{s}\right] = K_1\sum_{i=0}^n(-1)^i K_2^i \theta (t-T_1-i T_2) $$
where $\theta(\cdot)$ is the Heaviside Theta function.