Skip to content

Commit 43f85ae

Browse files
committed
Merge pull request #35 from intercom/update_conversations
Update Conversation methods to accommodate for user and admin conversati...
2 parents 4163920 + 589b25e commit 43f85ae

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

src/intercom/Service/config/intercom_v3_conversation.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,39 @@
101101
"type": "string"
102102
},
103103
"type": {
104-
"default": "user",
105104
"location": "query",
106105
"required": true,
107106
"static": true
108107
},
108+
"id": {
109+
"location": "query",
110+
"required": false,
111+
"type": "string"
112+
},
109113
"user_id": {
110114
"location": "query",
111115
"required": false,
112116
"type": "string"
117+
},
118+
"intercom_user_id": {
119+
"location": "query",
120+
"required": false,
121+
"type": "string"
122+
},
123+
"email": {
124+
"location": "query",
125+
"required": false,
126+
"type": "string"
127+
},
128+
"unread": {
129+
"location": "query",
130+
"required": false,
131+
"type": "boolean"
132+
},
133+
"open": {
134+
"location": "query",
135+
"required": false,
136+
"type": "boolean"
113137
}
114138
},
115139
"responseClass": "ConversationListModel",
@@ -162,6 +186,7 @@
162186
},
163187
"read": {
164188
"location": "json",
189+
"default": true,
165190
"required": false,
166191
"type": "boolean"
167192
}
@@ -363,4 +388,4 @@
363388
}
364389
}
365390
}
366-
}
391+
}

0 commit comments

Comments
 (0)