import { API_CONFIG as e } from "../constants/server.constants.mjs";
import { SERVER_URL as t } from "./getServerURL.mjs";
import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
import "../data-structures/http/index.mjs";
import { HINKAL_DASHBOARD_TOKEN as r } from "../constants/auth.constants.mjs";
import { getAuthHeaders as i } from "../functions/utils/auth.utils.mjs";
//#region libs/shared/common/src/API/dashboardPayoutCalls.ts
var a = async ({ payoutItems: a }) => n.post(`${t}${e.ROUTES.createDashboardPayout}`, { payoutItems: a }, { headers: i(r) }), o = async () => n.get(`${t}${e.ROUTES.getDashboardPayouts}`, { headers: i(r) }), s = async ({ payoutId: a, status: o }) => n.post(`${t}${e.ROUTES.changePayoutStatus}`, {
	payoutId: a,
	status: o
}, { headers: i(r) });
//#endregion
export { s as changePayoutStatus, a as createDashboardPayout, o as getDashboardPayouts };
