Helper module for managing node mapping-related operations.

Constructors

Methods

  • Initiates a user node mapping request.

    Parameters

    • groupId: string

      The ID of the group to associate the node with.

    • requestBody: Record<string, unknown> = {}

      The request body for the user node mapping.

    Returns Promise<unknown>

    A promise that resolves to the response from the API.

  • Verifies the mapping between a user and a node.

    Parameters

    • groupId: string

      The ID of the group.

    • requestId: string

      The node association request ID.

    • requestBody: Record<string, unknown> = {}

      The request body for the user node mapping verification.

    Returns Promise<{ challenge_response?: string; message?: string; node_id?: string }>

    A promise that resolves to the response from the API.