UNPKG

@couleetech/n8n-nodes-enlightenedmsp

Version:

n8n node for EnlightenedMSP ticketing and workflow automation

45 lines (44 loc) 1.36 kB
import { GraphqlBase } from './GraphqlBase'; export declare const DEFAULT_FIELDS = "id\nname\ndefaultTicketLevel\ndefaultHourlyRate\nbillingConfigured\nactive\nisOwnCompany\nautotaskCompanyId"; export declare class SearchCoreCompaniesGraphql extends GraphqlBase { constructor(endpoint: string, apiKey: string, userId?: string); searchCompanies({ name, defaultTicketLevel, defaultHourlyRate, billingConfigured, active, isOwnCompany, autotaskCompanyId, order, page, limit, fields, }: { name?: { eq?: string; not?: string; like?: string; notlike?: string; }; defaultTicketLevel?: { eq?: string; not?: string; like?: string; notlike?: string; }; defaultHourlyRate?: { eq?: number; gte?: number; lte?: number; }; billingConfigured?: { eq?: boolean; }; active?: { eq?: boolean; }; isOwnCompany?: { eq?: boolean; }; autotaskCompanyId?: { eq?: number; not?: number; }; order?: { field: string; direction: 'ASC' | 'DESC'; }; page?: number; limit?: number; fields?: string; }): Promise<any>; }