Interface HaloPSANodeParameters

Source
interface HaloPSANodeParameters {
    additionalFields?:
        | {
            inactive?: boolean;
            is_vip?: boolean;
            notes?: string;
            website?: string;
        }
        | {
            agent_id?: string;
            startdate?: string;
            targetdate?: string;
        }
        | {
            maincontact_name?: string;
            notes?: string;
            phonenumber?: string;
        }
        | {
            emailaddress?: string;
            inactive?: boolean;
            notes?: string;
            password?: string;
            surname?: string;
        };
    clientId?: string;
    clientName?: string;
    details?: string;
    filters?: {
        activeStatus?: "all"
        | "active"
        | "inactive";
        search?: string;
    };
    limit?: number;
    operation?: | "create"
    | "get"
    | "getAll"
    | "update"
    | "delete";
    resource?: "user"
    | "client"
    | "ticket"
    | "site";
    returnAll?: boolean;
    selectOption?: boolean;
    simplify?: boolean;
    siteId?: string;
    siteName?: string;
    summary?: string;
    ticketId?: string;
    ticketType?: string;
    updateFields?:
        | {
            inactive?: boolean;
            is_vip?: boolean;
            name?: string;
            notes?: string;
            website?: string;
        }
        | {
            agent_id?: string;
            details?: string;
            startdate?: string;
            summary?: string;
            targetdate?: string;
        }
        | {
            client_id?: string;
            maincontact_name?: string;
            name?: string;
            notes?: string;
            phonenumber?: string;
        }
        | {
            emailaddress?: string;
            inactive?: boolean;
            name?: string;
            notes?: string;
            password?: string;
            site_id?: string;
            surname?: string;
        };
    userId?: string;
    userName?: string;
}

Properties§

§readonly additionalFields?:
    | {
        inactive?: boolean;
        is_vip?: boolean;
        notes?: string;
        website?: string;
    }
    | {
        agent_id?: string;
        startdate?: string;
        targetdate?: string;
    }
    | {
        maincontact_name?: string;
        notes?: string;
        phonenumber?: string;
    }
    | {
        emailaddress?: string;
        inactive?: boolean;
        notes?: string;
        password?: string;
        surname?: string;
    }

Default: {}

§readonly clientId?: string
§readonly clientName?: string

Enter client name

§readonly details?: string
§readonly filters?: { ... }

Default: {}

§readonly limit?: number

Max number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}

§readonly operation?: "create" | "get" | "getAll" | "update" | "delete"

Default: "create"

§readonly resource?: "user" | "client" | "ticket" | "site"

Default: "client"

§readonly returnAll?: boolean

Whether to return all results or only up to a given limit

§readonly selectOption?: boolean

Whether client can be selected by ID

§readonly simplify?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

§readonly siteId?: string
§readonly siteName?: string

Enter site name

§readonly summary?: string
§readonly ticketId?: string
§readonly ticketType?: string

Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getHaloPSATicketsTypes"}

§readonly updateFields?:
    | {
        inactive?: boolean;
        is_vip?: boolean;
        name?: string;
        notes?: string;
        website?: string;
    }
    | {
        agent_id?: string;
        details?: string;
        startdate?: string;
        summary?: string;
        targetdate?: string;
    }
    | {
        client_id?: string;
        maincontact_name?: string;
        name?: string;
        notes?: string;
        phonenumber?: string;
    }
    | {
        emailaddress?: string;
        inactive?: boolean;
        name?: string;
        notes?: string;
        password?: string;
        site_id?: string;
        surname?: string;
    }

Default: {}

§readonly userId?: string
§readonly userName?: string

Enter user name