zitadel-node
zitadel-node copied to clipboard
Difficult/impossible to use much/most of the types
I am trying to use addHumanUser by creating a client with createManagementClient. However,
import { createAccessTokenInterceptor, createManagementClient, } from '@zitadel/node/api';
const client = createManagementClient(zitadelUrl, createAccessTokenInterceptor(...));
However, assigning gender seems difficult, because it appears I cannot import Gender etc. I can't import AddHumanUserRequest, so I can't just use AddHumanUserRequest.fromJson and the string values specified in Zitadel documentation either
I noticed an issue that seemed related, but it was marked as solved.
I use version 2.0.8 of zitadel-node with TypeScript
hey @wlinna I'll have a look at the types again :)
Yeah, I'm having same issue. not possible to use in internal imports