Remove payments API routing initialization
[ProtonMail-WebClient.git] / packages / components / containers / b2bDashboard / VPN / api.ts
blob75b92d8b1990ad8c8b72b0ce6aebb713d330ec7b
1 export interface OrganizationSettings {
2     GatewayMonitoring: boolean;
3     GatewayMonitoringLastUpdate?: number | null;
6 export const getMonitoringSetting = () => ({
7     url: 'vpn/v1/business/settings',
8     method: 'get',
9 });
11 export const updateMonitoringSetting = (monitoring: boolean) => ({
12     url: 'vpn/v1/business/settings',
13     method: 'put',
14     data: {
15         GatewayMonitoring: monitoring,
16     },
17 });