"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ManagedDeviceItemRequestBuilderUriTemplate = exports.ManagedDeviceItemRequestBuilderRequestsMetadata = exports.ManagedDeviceItemRequestBuilderNavigationMetadata = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const models_1 = require("@microsoft/msgraph-beta-sdk/models/");
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
const activateDeviceEsim_1 = require("./activateDeviceEsim/");
const assignmentFilterEvaluationStatusDetails_1 = require("./assignmentFilterEvaluationStatusDetails/");
const bypassActivationLock_1 = require("./bypassActivationLock/");
const cleanWindowsDevice_1 = require("./cleanWindowsDevice/");
const createDeviceLogCollectionRequest_1 = require("./createDeviceLogCollectionRequest/");
const deleteUserFromSharedAppleDevice_1 = require("./deleteUserFromSharedAppleDevice/");
const deprovision_1 = require("./deprovision/");
const detectedApps_1 = require("./detectedApps/");
const deviceCategory_1 = require("./deviceCategory/");
const deviceCompliancePolicyStates_1 = require("./deviceCompliancePolicyStates/");
const deviceConfigurationStates_1 = require("./deviceConfigurationStates/");
const deviceHealthScriptStates_1 = require("./deviceHealthScriptStates/");
const disable_1 = require("./disable/");
const disableLostMode_1 = require("./disableLostMode/");
const enableLostMode_1 = require("./enableLostMode/");
const enrollNowAction_1 = require("./enrollNowAction/");
const getCloudPcRemoteActionResults_1 = require("./getCloudPcRemoteActionResults/");
const getCloudPcReviewStatus_1 = require("./getCloudPcReviewStatus/");
const getFileVaultKey_1 = require("./getFileVaultKey/");
const getNonCompliantSettings_1 = require("./getNonCompliantSettings/");
const initiateDeviceAttestation_1 = require("./initiateDeviceAttestation/");
const initiateMobileDeviceManagementKeyRecovery_1 = require("./initiateMobileDeviceManagementKeyRecovery/");
const initiateOnDemandProactiveRemediation_1 = require("./initiateOnDemandProactiveRemediation/");
const locateDevice_1 = require("./locateDevice/");
const logCollectionRequests_1 = require("./logCollectionRequests/");
const logoutSharedAppleDeviceActiveUser_1 = require("./logoutSharedAppleDeviceActiveUser/");
const managedDeviceMobileAppConfigurationStates_1 = require("./managedDeviceMobileAppConfigurationStates/");
const overrideComplianceState_1 = require("./overrideComplianceState/");
const pauseConfigurationRefresh_1 = require("./pauseConfigurationRefresh/");
const playLostModeSound_1 = require("./playLostModeSound/");
const rebootNow_1 = require("./rebootNow/");
const recoverPasscode_1 = require("./recoverPasscode/");
const reenable_1 = require("./reenable/");
const remoteLock_1 = require("./remoteLock/");
const removeDeviceFirmwareConfigurationInterfaceManagement_1 = require("./removeDeviceFirmwareConfigurationInterfaceManagement/");
const reprovisionCloudPc_1 = require("./reprovisionCloudPc/");
const requestRemoteAssistance_1 = require("./requestRemoteAssistance/");
const resetPasscode_1 = require("./resetPasscode/");
const resizeCloudPc_1 = require("./resizeCloudPc/");
const restoreCloudPc_1 = require("./restoreCloudPc/");
const retire_1 = require("./retire/");
const revokeAppleVppLicenses_1 = require("./revokeAppleVppLicenses/");
const rotateBitLockerKeys_1 = require("./rotateBitLockerKeys/");
const rotateFileVaultKey_1 = require("./rotateFileVaultKey/");
const rotateLocalAdminPassword_1 = require("./rotateLocalAdminPassword/");
const securityBaselineStates_1 = require("./securityBaselineStates/");
const sendCustomNotificationToCompanyPortal_1 = require("./sendCustomNotificationToCompanyPortal/");
const setCloudPcReviewStatus_1 = require("./setCloudPcReviewStatus/");
const setDeviceName_1 = require("./setDeviceName/");
const shutDown_1 = require("./shutDown/");
const syncDevice_1 = require("./syncDevice/");
const triggerConfigurationManagerAction_1 = require("./triggerConfigurationManagerAction/");
const updateWindowsDeviceAccount_1 = require("./updateWindowsDeviceAccount/");
const users_1 = require("./users/");
const windowsDefenderScan_1 = require("./windowsDefenderScan/");
const windowsDefenderUpdateSignatures_1 = require("./windowsDefenderUpdateSignatures/");
const windowsProtectionState_1 = require("./windowsProtectionState/");
const wipe_1 = require("./wipe/");
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const ManagedDeviceItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.ManagedDeviceItemRequestBuilderNavigationMetadata = {
    activateDeviceEsim: {
        uriTemplate: activateDeviceEsim_1.ActivateDeviceEsimRequestBuilderUriTemplate,
        requestsMetadata: activateDeviceEsim_1.ActivateDeviceEsimRequestBuilderRequestsMetadata,
    },
    assignmentFilterEvaluationStatusDetails: {
        uriTemplate: assignmentFilterEvaluationStatusDetails_1.AssignmentFilterEvaluationStatusDetailsRequestBuilderUriTemplate,
        requestsMetadata: assignmentFilterEvaluationStatusDetails_1.AssignmentFilterEvaluationStatusDetailsRequestBuilderRequestsMetadata,
        navigationMetadata: assignmentFilterEvaluationStatusDetails_1.AssignmentFilterEvaluationStatusDetailsRequestBuilderNavigationMetadata,
    },
    bypassActivationLock: {
        uriTemplate: bypassActivationLock_1.BypassActivationLockRequestBuilderUriTemplate,
        requestsMetadata: bypassActivationLock_1.BypassActivationLockRequestBuilderRequestsMetadata,
    },
    cleanWindowsDevice: {
        uriTemplate: cleanWindowsDevice_1.CleanWindowsDeviceRequestBuilderUriTemplate,
        requestsMetadata: cleanWindowsDevice_1.CleanWindowsDeviceRequestBuilderRequestsMetadata,
    },
    createDeviceLogCollectionRequest: {
        uriTemplate: createDeviceLogCollectionRequest_1.CreateDeviceLogCollectionRequestRequestBuilderUriTemplate,
        requestsMetadata: createDeviceLogCollectionRequest_1.CreateDeviceLogCollectionRequestRequestBuilderRequestsMetadata,
    },
    deleteUserFromSharedAppleDevice: {
        uriTemplate: deleteUserFromSharedAppleDevice_1.DeleteUserFromSharedAppleDeviceRequestBuilderUriTemplate,
        requestsMetadata: deleteUserFromSharedAppleDevice_1.DeleteUserFromSharedAppleDeviceRequestBuilderRequestsMetadata,
    },
    deprovision: {
        uriTemplate: deprovision_1.DeprovisionRequestBuilderUriTemplate,
        requestsMetadata: deprovision_1.DeprovisionRequestBuilderRequestsMetadata,
    },
    detectedApps: {
        uriTemplate: detectedApps_1.DetectedAppsRequestBuilderUriTemplate,
        requestsMetadata: detectedApps_1.DetectedAppsRequestBuilderRequestsMetadata,
        navigationMetadata: detectedApps_1.DetectedAppsRequestBuilderNavigationMetadata,
    },
    deviceCategory: {
        uriTemplate: deviceCategory_1.DeviceCategoryRequestBuilderUriTemplate,
        requestsMetadata: deviceCategory_1.DeviceCategoryRequestBuilderRequestsMetadata,
    },
    deviceCompliancePolicyStates: {
        uriTemplate: deviceCompliancePolicyStates_1.DeviceCompliancePolicyStatesRequestBuilderUriTemplate,
        requestsMetadata: deviceCompliancePolicyStates_1.DeviceCompliancePolicyStatesRequestBuilderRequestsMetadata,
        navigationMetadata: deviceCompliancePolicyStates_1.DeviceCompliancePolicyStatesRequestBuilderNavigationMetadata,
    },
    deviceConfigurationStates: {
        uriTemplate: deviceConfigurationStates_1.DeviceConfigurationStatesRequestBuilderUriTemplate,
        requestsMetadata: deviceConfigurationStates_1.DeviceConfigurationStatesRequestBuilderRequestsMetadata,
        navigationMetadata: deviceConfigurationStates_1.DeviceConfigurationStatesRequestBuilderNavigationMetadata,
    },
    deviceHealthScriptStates: {
        uriTemplate: deviceHealthScriptStates_1.DeviceHealthScriptStatesRequestBuilderUriTemplate,
        requestsMetadata: deviceHealthScriptStates_1.DeviceHealthScriptStatesRequestBuilderRequestsMetadata,
        navigationMetadata: deviceHealthScriptStates_1.DeviceHealthScriptStatesRequestBuilderNavigationMetadata,
    },
    disable: {
        uriTemplate: disable_1.DisableRequestBuilderUriTemplate,
        requestsMetadata: disable_1.DisableRequestBuilderRequestsMetadata,
    },
    disableLostMode: {
        uriTemplate: disableLostMode_1.DisableLostModeRequestBuilderUriTemplate,
        requestsMetadata: disableLostMode_1.DisableLostModeRequestBuilderRequestsMetadata,
    },
    enableLostMode: {
        uriTemplate: enableLostMode_1.EnableLostModeRequestBuilderUriTemplate,
        requestsMetadata: enableLostMode_1.EnableLostModeRequestBuilderRequestsMetadata,
    },
    enrollNowAction: {
        uriTemplate: enrollNowAction_1.EnrollNowActionRequestBuilderUriTemplate,
        requestsMetadata: enrollNowAction_1.EnrollNowActionRequestBuilderRequestsMetadata,
    },
    getCloudPcRemoteActionResults: {
        uriTemplate: getCloudPcRemoteActionResults_1.GetCloudPcRemoteActionResultsRequestBuilderUriTemplate,
        requestsMetadata: getCloudPcRemoteActionResults_1.GetCloudPcRemoteActionResultsRequestBuilderRequestsMetadata,
    },
    getCloudPcReviewStatus: {
        uriTemplate: getCloudPcReviewStatus_1.GetCloudPcReviewStatusRequestBuilderUriTemplate,
        requestsMetadata: getCloudPcReviewStatus_1.GetCloudPcReviewStatusRequestBuilderRequestsMetadata,
    },
    getFileVaultKey: {
        uriTemplate: getFileVaultKey_1.GetFileVaultKeyRequestBuilderUriTemplate,
        requestsMetadata: getFileVaultKey_1.GetFileVaultKeyRequestBuilderRequestsMetadata,
    },
    getNonCompliantSettings: {
        uriTemplate: getNonCompliantSettings_1.GetNonCompliantSettingsRequestBuilderUriTemplate,
        requestsMetadata: getNonCompliantSettings_1.GetNonCompliantSettingsRequestBuilderRequestsMetadata,
    },
    initiateDeviceAttestation: {
        uriTemplate: initiateDeviceAttestation_1.InitiateDeviceAttestationRequestBuilderUriTemplate,
        requestsMetadata: initiateDeviceAttestation_1.InitiateDeviceAttestationRequestBuilderRequestsMetadata,
    },
    initiateMobileDeviceManagementKeyRecovery: {
        uriTemplate: initiateMobileDeviceManagementKeyRecovery_1.InitiateMobileDeviceManagementKeyRecoveryRequestBuilderUriTemplate,
        requestsMetadata: initiateMobileDeviceManagementKeyRecovery_1.InitiateMobileDeviceManagementKeyRecoveryRequestBuilderRequestsMetadata,
    },
    initiateOnDemandProactiveRemediation: {
        uriTemplate: initiateOnDemandProactiveRemediation_1.InitiateOnDemandProactiveRemediationRequestBuilderUriTemplate,
        requestsMetadata: initiateOnDemandProactiveRemediation_1.InitiateOnDemandProactiveRemediationRequestBuilderRequestsMetadata,
    },
    locateDevice: {
        uriTemplate: locateDevice_1.LocateDeviceRequestBuilderUriTemplate,
        requestsMetadata: locateDevice_1.LocateDeviceRequestBuilderRequestsMetadata,
    },
    logCollectionRequests: {
        uriTemplate: logCollectionRequests_1.LogCollectionRequestsRequestBuilderUriTemplate,
        requestsMetadata: logCollectionRequests_1.LogCollectionRequestsRequestBuilderRequestsMetadata,
        navigationMetadata: logCollectionRequests_1.LogCollectionRequestsRequestBuilderNavigationMetadata,
    },
    logoutSharedAppleDeviceActiveUser: {
        uriTemplate: logoutSharedAppleDeviceActiveUser_1.LogoutSharedAppleDeviceActiveUserRequestBuilderUriTemplate,
        requestsMetadata: logoutSharedAppleDeviceActiveUser_1.LogoutSharedAppleDeviceActiveUserRequestBuilderRequestsMetadata,
    },
    managedDeviceMobileAppConfigurationStates: {
        uriTemplate: managedDeviceMobileAppConfigurationStates_1.ManagedDeviceMobileAppConfigurationStatesRequestBuilderUriTemplate,
        requestsMetadata: managedDeviceMobileAppConfigurationStates_1.ManagedDeviceMobileAppConfigurationStatesRequestBuilderRequestsMetadata,
        navigationMetadata: managedDeviceMobileAppConfigurationStates_1.ManagedDeviceMobileAppConfigurationStatesRequestBuilderNavigationMetadata,
    },
    overrideComplianceState: {
        uriTemplate: overrideComplianceState_1.OverrideComplianceStateRequestBuilderUriTemplate,
        requestsMetadata: overrideComplianceState_1.OverrideComplianceStateRequestBuilderRequestsMetadata,
    },
    pauseConfigurationRefresh: {
        uriTemplate: pauseConfigurationRefresh_1.PauseConfigurationRefreshRequestBuilderUriTemplate,
        requestsMetadata: pauseConfigurationRefresh_1.PauseConfigurationRefreshRequestBuilderRequestsMetadata,
    },
    playLostModeSound: {
        uriTemplate: playLostModeSound_1.PlayLostModeSoundRequestBuilderUriTemplate,
        requestsMetadata: playLostModeSound_1.PlayLostModeSoundRequestBuilderRequestsMetadata,
    },
    rebootNow: {
        uriTemplate: rebootNow_1.RebootNowRequestBuilderUriTemplate,
        requestsMetadata: rebootNow_1.RebootNowRequestBuilderRequestsMetadata,
    },
    recoverPasscode: {
        uriTemplate: recoverPasscode_1.RecoverPasscodeRequestBuilderUriTemplate,
        requestsMetadata: recoverPasscode_1.RecoverPasscodeRequestBuilderRequestsMetadata,
    },
    reenable: {
        uriTemplate: reenable_1.ReenableRequestBuilderUriTemplate,
        requestsMetadata: reenable_1.ReenableRequestBuilderRequestsMetadata,
    },
    remoteLock: {
        uriTemplate: remoteLock_1.RemoteLockRequestBuilderUriTemplate,
        requestsMetadata: remoteLock_1.RemoteLockRequestBuilderRequestsMetadata,
    },
    removeDeviceFirmwareConfigurationInterfaceManagement: {
        uriTemplate: removeDeviceFirmwareConfigurationInterfaceManagement_1.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilderUriTemplate,
        requestsMetadata: removeDeviceFirmwareConfigurationInterfaceManagement_1.RemoveDeviceFirmwareConfigurationInterfaceManagementRequestBuilderRequestsMetadata,
    },
    reprovisionCloudPc: {
        uriTemplate: reprovisionCloudPc_1.ReprovisionCloudPcRequestBuilderUriTemplate,
        requestsMetadata: reprovisionCloudPc_1.ReprovisionCloudPcRequestBuilderRequestsMetadata,
    },
    requestRemoteAssistance: {
        uriTemplate: requestRemoteAssistance_1.RequestRemoteAssistanceRequestBuilderUriTemplate,
        requestsMetadata: requestRemoteAssistance_1.RequestRemoteAssistanceRequestBuilderRequestsMetadata,
    },
    resetPasscode: {
        uriTemplate: resetPasscode_1.ResetPasscodeRequestBuilderUriTemplate,
        requestsMetadata: resetPasscode_1.ResetPasscodeRequestBuilderRequestsMetadata,
    },
    resizeCloudPc: {
        uriTemplate: resizeCloudPc_1.ResizeCloudPcRequestBuilderUriTemplate,
        requestsMetadata: resizeCloudPc_1.ResizeCloudPcRequestBuilderRequestsMetadata,
    },
    restoreCloudPc: {
        uriTemplate: restoreCloudPc_1.RestoreCloudPcRequestBuilderUriTemplate,
        requestsMetadata: restoreCloudPc_1.RestoreCloudPcRequestBuilderRequestsMetadata,
    },
    retire: {
        uriTemplate: retire_1.RetireRequestBuilderUriTemplate,
        requestsMetadata: retire_1.RetireRequestBuilderRequestsMetadata,
    },
    revokeAppleVppLicenses: {
        uriTemplate: revokeAppleVppLicenses_1.RevokeAppleVppLicensesRequestBuilderUriTemplate,
        requestsMetadata: revokeAppleVppLicenses_1.RevokeAppleVppLicensesRequestBuilderRequestsMetadata,
    },
    rotateBitLockerKeys: {
        uriTemplate: rotateBitLockerKeys_1.RotateBitLockerKeysRequestBuilderUriTemplate,
        requestsMetadata: rotateBitLockerKeys_1.RotateBitLockerKeysRequestBuilderRequestsMetadata,
    },
    rotateFileVaultKey: {
        uriTemplate: rotateFileVaultKey_1.RotateFileVaultKeyRequestBuilderUriTemplate,
        requestsMetadata: rotateFileVaultKey_1.RotateFileVaultKeyRequestBuilderRequestsMetadata,
    },
    rotateLocalAdminPassword: {
        uriTemplate: rotateLocalAdminPassword_1.RotateLocalAdminPasswordRequestBuilderUriTemplate,
        requestsMetadata: rotateLocalAdminPassword_1.RotateLocalAdminPasswordRequestBuilderRequestsMetadata,
    },
    securityBaselineStates: {
        uriTemplate: securityBaselineStates_1.SecurityBaselineStatesRequestBuilderUriTemplate,
        requestsMetadata: securityBaselineStates_1.SecurityBaselineStatesRequestBuilderRequestsMetadata,
        navigationMetadata: securityBaselineStates_1.SecurityBaselineStatesRequestBuilderNavigationMetadata,
    },
    sendCustomNotificationToCompanyPortal: {
        uriTemplate: sendCustomNotificationToCompanyPortal_1.SendCustomNotificationToCompanyPortalRequestBuilderUriTemplate,
        requestsMetadata: sendCustomNotificationToCompanyPortal_1.SendCustomNotificationToCompanyPortalRequestBuilderRequestsMetadata,
    },
    setCloudPcReviewStatus: {
        uriTemplate: setCloudPcReviewStatus_1.SetCloudPcReviewStatusRequestBuilderUriTemplate,
        requestsMetadata: setCloudPcReviewStatus_1.SetCloudPcReviewStatusRequestBuilderRequestsMetadata,
    },
    setDeviceName: {
        uriTemplate: setDeviceName_1.SetDeviceNameRequestBuilderUriTemplate,
        requestsMetadata: setDeviceName_1.SetDeviceNameRequestBuilderRequestsMetadata,
    },
    shutDown: {
        uriTemplate: shutDown_1.ShutDownRequestBuilderUriTemplate,
        requestsMetadata: shutDown_1.ShutDownRequestBuilderRequestsMetadata,
    },
    syncDevice: {
        uriTemplate: syncDevice_1.SyncDeviceRequestBuilderUriTemplate,
        requestsMetadata: syncDevice_1.SyncDeviceRequestBuilderRequestsMetadata,
    },
    triggerConfigurationManagerAction: {
        uriTemplate: triggerConfigurationManagerAction_1.TriggerConfigurationManagerActionRequestBuilderUriTemplate,
        requestsMetadata: triggerConfigurationManagerAction_1.TriggerConfigurationManagerActionRequestBuilderRequestsMetadata,
    },
    updateWindowsDeviceAccount: {
        uriTemplate: updateWindowsDeviceAccount_1.UpdateWindowsDeviceAccountRequestBuilderUriTemplate,
        requestsMetadata: updateWindowsDeviceAccount_1.UpdateWindowsDeviceAccountRequestBuilderRequestsMetadata,
    },
    users: {
        uriTemplate: users_1.UsersRequestBuilderUriTemplate,
        requestsMetadata: users_1.UsersRequestBuilderRequestsMetadata,
    },
    windowsDefenderScan: {
        uriTemplate: windowsDefenderScan_1.WindowsDefenderScanRequestBuilderUriTemplate,
        requestsMetadata: windowsDefenderScan_1.WindowsDefenderScanRequestBuilderRequestsMetadata,
    },
    windowsDefenderUpdateSignatures: {
        uriTemplate: windowsDefenderUpdateSignatures_1.WindowsDefenderUpdateSignaturesRequestBuilderUriTemplate,
        requestsMetadata: windowsDefenderUpdateSignatures_1.WindowsDefenderUpdateSignaturesRequestBuilderRequestsMetadata,
    },
    windowsProtectionState: {
        uriTemplate: windowsProtectionState_1.WindowsProtectionStateRequestBuilderUriTemplate,
        requestsMetadata: windowsProtectionState_1.WindowsProtectionStateRequestBuilderRequestsMetadata,
        navigationMetadata: windowsProtectionState_1.WindowsProtectionStateRequestBuilderNavigationMetadata,
    },
    wipe: {
        uriTemplate: wipe_1.WipeRequestBuilderUriTemplate,
        requestsMetadata: wipe_1.WipeRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.ManagedDeviceItemRequestBuilderRequestsMetadata = {
    delete: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContentAsync",
    },
    get: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendAsync",
        responseBodyFactory: models_1.createManagedDeviceFromDiscriminatorValue,
        queryParametersMapper: ManagedDeviceItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        responseBodyContentType: "application/json",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendAsync",
        responseBodyFactory: models_1.createManagedDeviceFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeManagedDevice,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/**
 * Uri template for the request builder.
 */
exports.ManagedDeviceItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}{?%24select,%24expand}";
/* tslint:enable */
/* eslint-enable */
