@@ -24,6 +24,7 @@ class CommandParser:
2424 description : str
2525 args : List [dict ]
2626 outputs : List [dict ]
27+ quickaction : bool
2728
2829
2930class IntegrationParser (IntegrationScriptParser , content_type = ContentType .INTEGRATION ):
@@ -48,6 +49,9 @@ def __init__(
4849 self .is_fetch_samples = self .script_info .get ("isFetchSamples" , False )
4950 self .is_feed = self .script_info .get ("feed" , False )
5051 self .long_running = self .script_info .get ("longRunning" , False )
52+ self .supports_quick_actions = self .script_info .get (
53+ "supportsquickactions" , False
54+ )
5155 self .commands : List [CommandParser ] = []
5256 self .connect_to_commands ()
5357 self .connect_to_dependencies ()
@@ -90,13 +94,15 @@ def connect_to_commands(self) -> None:
9094 description = command_data .get ("description" )
9195 args = command_data .get ("arguments" ) or []
9296 outputs = command_data .get ("outputs" ) or []
97+ quickaction = command_data .get ("quickaction" , False )
9398 self .add_relationship (
9499 RelationshipType .HAS_COMMAND ,
95100 target = name ,
96101 target_type = ContentType .COMMAND ,
97102 name = name ,
98103 deprecated = deprecated ,
99104 description = description ,
105+ quickaction = quickaction ,
100106 )
101107 self .commands .append (
102108 CommandParser (
@@ -105,6 +111,7 @@ def connect_to_commands(self) -> None:
105111 deprecated = deprecated ,
106112 args = args ,
107113 outputs = outputs ,
114+ quickaction = quickaction ,
108115 )
109116 )
110117
0 commit comments