import { CustomData, ListArgs } from "./openchannel"; export interface User { userId: string; type?: string; created: number; username?: string; name?: string; email?: string; customData?: CustomData; } export interface UserGroup { groupId: string; email: string; customData?: CustomData; } export interface GetUserOptions { userId: string; } export interface ListUserOptions extends ListArgs {} export interface UpsertUserOptions { userId: string; type?: string; groupId?: string; username?: string; name?: string; email?: string; customData: CustomData; } export interface ListUserGroupsOptions extends ListArgs {} export interface GetUserGroupOptions { groupId: string; } export interface UpsertUserGroupOptions { groupId: string; email?: string; customData: CustomData; } export interface DeleteUserOptions { userId: string; }