@@ -854,7 +854,11 @@ Return ONLY the subject line - no explanations.`,
854854 id : 'to_type' ,
855855 title : 'To Type' ,
856856 type : 'dropdown' ,
857- options : [ { label : 'Contact' , id : 'contact' } ] ,
857+ options : [
858+ { label : 'Contact' , id : 'contact' } ,
859+ { label : 'User' , id : 'user' } ,
860+ { label : 'Lead' , id : 'lead' } ,
861+ ] ,
858862 required : true ,
859863 condition : {
860864 field : 'operation' ,
@@ -1354,6 +1358,7 @@ Return ONLY the numeric timestamp.`,
13541358 ticket_open,
13551359 ticket_is_shared,
13561360 ticket_snoozed_until,
1361+ snoozed_until,
13571362 ticket_assignee_id,
13581363 tag_name,
13591364 tag_id_update,
@@ -1406,6 +1411,10 @@ Return ONLY the numeric timestamp.`,
14061411 cleanParams . include_translations = include_translations === 'true'
14071412 }
14081413
1414+ if ( operation === 'snooze_conversation' && snoozed_until ) {
1415+ cleanParams . snoozed_until = Number ( snoozed_until )
1416+ }
1417+
14091418 if ( operation === 'close_conversation' && close_body ) {
14101419 cleanParams . body = close_body
14111420 }
@@ -1638,6 +1647,7 @@ export const IntercomV2Block: BlockConfig = {
16381647 ticket_open,
16391648 ticket_is_shared,
16401649 ticket_snoozed_until,
1650+ snoozed_until,
16411651 ticket_assignee_id,
16421652 tag_name,
16431653 tag_id_update,
@@ -1690,6 +1700,10 @@ export const IntercomV2Block: BlockConfig = {
16901700 cleanParams . include_translations = include_translations === 'true'
16911701 }
16921702
1703+ if ( operation === 'snooze_conversation' && snoozed_until ) {
1704+ cleanParams . snoozed_until = Number ( snoozed_until )
1705+ }
1706+
16931707 if ( operation === 'close_conversation' && close_body ) {
16941708 cleanParams . body = close_body
16951709 }
0 commit comments