Preparing search index...
The search index is not available
contentful-management.js - v11.52.2
contentful-management.js
AiAction
Interface AiAction
interface
AiAction
{
configuration
:
Configuration
;
description
:
string
;
instruction
:
Instruction
;
name
:
string
;
sys
:
MetaSysProps
&
{
createdAt
:
string
;
createdBy
:
SysLinkUserOrApp
;
id
:
string
;
publishedAt
?:
string
;
publishedBy
?:
SysLinkUserOrApp
;
publishedVersion
?:
number
;
space
:
{
sys
:
{
id
:
string
;
}
;
}
;
type
:
"AiAction"
;
updatedAt
:
string
;
updatedBy
:
SysLinkUserOrApp
;
version
:
number
;
}
;
testCases
?:
AiActionTestCase
[]
;
delete
(
)
:
Promise
<
void
>
;
invoke
(
environmentId
:
string
,
payload
:
AiActionInvocationType
)
:
Promise
<
AiActionInvocation
>
;
publish
(
)
:
Promise
<
AiAction
>
;
toPlainObject
(
)
:
AiActionProps
;
unpublish
(
)
:
Promise
<
AiAction
>
;
update
(
)
:
Promise
<
AiAction
>
;
}
Hierarchy (
view full
)
AiActionProps
DefaultElements
<
AiActionProps
>
AiAction
Index
Properties
configuration
description
instruction
name
sys
test
Cases?
Methods
delete
invoke
publish
to
Plain
Object
unpublish
update
Properties
configuration
configuration
:
Configuration
description
description
:
string
instruction
instruction
:
Instruction
name
name
:
string
sys
sys
:
MetaSysProps
&
{
createdAt
:
string
;
createdBy
:
SysLinkUserOrApp
;
id
:
string
;
publishedAt
?:
string
;
publishedBy
?:
SysLinkUserOrApp
;
publishedVersion
?:
number
;
space
:
{
sys
:
{
id
:
string
;
}
;
}
;
type
:
"AiAction"
;
updatedAt
:
string
;
updatedBy
:
SysLinkUserOrApp
;
version
:
number
;
}
Optional
test
Cases
test
Cases
?:
AiActionTestCase
[]
Methods
delete
delete
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
invoke
invoke
(
environmentId
,
payload
)
:
Promise
<
AiActionInvocation
>
Parameters
environmentId
:
string
payload
:
AiActionInvocationType
Returns
Promise
<
AiActionInvocation
>
publish
publish
(
)
:
Promise
<
AiAction
>
Returns
Promise
<
AiAction
>
to
Plain
Object
to
Plain
Object
(
)
:
AiActionProps
Returns
AiActionProps
unpublish
unpublish
(
)
:
Promise
<
AiAction
>
Returns
Promise
<
AiAction
>
update
update
(
)
:
Promise
<
AiAction
>
Returns
Promise
<
AiAction
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
configuration
description
instruction
name
sys
test
Cases
Methods
delete
invoke
publish
to
Plain
Object
unpublish
update
contentful-management.js - v11.52.2
Loading...