Use the notation $(n_1,n_2,\ldots,n_k) \vdash n$ to denote that $(n_1,n_2,\ldots,n_k)$ is a partition of the positive integer $n$, that is, $n_1+n_2+\ldots+n_k = n$ and $n_1 \ge n_2 \ge \ldots \ge n_k \ge 1$. Let $f=f(x_1,x_2,\ldots)$ be a multivariate function of countably many arguments.
Is there a way to simplify the following generating function over partitions: \begin{equation}\tag{$*$} \sum_{n=1}^{\infty} \left( \sum_{k=1}^n \sum_{(n_1,n_2,\ldots,n_k) \vdash n} f(n_1,n_2,\ldots,n_k) 1^{n_1} 2^{n_2} \ldots k^{n_k} \right) z^n, \end{equation} say, by making use of generating function of partition functions, or some magic identities in partition theory?
Thank you in advance for any suggestions or references.
Edit: Thanks to @SamHopkins and @Gro-Tsen for their observations, I put the term $z^n$ in the summand which makes the sum $(*)$ the form of a generating function. Also thanks to @Gro-Tsen's hint, the sum $(*)$ can be simplified for a special class of $f$ by making use of the conjugation of partitions. Let $(n'_1,n'_2,\ldots,n'_l)$ denote the conjugate partition of $(n_1,n_2,\ldots,n_k)$, that is, $n'_j := \# \{i: n_i\ge j \}$. Define $$ \hat f(n'_1,n'_2,\ldots,n'_l) := f(n_1,n_2,\ldots,n_k).$$ Then the sum $(*)$ becomes \begin{equation} (*) = \sum_{n=1}^{\infty} \left( \sum_{l=1}^n \sum_{(n'_1,n'_2,\ldots,n'_l) \vdash n} \hat f(n'_1,n'_2,\ldots,n'_l) n'_1! n'_2! \ldots n'_l! \right) z^n. \end{equation} Now if the new function $\hat f$ is a tensor power, that is, $$ \hat f(n'_1,n'_2,\ldots,n'_l) = a(n'_1) \ldots a(n'_l),$$ for some function $a$, then due to the first comment of this post, \begin{equation} \begin{split} 1+(*) &= \sum_{n=0}^{\infty} \left( \sum_{l=1}^n \sum_{(n'_1,n'_2,\ldots,n'_l) \vdash n} a(n'_1) n'_1! \ldots a(n'_l) n'_l! \right) z^n \\ &= \prod_{i=1}^\infty \frac{1}{1- a(i) i! z^i}. \end{split} \end{equation} In the special case that $f\equiv 1$, we have $a=1$ and the resulting function is the generating function of the OEIS sequence A077365. Another special case is that $a(i) = 1/i!$, where the resulting function is the generating function of the basic partition function.
But what about the general case where $\hat f$ is not a tensor power, e.g., $\hat f$ is a general tensor product like $ \hat f(n'_1,n'_2,\ldots,n'_l) = a_1(n'_1) \ldots a_l(n'_l)$?