1 import type { B2BLogsQuery } from '../interfaces/B2BLogs';
3 export const getPassLogs = (params: B2BLogsQuery) => ({
4 url: 'account/organization/events/pass',
9 export const getPassEventTypes = () => ({
10 url: 'account/organization/events/pass/event-types',
14 export const getVPNLogs = (params: B2BLogsQuery) => ({
15 url: 'account/organization/events/vpn',
20 export const getVpnEventTypes = () => ({
21 url: 'account/organization/events/vpn/event-types',
25 export const getVPNLogDownload = (params: B2BLogsQuery) => ({
26 url: 'account/organization/events/export/vpn',
35 export const getPassLogsDownload = (params: B2BLogsQuery) => ({
36 url: 'account/organization/events/export/pass',
45 export const getShareID = (vaultID: string) => ({
46 url: `pass/v1/vault/share/${vaultID}`,
50 export const getOrgAuthLogs = (query: string) => {
52 url: `account/organization/logs/auth?${query}`,