MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / listIcloudAliases

Function listIcloudAliases

background.js:3001–3011  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2999}
3000
3001async function listIcloudAliases() {
3002 return withIcloudLoginHelp('加载 iCloud 隐私邮箱列表', async () => {
3003 const { serviceUrl } = await resolveIcloudPremiumMailService();
3004 const response = await icloudRequest('GET', `${serviceUrl}/v2/hme/list`);
3005 const state = await getState();
3006 return normalizeIcloudAliasList(response, {
3007 usedEmails: getEffectiveUsedEmails(state),
3008 preservedEmails: getPreservedAliasMap(state),
3009 });
3010 });
3011}
3012
3013async function deleteIcloudAlias(payload) {
3014 return withIcloudLoginHelp('删除 iCloud 隐私邮箱', async () => {

Callers 3

deleteUsedIcloudAliasesFunction · 0.70
handleMessageFunction · 0.50

Calls 7

withIcloudLoginHelpFunction · 0.85
icloudRequestFunction · 0.85
getStateFunction · 0.85
normalizeIcloudAliasListFunction · 0.85
getEffectiveUsedEmailsFunction · 0.85
getPreservedAliasMapFunction · 0.85

Tested by

no test coverage detected