@espressif/rainmaker-base-cdf
    Preparing search index...

    Class ESPNodeSharingRequest

    Represents a user node in the system, managing its configuration and connectivity status. Implements the ESPRMNodeInterface.

    Implements

    Index

    Constructors

    Properties

    id: string

    Unique identifier for the sharing request.

    metadata: Record<string, any>

    Additional metadata for the sharing request.

    newRole: string

    New role assigned to the user.

    nodeIDs: string[]

    List of node IDs involved in the sharing request.

    primaryUsername: string

    The primary username associated with the node sharing request.

    status: string

    Current status of the sharing request.

    timestamp: number

    Timestamp of when the request was created.

    transfer: boolean

    Indicates if the request is for transferring ownership.

    username: string

    Username of the user involved in the sharing request.

    Methods

    • Returns Promise<ESPAPIResponse>

    • Declines a node sharing request for the user.

      Returns Promise<ESPAPIResponse>

      A promise that resolves to a success response indicating the request was declined.

    • Removes a node sharing request for the user.

      Returns Promise<ESPAPIResponse>

      A promise that resolves to a success response indicating the request was removed.