Class: Wizard

Wizard(opts)

The Wizard class wraps node operations

Cannot directly be instantiated

Constructor

new Wizard(opts)

Creates a Wizard

Parameters:
Name Type Description
opts object

The configuration options.

Methods

deleteAll() → {Promise.<*>}

Delete all the nodes with wizard assigned to the user

Returns:
Type
Promise.<*>

deleteAll() → {Promise.<*>}

Delete all the nodes with wizard assigned to the user

Returns:
Type
Promise.<*>

getWizardNodes() → {Promise.<*>}

Get nodes with wizard assigned to the user

Returns:
  • Return a list of nodes with wizard
Type
Promise.<*>

getWizardNodes() → {Promise.<*>}

Get nodes with wizard assigned to the user

Returns:
  • Return a list of nodes with wizard
Type
Promise.<*>

removeGroup(uuid, groupName) → {Promise.<any>|Promise.<*>}

Remove group

Parameters:
Name Type Description
uuid

The uuid of the node

groupName

The name of the group

Returns:
Type
Promise.<any> | Promise.<*>

removeGroup(uuid, groupName) → {Promise.<any>|Promise.<*>}

Remove group

Parameters:
Name Type Description
uuid

The uuid of the node

groupName

The name of the group

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardCategories(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard categories

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardCategories(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard categories

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardKeywords(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard keywords

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardKeywords(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard keywords

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardOCRDataCapture(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard OCR Data Capture

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardOCRDataCapture(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard OCR Data Capture

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeWorkflow(uuid, workflowName) → {Promise.<any>|Promise.<*>}

Remove workflow

Parameters:
Name Type Description
uuid

The uuid of the node

workflowName

The name of the workflow

Returns:
Type
Promise.<any> | Promise.<*>

removeWorkflow(uuid, workflowName) → {Promise.<any>|Promise.<*>}

Remove workflow

Parameters:
Name Type Description
uuid

The uuid of the node

workflowName

The name of the workflow

Returns:
Type
Promise.<any> | Promise.<*>

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setToken(token)

Set the token in Note variables

Parameters:
Name Type Description
token

The authorization token value

setToken(token)

Set the token in Note variables

Parameters:
Name Type Description
token

The authorization token value

Wizard(opts)

The Wizard class wraps node operations

Cannot directly be instantiated

Constructor

new Wizard(opts)

Creates a Wizard

Parameters:
Name Type Description
opts object

The configuration options.

Methods

deleteAll() → {Promise.<*>}

Delete all the nodes with wizard assigned to the user

Returns:
Type
Promise.<*>

deleteAll() → {Promise.<*>}

Delete all the nodes with wizard assigned to the user

Returns:
Type
Promise.<*>

getWizardNodes() → {Promise.<*>}

Get nodes with wizard assigned to the user

Returns:
  • Return a list of nodes with wizard
Type
Promise.<*>

getWizardNodes() → {Promise.<*>}

Get nodes with wizard assigned to the user

Returns:
  • Return a list of nodes with wizard
Type
Promise.<*>

removeGroup(uuid, groupName) → {Promise.<any>|Promise.<*>}

Remove group

Parameters:
Name Type Description
uuid

The uuid of the node

groupName

The name of the group

Returns:
Type
Promise.<any> | Promise.<*>

removeGroup(uuid, groupName) → {Promise.<any>|Promise.<*>}

Remove group

Parameters:
Name Type Description
uuid

The uuid of the node

groupName

The name of the group

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardCategories(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard categories

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardCategories(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard categories

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardKeywords(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard keywords

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardKeywords(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard keywords

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardOCRDataCapture(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard OCR Data Capture

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeShowWizardOCRDataCapture(uuid) → {Promise.<any>|Promise.<*>}

Remove the show wizard OCR Data Capture

Parameters:
Name Type Description
uuid

The uuid of the node

Returns:
Type
Promise.<any> | Promise.<*>

removeWorkflow(uuid, workflowName) → {Promise.<any>|Promise.<*>}

Remove workflow

Parameters:
Name Type Description
uuid

The uuid of the node

workflowName

The name of the workflow

Returns:
Type
Promise.<any> | Promise.<*>

removeWorkflow(uuid, workflowName) → {Promise.<any>|Promise.<*>}

Remove workflow

Parameters:
Name Type Description
uuid

The uuid of the node

workflowName

The name of the workflow

Returns:
Type
Promise.<any> | Promise.<*>

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setRestUrl(restUrl)

Set the rest url

Parameters:
Name Type Description
restUrl

The rest url

setToken(token)

Set the token in Note variables

Parameters:
Name Type Description
token

The authorization token value

setToken(token)

Set the token in Note variables

Parameters:
Name Type Description
token

The authorization token value