Const
Constructs the payload for setting the time zone on a node.
The ID of the node.
The time service parameters.
The time zone string to set.
The constructed payload object.
Extracts the time service and its time zone parameter from the node configuration.
The node configuration object.
A promise that resolves to the time service parameters or null if not found.
Retrieves the node configuration required to set the time zone.
The ID of the node.
A promise that resolves to the node configuration object.
Retrieves the connectivity status of a node.
The ID of the node.
A promise that resolves to the node's connectivity status object.
Sets the time zone for a node.
The payload containing the time zone data.
A callback function to report progress.
A promise that resolves to the API response.
Waits for a node to become connected, retrying at intervals.
The ID of the node.
A callback function to report progress.
The maximum number of retries (default is 5).
The interval between retries in milliseconds (default is 5000).
A promise that resolves to true if the node is connected, or false if retries are exhausted.
Provides methods to set up the time zone for a node.