Skip to main content

Constructor

Parameters

HttpClient
required
ModusConfig
required
string | number
required

Returns

WorkflowInterfacesResource

Methods

create()

Add an interface to this workflow.

Parameters

object
required
Interface configuration to attach.

Returns

Promise<object> The created interface.

delete()

Delete an interface from this workflow.

Parameters

string
required
Interface id.

Returns

Promise<void>

deleteAll()

Delete every interface from this workflow.

Returns

Promise<void>

list()

List interfaces attached to this workflow.

Returns

Promise<object[]>

update()

Update an interface attached to this workflow.

Parameters

string
required
Interface id.
object
required
Updated interface values.
string
Optional comma-separated field names to update.

Returns

Promise<object> The updated interface.