# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.10

import enum
import datetime
import sys
import types
import typing

import winsdk.system

class MessagingSyncPolicy(enum.IntEnum):
    DISALLOWED = 0
    ALLOWED = 1
    REQUIRED = 2

Self = typing.TypeVar('Self')

class MdmPolicy(winsdk.system.Object):
    @staticmethod
    def _from(obj: winsdk.system.Object, /) -> MdmPolicy: ...
    @staticmethod
    def get_messaging_sync_policy() -> MessagingSyncPolicy: ...
    @staticmethod
    def is_browser_allowed() -> winsdk.system.Boolean: ...
    @staticmethod
    def is_camera_allowed() -> winsdk.system.Boolean: ...
    @staticmethod
    def is_microsoft_account_allowed() -> winsdk.system.Boolean: ...
    @staticmethod
    def is_store_allowed() -> winsdk.system.Boolean: ...

class WorkplaceSettings(winsdk.system.Object):
    is_microsoft_account_optional: typing.ClassVar[winsdk.system.Boolean]
    @staticmethod
    def _from(obj: winsdk.system.Object, /) -> WorkplaceSettings: ...

