query devices ( $accountId:ID! $deviceV2Input:DeviceV2Input $sortOrderInput:SortOrderInput $deviceAttributeCatalogInput:DeviceAttributeCatalogInput $deviceComplianceCatalogInput:DeviceComplianceCatalogInput $deviceCsvExportInput:DeviceCsvExportInput $jobId:ID!) {
	devices ( accountId:$accountId ) {
		list ( input:$deviceV2Input  )  {
			device {
				id
				site {
					id
					name
				}
				user {
					id
					name
				}
				name
				firstSeen
				lastSeen
				ip
				ipAddress
				category
				riskScore
				nic {
					macAddress
					ip
					site {
						id
						name
					}
					network {
						__typename
						... on SiteNetworkSubnetRef {
							id
							name
						}
						... on GlobalRangeRef {
							id
							name
						}
						... on GlobalIpRangeRef {
							id
							name
						}
						... on FloatingSubnetRef {
							id
							name
						}
					}
 {
						__typename
						... on SiteNetworkSubnetRef {
							id
							name
						}
						... on GlobalRangeRef {
							id
							name
						}
						... on GlobalIpRangeRef {
							id
							name
						}
						... on FloatingSubnetRef {
							id
							name
						}
					}
					vendor
				}
				os {
					product
					vendor
					version
				}
				hw {
					type
					model
					manufacturer
				}
				originTypes
				isManaged
				network {
					subnet
					networkName
				}
				networkInfo {
					__typename
					... on SiteNetworkSubnetRef {
						id
						name
					}
					... on GlobalRangeRef {
						id
						name
					}
					... on GlobalIpRangeRef {
						id
						name
					}
					... on FloatingSubnetRef {
						id
						name
					}
				}
				connectionProfile {
					destApps
					destDomains
					destHosts
					directions
				}
				confidence
				complianceState
				nics {
					macAddress
					ip
					site {
						id
						name
					}
					network {
						__typename
						... on SiteNetworkSubnetRef {
							id
							name
						}
						... on GlobalRangeRef {
							id
							name
						}
						... on GlobalIpRangeRef {
							id
							name
						}
						... on FloatingSubnetRef {
							id
							name
						}
					}
 {
						__typename
						... on SiteNetworkSubnetRef {
							id
							name
						}
						... on GlobalRangeRef {
							id
							name
						}
						... on GlobalIpRangeRef {
							id
							name
						}
						... on FloatingSubnetRef {
							id
							name
						}
					}
					vendor
				}
			}
			paging {
				total
			}
		}
		attributesCatalog {
			category ( sort:$sortOrderInput   ) {
				items
				pageInfo {
					total
				}
			}
			type ( input:$deviceAttributeCatalogInput   ) {
				items
				pageInfo {
					total
				}
			}
			model ( input:$deviceAttributeCatalogInput   ) {
				items
				pageInfo {
					total
				}
			}
			manufacturer ( input:$deviceAttributeCatalogInput   ) {
				items
				pageInfo {
					total
				}
			}
			os ( input:$deviceAttributeCatalogInput   ) {
				items
				pageInfo {
					total
				}
			}
			compliance ( input:$deviceComplianceCatalogInput   ) {
				items {
					applicationConnector {
						id
						name
					}
					state
				}
				pageInfo {
					total
				}
			}
		}
		csvExport ( input:$deviceCsvExportInput  )  {
			jobId
			message
		}
		csvExportStatus ( jobId:$jobId  )  {
			jobId
			status
			progress
			message
			downloadUrl
			expiresAt
		}
	}	
}