From 5ae90dcbce620d800b0cc76aa0cb894bb6a9fdb4 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Sun, 14 Jun 2026 18:43:36 +0800 Subject: [PATCH] 1 --- common/ieApi.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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) }