addFlow(opts) → {Promise.<String>}
Adds a flow configuration
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<String>
- the id of the added flow
deleteFlow(opts) → {Promise}
Deletes a flow
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise
- resolves if successful
getFlow(opts) → {Promise.<Flow>}
Gets an individual flow configuration
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
getFlows(opts) → {Promise.<Flows>}
Gets the current flow configuration
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
getNodeCredentials(opts) → {Promise.<Object>}
Gets the safe credentials for a node
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<Object>
- the safe credentials
setFlows(opts) → {Promise.<Flows>}
Sets the current flow configuration
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
updateFlow(opts) → {Promise.<String>}
Updates an existing flow configuration
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<String>
- the id of the updated flow