Membrane SDK - v0.2.1
Console
React Lib
REST API
Preparing search index...
FlowInstanceAccessor
Class FlowInstanceAccessor
Hierarchy (
View Summary
)
ElementInstanceAccessor
<
FlowInstance
,
FlowInstanceSelector
,
CreateFlowInstanceRequest
,
UpdateFlowInstanceRequest
,
>
FlowInstanceAccessor
Index
Constructors
constructor
Properties
options
client
selector
Methods
get
Unique
Identifier
get
get
Id
create
put
patch
archive
delete
restore
get
Path
enable
disable
update
To
Latest
Flow
setup
reset
open
Configuration
open
Editor
embed
Editor
start
Run
run
Constructors
constructor
new
FlowInstanceAccessor
(
client
:
IntegrationAppApiClient
,
selector
:
string
|
FlowInstanceSelector
,
)
:
FlowInstanceAccessor
Parameters
client
:
IntegrationAppApiClient
selector
:
string
|
FlowInstanceSelector
Returns
FlowInstanceAccessor
Properties
Protected
options
options
:
{
client
:
IntegrationAppApiClient
;
instancePath
:
string
;
selector
:
string
|
FlowInstanceSelector
;
type
?:
WorkspaceElementType
;
}
Protected
client
client
:
IntegrationAppApiClient
Protected
selector
selector
:
string
|
FlowInstanceSelector
Methods
get
Unique
Identifier
getUniqueIdentifier
()
:
string
Returns
string
get
get
()
:
Promise
<
FlowInstance
>
Returns
Promise
<
FlowInstance
>
get
Id
getId
()
:
Promise
<
string
>
Returns
Promise
<
string
>
create
create
(
data
?:
{
name
?:
string
;
userId
?:
string
;
flowId
?:
string
;
connectionId
?:
string
;
integrationId
?:
string
;
instanceKey
?:
string
;
parameters
?:
any
;
nodes
?:
Record
<
string
,
{
name
?:
string
;
type
?:
string
;
userConfig
?:
any
;
config
?:
any
;
onError
?:
"stop"
|
"continue"
;
concurrency
?:
number
;
ui
?:
any
;
links
?:
{
key
?:
string
;
filter
?:
any
;
name
?:
string
}
[]
;
isCustomized
?:
boolean
;
}
,
>
;
enabled
?:
boolean
;
customized
?:
{
name
?:
boolean
;
nodes
?:
boolean
}
;
}
,
)
:
Promise
<
FlowInstance
>
Parameters
Optional
data
:
{
name
?:
string
;
userId
?:
string
;
flowId
?:
string
;
connectionId
?:
string
;
integrationId
?:
string
;
instanceKey
?:
string
;
parameters
?:
any
;
nodes
?:
Record
<
string
,
{
name
?:
string
;
type
?:
string
;
userConfig
?:
any
;
config
?:
any
;
onError
?:
"stop"
|
"continue"
;
concurrency
?:
number
;
ui
?:
any
;
links
?:
{
key
?:
string
;
filter
?:
any
;
name
?:
string
}
[]
;
isCustomized
?:
boolean
;
}
,
>
;
enabled
?:
boolean
;
customized
?:
{
name
?:
boolean
;
nodes
?:
boolean
}
;
}
Returns
Promise
<
FlowInstance
>
put
put
(
data
:
{
name
?:
string
;
userId
?:
string
;
flowId
?:
string
;
connectionId
?:
string
;
integrationId
?:
string
;
instanceKey
?:
string
;
parameters
?:
any
;
nodes
?:
Record
<
string
,
{
name
?:
string
;
type
?:
string
;
userConfig
?:
any
;
config
?:
any
;
onError
?:
"stop"
|
"continue"
;
concurrency
?:
number
;
ui
?:
any
;
links
?:
{
key
?:
string
;
filter
?:
any
;
name
?:
string
}
[]
;
isCustomized
?:
boolean
;
}
,
>
;
enabled
?:
boolean
;
customized
?:
{
name
?:
boolean
;
nodes
?:
boolean
}
;
}
,
)
:
Promise
<
FlowInstance
>
Parameters
data
:
{
name
?:
string
;
userId
?:
string
;
flowId
?:
string
;
connectionId
?:
string
;
integrationId
?:
string
;
instanceKey
?:
string
;
parameters
?:
any
;
nodes
?:
Record
<
string
,
{
name
?:
string
;
type
?:
string
;
userConfig
?:
any
;
config
?:
any
;
onError
?:
"stop"
|
"continue"
;
concurrency
?:
number
;
ui
?:
any
;
links
?:
{
key
?:
string
;
filter
?:
any
;
name
?:
string
}
[]
;
isCustomized
?:
boolean
;
}
,
>
;
enabled
?:
boolean
;
customized
?:
{
name
?:
boolean
;
nodes
?:
boolean
}
;
}
Returns
Promise
<
FlowInstance
>
patch
patch
(
data
:
{
name
?:
string
;
enabled
?:
boolean
;
parameters
?:
any
;
nodes
?:
Record
<
string
,
{
name
?:
string
;
type
?:
string
;
userConfig
?:
any
;
config
?:
any
;
onError
?:
"stop"
|
"continue"
;
links
?:
{
key
?:
string
;
filter
?:
any
;
name
?:
string
}
[]
;
concurrency
?:
number
;
isCustomized
?:
boolean
;
}
,
>
;
archivedAt
?:
string
;
customized
?:
{
name
?:
boolean
;
nodes
?:
boolean
}
;
}
,
)
:
Promise
<
FlowInstance
>
Parameters
data
:
{
name
?:
string
;
enabled
?:
boolean
;
parameters
?:
any
;
nodes
?:
Record
<
string
,
{
name
?:
string
;
type
?:
string
;
userConfig
?:
any
;
config
?:
any
;
onError
?:
"stop"
|
"continue"
;
links
?:
{
key
?:
string
;
filter
?:
any
;
name
?:
string
}
[]
;
concurrency
?:
number
;
isCustomized
?:
boolean
;
}
,
>
;
archivedAt
?:
string
;
customized
?:
{
name
?:
boolean
;
nodes
?:
boolean
}
;
}
Returns
Promise
<
FlowInstance
>
archive
archive
()
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
delete
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Deprecated
use
archive
instead
restore
restore
()
:
Promise
<
FlowInstance
>
Returns
Promise
<
FlowInstance
>
Protected
get
Path
getPath
(
operation
?:
string
)
:
string
Parameters
operation
:
string
= ''
Returns
string
enable
enable
()
:
Promise
<
FlowInstance
>
Returns
Promise
<
FlowInstance
>
disable
disable
()
:
Promise
<
FlowInstance
>
Returns
Promise
<
FlowInstance
>
update
To
Latest
Flow
updateToLatestFlow
()
:
Promise
<
FlowInstance
>
Returns
Promise
<
FlowInstance
>
setup
setup
()
:
Promise
<
FlowInstance
>
Returns
Promise
<
FlowInstance
>
reset
reset
(
options
?:
ResetFlowInstanceOptions
)
:
Promise
<
FlowInstance
>
Parameters
Optional
options
:
ResetFlowInstanceOptions
Returns
Promise
<
FlowInstance
>
open
Configuration
openConfiguration
(
__namedParameters
?:
OpenFlowInstanceConfigurationOptions
,
)
:
Promise
<
void
>
Parameters
__namedParameters
:
OpenFlowInstanceConfigurationOptions
= {}
Returns
Promise
<
void
>
open
Editor
openEditor
(
__namedParameters
?:
OpenFlowInstanceEditorOptions
)
:
Promise
<
void
>
Parameters
__namedParameters
:
OpenFlowInstanceEditorOptions
= {}
Returns
Promise
<
void
>
embed
Editor
embedEditor
(
__namedParameters
?:
{
mountTargetSelector
?:
string
}
&
OpenFlowInstanceEditorOptions
,
)
:
Promise
<
void
>
Parameters
__namedParameters
:
{
mountTargetSelector
?:
string
}
&
OpenFlowInstanceEditorOptions
= {}
Returns
Promise
<
void
>
start
Run
startRun
(
options
?:
RunFlowOptions
)
:
Promise
<
FlowRun
>
Parameters
options
:
RunFlowOptions
= {}
Returns
Promise
<
FlowRun
>
run
run
(
options
?:
RunFlowOptions
)
:
Promise
<
FlowRun
>
Parameters
options
:
RunFlowOptions
= {}
Returns
Promise
<
FlowRun
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
options
client
selector
Methods
get
Unique
Identifier
get
get
Id
create
put
patch
archive
delete
restore
get
Path
enable
disable
update
To
Latest
Flow
setup
reset
open
Configuration
open
Editor
embed
Editor
start
Run
run
Console
React Lib
REST API
Membrane SDK - v0.2.1
Loading...
Deprecated
archive
instead