diff --git a/pyproject.toml b/pyproject.toml index 8098a6f..fa80f92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,13 +7,13 @@ build-backend = "setuptools.build_meta" [project] name = "mistapi" -version = "0.47.3" +version = "0.47.4" authors = [{name="Thomas Munzer", email="tmunzer@juniper.net"}] description = "Python package to simplify the Mist System APIs usage" keywords = ["Mist", "Juniper", "API"] license = {text = "MIT"} readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", diff --git a/src/mistapi/api/v1/const/alarm_defs.py b/src/mistapi/api/v1/const/alarm_defs.py index b47456f..7de75b1 100644 --- a/src/mistapi/api/v1/const/alarm_defs.py +++ b/src/mistapi/api/v1/const/alarm_defs.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listAlarmDefinitions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listAlarmDefinitions") def getAlarmDefinitions(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listAlarmDefinitions diff --git a/src/mistapi/api/v1/const/ap_channels.py b/src/mistapi/api/v1/const/ap_channels.py index 4cf2119..0c3c14c 100644 --- a/src/mistapi/api/v1/const/ap_channels.py +++ b/src/mistapi/api/v1/const/ap_channels.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listApChannels") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listApChannels") def getApChannels(mist_session:_APISession, country_code:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listApChannels diff --git a/src/mistapi/api/v1/const/ap_led_status.py b/src/mistapi/api/v1/const/ap_led_status.py index 3041e2a..d59cff4 100644 --- a/src/mistapi/api/v1/const/ap_led_status.py +++ b/src/mistapi/api/v1/const/ap_led_status.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listApLedDefinition") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listApLedDefinition") def getApLedDefinition(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listApLedDefinition diff --git a/src/mistapi/api/v1/const/applications.py b/src/mistapi/api/v1/const/applications.py index fe29811..aad6594 100644 --- a/src/mistapi/api/v1/const/applications.py +++ b/src/mistapi/api/v1/const/applications.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listApplications") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listApplications") def getApplications(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listApplications diff --git a/src/mistapi/api/v1/const/client_events.py b/src/mistapi/api/v1/const/client_events.py index f621b9c..0c80335 100644 --- a/src/mistapi/api/v1/const/client_events.py +++ b/src/mistapi/api/v1/const/client_events.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listClientEventsDefinitions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listClientEventsDefinitions") def getClientEventsDefinitions(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listClientEventsDefinitions diff --git a/src/mistapi/api/v1/const/countries.py b/src/mistapi/api/v1/const/countries.py index e8875a5..5a29828 100644 --- a/src/mistapi/api/v1/const/countries.py +++ b/src/mistapi/api/v1/const/countries.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listCountryCodes") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listCountryCodes") def getCountryCodes(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listCountryCodes diff --git a/src/mistapi/api/v1/const/device_events.py b/src/mistapi/api/v1/const/device_events.py index 81b29eb..b11abbb 100644 --- a/src/mistapi/api/v1/const/device_events.py +++ b/src/mistapi/api/v1/const/device_events.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listDeviceEventsDefinitions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listDeviceEventsDefinitions") def getDeviceEventsDefinitions(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listDeviceEventsDefinitions diff --git a/src/mistapi/api/v1/const/device_models.py b/src/mistapi/api/v1/const/device_models.py index ea2fc17..686f84a 100644 --- a/src/mistapi/api/v1/const/device_models.py +++ b/src/mistapi/api/v1/const/device_models.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listDeviceModels") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listDeviceModels") def getDeviceModels(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listDeviceModels diff --git a/src/mistapi/api/v1/const/gateway_applications.py b/src/mistapi/api/v1/const/gateway_applications.py index c147f38..aba4fb6 100644 --- a/src/mistapi/api/v1/const/gateway_applications.py +++ b/src/mistapi/api/v1/const/gateway_applications.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listGatewayApplications") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listGatewayApplications") def getGatewayApplications(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listGatewayApplications diff --git a/src/mistapi/api/v1/const/insight_metrics.py b/src/mistapi/api/v1/const/insight_metrics.py index 88f1892..fb47706 100644 --- a/src/mistapi/api/v1/const/insight_metrics.py +++ b/src/mistapi/api/v1/const/insight_metrics.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInsightMetrics") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInsightMetrics") def getInsightMetrics(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInsightMetrics diff --git a/src/mistapi/api/v1/const/languages.py b/src/mistapi/api/v1/const/languages.py index f177a33..d14a7b4 100644 --- a/src/mistapi/api/v1/const/languages.py +++ b/src/mistapi/api/v1/const/languages.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteLanguages") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteLanguages") def getSiteLanguages(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteLanguages diff --git a/src/mistapi/api/v1/const/mxedge_events.py b/src/mistapi/api/v1/const/mxedge_events.py index 7358c51..0ad470d 100644 --- a/src/mistapi/api/v1/const/mxedge_events.py +++ b/src/mistapi/api/v1/const/mxedge_events.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMxEdgeEventsDefinitions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMxEdgeEventsDefinitions") def getMxEdgeEventsDefinitions(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMxEdgeEventsDefinitions diff --git a/src/mistapi/api/v1/const/mxedge_models.py b/src/mistapi/api/v1/const/mxedge_models.py index 06ed9af..c3b9e49 100644 --- a/src/mistapi/api/v1/const/mxedge_models.py +++ b/src/mistapi/api/v1/const/mxedge_models.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMxEdgeModels") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMxEdgeModels") def getMxEdgeModels(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMxEdgeModels diff --git a/src/mistapi/api/v1/const/nac_events.py b/src/mistapi/api/v1/const/nac_events.py index bbcefc0..5e2a3f9 100644 --- a/src/mistapi/api/v1/const/nac_events.py +++ b/src/mistapi/api/v1/const/nac_events.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listNacEventsDefinitions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listNacEventsDefinitions") def getNacEventsDefinitions(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listNacEventsDefinitions diff --git a/src/mistapi/api/v1/const/otherdevice_events.py b/src/mistapi/api/v1/const/otherdevice_events.py index b70c2d4..a75badf 100644 --- a/src/mistapi/api/v1/const/otherdevice_events.py +++ b/src/mistapi/api/v1/const/otherdevice_events.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOtherDeviceEventsDefinitions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOtherDeviceEventsDefinitions") def getOtherDeviceEventsDefinitions(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOtherDeviceEventsDefinitions diff --git a/src/mistapi/api/v1/const/otherdevice_models.py b/src/mistapi/api/v1/const/otherdevice_models.py index 16c7824..c98c3a5 100644 --- a/src/mistapi/api/v1/const/otherdevice_models.py +++ b/src/mistapi/api/v1/const/otherdevice_models.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSupportedOtherDeviceModels") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSupportedOtherDeviceModels") def getSupportedOtherDeviceModels(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSupportedOtherDeviceModels diff --git a/src/mistapi/api/v1/const/traffic_types.py b/src/mistapi/api/v1/const/traffic_types.py index 7ce30e6..3e7ee52 100644 --- a/src/mistapi/api/v1/const/traffic_types.py +++ b/src/mistapi/api/v1/const/traffic_types.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listTrafficTypes") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listTrafficTypes") def getTrafficTypes(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listTrafficTypes diff --git a/src/mistapi/api/v1/installer/orgs/alarmtemplates.py b/src/mistapi/api/v1/installer/orgs/alarmtemplates.py index 5d9c2ab..947b101 100644 --- a/src/mistapi/api/v1/installer/orgs/alarmtemplates.py +++ b/src/mistapi/api/v1/installer/orgs/alarmtemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerAlarmTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerAlarmTemplates") def getInstallerAlarmTemplates(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerAlarmTemplates diff --git a/src/mistapi/api/v1/installer/orgs/deviceprofiles.py b/src/mistapi/api/v1/installer/orgs/deviceprofiles.py index 06190b7..35bef30 100644 --- a/src/mistapi/api/v1/installer/orgs/deviceprofiles.py +++ b/src/mistapi/api/v1/installer/orgs/deviceprofiles.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerDeviceProfiles") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerDeviceProfiles") def getInstallerDeviceProfiles(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerDeviceProfiles diff --git a/src/mistapi/api/v1/installer/orgs/devices.py b/src/mistapi/api/v1/installer/orgs/devices.py index 8b37b14..4f93e14 100644 --- a/src/mistapi/api/v1/installer/orgs/devices.py +++ b/src/mistapi/api/v1/installer/orgs/devices.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerListOfRenctlyClaimedDevices") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerListOfRenctlyClaimedDevices") def getInstallerListOfRenctlyClaimedDevices(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerListOfRenctlyClaimedDevices diff --git a/src/mistapi/api/v1/installer/orgs/rftemplates.py b/src/mistapi/api/v1/installer/orgs/rftemplates.py index 5784960..0fce485 100644 --- a/src/mistapi/api/v1/installer/orgs/rftemplates.py +++ b/src/mistapi/api/v1/installer/orgs/rftemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerRfTemplatesNames") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerRfTemplatesNames") def getInstallerRfTemplatesNames(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerRfTemplatesNames diff --git a/src/mistapi/api/v1/installer/orgs/secpolicies.py b/src/mistapi/api/v1/installer/orgs/secpolicies.py index 192d791..71b4322 100644 --- a/src/mistapi/api/v1/installer/orgs/secpolicies.py +++ b/src/mistapi/api/v1/installer/orgs/secpolicies.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerSecPolicies") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerSecPolicies") def getInstallerSecPolicies(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerSecPolicies diff --git a/src/mistapi/api/v1/installer/orgs/sitegroups.py b/src/mistapi/api/v1/installer/orgs/sitegroups.py index cde72e5..0befe28 100644 --- a/src/mistapi/api/v1/installer/orgs/sitegroups.py +++ b/src/mistapi/api/v1/installer/orgs/sitegroups.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerSiteGroups") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerSiteGroups") def getInstallerSiteGroups(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerSiteGroups diff --git a/src/mistapi/api/v1/installer/orgs/sites.py b/src/mistapi/api/v1/installer/orgs/sites.py index 735681a..f8cf42d 100644 --- a/src/mistapi/api/v1/installer/orgs/sites.py +++ b/src/mistapi/api/v1/installer/orgs/sites.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerSites") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerSites") def getInstallerSites(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerSites @@ -89,7 +89,7 @@ def createOrUpdateInstallerSites(mist_session:_APISession, org_id:str, site_name resp = mist_session.mist_put(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listInstallerMaps") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listInstallerMaps") def getInstallerMaps(mist_session:_APISession, org_id:str, site_name:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listInstallerMaps diff --git a/src/mistapi/api/v1/msps/admins.py b/src/mistapi/api/v1/msps/admins.py index 1cb67f4..835fff3 100644 --- a/src/mistapi/api/v1/msps/admins.py +++ b/src/mistapi/api/v1/msps/admins.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspAdmins") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspAdmins") def getMspAdmins(mist_session:_APISession, msp_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspAdmins diff --git a/src/mistapi/api/v1/msps/licenses.py b/src/mistapi/api/v1/msps/licenses.py index 0ac2030..8d29854 100644 --- a/src/mistapi/api/v1/msps/licenses.py +++ b/src/mistapi/api/v1/msps/licenses.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspLicenses") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspLicenses") def getMspLicenses(mist_session:_APISession, msp_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspLicenses diff --git a/src/mistapi/api/v1/msps/logs.py b/src/mistapi/api/v1/msps/logs.py index 5de760d..84a11ef 100644 --- a/src/mistapi/api/v1/msps/logs.py +++ b/src/mistapi/api/v1/msps/logs.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspLogs") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspLogs") def getMspLogs(mist_session:_APISession, msp_id:str, site_id:str=None, admin_name:str=None, message:str=None, sort:str=None, start:int=None, end:int=None, limit:int=100, page:int=1, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspLogs diff --git a/src/mistapi/api/v1/msps/orggroups.py b/src/mistapi/api/v1/msps/orggroups.py index 8ca55a4..00d0531 100644 --- a/src/mistapi/api/v1/msps/orggroups.py +++ b/src/mistapi/api/v1/msps/orggroups.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspOrgGroups") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspOrgGroups") def getMspOrgGroups(mist_session:_APISession, msp_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspOrgGroups diff --git a/src/mistapi/api/v1/msps/orgs.py b/src/mistapi/api/v1/msps/orgs.py index 71ef738..e0dff48 100644 --- a/src/mistapi/api/v1/msps/orgs.py +++ b/src/mistapi/api/v1/msps/orgs.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspOrgs") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspOrgs") def getMspOrgs(mist_session:_APISession, msp_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspOrgs diff --git a/src/mistapi/api/v1/msps/ssoroles.py b/src/mistapi/api/v1/msps/ssoroles.py index 0bffcb5..b86c9d8 100644 --- a/src/mistapi/api/v1/msps/ssoroles.py +++ b/src/mistapi/api/v1/msps/ssoroles.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspSsoRoles") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspSsoRoles") def getMspSsoRoles(mist_session:_APISession, msp_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspSsoRoles diff --git a/src/mistapi/api/v1/msps/ssos.py b/src/mistapi/api/v1/msps/ssos.py index 2bdf5c6..4a41a56 100644 --- a/src/mistapi/api/v1/msps/ssos.py +++ b/src/mistapi/api/v1/msps/ssos.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspSsos") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspSsos") def getMspSsos(mist_session:_APISession, msp_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspSsos @@ -164,7 +164,7 @@ def updateMspSso(mist_session:_APISession, msp_id:str, sso_id:str, body:object) resp = mist_session.mist_put(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspSsoLatestFailures") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspSsoLatestFailures") def getMspSsoLatestFailures(mist_session:_APISession, msp_id:str, sso_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspSsoLatestFailures diff --git a/src/mistapi/api/v1/msps/stats.py b/src/mistapi/api/v1/msps/stats.py index 3d772f9..90dc232 100644 --- a/src/mistapi/api/v1/msps/stats.py +++ b/src/mistapi/api/v1/msps/stats.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspOrgLicenses") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspOrgLicenses") def getMspOrgLicenses(mist_session:_APISession, msp_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspOrgLicenses @@ -61,7 +61,7 @@ def listMspOrgLicenses(mist_session:_APISession, msp_id:str) -> _APIResponse: resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspOrgStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspOrgStats") def getMspOrgStats(mist_session:_APISession, msp_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspOrgStats diff --git a/src/mistapi/api/v1/msps/tickets.py b/src/mistapi/api/v1/msps/tickets.py index 557c2e1..0b0244e 100644 --- a/src/mistapi/api/v1/msps/tickets.py +++ b/src/mistapi/api/v1/msps/tickets.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listMspTickets") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listMspTickets") def getMspTickets(mist_session:_APISession, msp_id:str, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listMspTickets diff --git a/src/mistapi/api/v1/orgs/admins.py b/src/mistapi/api/v1/orgs/admins.py index 45bb419..84494e1 100644 --- a/src/mistapi/api/v1/orgs/admins.py +++ b/src/mistapi/api/v1/orgs/admins.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgAdmins") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgAdmins") def getOrgAdmins(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgAdmins diff --git a/src/mistapi/api/v1/orgs/alarmtemplates.py b/src/mistapi/api/v1/orgs/alarmtemplates.py index f9646cd..9c17693 100644 --- a/src/mistapi/api/v1/orgs/alarmtemplates.py +++ b/src/mistapi/api/v1/orgs/alarmtemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgAlarmTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgAlarmTemplates") def getOrgAlarmTemplates(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgAlarmTemplates @@ -102,7 +102,7 @@ def createOrgAlarmTemplate(mist_session:_APISession, org_id:str, body:object) -> resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSuppressedAlarms") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSuppressedAlarms") def getOrgSuppressedAlarms(mist_session:_APISession, org_id:str, scope:str="site") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSuppressedAlarms diff --git a/src/mistapi/api/v1/orgs/apitokens.py b/src/mistapi/api/v1/orgs/apitokens.py index 34465aa..5297b84 100644 --- a/src/mistapi/api/v1/orgs/apitokens.py +++ b/src/mistapi/api/v1/orgs/apitokens.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgApiTokens") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgApiTokens") def getOrgApiTokens(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgApiTokens diff --git a/src/mistapi/api/v1/orgs/aptemplates.py b/src/mistapi/api/v1/orgs/aptemplates.py index 5162f96..9be9f69 100644 --- a/src/mistapi/api/v1/orgs/aptemplates.py +++ b/src/mistapi/api/v1/orgs/aptemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgAptemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgAptemplates") def getOrgAptemplates(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgAptemplates diff --git a/src/mistapi/api/v1/orgs/assetfilters.py b/src/mistapi/api/v1/orgs/assetfilters.py index b7a5908..745506c 100644 --- a/src/mistapi/api/v1/orgs/assetfilters.py +++ b/src/mistapi/api/v1/orgs/assetfilters.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgAssetFilters") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgAssetFilters") def getOrgAssetFilters(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgAssetFilters diff --git a/src/mistapi/api/v1/orgs/assets.py b/src/mistapi/api/v1/orgs/assets.py index 05e1141..c0e2a26 100644 --- a/src/mistapi/api/v1/orgs/assets.py +++ b/src/mistapi/api/v1/orgs/assets.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgAssets") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgAssets") def getOrgAssets(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgAssets diff --git a/src/mistapi/api/v1/orgs/deviceprofiles.py b/src/mistapi/api/v1/orgs/deviceprofiles.py index 1e84666..0724043 100644 --- a/src/mistapi/api/v1/orgs/deviceprofiles.py +++ b/src/mistapi/api/v1/orgs/deviceprofiles.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgDeviceProfiles") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgDeviceProfiles") def getOrgDeviceProfiles(mist_session:_APISession, org_id:str, type:str="ap", limit:int=100, page:int=1) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgDeviceProfiles diff --git a/src/mistapi/api/v1/orgs/devices.py b/src/mistapi/api/v1/orgs/devices.py index 4245d9c..f9449f5 100644 --- a/src/mistapi/api/v1/orgs/devices.py +++ b/src/mistapi/api/v1/orgs/devices.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgDevices") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgDevices") def getOrgDevices(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgDevices @@ -326,7 +326,7 @@ def searchOrgDeviceLastConfigs(mist_session:_APISession, org_id:str, device_type resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgApsMacs") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgApsMacs") def getOrgApsMacs(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgApsMacs @@ -480,7 +480,7 @@ def searchOrgDevices(mist_session:_APISession, org_id:str, hostname:str=None, si resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgMultiSitesDevicesUpgrades") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgMultiSitesDevicesUpgrades") def getOrgMultiSitesDevicesUpgrades(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgMultiSitesDevicesUpgrades diff --git a/src/mistapi/api/v1/orgs/evpn_topologies.py b/src/mistapi/api/v1/orgs/evpn_topologies.py index cdc885b..067593f 100644 --- a/src/mistapi/api/v1/orgs/evpn_topologies.py +++ b/src/mistapi/api/v1/orgs/evpn_topologies.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgEvpnTopologies") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgEvpnTopologies") def getOrgEvpnTopologies(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgEvpnTopologies diff --git a/src/mistapi/api/v1/orgs/gatewaytemplates.py b/src/mistapi/api/v1/orgs/gatewaytemplates.py index 6b5a03e..15900d5 100644 --- a/src/mistapi/api/v1/orgs/gatewaytemplates.py +++ b/src/mistapi/api/v1/orgs/gatewaytemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgGatewayTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgGatewayTemplates") def getOrgGatewayTemplates(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgGatewayTemplates diff --git a/src/mistapi/api/v1/orgs/guests.py b/src/mistapi/api/v1/orgs/guests.py index 6835d97..b20c205 100644 --- a/src/mistapi/api/v1/orgs/guests.py +++ b/src/mistapi/api/v1/orgs/guests.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgGuestAuthorizations") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgGuestAuthorizations") def getOrgGuestAuthorizations(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgGuestAuthorizations diff --git a/src/mistapi/api/v1/orgs/idpprofiles.py b/src/mistapi/api/v1/orgs/idpprofiles.py index 94906d4..5c15800 100644 --- a/src/mistapi/api/v1/orgs/idpprofiles.py +++ b/src/mistapi/api/v1/orgs/idpprofiles.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgIdpProfiles") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgIdpProfiles") def getOrgIdpProfiles(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgIdpProfiles diff --git a/src/mistapi/api/v1/orgs/jsi.py b/src/mistapi/api/v1/orgs/jsi.py index fd0639f..d0cbcdd 100644 --- a/src/mistapi/api/v1/orgs/jsi.py +++ b/src/mistapi/api/v1/orgs/jsi.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgJsiDevices") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgJsiDevices") def getOrgJsiDevices(mist_session:_APISession, org_id:str, limit:int=100, page:int=1, model:str=None, serial:str=None, mac:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgJsiDevices @@ -161,7 +161,7 @@ def upgradeOrgJsiDevice(mist_session:_APISession, org_id:str, device_mac:str, bo resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgJsiPastPurchases") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgJsiPastPurchases") def getOrgJsiPastPurchases(mist_session:_APISession, org_id:str, limit:int=100, page:int=1, model:str=None, serial:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgJsiPastPurchases diff --git a/src/mistapi/api/v1/orgs/logs.py b/src/mistapi/api/v1/orgs/logs.py index 1bfc1a6..0682498 100644 --- a/src/mistapi/api/v1/orgs/logs.py +++ b/src/mistapi/api/v1/orgs/logs.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgLogs") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgLogs") def getOrgLogs(mist_session:_APISession, org_id:str, site_id:str=None, admin_name:str=None, message:str=None, sort:str=None, start:int=None, end:int=None, limit:int=100, page:int=1, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgLogs diff --git a/src/mistapi/api/v1/orgs/mxclusters.py b/src/mistapi/api/v1/orgs/mxclusters.py index 14e2779..6bb2da1 100644 --- a/src/mistapi/api/v1/orgs/mxclusters.py +++ b/src/mistapi/api/v1/orgs/mxclusters.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgMxEdgeClusters") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgMxEdgeClusters") def getOrgMxEdgeClusters(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgMxEdgeClusters diff --git a/src/mistapi/api/v1/orgs/mxedges.py b/src/mistapi/api/v1/orgs/mxedges.py index 143272b..162bd0f 100644 --- a/src/mistapi/api/v1/orgs/mxedges.py +++ b/src/mistapi/api/v1/orgs/mxedges.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgMxEdges") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgMxEdges") def getOrgMxEdges(mist_session:_APISession, org_id:str, for_sites:str="any", limit:int=100, page:int=1) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgMxEdges @@ -409,7 +409,7 @@ def unassignOrgMxEdgeFromSite(mist_session:_APISession, org_id:str, body:object) resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgMxEdgeUpgrades") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgMxEdgeUpgrades") def getOrgMxEdgeUpgrades(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgMxEdgeUpgrades diff --git a/src/mistapi/api/v1/orgs/mxtunnels.py b/src/mistapi/api/v1/orgs/mxtunnels.py index a34f3f4..f590eb3 100644 --- a/src/mistapi/api/v1/orgs/mxtunnels.py +++ b/src/mistapi/api/v1/orgs/mxtunnels.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgMxTunnels") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgMxTunnels") def getOrgMxTunnels(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgMxTunnels diff --git a/src/mistapi/api/v1/orgs/nacrules.py b/src/mistapi/api/v1/orgs/nacrules.py index 56dcf3a..8435160 100644 --- a/src/mistapi/api/v1/orgs/nacrules.py +++ b/src/mistapi/api/v1/orgs/nacrules.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgNacRules") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgNacRules") def getOrgNacRules(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgNacRules diff --git a/src/mistapi/api/v1/orgs/nactags.py b/src/mistapi/api/v1/orgs/nactags.py index 9ebc6b9..285d9cf 100644 --- a/src/mistapi/api/v1/orgs/nactags.py +++ b/src/mistapi/api/v1/orgs/nactags.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgNacTags") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgNacTags") def getOrgNacTags(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgNacTags diff --git a/src/mistapi/api/v1/orgs/networks.py b/src/mistapi/api/v1/orgs/networks.py index b0bebd5..2d746d6 100644 --- a/src/mistapi/api/v1/orgs/networks.py +++ b/src/mistapi/api/v1/orgs/networks.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgNetworks") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgNetworks") def getOrgNetworks(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgNetworks diff --git a/src/mistapi/api/v1/orgs/networktemplates.py b/src/mistapi/api/v1/orgs/networktemplates.py index c682747..2d7af6a 100644 --- a/src/mistapi/api/v1/orgs/networktemplates.py +++ b/src/mistapi/api/v1/orgs/networktemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgNetworkTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgNetworkTemplates") def getOrgNetworkTemplates(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgNetworkTemplates diff --git a/src/mistapi/api/v1/orgs/otherdevices.py b/src/mistapi/api/v1/orgs/otherdevices.py index 592e3cd..8eac566 100644 --- a/src/mistapi/api/v1/orgs/otherdevices.py +++ b/src/mistapi/api/v1/orgs/otherdevices.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgOtherDevices") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgOtherDevices") def getOrgOtherDevices(mist_session:_APISession, org_id:str, vendor:str=None, mac:str=None, serial:str=None, model:str=None, name:str=None, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgOtherDevices diff --git a/src/mistapi/api/v1/orgs/pma.py b/src/mistapi/api/v1/orgs/pma.py index 84acc0c..145838a 100644 --- a/src/mistapi/api/v1/orgs/pma.py +++ b/src/mistapi/api/v1/orgs/pma.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgPmaDashboards") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgPmaDashboards") def getOrgPmaDashboards(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgPmaDashboards diff --git a/src/mistapi/api/v1/orgs/pskportals.py b/src/mistapi/api/v1/orgs/pskportals.py index 24be68a..bfd7b58 100644 --- a/src/mistapi/api/v1/orgs/pskportals.py +++ b/src/mistapi/api/v1/orgs/pskportals.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgPskPortals") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgPskPortals") def getOrgPskPortals(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgPskPortals @@ -102,7 +102,7 @@ def createOrgPskPortal(mist_session:_APISession, org_id:str, body:object) -> _AP resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgPskPortalLogs") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgPskPortalLogs") def getOrgPskPortalLogs(mist_session:_APISession, org_id:str, start:int=None, end:int=None, duration:str="1d", limit:int=100, page:int=1) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgPskPortalLogs diff --git a/src/mistapi/api/v1/orgs/psks.py b/src/mistapi/api/v1/orgs/psks.py index 9494211..f61c355 100644 --- a/src/mistapi/api/v1/orgs/psks.py +++ b/src/mistapi/api/v1/orgs/psks.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgPsks") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgPsks") def getOrgPsks(mist_session:_APISession, org_id:str, name:str=None, ssid:str=None, role:str=None, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgPsks diff --git a/src/mistapi/api/v1/orgs/rftemplates.py b/src/mistapi/api/v1/orgs/rftemplates.py index b0b4441..7d8d7d4 100644 --- a/src/mistapi/api/v1/orgs/rftemplates.py +++ b/src/mistapi/api/v1/orgs/rftemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgRfTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgRfTemplates") def getOrgRfTemplates(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgRfTemplates diff --git a/src/mistapi/api/v1/orgs/sdkinvites.py b/src/mistapi/api/v1/orgs/sdkinvites.py index 94c3cce..624b1e4 100644 --- a/src/mistapi/api/v1/orgs/sdkinvites.py +++ b/src/mistapi/api/v1/orgs/sdkinvites.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSdkInvites") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSdkInvites") def getSdkInvites(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSdkInvites diff --git a/src/mistapi/api/v1/orgs/sdktemplates.py b/src/mistapi/api/v1/orgs/sdktemplates.py index 3a943e1..a0c2635 100644 --- a/src/mistapi/api/v1/orgs/sdktemplates.py +++ b/src/mistapi/api/v1/orgs/sdktemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSdkTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSdkTemplates") def getSdkTemplates(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSdkTemplates diff --git a/src/mistapi/api/v1/orgs/secpolicies.py b/src/mistapi/api/v1/orgs/secpolicies.py index c49eceb..7d63da3 100644 --- a/src/mistapi/api/v1/orgs/secpolicies.py +++ b/src/mistapi/api/v1/orgs/secpolicies.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSecPolicies") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSecPolicies") def getOrgSecPolicies(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSecPolicies diff --git a/src/mistapi/api/v1/orgs/servicepolicies.py b/src/mistapi/api/v1/orgs/servicepolicies.py index ac737dd..8f5c80b 100644 --- a/src/mistapi/api/v1/orgs/servicepolicies.py +++ b/src/mistapi/api/v1/orgs/servicepolicies.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgServicePolicies") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgServicePolicies") def getOrgServicePolicies(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgServicePolicies diff --git a/src/mistapi/api/v1/orgs/services.py b/src/mistapi/api/v1/orgs/services.py index a66ef93..ffa85c7 100644 --- a/src/mistapi/api/v1/orgs/services.py +++ b/src/mistapi/api/v1/orgs/services.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgServices") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgServices") def getOrgServices(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgServices diff --git a/src/mistapi/api/v1/orgs/sitegroups.py b/src/mistapi/api/v1/orgs/sitegroups.py index 486067e..f608742 100644 --- a/src/mistapi/api/v1/orgs/sitegroups.py +++ b/src/mistapi/api/v1/orgs/sitegroups.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSiteGroups") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSiteGroups") def getOrgSiteGroups(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSiteGroups diff --git a/src/mistapi/api/v1/orgs/sites.py b/src/mistapi/api/v1/orgs/sites.py index b9b6104..4d5eeaf 100644 --- a/src/mistapi/api/v1/orgs/sites.py +++ b/src/mistapi/api/v1/orgs/sites.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSites") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSites") def getOrgSites(mist_session:_APISession, org_id:str, limit:int=100, page:int=1) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSites diff --git a/src/mistapi/api/v1/orgs/sitetemplates.py b/src/mistapi/api/v1/orgs/sitetemplates.py index 8ff4ba5..9860d3e 100644 --- a/src/mistapi/api/v1/orgs/sitetemplates.py +++ b/src/mistapi/api/v1/orgs/sitetemplates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSiteTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSiteTemplates") def getOrgSiteTemplates(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSiteTemplates diff --git a/src/mistapi/api/v1/orgs/ssoroles.py b/src/mistapi/api/v1/orgs/ssoroles.py index f982627..a4de397 100644 --- a/src/mistapi/api/v1/orgs/ssoroles.py +++ b/src/mistapi/api/v1/orgs/ssoroles.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSsoRoles") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSsoRoles") def getOrgSsoRoles(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSsoRoles diff --git a/src/mistapi/api/v1/orgs/ssos.py b/src/mistapi/api/v1/orgs/ssos.py index cea630c..51eae57 100644 --- a/src/mistapi/api/v1/orgs/ssos.py +++ b/src/mistapi/api/v1/orgs/ssos.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSsos") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSsos") def getOrgSsos(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSsos @@ -178,7 +178,7 @@ def updateOrgSso(mist_session:_APISession, org_id:str, sso_id:str, body:object) resp = mist_session.mist_put(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSsoLatestFailures") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSsoLatestFailures") def getOrgSsoLatestFailures(mist_session:_APISession, org_id:str, sso_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSsoLatestFailures diff --git a/src/mistapi/api/v1/orgs/ssr.py b/src/mistapi/api/v1/orgs/ssr.py index 4e352bc..4f0bbc5 100644 --- a/src/mistapi/api/v1/orgs/ssr.py +++ b/src/mistapi/api/v1/orgs/ssr.py @@ -37,7 +37,7 @@ def getOrg128TRegistrationCommands(mist_session:_APISession, org_id:str) -> _API resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgSsrUpgrades") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgSsrUpgrades") def getOrgSsrUpgrades(mist_session:_APISession, org_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgSsrUpgrades @@ -139,7 +139,7 @@ def cancelOrgSsrUpgrade(mist_session:_APISession, org_id:str, upgrade_id:str, bo resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgAvailableSsrVersions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgAvailableSsrVersions") def getOrgAvailableSsrVersions(mist_session:_APISession, org_id:str, channel:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgAvailableSsrVersions diff --git a/src/mistapi/api/v1/orgs/stats.py b/src/mistapi/api/v1/orgs/stats.py index a716675..828c414 100644 --- a/src/mistapi/api/v1/orgs/stats.py +++ b/src/mistapi/api/v1/orgs/stats.py @@ -50,7 +50,7 @@ def getOrgStats(mist_session:_APISession, org_id:str, page:int=1, limit:int=100, resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgAssetsStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgAssetsStats") def getOrgAssetsStats(mist_session:_APISession, org_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgAssetsStats @@ -259,7 +259,7 @@ def searchOrgBgpStats(mist_session:_APISession, org_id:str) -> _APIResponse: resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgDevicesStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgDevicesStats") def getOrgDevicesStats(mist_session:_APISession, org_id:str, type:str="ap", status:str="all", site_id:str=None, mac:str=None, evpntopo_id:str=None, evpn_unused:str=None, fields:str=None, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgDevicesStats @@ -364,7 +364,7 @@ def listOrgDevicesStats(mist_session:_APISession, org_id:str, type:str="ap", sta resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgMxEdgesStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgMxEdgesStats") def getOrgMxEdgesStats(mist_session:_APISession, org_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d", for_site:str="false") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgMxEdgesStats diff --git a/src/mistapi/api/v1/orgs/templates.py b/src/mistapi/api/v1/orgs/templates.py index 586c77c..c8f1209 100644 --- a/src/mistapi/api/v1/orgs/templates.py +++ b/src/mistapi/api/v1/orgs/templates.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgTemplates") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgTemplates") def getOrgTemplates(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgTemplates diff --git a/src/mistapi/api/v1/orgs/tickets.py b/src/mistapi/api/v1/orgs/tickets.py index 8027bd2..a57d535 100644 --- a/src/mistapi/api/v1/orgs/tickets.py +++ b/src/mistapi/api/v1/orgs/tickets.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgTickets") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgTickets") def getOrgTickets(mist_session:_APISession, org_id:str, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgTickets diff --git a/src/mistapi/api/v1/orgs/vpns.py b/src/mistapi/api/v1/orgs/vpns.py index 1a962b1..b0a1816 100644 --- a/src/mistapi/api/v1/orgs/vpns.py +++ b/src/mistapi/api/v1/orgs/vpns.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgsVpns") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgsVpns") def getOrgsVpns(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgsVpns diff --git a/src/mistapi/api/v1/orgs/webhooks.py b/src/mistapi/api/v1/orgs/webhooks.py index 43724d3..d439445 100644 --- a/src/mistapi/api/v1/orgs/webhooks.py +++ b/src/mistapi/api/v1/orgs/webhooks.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgWebhooks") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgWebhooks") def getOrgWebhooks(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgWebhooks diff --git a/src/mistapi/api/v1/orgs/wlans.py b/src/mistapi/api/v1/orgs/wlans.py index c1d02c7..0608a5e 100644 --- a/src/mistapi/api/v1/orgs/wlans.py +++ b/src/mistapi/api/v1/orgs/wlans.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgWlans") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgWlans") def getOrgWlans(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgWlans diff --git a/src/mistapi/api/v1/orgs/wxrules.py b/src/mistapi/api/v1/orgs/wxrules.py index 4b50e83..798d6e0 100644 --- a/src/mistapi/api/v1/orgs/wxrules.py +++ b/src/mistapi/api/v1/orgs/wxrules.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgWxRules") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgWxRules") def getOrgWxRules(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgWxRules diff --git a/src/mistapi/api/v1/orgs/wxtags.py b/src/mistapi/api/v1/orgs/wxtags.py index adcc795..2b53a93 100644 --- a/src/mistapi/api/v1/orgs/wxtags.py +++ b/src/mistapi/api/v1/orgs/wxtags.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgWxTags") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgWxTags") def getOrgWxTags(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgWxTags diff --git a/src/mistapi/api/v1/orgs/wxtunnels.py b/src/mistapi/api/v1/orgs/wxtunnels.py index d754360..2455449 100644 --- a/src/mistapi/api/v1/orgs/wxtunnels.py +++ b/src/mistapi/api/v1/orgs/wxtunnels.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listOrgWxTunnels") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listOrgWxTunnels") def getOrgWxTunnels(mist_session:_APISession, org_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listOrgWxTunnels diff --git a/src/mistapi/api/v1/self/apitokens.py b/src/mistapi/api/v1/self/apitokens.py index 84918dd..f7694c3 100644 --- a/src/mistapi/api/v1/self/apitokens.py +++ b/src/mistapi/api/v1/self/apitokens.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listApiTokens") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listApiTokens") def getApiTokens(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listApiTokens diff --git a/src/mistapi/api/v1/self/logs.py b/src/mistapi/api/v1/self/logs.py index 8b848ef..94cb5b8 100644 --- a/src/mistapi/api/v1/self/logs.py +++ b/src/mistapi/api/v1/self/logs.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSelfAuditLogs") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSelfAuditLogs") def getSelfAuditLogs(mist_session:_APISession, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSelfAuditLogs diff --git a/src/mistapi/api/v1/self/subscriptions.py b/src/mistapi/api/v1/self/subscriptions.py index bb481a1..6d588a2 100644 --- a/src/mistapi/api/v1/self/subscriptions.py +++ b/src/mistapi/api/v1/self/subscriptions.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listAlarmSubscriptions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listAlarmSubscriptions") def getAlarmSubscriptions(mist_session:_APISession) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listAlarmSubscriptions diff --git a/src/mistapi/api/v1/sites/apps.py b/src/mistapi/api/v1/sites/apps.py index 3e495ed..dbfae0c 100644 --- a/src/mistapi/api/v1/sites/apps.py +++ b/src/mistapi/api/v1/sites/apps.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteApps") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteApps") def getSiteApps(mist_session:_APISession, site_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteApps diff --git a/src/mistapi/api/v1/sites/assetfilters.py b/src/mistapi/api/v1/sites/assetfilters.py index 9af21bb..cac811c 100644 --- a/src/mistapi/api/v1/sites/assetfilters.py +++ b/src/mistapi/api/v1/sites/assetfilters.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteAssetFilters") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteAssetFilters") def getSiteAssetFilters(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteAssetFilters diff --git a/src/mistapi/api/v1/sites/assets.py b/src/mistapi/api/v1/sites/assets.py index 7457a02..5122c0a 100644 --- a/src/mistapi/api/v1/sites/assets.py +++ b/src/mistapi/api/v1/sites/assets.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteAssets") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteAssets") def getSiteAssets(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteAssets diff --git a/src/mistapi/api/v1/sites/beacons.py b/src/mistapi/api/v1/sites/beacons.py index c92e03b..2af8bcb 100644 --- a/src/mistapi/api/v1/sites/beacons.py +++ b/src/mistapi/api/v1/sites/beacons.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteBeacons") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteBeacons") def getSiteBeacons(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteBeacons diff --git a/src/mistapi/api/v1/sites/deviceprofiles.py b/src/mistapi/api/v1/sites/deviceprofiles.py index bccbae2..8e42676 100644 --- a/src/mistapi/api/v1/sites/deviceprofiles.py +++ b/src/mistapi/api/v1/sites/deviceprofiles.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteDeviceProfilesDerived") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteDeviceProfilesDerived") def getSiteDeviceProfilesDerived(mist_session:_APISession, site_id:str, resolve:bool=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteDeviceProfilesDerived diff --git a/src/mistapi/api/v1/sites/devices.py b/src/mistapi/api/v1/sites/devices.py index d05bf8e..9c6c0d2 100644 --- a/src/mistapi/api/v1/sites/devices.py +++ b/src/mistapi/api/v1/sites/devices.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteDevices") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteDevices") def getSiteDevices(mist_session:_APISession, site_id:str, type:str="ap", name:str=None, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteDevices @@ -686,7 +686,7 @@ def sendSiteDevicesArbitratryBleBeacon(mist_session:_APISession, site_id:str, bo resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteDevicesUpgrade") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteDevicesUpgrade") def getSiteDevicesUpgrade(mist_session:_APISession, site_id:str, status:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteDevicesUpgrade @@ -844,7 +844,7 @@ def upgraseSiteMultipleDevicesBios(mist_session:_APISession, site_id:str, body:o resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteAvailableDeviceVersions") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteAvailableDeviceVersions") def getSiteAvailableDeviceVersions(mist_session:_APISession, site_id:str, type:str="ap", model:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteAvailableDeviceVersions diff --git a/src/mistapi/api/v1/sites/guests.py b/src/mistapi/api/v1/sites/guests.py index 9c820d9..8371a1f 100644 --- a/src/mistapi/api/v1/sites/guests.py +++ b/src/mistapi/api/v1/sites/guests.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteAllGuestAuthorizations") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteAllGuestAuthorizations") def getSiteAllGuestAuthorizations(mist_session:_APISession, site_id:str, wlan_id:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteAllGuestAuthorizations diff --git a/src/mistapi/api/v1/sites/insights.py b/src/mistapi/api/v1/sites/insights.py index c24076f..baded37 100644 --- a/src/mistapi/api/v1/sites/insights.py +++ b/src/mistapi/api/v1/sites/insights.py @@ -94,7 +94,7 @@ def getSiteInsightMetricsForDevice(mist_session:_APISession, site_id:str, metric resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteRogueAPs") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteRogueAPs") def getSiteRogueAPs(mist_session:_APISession, site_id:str, type:str=None, limit:int=100, start:int=None, end:int=None, duration:str="1d", interval:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteRogueAPs @@ -171,7 +171,7 @@ def listSiteRogueAPs(mist_session:_APISession, site_id:str, type:str=None, limit resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteRogueClients") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteRogueClients") def getSiteRogueClients(mist_session:_APISession, site_id:str, limit:int=100, start:int=None, end:int=None, duration:str="1d", interval:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteRogueClients diff --git a/src/mistapi/api/v1/sites/maps.py b/src/mistapi/api/v1/sites/maps.py index d0ce2e3..416907e 100644 --- a/src/mistapi/api/v1/sites/maps.py +++ b/src/mistapi/api/v1/sites/maps.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteMaps") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteMaps") def getSiteMaps(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteMaps diff --git a/src/mistapi/api/v1/sites/mxedges.py b/src/mistapi/api/v1/sites/mxedges.py index 7dfceb5..68d3d19 100644 --- a/src/mistapi/api/v1/sites/mxedges.py +++ b/src/mistapi/api/v1/sites/mxedges.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteMxEdges") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteMxEdges") def getSiteMxEdges(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteMxEdges diff --git a/src/mistapi/api/v1/sites/networks.py b/src/mistapi/api/v1/sites/networks.py index 342effa..648f069 100644 --- a/src/mistapi/api/v1/sites/networks.py +++ b/src/mistapi/api/v1/sites/networks.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteNetworksDerived") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteNetworksDerived") def getSiteNetworksDerived(mist_session:_APISession, site_id:str, resolve:bool=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteNetworksDerived diff --git a/src/mistapi/api/v1/sites/otherdevices.py b/src/mistapi/api/v1/sites/otherdevices.py index 404e085..aa38d55 100644 --- a/src/mistapi/api/v1/sites/otherdevices.py +++ b/src/mistapi/api/v1/sites/otherdevices.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteOtherDevices") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteOtherDevices") def getSiteOtherDevices(mist_session:_APISession, site_id:str, vendor:str=None, mac:str=None, serial:str=None, model:str=None, name:str=None, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteOtherDevices diff --git a/src/mistapi/api/v1/sites/pcaps.py b/src/mistapi/api/v1/sites/pcaps.py index 1d02319..d1941dd 100644 --- a/src/mistapi/api/v1/sites/pcaps.py +++ b/src/mistapi/api/v1/sites/pcaps.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSitePacketCaptures") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSitePacketCaptures") def getSitePacketCaptures(mist_session:_APISession, site_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d", client_mac:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSitePacketCaptures diff --git a/src/mistapi/api/v1/sites/psks.py b/src/mistapi/api/v1/sites/psks.py index fcbefb8..4f3fbba 100644 --- a/src/mistapi/api/v1/sites/psks.py +++ b/src/mistapi/api/v1/sites/psks.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSitePsks") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSitePsks") def getSitePsks(mist_session:_APISession, site_id:str, ssid:str=None, role:str=None, name:str=None, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSitePsks diff --git a/src/mistapi/api/v1/sites/rssizones.py b/src/mistapi/api/v1/sites/rssizones.py index 665bf5c..4c62c2e 100644 --- a/src/mistapi/api/v1/sites/rssizones.py +++ b/src/mistapi/api/v1/sites/rssizones.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteRssiZones") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteRssiZones") def getSiteRssiZones(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteRssiZones diff --git a/src/mistapi/api/v1/sites/servicepolicies.py b/src/mistapi/api/v1/sites/servicepolicies.py index 3523162..2b92feb 100644 --- a/src/mistapi/api/v1/sites/servicepolicies.py +++ b/src/mistapi/api/v1/sites/servicepolicies.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteServicePoliciesDerived") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteServicePoliciesDerived") def getSiteServicePoliciesDerived(mist_session:_APISession, site_id:str, resolve:bool=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteServicePoliciesDerived diff --git a/src/mistapi/api/v1/sites/services.py b/src/mistapi/api/v1/sites/services.py index d8e223e..4af5d20 100644 --- a/src/mistapi/api/v1/sites/services.py +++ b/src/mistapi/api/v1/sites/services.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteServicesDerived") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteServicesDerived") def getSiteServicesDerived(mist_session:_APISession, site_id:str, resolve:bool=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteServicesDerived diff --git a/src/mistapi/api/v1/sites/stats.py b/src/mistapi/api/v1/sites/stats.py index 94162d0..21c3722 100644 --- a/src/mistapi/api/v1/sites/stats.py +++ b/src/mistapi/api/v1/sites/stats.py @@ -75,7 +75,7 @@ def countSiteApps(mist_session:_APISession, site_id:str, distinct:str=None, devi resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteAssetsStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteAssetsStats") def getSiteAssetsStats(mist_session:_APISession, site_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteAssetsStats @@ -270,7 +270,7 @@ def searchSiteAssets(mist_session:_APISession, site_id:str, mac:str=None, map_id resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteBeaconsStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteBeaconsStats") def getSiteBeaconsStats(mist_session:_APISession, site_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteBeaconsStats @@ -519,7 +519,7 @@ def searchSiteCalls(mist_session:_APISession, site_id:str, mac:str=None, app:str resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteWirelessClientsStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteWirelessClientsStats") def getSiteWirelessClientsStats(mist_session:_APISession, site_id:str, wired:bool=None, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteWirelessClientsStats @@ -621,7 +621,7 @@ def getSiteWirelessClientStats(mist_session:_APISession, site_id:str, client_mac resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteDevicesStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteDevicesStats") def getSiteDevicesStats(mist_session:_APISession, site_id:str, type:str="ap", status:str="all", page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteDevicesStats @@ -738,7 +738,7 @@ def getSiteAllClientsStatsByDevice(mist_session:_APISession, site_id:str, device resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteDiscoveredAssets") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteDiscoveredAssets") def getSiteDiscoveredAssets(mist_session:_APISession, site_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteDiscoveredAssets @@ -1111,7 +1111,7 @@ def getSiteSdkStatsByMap(mist_session:_APISession, site_id:str, map_id:str) -> _ resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteUnconnectedClientStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteUnconnectedClientStats") def getSiteUnconnectedClientStats(mist_session:_APISession, site_id:str, map_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteUnconnectedClientStats @@ -1160,7 +1160,7 @@ def listSiteUnconnectedClientStats(mist_session:_APISession, site_id:str, map_id resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteMxEdgesStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteMxEdgesStats") def getSiteMxEdgesStats(mist_session:_APISession, site_id:str, page:int=1, limit:int=100, start:int=None, end:int=None, duration:str="1d") -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteMxEdgesStats @@ -1831,7 +1831,7 @@ def getSiteWxRulesUsage(mist_session:_APISession, site_id:str) -> _APIResponse: resp = mist_session.mist_get(uri=uri, query=query_params) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteZonesStats") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteZonesStats") def getSiteZonesStats(mist_session:_APISession, site_id:str, map_id:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteZonesStats diff --git a/src/mistapi/api/v1/sites/uisettings.py b/src/mistapi/api/v1/sites/uisettings.py index 0c195a2..20eeb7b 100644 --- a/src/mistapi/api/v1/sites/uisettings.py +++ b/src/mistapi/api/v1/sites/uisettings.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteUiSettings") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteUiSettings") def getSiteUiSettings(mist_session:_APISession, site_id:str) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteUiSettings diff --git a/src/mistapi/api/v1/sites/vbeacons.py b/src/mistapi/api/v1/sites/vbeacons.py index ee32064..7274b45 100644 --- a/src/mistapi/api/v1/sites/vbeacons.py +++ b/src/mistapi/api/v1/sites/vbeacons.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteVBeacons") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteVBeacons") def getSiteVBeacons(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteVBeacons diff --git a/src/mistapi/api/v1/sites/vpns.py b/src/mistapi/api/v1/sites/vpns.py index 1cab1bb..5b52e45 100644 --- a/src/mistapi/api/v1/sites/vpns.py +++ b/src/mistapi/api/v1/sites/vpns.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteVpnsDerived") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteVpnsDerived") def getSiteVpnsDerived(mist_session:_APISession, site_id:str, resolve:bool=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteVpnsDerived diff --git a/src/mistapi/api/v1/sites/webhooks.py b/src/mistapi/api/v1/sites/webhooks.py index 6dd9dcb..ab04bb6 100644 --- a/src/mistapi/api/v1/sites/webhooks.py +++ b/src/mistapi/api/v1/sites/webhooks.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteWebhooks") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteWebhooks") def getSiteWebhooks(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteWebhooks diff --git a/src/mistapi/api/v1/sites/wlans.py b/src/mistapi/api/v1/sites/wlans.py index 22d19d6..ea0ede9 100644 --- a/src/mistapi/api/v1/sites/wlans.py +++ b/src/mistapi/api/v1/sites/wlans.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteWlans") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteWlans") def getSiteWlans(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteWlans @@ -102,7 +102,7 @@ def createSiteWlan(mist_session:_APISession, site_id:str, body:object) -> _APIRe resp = mist_session.mist_post(uri=uri, body=body) return resp -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteWlanDerived") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteWlanDerived") def getSiteWlanDerived(mist_session:_APISession, site_id:str, resolve:bool=None, wlan_id:str=None) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteWlanDerived diff --git a/src/mistapi/api/v1/sites/wxrules.py b/src/mistapi/api/v1/sites/wxrules.py index ac5b823..69cd2e5 100644 --- a/src/mistapi/api/v1/sites/wxrules.py +++ b/src/mistapi/api/v1/sites/wxrules.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteWxRules") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteWxRules") def getSiteWxRules(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteWxRules diff --git a/src/mistapi/api/v1/sites/wxtags.py b/src/mistapi/api/v1/sites/wxtags.py index de5d82e..ee1836d 100644 --- a/src/mistapi/api/v1/sites/wxtags.py +++ b/src/mistapi/api/v1/sites/wxtags.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteWxTags") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteWxTags") def getSiteWxTags(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteWxTags diff --git a/src/mistapi/api/v1/sites/wxtunnels.py b/src/mistapi/api/v1/sites/wxtunnels.py index abdeeda..bbc38c0 100644 --- a/src/mistapi/api/v1/sites/wxtunnels.py +++ b/src/mistapi/api/v1/sites/wxtunnels.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteWxTunnels") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteWxTunnels") def getSiteWxTunnels(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteWxTunnels diff --git a/src/mistapi/api/v1/sites/zones.py b/src/mistapi/api/v1/sites/zones.py index abc4001..018c727 100644 --- a/src/mistapi/api/v1/sites/zones.py +++ b/src/mistapi/api/v1/sites/zones.py @@ -14,7 +14,7 @@ from mistapi.__api_response import APIResponse as _APIResponse import deprecation -@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.3", details="function replaced with listSiteZones") +@deprecation.deprecated(deprecated_in="0.37.7", removed_in="0.52.0", current_version="0.47.4", details="function replaced with listSiteZones") def getSiteZones(mist_session:_APISession, site_id:str, page:int=1, limit:int=100) -> _APIResponse: """ API doc: https://doc.mist-lab.fr/#operation/listSiteZones