import env from '../env.js';
export class AKClientRouter {
    static baseUrl = env.get('APP_URL');
    static setPassword(token) {
        const url = new URL(`/forgot-password/`, this.baseUrl);
        url.searchParams.append('token', token);
        return url;
    }
    static missionAsResource(id) {
        return new URL(`/mission/${id}`, this.baseUrl);
    }
    static missionAsRequester(id, askAssistant = false) {
        return new URL(`/mission-request/${id}?ask-assistant=${askAssistant}`, this.baseUrl);
    }
    static conversation(id) {
        return new URL(`/messenger/conversation/${id}`, this.baseUrl);
    }
    static missionPaid(id) {
        return new URL(`/mission-paid/${id}`, this.baseUrl);
    }
    static dashboardAsRequester = new URL(`/?as=requester`, this.baseUrl);
    static myAccount = new URL(`/my-account`, this.baseUrl);
    static myPayments = new URL(`/my-payments`, this.baseUrl);
}
//# sourceMappingURL=client_router.js.map