Constructs a new record service object.
Ops configuration.
Available formats supported by the server.
Read time series data from a historized point.
The id of the historized point.
The date range.
The time series data.
Write the time series data to the historized point.
The id of the historized point.
The data to write to the history.
The history data to write.
Invoke an action on the target record.
The id of the target record to invoke the action on.
The name of the action to invoke.
Optionalargs: HaysonDict | HDictOptional arguments for the action.
The result of the action.
A generic method used to invoke any op on the server using an HTTP POST.
The name of the op to invoke.
Optionalgrid: HGrid<HDict>An optional grid argument that is encoded with the op call.
The response grid.
Get the navigation hierarchy at the specified node via its navId.
Return the root node if none is specified.
OptionalnavId: string | HRef | HaysonDict | HDict | HGrid<HDict> | HStrOptional navId string, str, ref, dict or grid. If a dict or grid, the id must be specified via a navId property.
The navigation.
Available ops that can be invoked.
Read a writable point's priority array.
The id of the point to read.
The writable point's priority array.
Write to a point's priority level.
The writable point's priority array.
list of ids as HRef or string
Reads a set of records from the server by id.
const result = await client.read(['@id1', '@id2', '@id3'])
The required haystack filter.
Optionallimit: numberOptional limit on the number of records sent back.
Reads a set of records from the server by filter.
Please note, to help build a Haystack filter you can use HFilterBuilder available in Haystack Core.
const filter = new HFilterBuilder()
.has('site')
.and()
.equals('geoCity', 'Las Vegas')
.build()
const result = await client.read(filter)
A service used for calling standard Haystack Ops.