import {Extension, HttpMethod, IServiceCall, SessionRequirement} from "@chaosinsight/portalclient" export default class EzSystem extends Extension { protected readonly extensionName = "EzSystem" public get(methodName: string, sessionGuid: string, objectTypeId: number, clean: boolean): IServiceCall { return this.call(methodName, {sessionGuid, objectTypeId, clean}, HttpMethod.Get, SessionRequirement.authenticated) } } Extension.add(EzSystem, "ezSystem") declare module "@chaosinsight/portalclient" { interface ExtensionHandler { ezSystem: EzSystem } }