'use strict';function n(e){return {ver:"beta",method:"delete",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}",paramDefs:{header:["If-Match"],path:["windowsAutopilotDeviceIdentity-id"]},params:e}}function o(e){return {ver:"beta",method:"get",path:"/deviceManagement/windowsAutopilotDeviceIdentities",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:e}}function d(e){return {ver:"beta",method:"get",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"],query:["$select","$expand"]},params:e}}function s(e,i){return {ver:"beta",method:"patch",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"]},params:i,body:e}}function c(e){return {ver:"beta",method:"post",path:"/deviceManagement/windowsAutopilotDeviceIdentities",body:e}}const p={create:function(i){return {ver:"beta",method:"post",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/allowNextEnrollment",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"]},params:i}}},a={create:function(i,t){return {ver:"beta",method:"post",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/assignResourceAccountToDevice",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"]},params:t,body:i}}},w={create:function(i,t){return {ver:"beta",method:"post",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/assignUserToDevice",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"]},params:t,body:i}}},v={get:function(i){return {ver:"beta",method:"get",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/deploymentProfile",paramDefs:{query:["$select","$expand"],path:["windowsAutopilotDeviceIdentity-id"]},params:i}}},u={get:function(i){return {ver:"beta",method:"get",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/intendedDeploymentProfile",paramDefs:{query:["$select","$expand"],path:["windowsAutopilotDeviceIdentity-id"]},params:i}}},r={create:function(i){return {ver:"beta",method:"post",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/unassignResourceAccountFromDevice",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"]},params:i}}},l={create:function(i){return {ver:"beta",method:"post",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/unassignUserFromDevice",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"]},params:i}}},D={create:function(i,t){return {ver:"beta",method:"post",path:"/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity-id}/updateDeviceProperties",paramDefs:{path:["windowsAutopilotDeviceIdentity-id"]},params:t,body:i}}};exports.allowNextEnrollment=p;exports.assignResourceAccountToDevice=a;exports.assignUserToDevice=w;exports.create=c;exports.del=n;exports.deploymentProfile=v;exports.get=d;exports.intendedDeploymentProfile=u;exports.list=o;exports.unassignResourceAccountFromDevice=r;exports.unassignUserFromDevice=l;exports.update=s;exports.updateDeviceProperties=D;