import { Extension, IServiceCall } from "@chaosinsight/portalclient"; import type { IPortalResponse } from "../index"; export default class EZDataDefinition extends Extension { protected readonly extensionName = "EZDataDefinition"; getGet(): IServiceCall>; } export interface IEZDataDefinition { Identifier: string; Name: string; Type: string; TypeId: string; IsEditable: boolean; Description: string; Fields: { [key: string]: IEZDataDefinitionField; }; } export interface IEZDataDefinitionField { DisplayName: string; Type: EZDataDefinitionFieldType; IsRequired: boolean; Options: string[] | null; Placeholder: string | null; } export declare enum EZDataDefinitionFieldType { string = "String", dateTime = "Datetime", boolean = "Boolean", multipleChoice = "MultipleChoice" } declare module "@chaosinsight/portalclient" { interface ExtensionHandler { ezDataDefinition: EZDataDefinition; } }