import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
import "../data-structures/http/index.mjs";
import { getSignatureHeader as r } from "../functions/utils/get-signature-header.mjs";
//#region libs/shared/common/src/API/rewardsUserCalls.ts
var i = async (r) => await n.get(`${t}${e.getRewardsUser(r)}`), a = async (i, a, o) => await n.post(`${t}${e.connectRewardsUser}`, {
	ethereumAddress: i,
	proxyAddress: o
}, r(a)), o = async (i) => await n.patch(`${t}${e.updateRewardsUser}`, i, r(i.signature)), s = async (r) => await n.get(`${t}${e.checkUsernameAvailability(r)}`), c = async (r) => await n.get(`${t}${e.getSwapStreak}`, { params: { ethereumAddress: r } }), l = async (r) => await n.get(`${t}${e.getTasksProgress(r)}`), u = async ({ ethereumAddress: i, socialWebsiteId: a, signature: o, proxyAddress: s }) => await n.patch(`${t}${e.disconnectSocialNetwork}`, {
	ethereumAddress: i,
	socialWebsiteId: a,
	proxyAddress: s
}, r(o)), d = async (r) => await n.get(`${t}${e.getNftMultiplier(r)}`);
//#endregion
export { s as checkUsernameAvailability, a as connectRewardsUser, u as disconnectSocialNetwork, d as getNftMultiplier, i as getRewardsUser, c as getSwapStreak, l as getTasksProgress, o as updateRewardsUser };
