query licensing ( $accountId:ID!) {
	licensing ( accountId:$accountId ) {
		licensingInfo {
			licenses {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				... on DataLakeLicense {
					dpaVersion
					retentionPeriod
					total
				}
				... on PublicIpsLicense {
					total
				}
				... on SiteLicense {
					siteLicenseGroup
					regionality
					siteLicenseType
					total
					site {
						id
						name
					}
				}
				... on PooledBandwidthLicense {
					siteLicenseGroup
					siteLicenseType
					total
					allocatedBandwidth
					sites {
						sitePooledBandwidthLicenseSite: site {
							id
							name
						}
						allocatedBandwidth
					}
					accounts {
						accountPartnerPooledBandwidthLicenseAccount: account {
							id
							name
						}
						allocatedBandwidth
					}
				}
				... on ZtnaUsersLicense {
					ztnaUsersLicenseGroup
					total
				}
				... on EndpointProtectionLicense {
					total
				}
				... on IlmmLicense {
					total
				}
				... on SaasSecurityApiLicense {
					total
				}
				... on XdrProLicense {
					total
				}
				... on DemLicense {
					total
				}
				... on AISecurityUsersLicense {
					total
				}
				... on AISecurityApplicationsLicense {
					total
				}
			}
			dataLake {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				dpaVersion
				retentionPeriod
				total
			}
			publicIps {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			site {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				siteLicenseGroup
				regionality
				siteLicenseType
				total
				site {
					id
					name
				}
			}
			pooledBandwidth {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				siteLicenseGroup
				siteLicenseType
				total
				allocatedBandwidth
				sites {
					site {
						id
						name
					}
					allocatedBandwidth
				}
				accounts {
					account {
						id
						name
					}
					allocatedBandwidth
				}
			}
			ztnaUsers {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				ztnaUsersLicenseGroup
				total
			}
			endpointProtection {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			ilmm {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			ips {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			malwareProtection {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			nextGenMalwareProtection {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			threatPrevention {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			nocaas {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			casb {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			dlp {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			mdr {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			managedXdr {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			rbi {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			saasSecurityApi {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			xdrPro {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			dem {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			iotOt {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			atp {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			xOps {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
			}
			aiSecurityUsers {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			aiSecurityApplications {
				id
				description
				plan
				sku
				status
				startDate
				expirationDate
				lastUpdated
				total
			}
			globalLicenseAllocations {
				publicIps {
					total
					allocated
					available
				}
				ztnaUsers {
					total
					allocated
					available
				}
			}
		}
	}	
}