'use strict';var deviceRunStates=require('./deviceRunStates');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var deviceRunStates__namespace=/*#__PURE__*/_interopNamespace(deviceRunStates);function a(t){return {ver:"beta",method:"delete",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}",paramDefs:{header:["If-Match"],path:["deviceHealthScript-id"]},params:t}}function c(t){return {ver:"beta",method:"get",path:"/deviceManagement/deviceHealthScripts",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:t}}function n(t){return {ver:"beta",method:"get",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}",paramDefs:{path:["deviceHealthScript-id"],query:["$select","$expand"]},params:t}}function d(t,e){return {ver:"beta",method:"patch",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}",paramDefs:{path:["deviceHealthScript-id"]},params:e,body:t}}function r(t){return {ver:"beta",method:"post",path:"/deviceManagement/deviceHealthScripts",body:t}}const p={create:function(e,i){return {ver:"beta",method:"post",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/assign",paramDefs:{path:["deviceHealthScript-id"]},params:i,body:e}}},s={list:function(e){return {ver:"beta",method:"get",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/assignments",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"],path:["deviceHealthScript-id"]},params:e}},create:function(e,i){return {ver:"beta",method:"post",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/assignments",paramDefs:{path:["deviceHealthScript-id"]},params:i,body:e}},get:function(e){return {ver:"beta",method:"get",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/assignments/{deviceHealthScriptAssignment-id}",paramDefs:{query:["$select","$expand"],path:["deviceHealthScript-id","deviceHealthScriptAssignment-id"]},params:e}},update:function(e,i){return {ver:"beta",method:"patch",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/assignments/{deviceHealthScriptAssignment-id}",paramDefs:{path:["deviceHealthScript-id","deviceHealthScriptAssignment-id"]},params:i,body:e}},del:function(e){return {ver:"beta",method:"delete",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/assignments/{deviceHealthScriptAssignment-id}",paramDefs:{header:["If-Match"],path:["deviceHealthScript-id","deviceHealthScriptAssignment-id"]},params:e}}},v={create:function(){return {ver:"beta",method:"post",path:"/deviceManagement/deviceHealthScripts/enableGlobalScripts"}}},l={create:function(e){return {ver:"beta",method:"post",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/getGlobalScriptHighestAvailableVersion",paramDefs:{path:["deviceHealthScript-id"]},params:e}}},h={get:function(e){return {ver:"beta",method:"get",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/runSummary",paramDefs:{query:["$select","$expand"],path:["deviceHealthScript-id"]},params:e}},update:function(e,i){return {ver:"beta",method:"patch",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/runSummary",paramDefs:{path:["deviceHealthScript-id"]},params:i,body:e}},del:function(e){return {ver:"beta",method:"delete",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/runSummary",paramDefs:{header:["If-Match"],path:["deviceHealthScript-id"]},params:e}}},S={create:function(e,i){return {ver:"beta",method:"post",path:"/deviceManagement/deviceHealthScripts/{deviceHealthScript-id}/updateGlobalScript",paramDefs:{path:["deviceHealthScript-id"]},params:i,body:e}}};exports.deviceRunStates=deviceRunStates__namespace;exports.assign=p;exports.assignments=s;exports.create=r;exports.del=a;exports.enableGlobalScripts=v;exports.get=n;exports.getGlobalScriptHighestAvailableVersion=l;exports.list=c;exports.runSummary=h;exports.update=d;exports.updateGlobalScript=S;