@@ -434,7 +434,19 @@ YYYY-MM-DDTHH:mm:ss.SSSZ
434434 { label : 'Yes' , id : 'true' } ,
435435 ] ,
436436 value : ( ) => 'false' ,
437- condition : { field : 'operation' , value : [ 'create_task' , 'update_task' ] } ,
437+ condition : { field : 'operation' , value : 'create_task' } ,
438+ } ,
439+ {
440+ id : 'taskIsCompletedUpdate' ,
441+ title : 'Completed' ,
442+ type : 'dropdown' ,
443+ options : [
444+ { label : 'Leave unchanged' , id : 'unchanged' } ,
445+ { label : 'No' , id : 'false' } ,
446+ { label : 'Yes' , id : 'true' } ,
447+ ] ,
448+ value : ( ) => 'unchanged' ,
449+ condition : { field : 'operation' , value : 'update_task' } ,
438450 } ,
439451 {
440452 id : 'taskLinkedRecords' ,
@@ -666,7 +678,20 @@ Return ONLY the JSON array. No explanations, no markdown, no extra text.
666678 { label : 'Read Only' , id : 'read-only' } ,
667679 ] ,
668680 value : ( ) => 'full-access' ,
669- condition : { field : 'operation' , value : [ 'create_list' , 'update_list' ] } ,
681+ condition : { field : 'operation' , value : 'create_list' } ,
682+ } ,
683+ {
684+ id : 'listWorkspaceAccessUpdate' ,
685+ title : 'Workspace Access' ,
686+ type : 'dropdown' ,
687+ options : [
688+ { label : 'Leave unchanged' , id : 'unchanged' } ,
689+ { label : 'Full Access' , id : 'full-access' } ,
690+ { label : 'Read & Write' , id : 'read-and-write' } ,
691+ { label : 'Read Only' , id : 'read-only' } ,
692+ ] ,
693+ value : ( ) => 'unchanged' ,
694+ condition : { field : 'operation' , value : 'update_list' } ,
670695 } ,
671696
672697 // List entry fields
@@ -831,17 +856,31 @@ Return ONLY the JSON array. No explanations, no markdown, no extra text.
831856 id : 'commentList' ,
832857 title : 'List' ,
833858 type : 'short-input' ,
834- placeholder : 'List ID or slug' ,
859+ placeholder : 'List ID or slug (used with Entry ID) ' ,
835860 condition : { field : 'operation' , value : 'create_comment' } ,
836- required : { field : 'operation' , value : 'create_comment' } ,
837861 } ,
838862 {
839863 id : 'commentEntryId' ,
840864 title : 'Entry ID' ,
841865 type : 'short-input' ,
842- placeholder : 'List entry ID to comment on' ,
866+ placeholder : 'List entry ID to comment on (used with List) ' ,
843867 condition : { field : 'operation' , value : 'create_comment' } ,
844- required : { field : 'operation' , value : 'create_comment' } ,
868+ } ,
869+ {
870+ id : 'commentRecordObject' ,
871+ title : 'Record Object' ,
872+ type : 'short-input' ,
873+ placeholder : 'Object ID or slug the record belongs to (used with Record ID)' ,
874+ condition : { field : 'operation' , value : 'create_comment' } ,
875+ mode : 'advanced' ,
876+ } ,
877+ {
878+ id : 'commentRecordId' ,
879+ title : 'Record ID' ,
880+ type : 'short-input' ,
881+ placeholder : 'Record ID to comment on directly (used with Record Object)' ,
882+ condition : { field : 'operation' , value : 'create_comment' } ,
883+ mode : 'advanced' ,
845884 } ,
846885 {
847886 id : 'commentThreadId' ,
@@ -1349,6 +1388,12 @@ Record reference: {"allowed_objects": ["people", "companies"]}`,
13491388 if ( params . taskIsCompleted !== undefined )
13501389 cleanParams . isCompleted =
13511390 params . taskIsCompleted === 'true' || params . taskIsCompleted === true
1391+ if (
1392+ params . taskIsCompletedUpdate !== undefined &&
1393+ params . taskIsCompletedUpdate !== 'unchanged'
1394+ )
1395+ cleanParams . isCompleted =
1396+ params . taskIsCompletedUpdate === 'true' || params . taskIsCompletedUpdate === true
13521397 if ( params . taskLinkedRecords ) cleanParams . linkedRecords = params . taskLinkedRecords
13531398 if ( params . taskAssignees ) cleanParams . assignees = params . taskAssignees
13541399 if ( params . taskId ) cleanParams . taskId = params . taskId
@@ -1371,6 +1416,8 @@ Record reference: {"allowed_objects": ["people", "companies"]}`,
13711416 if ( params . listParentObject ) cleanParams . parentObject = params . listParentObject
13721417 if ( params . listApiSlug ) cleanParams . apiSlug = params . listApiSlug
13731418 if ( params . listWorkspaceAccess ) cleanParams . workspaceAccess = params . listWorkspaceAccess
1419+ if ( params . listWorkspaceAccessUpdate && params . listWorkspaceAccessUpdate !== 'unchanged' )
1420+ cleanParams . workspaceAccess = params . listWorkspaceAccessUpdate
13741421
13751422 // List entry params
13761423 if ( params . entryId ) cleanParams . entryId = params . entryId
@@ -1390,6 +1437,8 @@ Record reference: {"allowed_objects": ["people", "companies"]}`,
13901437 if ( params . commentAuthorId ) cleanParams . authorId = params . commentAuthorId
13911438 if ( params . commentList ) cleanParams . list = params . commentList
13921439 if ( params . commentEntryId ) cleanParams . entryId = params . commentEntryId
1440+ if ( params . commentRecordObject ) cleanParams . recordObject = params . commentRecordObject
1441+ if ( params . commentRecordId ) cleanParams . recordId = params . commentRecordId
13931442 if ( params . commentThreadId ) cleanParams . threadId = params . commentThreadId
13941443 if ( params . commentCreatedAt ) cleanParams . createdAt = params . commentCreatedAt
13951444 if ( params . commentId ) cleanParams . commentId = params . commentId
@@ -1462,6 +1511,7 @@ Record reference: {"allowed_objects": ["people", "companies"]}`,
14621511 taskContent : { type : 'string' , description : 'Task content' } ,
14631512 taskDeadline : { type : 'string' , description : 'Task deadline' } ,
14641513 taskIsCompleted : { type : 'string' , description : 'Task completion status' } ,
1514+ taskIsCompletedUpdate : { type : 'string' , description : 'Task completion status (update)' } ,
14651515 taskLinkedRecords : { type : 'json' , description : 'Linked records JSON array' } ,
14661516 taskAssignees : { type : 'json' , description : 'Assignees JSON array' } ,
14671517 taskId : { type : 'string' , description : 'Task ID' } ,
@@ -1474,6 +1524,10 @@ Record reference: {"allowed_objects": ["people", "companies"]}`,
14741524 listParentObject : { type : 'string' , description : 'List parent object' } ,
14751525 listApiSlug : { type : 'string' , description : 'List API slug' } ,
14761526 listWorkspaceAccess : { type : 'string' , description : 'List workspace-level access' } ,
1527+ listWorkspaceAccessUpdate : {
1528+ type : 'string' ,
1529+ description : 'List workspace-level access (update)' ,
1530+ } ,
14771531 entryId : { type : 'string' , description : 'List entry ID' } ,
14781532 entryParentRecordId : { type : 'string' , description : 'Record ID for list entry' } ,
14791533 entryParentObject : { type : 'string' , description : 'Record object type for list entry' } ,
@@ -1487,6 +1541,8 @@ Record reference: {"allowed_objects": ["people", "companies"]}`,
14871541 commentAuthorId : { type : 'string' , description : 'Comment author ID' } ,
14881542 commentList : { type : 'string' , description : 'List for comment' } ,
14891543 commentEntryId : { type : 'string' , description : 'Entry ID for comment' } ,
1544+ commentRecordObject : { type : 'string' , description : 'Object for record comment' } ,
1545+ commentRecordId : { type : 'string' , description : 'Record ID for record comment' } ,
14901546 commentThreadId : { type : 'string' , description : 'Thread ID to reply to' } ,
14911547 commentCreatedAt : { type : 'string' , description : 'Comment creation timestamp (backdate)' } ,
14921548 commentId : { type : 'string' , description : 'Comment ID' } ,
0 commit comments