Write the independent variable $z$ and dependent variable $w = f(z)$ in polar form, say, as $$z = r e^{i \theta}, \qquad f(z) = \rho e^{i \alpha} .$$
In particular, $\rho = |f(z)|$ and $\alpha = \arg f(z)$ are functions of $r, \theta$. Translating the Cauchy-Riemann equations into coordinates $(r, \theta), (\rho, \alpha)$ yields
$$\phantom{(\textrm{CR})} \qquad \boxed{\frac{\rho_r}{\rho} = \frac{1}{r} \alpha_\theta, \qquad \frac{\rho_\theta}{\rho} = -r \alpha_r} . \qquad (\textrm{CR})$$
Question A: What are all of the holomorphic functions that satisfy Condition A?
Suppose that the holomorphic function $f(z) = \rho e^{i \alpha}$ satisfies Condition A. Differentiating along rays (i.e., with respect to $r$) gives that at an arbitrary point $z = r e^{i\theta}$, $$\alpha_r(z) = \left(\frac{\partial}{\partial r} \arg f\right)(z) = \lim_{s \to r} \frac{\arg f(s e^{i \theta}) - \arg f(r e^{i\theta})}{s - r} = 0 ,$$ so $\alpha$ is a function of $\theta$ alone. Since $f$ is holomorphic, it satisfies (CR), and in particular $\rho_\theta = -r \rho \cdot 0 = 0$, so $\rho$ is a function of $r$ alone. The other equation in (CR) gives that (inflicting a mild abuse of notation) $$\frac{r \rho_r(r)}{\rho(r)} = \alpha_\theta(\theta),$$ but the left- and right-hand sides depend only on $r, \theta$ respectively, so both sides are equal to some common constant $b$. Solving separately the o.d.e.s $\frac{r \rho_r(r)}{\rho(r)} = b$ and $\alpha_\theta(\theta) = b$ gives
$$\rho(r) = \rho_0 r^b \qquad \textrm{and} \qquad \alpha(\theta) = b \theta + \alpha_0$$ for some real $\rho_0, \theta_0$. Thus,
$$f(z) = f(r e^{i \theta}) = \rho e^{i \alpha} = (\rho_0 r^b) e^{i (b \theta + \alpha_0)} = c (r e^{i \theta})^b = c z^b ;$$ here $c := \rho_0 e^{i \alpha_0}$ can take on any value in $\Bbb C \setminus \{0\}$ and $b \in \Bbb R$. In summary, a holomorphic function satisfies Condition A iff it is locally given by some power function
$$\color{#bf0000}{\boxed{f(z) = c z^b}}$$
with real exponent. Such a function extends to a function holomorphic on all of $\Bbb C \setminus \{0\}$, iff $z^b$ does, that is, iff $b \in \Bbb Z$. In either case, the descent $S^1 \to S^1$ is $\zeta \mapsto e^{i \alpha_0} \zeta^b$.
Question B: What are all of the holomorphic functions that satisfy Condition B?
An analogous argument shows that Condition B is equivalent to $\alpha_\theta = 0$, hence by (CR) $\rho_r = 0$, and a computation similar to the one for Condition A shows that a function $f(z)$ satisfies Condition B iff it is locally given by some power function
$$\color{#bf0000}{\boxed{f(z) = c z^{i b}}}$$
with imaginary exponent, or more precisely, with $c \in \Bbb C \setminus \{0\}$, $b \in \Bbb R$. Except when $b = 0$, i.e., when $f$ is constant, no such function extends to be holomorphic on $\Bbb C \setminus \{0\}$. The argument plot after the definition of condition $b$ depicts the case $b = 1$. The descent $\Bbb R_+ \to S^1$ is $r \mapsto e^{i (b \log r + \alpha_0)}$.