@@ -39,7 +39,8 @@ window.assistantPollTimerId = null
39
39
* @param {string } params.appId the scheduling app id
40
40
* @param {string } params.customId the task custom identifier
41
41
* @param {string } params.identifier DEPRECATED the task custom identifier
42
- * @param {string } params.taskType the text processing task type class
42
+ * @param {string } params.taskType the selected task type ID
43
+ * @param {Array } params.taskTypeIdList the task types to display (all if not specified)
43
44
* @param {string } params.input DEPRECATED optional initial input text
44
45
* @param {object } params.inputs optional initial named inputs
45
46
* @param {boolean } params.isInsideViewer Should be true if this function is called while the Viewer is displayed
@@ -49,7 +50,7 @@ window.assistantPollTimerId = null
49
50
* @return {Promise<unknown> }
50
51
*/
51
52
export async function openAssistantForm ( {
52
- appId, taskType = null , input = '' , inputs = { } ,
53
+ appId, taskType = null , taskTypeIdList = null , input = '' , inputs = { } ,
53
54
isInsideViewer = undefined , closeOnResult = false , actionButtons = undefined ,
54
55
customId = '' , identifier = '' , mountPoint = null ,
55
56
} ) {
@@ -92,6 +93,7 @@ export async function openAssistantForm({
92
93
initSelectedTaskTypeId : selectedTaskTypeId ,
93
94
showSyncTaskRunning : false ,
94
95
actionButtons,
96
+ taskTypeIdList,
95
97
/*
96
98
// events emitted by the root component can be listened to this way
97
99
// this is a handler for the 'load-task' event
0 commit comments