@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
26 lines • 745 B
TypeScript
import type { Types } from "mongoose";
import type { ProviderInfo } from "../../entities/User";
import type { ResponseData } from "../../interfaces";
export type IBodyCreateUser = {
email: string;
image?: string;
name: string;
username?: string;
password?: string;
metadata?: any;
providers?: ProviderInfo;
workspaces?: Types.Array<any>;
roles?: Types.Array<any>;
isActive: boolean;
};
export type CreateUserResponse = ResponseData & {
data: {
name: string;
createdAt: string;
updatedAt: string;
};
};
export declare function dxCreateUser(params: IBodyCreateUser, options?: {
isDebugging?: boolean;
}): Promise<CreateUserResponse>;
//# sourceMappingURL=dx-user.d.ts.map