import { Extension, IServiceCall } from "@chaosinsight/portalclient"; import type { IEndpointResult, IPortalResponse } from "../index"; export default class EZUser extends Extension { protected readonly extensionName = "EZUser"; getGet(): IServiceCall>; setPost(email: string, name: string, permission?: EZPermission | null, preferences?: string | null, identifier?: string, password?: string): IServiceCall>; deleteGet(id: string): IServiceCall>; meGet(): IServiceCall>; } export interface IEZUser { Identifier: string; Email: string; Name: string; Permission: EZPermission | null; IsAdministrator: boolean; Preferences: string; } export declare enum EZPermission { administrator = "Administrator", contributor = "Contributor", user = "User" } declare module "@chaosinsight/portalclient" { interface ExtensionHandler { ezUser: EZUser; } }