Skip to content

Commit

Permalink
executed composer update
Browse files Browse the repository at this point in the history
  • Loading branch information
malle-pietje committed Oct 17, 2024
1 parent 3bb0801 commit 2aa4eac
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 25 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 18 additions & 7 deletions vendor/art-of-wifi/unifi-api-client/src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
*
* @package UniFi_Controller_API_Client_Class
* @author Art of WiFi <[email protected]>
* @version Release: 1.1.92
* @license This class is subject to the MIT license that is bundled with this package in the file LICENSE.md
* @example This directory in the package repository contains a collection of examples:
* https://github.com/Art-of-WiFi/UniFi-API-client/tree/master/examples
*/
class Client
{
/** Constants. */
const CLASS_VERSION = '1.1.95';
const CLASS_VERSION = '1.1.96';
const CURL_METHODS_ALLOWED = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH'];
const DEFAULT_CURL_METHOD = 'GET';

Expand Down Expand Up @@ -1490,7 +1489,7 @@ public function list_rogueaps(int $within = 24)
}

/**
* Fetch known rogue access points
* Fetch known rogue access points.
*
* @return array|bool containing known rogue access point objects
*/
Expand All @@ -1500,7 +1499,7 @@ public function list_known_rogueaps()
}

/**
* Generate a backup
* Generate a backup.
*
* @note this is an experimental function, please do not use unless you know exactly what you're doing
* @param int $days number of days for which the backup must be generated
Expand All @@ -1514,7 +1513,19 @@ public function generate_backup(int $days = -1)
}

/**
* Fetch auto backups
* Download a generated backup file.
*
* @note this is an experimental function, please do not use unless you know exactly what you're doing
* @param string $filepath the path to the generated backup file
* @return string|bool the raw content of the backup file, false upon failure
*/
public function download_backup(string $filepath)
{
return $this->exec_curl($filepath);
}

/**
* Fetch auto backups.
*
* @return array|bool containing objects with backup details on success
*/
Expand All @@ -1526,7 +1537,7 @@ public function list_backups()
}

/**
* Generate a backup/export of the current site
* Generate a backup/export of the current site.
*
* @note this is an experimental function, please do not use unless you know exactly what you're doing
* @return array|bool URL from where the backup/export file can be downloaded once generated, false upon failure
Expand Down Expand Up @@ -3102,7 +3113,7 @@ public function upgrade_device_external(string $firmware_url, $macs): bool
*/
public function start_rolling_upgrade(): bool
{
return $this->fetch_results_boolean('/api/s/' . $this->site . '/cmd/devmgr/set-rollupgrade');
return $this->fetch_results_boolean('/api/s/' . $this->site . '/cmd/devmgr/set-rollupgrade', ['uap', 'usw', 'ugw']);
}

/**
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"packages": [
{
"name": "art-of-wifi/unifi-api-client",
"version": "v1.1.95",
"version_normalized": "1.1.95.0",
"version": "v1.1.97",
"version_normalized": "1.1.97.0",
"source": {
"type": "git",
"url": "https://github.com/Art-of-WiFi/UniFi-API-client.git",
"reference": "b633fa54c738b7cfac5ca27b8126161eac5f8e5b"
"reference": "6498b0255b0963ad914076ddda7f74df4fd2eb73"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Art-of-WiFi/UniFi-API-client/zipball/b633fa54c738b7cfac5ca27b8126161eac5f8e5b",
"reference": "b633fa54c738b7cfac5ca27b8126161eac5f8e5b",
"url": "https://api.github.com/repos/Art-of-WiFi/UniFi-API-client/zipball/6498b0255b0963ad914076ddda7f74df4fd2eb73",
"reference": "6498b0255b0963ad914076ddda7f74df4fd2eb73",
"shasum": ""
},
"require": {
"ext-curl": "*",
"ext-json": "*",
"php": ">=7.4.0"
},
"time": "2024-10-07T10:54:19+00:00",
"time": "2024-10-17T12:56:47+00:00",
"type": "library",
"installation-source": "source",
"autoload": {
Expand Down Expand Up @@ -51,7 +51,7 @@
],
"support": {
"issues": "https://github.com/Art-of-WiFi/UniFi-API-client/issues",
"source": "https://github.com/Art-of-WiFi/UniFi-API-client/tree/v1.1.95"
"source": "https://github.com/Art-of-WiFi/UniFi-API-client/tree/v1.1.97"
},
"install-path": "../art-of-wifi/unifi-api-client"
},
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '3581cf926e559c55ae2c8737f81d5bd6d2cbc304',
'reference' => '3bb0801a23ac0ce6861bfb24571f2418ee07b61c',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,16 +13,16 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '3581cf926e559c55ae2c8737f81d5bd6d2cbc304',
'reference' => '3bb0801a23ac0ce6861bfb24571f2418ee07b61c',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'art-of-wifi/unifi-api-client' => array(
'pretty_version' => 'v1.1.95',
'version' => '1.1.95.0',
'reference' => 'b633fa54c738b7cfac5ca27b8126161eac5f8e5b',
'pretty_version' => 'v1.1.97',
'version' => '1.1.97.0',
'reference' => '6498b0255b0963ad914076ddda7f74df4fd2eb73',
'type' => 'library',
'install_path' => __DIR__ . '/../art-of-wifi/unifi-api-client',
'aliases' => array(),
Expand Down

0 comments on commit 2aa4eac

Please sign in to comment.