From 37cd1369bf570c5b575c9498b4f483f460042f43 Mon Sep 17 00:00:00 2001 From: "John M. Kuchta" Date: Fri, 8 Dec 2023 20:14:46 +1100 Subject: [PATCH] Automatically regenerated library. (#232) Co-authored-by: GitHub Action Fixes #231 --- meraki/__init__.py | 2 +- meraki/aio/api/networks.py | 2 +- meraki/aio/api/organizations.py | 2 +- meraki/aio/api/sm.py | 2 +- meraki/api/networks.py | 2 +- meraki/api/organizations.py | 2 +- meraki/api/sm.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meraki/__init__.py b/meraki/__init__.py index 2d15f7e..5164c4f 100644 --- a/meraki/__init__.py +++ b/meraki/__init__.py @@ -43,7 +43,7 @@ ) from meraki.rest_session import * -__version__ = '1.39.0' +__version__ = '1.39.1' class DashboardAPI(object): diff --git a/meraki/aio/api/networks.py b/meraki/aio/api/networks.py index d598e82..c366bf6 100644 --- a/meraki/aio/api/networks.py +++ b/meraki/aio/api/networks.py @@ -246,7 +246,7 @@ def getNetworkClients(self, networkId: str, total_pages=1, direction='next', **k - direction (string): direction to paginate, either "next" (default) or "prev" page - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. - - perPage (integer): The number of entries per page returned. Acceptable range is 3 - 1000. Default is 10. + - perPage (integer): The number of entries per page returned. Acceptable range is 3 - 5000. Default is 10. - startingAfter (string): A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - statuses (array): Filters clients based on status. Can be one of 'Online' or 'Offline'. diff --git a/meraki/aio/api/organizations.py b/meraki/aio/api/organizations.py index 436dd87..78bdde5 100644 --- a/meraki/aio/api/organizations.py +++ b/meraki/aio/api/organizations.py @@ -2117,7 +2117,7 @@ def getOrganizationInventoryDevices(self, organizationId: str, total_pages=1, di - usedState (string): Filter results by used or unused inventory. Accepted values are 'used' or 'unused'. - search (string): Search for devices in inventory based on serial number, mac address, or model. - macs (array): Search for devices in inventory based on mac addresses. - - networkIds (array): Search for devices in inventory based on network ids. + - networkIds (array): Search for devices in inventory based on network ids. Use explicit 'null' value to get available devices only. - serials (array): Search for devices in inventory based on serials. - models (array): Search for devices in inventory based on model. - orderNumbers (array): Search for devices in inventory based on order numbers. diff --git a/meraki/aio/api/sm.py b/meraki/aio/api/sm.py index 7ea3cee..c4ca80b 100644 --- a/meraki/aio/api/sm.py +++ b/meraki/aio/api/sm.py @@ -68,7 +68,7 @@ def getNetworkSmDevices(self, networkId: str, total_pages=1, direction='next', * ownerEmail, ownerUsername, osBuild, publicIp, phoneNumber, diskInfoJson, deviceCapacity, isManaged, hadMdm, isSupervised, meid, imei, iccid, simCarrierNetwork, cellularDataUsed, isHotspotEnabled, createdAt, batteryEstCharge, quarantined, avName, avRunning, asName, fwName, isRooted, loginRequired, screenLockEnabled, screenLockDelay, autoLoginDisabled, autoTags, hasMdm, hasDesktopAgent, diskEncryptionEnabled, - hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, androidSecurityPatchVersion, and url. + hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, androidSecurityPatchVersion, cellular, and url. - wifiMacs (array): Filter devices by wifi mac(s). - serials (array): Filter devices by serial(s). - ids (array): Filter devices by id(s). diff --git a/meraki/api/networks.py b/meraki/api/networks.py index 6326f52..898f668 100644 --- a/meraki/api/networks.py +++ b/meraki/api/networks.py @@ -246,7 +246,7 @@ def getNetworkClients(self, networkId: str, total_pages=1, direction='next', **k - direction (string): direction to paginate, either "next" (default) or "prev" page - t0 (string): The beginning of the timespan for the data. The maximum lookback period is 31 days from today. - timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. - - perPage (integer): The number of entries per page returned. Acceptable range is 3 - 1000. Default is 10. + - perPage (integer): The number of entries per page returned. Acceptable range is 3 - 5000. Default is 10. - startingAfter (string): A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. - statuses (array): Filters clients based on status. Can be one of 'Online' or 'Offline'. diff --git a/meraki/api/organizations.py b/meraki/api/organizations.py index d00caa5..013d1da 100644 --- a/meraki/api/organizations.py +++ b/meraki/api/organizations.py @@ -2117,7 +2117,7 @@ def getOrganizationInventoryDevices(self, organizationId: str, total_pages=1, di - usedState (string): Filter results by used or unused inventory. Accepted values are 'used' or 'unused'. - search (string): Search for devices in inventory based on serial number, mac address, or model. - macs (array): Search for devices in inventory based on mac addresses. - - networkIds (array): Search for devices in inventory based on network ids. + - networkIds (array): Search for devices in inventory based on network ids. Use explicit 'null' value to get available devices only. - serials (array): Search for devices in inventory based on serials. - models (array): Search for devices in inventory based on model. - orderNumbers (array): Search for devices in inventory based on order numbers. diff --git a/meraki/api/sm.py b/meraki/api/sm.py index 4f6db68..32fcac9 100644 --- a/meraki/api/sm.py +++ b/meraki/api/sm.py @@ -68,7 +68,7 @@ def getNetworkSmDevices(self, networkId: str, total_pages=1, direction='next', * ownerEmail, ownerUsername, osBuild, publicIp, phoneNumber, diskInfoJson, deviceCapacity, isManaged, hadMdm, isSupervised, meid, imei, iccid, simCarrierNetwork, cellularDataUsed, isHotspotEnabled, createdAt, batteryEstCharge, quarantined, avName, avRunning, asName, fwName, isRooted, loginRequired, screenLockEnabled, screenLockDelay, autoLoginDisabled, autoTags, hasMdm, hasDesktopAgent, diskEncryptionEnabled, - hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, androidSecurityPatchVersion, and url. + hardwareEncryptionCaps, passCodeLock, usesHardwareKeystore, androidSecurityPatchVersion, cellular, and url. - wifiMacs (array): Filter devices by wifi mac(s). - serials (array): Filter devices by serial(s). - ids (array): Filter devices by id(s).