/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.security_bundle_jsonpfunction=window.security_bundle_jsonpfunction||[]).push([[21],{295:function(e,i,t){"use strict";t.r(i),t.d(i,"PrivilegesAPIClient",(function(){return PrivilegesAPIClient}));class PrivilegesAPIClient{constructor(e){this.http=e}async getAll({includeActions:e,respectLicenseLevel:i=!0}){return await this.http.get("/api/security/privileges",{query:{includeActions:e,respectLicenseLevel:i}})}async getBuiltIn(){return await this.http.get("/internal/security/esPrivileges/builtin")}}}}]);