@@ -25,8 +25,8 @@ import ai.tock.bot.connector.ga.model.response.GARichResponse
2525import ai.tock.bot.connector.ga.model.response.GASuggestion
2626import ai.tock.bot.definition.IntentAware
2727import ai.tock.bot.definition.Parameters
28- import ai.tock.bot.definition.StoryHandlerDefinition
2928import ai.tock.bot.definition.StoryStep
29+ import ai.tock.bot.definition.StoryStepDef
3030import ai.tock.bot.engine.Bus
3131import ai.tock.bot.engine.I18nTranslator
3232import ai.tock.translator.raw
@@ -169,7 +169,7 @@ fun <T : Bus<T>> T.listItem(
169169fun <T : Bus <T >> T.listItem (
170170 title : CharSequence ,
171171 targetIntent : IntentAware ,
172- step : StoryStep < out StoryHandlerDefinition > ? ,
172+ step : StoryStepDef ? ,
173173 parameters : Parameters
174174): GAListItem = listItem(title, targetIntent, step, null , null , parameters)
175175
@@ -179,7 +179,7 @@ fun <T : Bus<T>> T.listItem(
179179fun <T : Bus <T >> T.listItem (
180180 title : CharSequence ,
181181 targetIntent : IntentAware ,
182- step : StoryStep < out StoryHandlerDefinition > ? ,
182+ step : StoryStepDef ? ,
183183 vararg parameters : Pair <String , String >
184184): GAListItem = listItem<T >(title, targetIntent, step, null , null , * parameters)
185185
@@ -189,7 +189,7 @@ fun <T : Bus<T>> T.listItem(
189189fun <T : Bus <T >> T.listItem (
190190 title : CharSequence ,
191191 targetIntent : IntentAware ,
192- step : StoryStep < out StoryHandlerDefinition > ? ,
192+ step : StoryStepDef ? ,
193193 description : CharSequence? = null,
194194 imageUrl : String? = null,
195195 parameters : Parameters
@@ -201,7 +201,7 @@ fun <T : Bus<T>> T.listItem(
201201fun <T : Bus <T >> T.listItem (
202202 title : CharSequence ,
203203 targetIntent : IntentAware ,
204- step : StoryStep < out StoryHandlerDefinition > ? ,
204+ step : StoryStepDef ? ,
205205 description : CharSequence? = null,
206206 imageUrl : String? = null,
207207 vararg parameters : Pair <String , String >
0 commit comments