|
26 | 26 | using ProtonVPN.Api.Contracts.Auth; |
27 | 27 | using ProtonVPN.Api.Contracts.Certificates; |
28 | 28 | using ProtonVPN.Api.Contracts.Common; |
29 | | -using ProtonVPN.Api.Contracts.Events; |
30 | 29 | using ProtonVPN.Api.Contracts.Geographical; |
31 | 30 | using ProtonVPN.Api.Contracts.Partners; |
32 | 31 | using ProtonVPN.Api.Contracts.ReportAnIssue; |
|
35 | 34 | using ProtonVPN.Api.Contracts.VpnConfig; |
36 | 35 | using ProtonVPN.Api.Contracts.VpnSessions; |
37 | 36 | using ProtonVPN.Common.Configuration; |
38 | | -using ProtonVPN.Logging.Contracts; |
39 | | -using ProtonVPN.Logging.Contracts.Events.ApiLogs; |
40 | 37 | using ProtonVPN.Common.OS.Net.Http; |
41 | 38 | using ProtonVPN.Core.Settings; |
| 39 | +using ProtonVPN.Logging.Contracts; |
| 40 | +using ProtonVPN.Logging.Contracts.Events.ApiLogs; |
42 | 41 |
|
43 | 42 | namespace ProtonVPN.Api |
44 | 43 | { |
@@ -95,13 +94,6 @@ public async Task<ApiResponseResult<BaseResponse>> GetLogoutResponse() |
95 | 94 | return await SendRequest<BaseResponse>(request, "Logout"); |
96 | 95 | } |
97 | 96 |
|
98 | | - public async Task<ApiResponseResult<EventResponse>> GetEventResponse(string lastId) |
99 | | - { |
100 | | - string id = string.IsNullOrEmpty(lastId) ? "latest" : lastId; |
101 | | - HttpRequestMessage request = GetAuthorizedRequest(HttpMethod.Get, "events/" + id); |
102 | | - return await SendRequest<EventResponse>(request, "Get events"); |
103 | | - } |
104 | | - |
105 | 97 | public async Task<ApiResponseResult<ServersResponse>> GetServersAsync(string ip) |
106 | 98 | { |
107 | 99 | HttpRequestMessage request = GetAuthorizedRequest(HttpMethod.Get, |
|
0 commit comments