Creates an instance of ESPRMNode
.
An object containing the node details.
Available Transports with the node.
Optional
connectivityThe connectivity status of the node.
The unique identifier of the node.
Optional
isIndicates if the node is associated with a primary user.
Optional
metadataMetadata associated with the node.
Optional
nodeThe configuration settings for the node.
Optional
roleRole of user associated with the node.
Optional
tagsTags associated with the node.
Transport order associated with the node.
Optional
typeThe type of the node.
Adds a new automation trigger for the node.
The details of the automation trigger and action to add.
A promise that resolves to an ESPAutomation instance containing details of the newly created automation.
Attaches tags to the node.
An array of tags to attach to the node.
A promise that resolves to the API response.
Checks if there is an Over-The-Air (OTA) update available for the node.
A promise that resolves to an ESPOTAUpdateResponse
object containing details about the OTA update availability.
Deletes the mapping of current node with user.
A promise that resolves to the API success response.
Retrieves a list of all automations for this node with optional pagination.
A promise that resolves to a paginated response containing automation data.
Checks the status of a previously initiated Over-The-Air (OTA) update for the node.
The ID of the OTA job for which the status is being checked.
A promise that resolves to an ESPOTAUpdateStatusResponse
object containing details about the OTA update status.
Fetches the services for the current node.
A promise that resolves to an array of updated services.
Initiates an Over-The-Air (OTA) update for the node using a specified OTA job ID.
The ID of the OTA job to be used for the update.
A promise that resolves to an ESPAPIResponse
object confirming the successful initiation of the OTA update.
Remove sharing of the current node for a specified user.
The username of the user for whom the sharing is to be removed.
A promise that resolves to a success response upon successful removal.
Sets multiple parameters for the node.
The payload containing the parameters to be set.
A promise that resolves to the API response.
Set the timeZone for the node.
The timeZone string to set.
A promise that resolves to an ESPAPIResponse indicating the success of the operation.
Create Transfer request of the current node to a specified user.
Parameters specifying the user and transfer options.
A promise that resolves to a requestId upon successful transfer request creation.
Represents a user node in the system, managing its configuration and connectivity status. Implements the
ESPRMNodeInterface
.