@@ -739,7 +739,6 @@ Return ONLY the date string in YYYY-MM-DD format - no explanations, no quotes, n
739739 options : [
740740 { label : 'Call' , id : 'call' } ,
741741 { label : 'Outreach Manual Email' , id : 'outreach_manual_email' } ,
742- { label : 'LinkedIn Step Message' , id : 'linkedin_step_message' } ,
743742 { label : 'Action Item' , id : 'action_item' } ,
744743 ] ,
745744 value : ( ) => 'action_item' ,
@@ -1004,21 +1003,25 @@ Return ONLY the timestamp string in ISO 8601 format - no explanations, no quotes
10041003
10051004 if ( params . operation === 'contact_bulk_update' ) {
10061005 const { ids, attributes } = splitBulkUpdateInput ( parsedParams . contacts )
1007- if ( attributes && parsedParams . contact_attributes === undefined ) {
1008- parsedParams . contact_attributes = attributes
1009- }
1010- if ( ids && ! attributes && parsedParams . contact_ids === undefined ) {
1006+ if ( attributes ) {
1007+ const merged = ids ? [ ...attributes , ...ids . map ( ( id ) => ( { id } ) ) ] : attributes
1008+ if ( parsedParams . contact_attributes === undefined ) {
1009+ parsedParams . contact_attributes = merged
1010+ }
1011+ } else if ( ids && parsedParams . contact_ids === undefined ) {
10111012 parsedParams . contact_ids = ids
10121013 }
10131014 parsedParams . contacts = undefined
10141015 }
10151016
10161017 if ( params . operation === 'account_bulk_update' ) {
10171018 const { ids, attributes } = splitBulkUpdateInput ( parsedParams . accounts )
1018- if ( attributes && parsedParams . account_attributes === undefined ) {
1019- parsedParams . account_attributes = attributes
1020- }
1021- if ( ids && ! attributes && parsedParams . account_ids === undefined ) {
1019+ if ( attributes ) {
1020+ const merged = ids ? [ ...attributes , ...ids . map ( ( id ) => ( { id } ) ) ] : attributes
1021+ if ( parsedParams . account_attributes === undefined ) {
1022+ parsedParams . account_attributes = merged
1023+ }
1024+ } else if ( ids && parsedParams . account_ids === undefined ) {
10221025 parsedParams . account_ids = ids
10231026 }
10241027 parsedParams . accounts = undefined
0 commit comments