The credential for authentication with the instance
Optionaloptions: { dispatcher?: Dispatcher }Optionaldispatcher?: Dispatcherundici's dispatcher, used for every request this connector makes (long body timeouts for
large apps, connect timeout, proxy routing). A dispatcher passed in a request's own
init takes precedence.
Fetch a resource from the ServiceNow instance
Subpath to fetch from the instance (ex: /api/now/table/incident)
Optionalinit: FetchInitRequest options to pass to fetch (Default: { method: 'GET', headers: { 'Content-Type': 'application/json' } })
Optionalparams: URLSearchParamsThe response from the fetch request or an error if the request failed
Optionalscope: stringOptionalscopeId: stringRuns a script through the same processor as the Background Scripts page. Calls fetchOnce because fetch re-POSTs on a 401 and re-running an arbitrary script is not safe. The processor answers 200 even for auth failures, so parseScriptResponse decides success.
Mapping between script include identifiers and their sys_id
Mapping of script to scripd sys_id (Example: { 'global.JSUtil': '1e2e4e24c1af42bea7f0c0f9fa40fbeb' })
Produces the typescript definition for glide server scriptables
OptionalsysId: stringOptionaltableGraphs: RelationshipHierarchy<T>[]OptionalscopeId: stringOptionaloptions: { targetUpdateSetId?: string; timeoutMs?: number }
This class handles http communication with the ServiceNow instance