diff --git a/common/ieApi.js b/common/ieApi.js index 84c850b..d3bc82c 100644 --- a/common/ieApi.js +++ b/common/ieApi.js @@ -54,6 +54,14 @@ export function startIeMatch(data) { return tui.request('/app/ie/match/start', 'POST', data, false, false, false).then(unwrap) } +export function matchIeProfile(targetUserId) { + return tui.request(`/app/ie/profiles/${targetUserId}/match`, 'POST', {}, false, false, false).then(unwrap) +} + +export function getIeCompanionIntents(limit = 50) { + return tui.request('/app/ie/companion-intents', 'GET', { limit }, false, true, true).then(unwrap) +} + export function sendIePresence(roomId, data) { return tui.request(`/app/ie/rooms/${roomId}/presence`, 'POST', data, false, false, true).then(unwrap) }