Constructs a new client.
The defs associated with the client.
ReadonlyextThe extended ops service.
ReadonlyfetchThe fetch function to use for network communication.
ReadonlyfunctionsThe functions service
ReadonlygroupsThe user groups service
ReadonlynotificationsThe notifications service.
ReadonlynotificationsThe notifications settings service.
ReadonlyopsThe ops service.
ReadonlyoriginThe origin of the client.
ReadonlypathIs the optional path that is appended to the client origin url
ReadonlyprojThe project service.
ReadonlyprojectThe project associated with this client.
ReadonlyrecordThe record service.
ReadonlyrolesThe user roles service
ReadonlyscheduleThe schedule service.
ReadonlyuserThe user service.
ReadonlywatchThe watch service.
Closes the client.
Warning: this will close any watches associated with this client. Any watches may throw an error if they are used after being closed.
Fetch a haystack value from the server.
The resource to request.
Optionalbody: HVal | HaysonValOptional haystack value used for the request's body.
Optionaloptions: RequestInitOptional object containing any custom settings.
A promise that resolves to a value.
The default options to used with a fetch operation.
Returns the URL for a haystack service.
A URL.
Returns the URL for a host service.
The path of the service.
A URL.
Returns the URL for an op.
The op to create the URL for.
A URL.
Returns the origin API Url
Name of the API
A URL.
True if the defs have been loaded using this service.
Asynchronously load the defs library using this service.
Please note, this will overwrite any existing defs loaded.
A promise that's resolved once the defs have been loaded.
A high level Haystack Client