import { ASSETS_URL } from '../../../consts/common'; import type { DataGridProps } from '../types'; const mockTableData: DataGridProps['tableData'] = { page: 1, totalPages: 243, totalRecords: 6060, data: [ { _id: 'Ycarat2LFy', gatewayId: 'Qyc9vGh8uq', accessGroups: [{ groupId: 'fVGcmDw35o', groupName: 'All Users', isDefault: true }], attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, customerId: '01zero', defaultAction: 'Allow', gatewayCreatedAt: '2021-08-20T22:04:30.243Z', gatewayDns: '01zero-Qyc9vGh8uq.pzero.perimeter81.com', gatewayIp: '45.77.118.42', networkAccessType: 'Private', networkCreatedAt: '2021-08-20T22:04:30.000Z', networkDns: '01zero-Ycarat2LFy.pzero.perimeter81.com', networkIcon: '855ba91d558cf1b29e8f05e6f10ea53d5a28f937a0a7297ae3034cbd61a57be0_network_icon_01zero_1630009665466.png', networkId: 'Ycarat2LFy', networkName: '01Zero Group', networkVersion: '0.8.0', regionCountry: 'US', regionDns: '01zero-Ycarat2LFy-zcrrjqlwMc.pzero.perimeter81.com', regionId: 'zcrrjqlwMc', regionName: 'Miami', tunnels: [ { tunnelId: 'jxfPaMC9bE', createdAt: '2021-09-03T16:12:46.000Z', tunnelName: '01ZeroOffice', tunnelType: 'ipsec', isHa: false, tunnelIp: '190.106.65.154', leftSubnets: '[10.255.0.0/16]', customerSubnets: '[192.168.30.0/24, 192.168.99.0/24, 192.168.26.0/24, 10.1.10.0/24, 10.1.20.0/24, 12.12.0.0/16]' } ], accountManager: 'Leonardo Gaistot', userEmail: 'l.gaistot@perimeter81.com', billingCycle: 'Monthly', companyName: '01Zero Group', companySize: 'Small', country: 'CR', customerSuccessEngineer: 'UnAssigned', customerType: 'Partner', plan: 'Premium Plus', status: 'Active', website: '01zerogroup.com', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021081100', provider: 'Vultr', providerRegionName: 'Miami', region: 'AMER', action: 'Soft-Restart' }, { _id: '8EieirFeCp', gatewayId: 'g7rHTiczcd', accessGroups: [{ groupId: 'MDBqdB7KMR', groupName: 'All Users', isDefault: true }], attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, customerId: '1plus1tech', defaultAction: 'Allow', gatewayCreatedAt: '2022-02-02T20:15:34.547Z', gatewayDns: '1plus1tech-g7rHTiczcd.pzero.perimeter81.com', gatewayIp: '131.226.42.85', networkAccessType: 'Private', networkCreatedAt: '2022-02-02T20:15:34.000Z', networkDns: '1plus1tech-8EieirFeCp.pzero.perimeter81.com', networkIcon: '8d3413986268c5648a4ab4596280e5048249a30a309d4a68955e56374cdddd34_network_icon_1plus1tech_1644266162891.png', networkId: '8EieirFeCp', networkName: '1plus1tech', networkVersion: '0.8.0', regionCountry: 'US', regionDns: '1plus1tech-8EieirFeCp-UEu8Zd2DVx.pzero.perimeter81.com', regionId: 'UEu8Zd2DVx', regionName: 'Silicon Valley', tunnels: [], accountManager: 'Tom Sabbe', userEmail: 't.sabbe@perimeter81.com', billingCycle: 'Monthly', companyName: '1+1 Technology Inc', companySize: 'Small', country: 'US', customerSuccessEngineer: 'Harold Seeram', customerType: 'Partner', plan: 'Premium Plus', status: 'Active', website: 'https://www.1plus1tech.com/', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021120600', provider: 'Perimeter 81', providerRegionName: 'Silicon Valley', region: 'AMER', action: 'Migrate' }, { _id: 'HCnOl8DoPA', gatewayId: 'CPxFpnXtxI', accessGroups: [{ groupId: '9EJYZxNK1Q', groupName: 'Perimeter81', isDefault: false }], accountManager: 'Zachary Bagliore', userEmail: 'z.bagliore@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, billingCycle: 'Annually', companyName: '1031 CORP', companySize: 'Small', country: 'US', customerId: '1031corp', customerSuccessEngineer: 'UnAssigned', customerType: 'Child', defaultAction: 'Allow', gatewayCreatedAt: '2022-02-08T02:18:10.479Z', gatewayDns: '1031corp-CPxFpnXtxI.pzero.perimeter81.com', gatewayIp: '131.226.44.8', networkAccessType: 'Private', networkCreatedAt: '2021-03-09T23:33:16.000Z', networkDns: '1031corp-HCnOl8DoPA.pzero.perimeter81.com', networkIcon: '42fb2a76b47ea22d8c55f8bb0a4ede1207d2f2dfa34df1bb1986674c1c13b65d_network_icon_1031corp_1615332632881.png', networkId: 'HCnOl8DoPA', networkName: 'KPI-1031Corp VPN', networkVersion: '0.8.0', plan: 'Premium', regionCountry: 'US', regionDns: '1031corp-HCnOl8DoPA-eLpwBseHwB.pzero.perimeter81.com', regionId: 'eLpwBseHwB', regionName: 'New York', status: 'Active', tunnels: [], website: 'NA', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021120600', provider: 'Perimeter 81', providerRegionName: 'New York', region: 'AMER', action: 'Migrate' }, { _id: 'oEXwqsOndc', gatewayId: 'O4FtnZdRBf', customerId: '1047games', gatewayCreatedAt: '2022-03-30T08:47:15.750Z', gatewayDns: '1047games-O4FtnZdRBf.pzero.perimeter81.com', gatewayIp: '131.226.42.149', networkAccessType: 'Private', networkCreatedAt: '2022-03-22T10:16:51.000Z', networkDns: '1047games-oEXwqsOndc.pzero.perimeter81.com', networkIcon: 'b5630e574862f9d515649f55d43bbc16558dd0d055cb9c1c5ac072de8f051621_network_icon_1047games_1652696313553.png', networkId: 'oEXwqsOndc', networkName: '1047 Virtual Office', networkVersion: '3.8.0', regionCountry: 'US', regionDns: '1047games-oEXwqsOndc-krHN7AplFA.pzero.perimeter81.com', regionId: 'krHN7AplFA', regionName: 'Silicon Valley', accessGroups: [{ groupId: 'Q2KmwvIpRu', groupName: 'All Users', isDefault: true }], accountManager: 'Scott Pine', userEmail: 's.pine@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, billingCycle: 'Monthly', companyName: '1047 Games, Inc', companySize: 'Medium', country: 'US', customerSuccessEngineer: 'UnAssigned', customerType: 'Direct', plan: 'Premium', status: 'Active', tunnels: [ { tunnelId: 'L08uEZUyPF', createdAt: '2022-07-08T16:57:59.000Z', tunnelName: 'OpenVPN', tunnelType: 'openvpn', isHa: false, tunnelIp: 'NA', leftSubnets: '[]', customerSubnets: '[]' }, { tunnelId: 'LmKH3CD3SQ', createdAt: '2022-07-08T23:45:03.000Z', tunnelName: 'NBVegasRouter', tunnelType: 'ipsec', isHa: false, tunnelIp: '50.158.218.190', leftSubnets: '[10.255.0.0/16]', customerSubnets: '[0.0.0.0/0]' } ], website: '1047games.com', defaultAction: 'Allow', gatewayImageType: 'v3', gatewayImageVersion: '2022032100', provider: 'Perimeter 81', providerRegionName: 'Silicon Valley', region: 'AMER', action: 'Migrate' }, { _id: '1CR0G108NC', gatewayId: 'zLxA21s1l4', accessGroups: [{ groupId: '5Ehew7pGF0', groupName: 'All Users', isDefault: true }], accountManager: 'Antonella Ballarini', userEmail: 'a.ballarini@perimeter81.com', attributes: { dnsFiltering: true, splitTunneling: false, customDNS: true }, billingCycle: 'Annually', companyName: '10Sheet Services Inc', companySize: 'Large', country: 'CA', customerId: 'bench', customerSuccessEngineer: 'Harold Seeram', customerType: 'Direct', defaultAction: 'Allow', gatewayCreatedAt: '2021-04-26T22:13:42.662Z', gatewayDns: 'bench-zLxA21s1l4.pzero.perimeter81.com', gatewayIp: '131.226.33.158', networkAccessType: 'Private', networkCreatedAt: '2021-03-18T22:34:15.000Z', networkDns: 'bench-1CR0G108NC.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: '1CR0G108NC', networkName: 'Primary US VPN', networkVersion: '0.8.0', plan: 'Enterprise', regionCountry: 'US', regionDns: 'bench-1CR0G108NC-0jkcW0YDuT.pzero.perimeter81.com', regionId: '0jkcW0YDuT', regionName: 'Silicon Valley', status: 'Active', tunnels: [], website: 'bench.co', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021042500', provider: 'Perimeter 81', providerRegionName: 'Silicon Valley', region: 'AMER', action: 'Soft-Restart' }, { _id: 'VZdlD3c8yb', gatewayId: 'sAAa00AAyR', accessGroups: [{ groupId: 'uAnJyl6NDY', groupName: 'All Users', isDefault: true }], attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, customerId: '10secure', defaultAction: 'Allow', gatewayCreatedAt: '2022-01-31T10:00:06.759Z', gatewayDns: '10secure-sAAa00AAyR.pzero.perimeter81.com', gatewayIp: '212.59.70.46', networkAccessType: 'Private', networkCreatedAt: '2022-01-31T10:00:06.000Z', networkDns: '10secure-VZdlD3c8yb.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'VZdlD3c8yb', networkName: 'Office', networkVersion: '0.8.0', regionCountry: 'IL', regionDns: '10secure-VZdlD3c8yb-wEVErUmdha.pzero.perimeter81.com', regionId: 'wEVErUmdha', regionName: 'Israel', tunnels: [ { tunnelId: 'z1eFpRMXbP', createdAt: '2022-01-31T13:30:07.000Z', tunnelName: 'office', tunnelType: 'ipsec', isHa: false, tunnelIp: '62.90.3.157', leftSubnets: '[172.16.56.0/21]', customerSubnets: '[0.0.0.0/0]' } ], accountManager: 'UnAssigned', billingCycle: 'Monthly', companyName: '10secure', companySize: 'Small', country: 'IL', customerSuccessEngineer: 'UnAssigned', customerType: 'Partner', plan: 'Premium Plus', status: 'Active', website: 'NA', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021120600', provider: 'Perimeter 81', providerRegionName: 'Israel', region: 'EMEA', action: 'Soft-Restart' }, { _id: 'Fgj3zp3WII', gatewayId: '9FFIa4Ta95', customerId: '118118money', gatewayCreatedAt: '2022-07-07T06:45:45.644Z', gatewayDns: '118118money-9FFIa4Ta95.pzero.perimeter81.com', gatewayIp: '116.93.120.204', networkAccessType: 'Private', networkCreatedAt: '2020-08-17T16:29:30.000Z', networkDns: '118118money-Fgj3zp3WII.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'Fgj3zp3WII', networkName: '118118Money Network', networkVersion: '3.8.0', regionCountry: 'PH', regionDns: '118118money-Fgj3zp3WII-LEFS7YzmoD.pzero.perimeter81.com', regionId: 'LEFS7YzmoD', regionName: 'Manila', accessGroups: [ { groupId: 'F0qvTKmfbL', groupName: 'UG-UK-Perimeter81-ADM', isDefault: false } ], accountManager: 'Eyal Soffer', userEmail: 'e.soffer@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: true, customDNS: true }, billingCycle: 'Annually', companyName: '118118Money', companySize: 'Large', country: 'GB', customerSuccessEngineer: 'Yonatan Yafe', customerType: 'Direct', defaultAction: 'Deny', plan: 'Enterprise', status: 'Active', tunnels: [], website: '118118money.com', gatewayImageType: 'v3', gatewayImageVersion: '2022062901', provider: 'Cloudsigma', providerRegionName: 'Manila', region: 'APAC', action: 'Migrate' }, { _id: '7DTgqCNrO5', gatewayId: 'vSAvtvaE1N', accessGroups: [ { groupId: 'G5fWnHXKvD', groupName: 'All Users', isDefault: true } ], accountManager: 'Maya Finkelstein', userEmail: 'm.finkelstein@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: true }, billingCycle: 'Monthly', companyName: '15below Ltd', companySize: 'Medium', country: 'GB', customerId: '15belowtravel', customerSuccessEngineer: 'UnAssigned', customerType: 'Direct', defaultAction: 'Allow', gatewayCreatedAt: '2021-09-28T10:21:10.332Z', gatewayDns: '15belowtravel-vSAvtvaE1N.pzero.perimeter81.com', gatewayIp: '212.59.69.136', networkAccessType: 'Private', networkCreatedAt: '2021-09-28T10:21:10.000Z', networkDns: '15belowtravel-7DTgqCNrO5.pzero.perimeter81.com', networkIcon: '936c27ac17664a5715cfb881ded2858e407cbde3b0c833b6abc232901fd5e1a9_network_icon_15belowtravel_1632823990942.png', networkId: '7DTgqCNrO5', networkName: '15below', networkVersion: '0.8.0', plan: 'Premium', regionCountry: 'GB', regionDns: '15belowtravel-7DTgqCNrO5-blGmAzxpaZ.pzero.perimeter81.com', regionId: 'blGmAzxpaZ', regionName: 'London', status: 'Active', tunnels: [ { tunnelId: 'EP9aT2QrnR', createdAt: '2021-09-28T10:44:26.000Z', tunnelName: 'AMS01', tunnelType: 'ipsec', isHa: false, tunnelIp: '185.75.168.11', leftSubnets: '[10.254.0.0/16]', customerSubnets: '[10.50.13.0/24, 10.50.14.0/24, 10.50.15.0/24, 10.51.24.0/24, 10.51.25.0/24, 10.51.26.0/24, 10.51.27.0/24, 10.51.28.0/24]' }, { tunnelId: 'GGZEGiy4xG', createdAt: '2021-09-28T10:37:24.000Z', tunnelName: 'Brighton', tunnelType: 'ipsec', isHa: false, tunnelIp: '81.134.156.66', leftSubnets: '[10.254.0.0/16]', customerSubnets: '[192.168.252.0/24, 10.15.15.0/24, 192.168.0.0/22]' }, { tunnelId: 'xg5BvzqSYR', createdAt: '2022-06-15T09:58:50.000Z', tunnelName: 'Rapidswitch', tunnelType: 'ipsec', isHa: false, tunnelIp: '88.150.169.50', leftSubnets: '[10.254.0.0/16]', customerSubnets: '[10.25.25.0/24]' } ], website: '15below.com', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021091200', provider: 'Perimeter 81', providerRegionName: 'London', region: 'EMEA', action: 'Soft-Restart' }, { _id: 'j6v9paCdcB', gatewayId: '0Lv7Cjt4js', accessGroups: [ { groupId: 'jGAN3I1Zji', groupName: 'All Users', isDefault: true } ], accountManager: 'Sagi Tikotski', userEmail: 's.tikotski@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, billingCycle: 'Monthly', companyName: '1minus1', companySize: 'Small', country: 'GB', customerId: '1minus1', customerSuccessEngineer: 'UnAssigned', customerType: 'Direct', defaultAction: 'Allow', gatewayCreatedAt: '2022-01-25T20:34:19.226Z', gatewayDns: '1minus1-0Lv7Cjt4js.pzero.perimeter81.com', gatewayIp: '212.59.69.216', networkAccessType: 'Private', networkCreatedAt: '2022-01-25T20:34:19.000Z', networkDns: '1minus1-j6v9paCdcB.pzero.perimeter81.com', networkIcon: '6637aab4f56c4c513fdfdbf060fa585c55bf57d720f2b6cdf16d42c239b81a43_network_icon_1minus1_1643144072160.png', networkId: 'j6v9paCdcB', networkName: '1minus1', networkVersion: '0.8.0', plan: 'Premium', regionCountry: 'GB', regionDns: '1minus1-j6v9paCdcB-ybeUxujAQs.pzero.perimeter81.com', regionId: 'ybeUxujAQs', regionName: 'London', status: 'Active', tunnels: [], website: '1minus1.com', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021120600', provider: 'Perimeter 81', providerRegionName: 'London', region: 'EMEA', action: 'Soft-Restart' }, { _id: 'iYg8bYEOw3', gatewayId: 'lBms9PeBbq', accessGroups: [ { groupId: 'pZtNMkZfEq', groupName: 'IKEV2', isDefault: false } ], accountManager: 'Antonella Ballarini', userEmail: 'a.ballarini@perimeter81.com', attributes: { dnsFiltering: true, splitTunneling: false, customDNS: false }, billingCycle: 'Annually', companyName: '1st Financial Inc', companySize: 'Large', country: 'US', customerId: 'ffiloans', customerSuccessEngineer: 'Harold Seeram', customerType: 'Direct', defaultAction: 'Allow', gatewayCreatedAt: '2021-07-06T17:40:00.798Z', gatewayDns: 'ffiloans-lBms9PeBbq.pzero.perimeter81.com', gatewayIp: '131.226.37.74', networkAccessType: 'Private', networkCreatedAt: '2021-05-03T13:18:06.000Z', networkDns: 'ffiloans-iYg8bYEOw3.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'iYg8bYEOw3', networkName: 'FFILOANS', networkVersion: '0.8.0', plan: 'Enterprise', regionCountry: 'US', regionDns: 'ffiloans-iYg8bYEOw3-GGFHwXC4ZV.pzero.perimeter81.com', regionId: 'GGFHwXC4ZV', regionName: 'New York', status: 'Active', tunnels: [], website: 'ffiloans.com', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021061200', provider: 'Perimeter 81', providerRegionName: 'New York', region: 'AMER', action: 'Soft-Restart' }, { _id: 'vcO0vGogoi', gatewayId: '6QeqC7Af4w', accessGroups: [ { groupId: 'MAOtUMYtmJ', groupName: 'All Users', isDefault: true } ], accountManager: 'Jim Finnerty', userEmail: 'j.finnerty@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, billingCycle: 'Monthly', companyName: '1st Step', companySize: 'Medium', country: 'US', customerId: 'firststepbh', customerSuccessEngineer: 'UnAssigned', customerType: 'Child', defaultAction: 'Deny', gatewayCreatedAt: '2020-04-03T11:23:13.276Z', gatewayDns: 'firststepbh-6QeqC7Af4w.pzero.perimeter81.com', gatewayIp: '45.32.172.131', networkAccessType: 'Private', networkCreatedAt: '2020-04-03T11:23:13.000Z', networkDns: 'firststepbh-vcO0vGogoi.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'vcO0vGogoi', networkName: 'Detox', networkVersion: '0.8.0', plan: 'Essential', regionCountry: 'US', regionDns: 'firststepbh-vcO0vGogoi-3pLTImf361.pzero.perimeter81.com', regionId: '3pLTImf361', regionName: 'Miami', status: 'Active', tunnels: [ { tunnelId: 'bvZowbQJC1', createdAt: '2020-04-03T11:44:35.000Z', tunnelName: 'ToDetox', tunnelType: 'ipsec', isHa: false, tunnelIp: '12.174.109.82', leftSubnets: '[10.255.0.0/16]', customerSubnets: '[192.168.10.0/24]' } ], website: 'NA', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-202002231800', provider: 'Vultr', providerRegionName: 'Miami', region: 'AMER', action: 'Soft-Restart' }, { _id: 'DL40GAQA1l', gatewayId: 'AMnPmtLU1y', accessGroups: [ { groupId: 'RWWK9KDZXy', groupName: 'All Users', isDefault: true } ], accountManager: 'Sagi Tikotski', userEmail: 's.tikotski@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: true }, billingCycle: 'Monthly', companyName: '2020Analytics Insights', companySize: 'Small', country: 'IN', customerId: '2020ai', customerSuccessEngineer: 'UnAssigned', customerType: 'Direct', defaultAction: 'Allow', gatewayCreatedAt: '2021-07-11T12:44:19.503Z', gatewayDns: '2020ai-AMnPmtLU1y.pzero.perimeter81.com', gatewayIp: '172.105.34.88', networkAccessType: 'Private', networkCreatedAt: '2021-07-11T12:44:19.000Z', networkDns: '2020ai-DL40GAQA1l.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'DL40GAQA1l', networkName: '2020ai-IN', networkVersion: '0.8.0', plan: 'Premium', regionCountry: 'IN', regionDns: '2020ai-DL40GAQA1l-INLq5hVT4A.pzero.perimeter81.com', regionId: 'INLq5hVT4A', regionName: 'Mumbai', status: 'Active', tunnels: [ { tunnelId: 'fAoNRTz3TT', createdAt: '2021-07-11T13:51:45.000Z', tunnelName: '2020S2S', tunnelType: 'ipsec', isHa: false, tunnelIp: '13.71.6.93', leftSubnets: '[10.255.0.0/16]', customerSubnets: '[10.1.0.0/16]' } ], website: 'https://www.2020analyticsinsights.com/', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021061200', provider: 'Linode', providerRegionName: 'Mumbai', region: 'APAC', action: 'Soft-Restart' }, { _id: 'e5mWasUNls', gatewayId: 'kMllGQQKMa', accessGroups: [ { groupId: 'pff6lI7Lvn', groupName: 'All Users', isDefault: true } ], accountManager: 'Scott Pine', userEmail: 's.pine@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: true }, billingCycle: 'Annually', companyName: '205 Data Lab', companySize: 'Small', country: 'US', customerId: '205datalab', customerSuccessEngineer: 'UnAssigned', customerType: 'Direct', defaultAction: 'Deny', gatewayCreatedAt: '2020-06-24T18:34:08.509Z', gatewayDns: '205datalab-kMllGQQKMa.pzero.perimeter81.com', gatewayIp: '155.138.240.178', networkAccessType: 'Private', networkCreatedAt: '2020-06-24T18:34:08.000Z', networkDns: '205datalab-e5mWasUNls.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'e5mWasUNls', networkName: 'AWS VPC', networkVersion: '0.8.0', plan: 'Essential', regionCountry: 'US', regionDns: '205datalab-e5mWasUNls-4f4qqNz70F.pzero.perimeter81.com', regionId: '4f4qqNz70F', regionName: 'Dallas', status: 'Active', tunnels: [ { tunnelId: 'VchkQHusEs', createdAt: '2020-06-24T18:38:45.000Z', tunnelName: 'AWSTunnel', tunnelType: 'connector', isHa: false, tunnelIp: 'NA', leftSubnets: '[]', customerSubnets: '[]' } ], website: '205datalab.com', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2020061700', provider: 'Vultr', providerRegionName: 'Dallas', region: 'AMER', action: 'Soft-Restart' }, { _id: '2sSO83vFSR', gatewayId: '4slBwBFt95', accessGroups: [ { groupId: 'ZT0F7ykyTs', groupName: 'All Users', isDefault: true } ], accountManager: 'Zachary Bagliore', userEmail: 'z.bagliore@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, billingCycle: 'Monthly', companyName: '21st Century Software, Inc. (Intechgrate Systems', companySize: 'Small', country: 'US', customerId: 'intechgrate', customerSuccessEngineer: 'UnAssigned', customerType: 'Partner', defaultAction: 'Allow', gatewayCreatedAt: '2021-05-24T18:06:03.272Z', gatewayDns: 'intechgrate-4slBwBFt95.pzero.perimeter81.com', gatewayIp: '45.63.105.49', networkAccessType: 'Private', networkCreatedAt: '2021-05-24T18:06:03.000Z', networkDns: 'intechgrate-2sSO83vFSR.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: '2sSO83vFSR', networkName: 'Intechgrate Systems Corp Network', networkVersion: '0.8.0', plan: 'Premium Plus', regionCountry: 'US', regionDns: 'intechgrate-2sSO83vFSR-bLqmWHjcw1.pzero.perimeter81.com', regionId: 'bLqmWHjcw1', regionName: 'Miami', status: 'Active', tunnels: [], website: 'https://www.intechgratesystems.com/', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021042500', provider: 'Vultr', providerRegionName: 'Miami', region: 'AMER', action: 'Soft-Restart' }, { _id: 'eRzzw4Yxka', gatewayId: 'q6ea3SMjxI', customerId: '21stcented', gatewayCreatedAt: '2022-08-05T14:00:35.702Z', gatewayDns: '21stcented-q6ea3SMjxI.pzero.perimeter81.com', gatewayIp: '131.226.36.135', networkAccessType: 'Private', networkCreatedAt: '2022-08-05T14:00:35.000Z', networkDns: '21stcented-eRzzw4Yxka.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'eRzzw4Yxka', networkName: '21stCentEd', networkVersion: '3.8.0', regionCountry: 'US', regionDns: '21stcented-eRzzw4Yxka-B8aIfaq0RC.pzero.perimeter81.com', regionId: 'B8aIfaq0RC', regionName: 'Chicago', accessGroups: [ { groupId: 'kaidiD2rum', groupName: 'All Users', isDefault: true } ], accountManager: 'Scott Pine', userEmail: 's.pine@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, billingCycle: 'Annually', companyName: '21stCentEd', companySize: 'Small', country: 'US', customerSuccessEngineer: 'Shawn Nevulis', customerType: 'Direct', defaultAction: 'Allow', plan: 'Premium Plus', status: 'Active', tunnels: [], website: '21stcented.com', gatewayImageType: 'v3', gatewayImageVersion: '2022073100', provider: 'Perimeter 81', providerRegionName: 'Chicago 1', region: 'AMER', action: 'Migrate' }, { _id: '8EafhGZ3QV', gatewayId: '3qRHJ5hgdp', accessGroups: [ { groupId: 'xpt0TEgC3F', groupName: 'PIMS UK Pre-Production Remote Access', isDefault: false } ], accountManager: 'Mizuho Hosokawa', userEmail: 'm.hosokawa@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: true, customDNS: true }, billingCycle: 'Monthly', companyName: '23andMe (LemonaidHealth', companySize: 'Large', country: 'US', customerId: 'lemonaid', customerSuccessEngineer: 'Harold Seeram', customerType: 'Direct', defaultAction: 'Allow', gatewayCreatedAt: '2021-06-24T16:56:41.552Z', gatewayDns: 'lemonaid-3qRHJ5hgdp.pzero.perimeter81.com', gatewayIp: '212.59.65.64', networkAccessType: 'Private', networkCreatedAt: '2021-06-24T16:56:41.000Z', networkDns: 'lemonaid-8EafhGZ3QV.pzero.perimeter81.com', networkIcon: '72a318dd0db7342977c56b953d6123d3f20e3f6ca700ba0a5e5b6fc730f1cc1c_network_icon_lemonaid_1624554667529.png', networkId: '8EafhGZ3QV', networkName: 'pims-uk-preprod', networkVersion: '0.8.0', plan: 'Premium', regionCountry: 'GB', regionDns: 'lemonaid-8EafhGZ3QV-w7K8BG0nuh.pzero.perimeter81.com', regionId: 'w7K8BG0nuh', regionName: 'London', status: 'Active', tunnels: [ { tunnelId: '61GakNtAEX', createdAt: '2021-07-07T15:38:07.000Z', tunnelName: 'K8sStagingVPC', tunnelType: 'connector', isHa: false, tunnelIp: 'NA', leftSubnets: '[]', customerSubnets: '[]' }, { tunnelId: 'Gccmz7D1VA', createdAt: '2021-06-30T00:20:07.000Z', tunnelName: 'StagingVPC', tunnelType: 'connector', isHa: false, tunnelIp: 'NA', leftSubnets: '[]', customerSubnets: '[]' }, { tunnelId: 'd3y4hPj3GR', createdAt: '2022-05-17T23:51:52.000Z', tunnelName: 'TestTunnel', tunnelType: 'ipsec', isHa: false, tunnelIp: '18.132.132.39', leftSubnets: '[10.252.0.0/16]', customerSubnets: '[10.118.1.0/24, 10.117.2.0/24, 10.116.1.0/24, 10.116.2.0/24, 10.118.4.0/24]' }, { tunnelId: 'zuJDFYxM9P', createdAt: '2021-06-24T17:43:40.000Z', tunnelName: 'PublicPrivVPC', tunnelType: 'connector', isHa: false, tunnelIp: 'NA', leftSubnets: '[]', customerSubnets: '[]' } ], website: 'https://www.lemonaidhealth.com/', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021061200', provider: 'Perimeter 81', providerRegionName: 'London', region: 'EMEA', action: 'Soft-Restart' }, { _id: '6AW9W7tGGQ', gatewayId: 'sKFmEBWCJo', accessGroups: [ { groupId: 'HkdCE6VCKZ', groupName: 'testing', isDefault: false } ], accountManager: 'Mizuho Hosokawa', userEmail: 'm.hosokawa@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: true, customDNS: true }, billingCycle: 'Monthly', companyName: '23andMe (LemonaidHealth', companySize: 'Large', country: 'US', customerId: 'lemonaid', customerSuccessEngineer: 'Harold Seeram', customerType: 'Direct', defaultAction: 'Allow', gatewayCreatedAt: '2021-09-16T20:53:21.689Z', gatewayDns: 'lemonaid-sKFmEBWCJo.pzero.perimeter81.com', gatewayIp: '144.202.24.59', networkAccessType: 'Private', networkCreatedAt: '2021-09-16T20:53:21.000Z', networkDns: 'lemonaid-6AW9W7tGGQ.pzero.perimeter81.com', networkIcon: '09fbc3f383c98489d4237f09f7ce535ec463f2fcb366d67c27eeb1e945118353_network_icon_lemonaid_1631825281639.png', networkId: '6AW9W7tGGQ', networkName: 'PIMS-USA', networkVersion: '0.8.0', plan: 'Premium', regionCountry: 'US', regionDns: 'lemonaid-6AW9W7tGGQ-W4FGZlWLvw.pzero.perimeter81.com', regionId: 'W4FGZlWLvw', regionName: 'Atlanta', status: 'Active', tunnels: [ { tunnelId: 'DPqRfOIhTI', createdAt: '2021-09-17T02:33:39.000Z', tunnelName: 'AWSAZB', tunnelType: 'connector', isHa: false, tunnelIp: 'NA', leftSubnets: '[]', customerSubnets: '[]' } ], website: 'https://www.lemonaidhealth.com/', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021091200', provider: 'Vultr', providerRegionName: 'Atlanta', region: 'AMER', action: 'Migrate' }, { _id: 'njP1tGN7Su', gatewayId: '0WeuDMwaWt', accessGroups: [ { groupId: 'YOHXN9Bywr', groupName: 'All Users', isDefault: true } ], accountManager: 'Mckenzie Smith', userEmail: 'm.smith@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: false }, billingCycle: 'Monthly', companyName: '2Fifteen Tech', companySize: 'Small', country: 'US', customerId: '2fifteen', customerSuccessEngineer: 'UnAssigned', customerType: 'Partner', defaultAction: 'Allow', gatewayCreatedAt: '2022-01-13T04:48:24.922Z', gatewayDns: '2fifteen-0WeuDMwaWt.pzero.perimeter81.com', gatewayIp: '131.226.35.65', networkAccessType: 'Private', networkCreatedAt: '2022-01-13T04:48:24.000Z', networkDns: '2fifteen-njP1tGN7Su.pzero.perimeter81.com', networkIcon: 'e4c5d2c17105dec038c1295b28e193f07990a52189c244365c34017b6cd3d664_network_icon_2fifteen_1642049740821.png', networkId: 'njP1tGN7Su', networkName: '2Fifteen', networkVersion: '0.8.0', plan: 'Premium Plus', regionCountry: 'US', regionDns: '2fifteen-njP1tGN7Su-HAII7V0279.pzero.perimeter81.com', regionId: 'HAII7V0279', regionName: 'Denver', status: 'Active', tunnels: [ { tunnelId: '17sJaBsAw8', createdAt: '2022-01-14T00:14:21.000Z', tunnelName: '2FifteenMeraki', tunnelType: 'ipsec', isHa: false, tunnelIp: '216.21.162.151', leftSubnets: '[10.255.0.0/16]', customerSubnets: '[192.168.0.0/24]' } ], website: '215.tech', gatewayImageType: 'sxp', gatewayImageVersion: 'sxp-2021120600', provider: 'Perimeter 81', providerRegionName: 'Denver 1', region: 'AMER', action: 'Soft-Restart' }, { _id: 'MOMFHWEt8l', gatewayId: '3V3s1HQplH', customerId: '2rsquared', gatewayCreatedAt: '2022-05-10T12:51:44.929Z', gatewayDns: '2rsquared-3V3s1HQplH.pzero.perimeter81.com', gatewayIp: '212.59.67.168', networkAccessType: 'Private', networkCreatedAt: '2019-12-19T14:10:55.000Z', networkDns: '2rsquared-MOMFHWEt8l.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'MOMFHWEt8l', networkName: '2RSquared', networkVersion: '3.8.0', regionCountry: 'DE', regionDns: '2rsquared-MOMFHWEt8l-rxtubwZxFh.pzero.perimeter81.com', regionId: 'rxtubwZxFh', regionName: 'Frankfurt', accessGroups: [ { groupId: '8thv41IgPq', groupName: 'All Users', isDefault: true } ], accountManager: 'Maya Finkelstein', userEmail: 'm.finkelstein@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: true }, billingCycle: 'Annually', companyName: '2RSq Services LTD', companySize: 'Small', country: 'GB', customerSuccessEngineer: 'UnAssigned', customerType: 'Direct', defaultAction: 'Allow', plan: 'Premium', status: 'Active', tunnels: [ { tunnelId: '3amtFbQ3fS', createdAt: '2022-05-10T17:31:31.000Z', tunnelName: '2RSquared01', tunnelType: 'ipsec', isHa: true, tunnelIp: '3.73.160.245', leftSubnets: '[0.0.0.0/0]', customerSubnets: '[0.0.0.0/0]' }, { tunnelId: 'aC1T96hKfJ', createdAt: '2022-05-17T10:20:58.000Z', tunnelName: 'tg01', tunnelType: 'ipsec', isHa: false, tunnelIp: '18.193.134.38', leftSubnets: '[10.255.0.0/16]', customerSubnets: '[0.0.0.0/0]' } ], website: '2rsq.com', gatewayImageType: 'v3', gatewayImageVersion: '2022041300', provider: 'Perimeter 81', providerRegionName: 'Frankfurt 1', region: 'EMEA', action: 'Soft-Restart' }, { _id: 'MOMFHWEt8l!', gatewayId: 'lKZ8WjN54n', customerId: '2rsquared', gatewayCreatedAt: '2022-05-10T17:18:37.579Z', gatewayDns: '2rsquared-lKZ8WjN54n.pzero.perimeter81.com', gatewayIp: '209.35.224.62', networkAccessType: 'Private', networkCreatedAt: '2019-12-19T14:10:55.000Z', networkDns: '2rsquared-MOMFHWEt8l.pzero.perimeter81.com', networkIcon: '6a4f380370d56b43193171aababaf3bfa2f8002d7378b03db9207409f7734753_network_icon.png', networkId: 'MOMFHWEt8l', networkName: '2RSquared', networkVersion: '3.8.0', regionCountry: 'GB', regionDns: '2rsquared-MOMFHWEt8l-CjjRdi1rPX.pzero.perimeter81.com', regionId: 'CjjRdi1rPX', regionName: 'London', accessGroups: [ { groupId: '8thv41IgPq', groupName: 'All Users', isDefault: true } ], accountManager: 'Maya Finkelstein', userEmail: 'm.finkelstein@perimeter81.com', attributes: { dnsFiltering: false, splitTunneling: false, customDNS: true }, billingCycle: 'Annually', companyName: '2RSq Services LTD', companySize: 'Small', country: 'GB', customerSuccessEngineer: 'UnAssigned', customerType: 'Direct', defaultAction: 'Allow', plan: 'Premium', status: 'Active', tunnels: [ { tunnelId: 'SRMO68JCPg', createdAt: '2022-05-10T17:31:31.000Z', tunnelName: '2RSquared02', tunnelType: 'ipsec', isHa: true, tunnelIp: '3.122.17.198', leftSubnets: '[0.0.0.0/0]', customerSubnets: '[0.0.0.0/0]' } ], website: '2rsq.com', gatewayImageType: 'v3', gatewayImageVersion: '2022041300', provider: 'Perimeter 81', providerRegionName: 'London', region: 'EMEA', action: 'Soft-Restart' } ] }; const mockTableConfig: DataGridProps['tableConfig'] = [ { sortable: true, field: 'networkCreatedAt', headerName: 'Date', type: 'dateCreated', width: 180, fieldsToExport: ['networkCreatedAt'] }, { sortable: true, field: 'action', headerName: 'Action', type: 'truncatedText', width: 150, fieldsToExport: ['action'] }, { sortable: true, field: 'networkName', headerName: 'Network Name', type: 'string', width: 180, fieldsToExport: ['networkName'] }, { sortable: true, field: 'networkId', headerName: 'Network Id', type: 'string', width: 150, fieldsToExport: ['networkId'] }, { sortable: true, field: 'status', headerName: 'Network Status', type: 'string', width: 180, fieldsToExport: ['status'] }, { sortable: true, field: 'gatewayId', headerName: 'Gateway Id', type: 'string', width: 150, fieldsToExport: ['gatewayId'] }, { sortable: true, field: 'companyName', headerName: 'Company Name', type: 'companyName', width: 340, fieldsToExport: [ 'companyName', 'customerId', 'status', 'companySize', 'country', 'customerType' ] }, { sortable: true, field: 'accountManager', headerName: 'Updated By', type: 'userName', width: 180, align: 'center', fieldsToExport: ['accountManager'], withEmailName: true, withUserIcon: false }, { sortable: false, field: 'actions', width: 120, align: 'right', fieldsToExport: [], actions: [ { iconSrc: `${ASSETS_URL}/icons2/icon_view.svg`, tooltipText: 'View', value: 'view', onClick: value => () => { alert('View click'); } } ] } ]; const mockDetailPanelTableConfig: DataGridProps['tableConfig'] = [ { sortable: true, field: 'tunnelId', headerName: 'Tunnel ID', width: 210 }, { cellEmptyState: 'N/A', sortable: true, field: 'tunnelIp', headerName: 'Tunnel IP', width: 174 }, { sortable: true, field: 'isHa', headerName: 'Tunnel Status', width: 200, renderCell: ({ value }) => (value ? 'Online' : 'Offline') }, { sortable: true, field: 'tunnelName', headerName: 'Tunnel Name', width: 160 }, { sortable: true, field: 'tunnelType', headerName: 'Tunnel Type', width: 150 }, { cellEmptyState: 'N/A', sortable: true, field: 'leftSubnets', headerName: 'Left Subnets', width: 180 }, { cellEmptyState: 'N/A', sortable: true, field: 'customerSubnets', headerName: 'Customer Subnets', width: 200 } ]; mockTableData.data.forEach(item => { item.tunnels?.forEach(tunnel => { if (typeof tunnel.leftSubnets === 'string') tunnel.leftSubnets = tunnel.leftSubnets.slice(1, -1).split(','); if (typeof tunnel.customerSubnets === 'string') tunnel.customerSubnets = tunnel.customerSubnets.slice(1, -1).split(','); }); }); const mockNetworks: DataGridProps = { detailPanelField: 'tunnels', detailPanelProps: { getRowId: entry => entry.tunnelId, tableConfig: mockDetailPanelTableConfig }, tableConfig: mockTableConfig, tableData: mockTableData, toolbarProps: { title1: 'Networks Results' } }; export { mockNetworks };