Skip to content

Commit 2aa4eac

Browse files
committed
executed composer update
1 parent 3bb0801 commit 2aa4eac

File tree

4 files changed

+36
-25
lines changed

4 files changed

+36
-25
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/art-of-wifi/unifi-api-client/src/Client.php

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313
*
1414
* @package UniFi_Controller_API_Client_Class
1515
* @author Art of WiFi <[email protected]>
16-
* @version Release: 1.1.92
1716
* @license This class is subject to the MIT license that is bundled with this package in the file LICENSE.md
1817
* @example This directory in the package repository contains a collection of examples:
1918
* https://github.com/Art-of-WiFi/UniFi-API-client/tree/master/examples
2019
*/
2120
class Client
2221
{
2322
/** Constants. */
24-
const CLASS_VERSION = '1.1.95';
23+
const CLASS_VERSION = '1.1.96';
2524
const CURL_METHODS_ALLOWED = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH'];
2625
const DEFAULT_CURL_METHOD = 'GET';
2726

@@ -1490,7 +1489,7 @@ public function list_rogueaps(int $within = 24)
14901489
}
14911490

14921491
/**
1493-
* Fetch known rogue access points
1492+
* Fetch known rogue access points.
14941493
*
14951494
* @return array|bool containing known rogue access point objects
14961495
*/
@@ -1500,7 +1499,7 @@ public function list_known_rogueaps()
15001499
}
15011500

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

15161515
/**
1517-
* Fetch auto backups
1516+
* Download a generated backup file.
1517+
*
1518+
* @note this is an experimental function, please do not use unless you know exactly what you're doing
1519+
* @param string $filepath the path to the generated backup file
1520+
* @return string|bool the raw content of the backup file, false upon failure
1521+
*/
1522+
public function download_backup(string $filepath)
1523+
{
1524+
return $this->exec_curl($filepath);
1525+
}
1526+
1527+
/**
1528+
* Fetch auto backups.
15181529
*
15191530
* @return array|bool containing objects with backup details on success
15201531
*/
@@ -1526,7 +1537,7 @@ public function list_backups()
15261537
}
15271538

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

31083119
/**

vendor/composer/installed.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
"packages": [
33
{
44
"name": "art-of-wifi/unifi-api-client",
5-
"version": "v1.1.95",
6-
"version_normalized": "1.1.95.0",
5+
"version": "v1.1.97",
6+
"version_normalized": "1.1.97.0",
77
"source": {
88
"type": "git",
99
"url": "https://github.com/Art-of-WiFi/UniFi-API-client.git",
10-
"reference": "b633fa54c738b7cfac5ca27b8126161eac5f8e5b"
10+
"reference": "6498b0255b0963ad914076ddda7f74df4fd2eb73"
1111
},
1212
"dist": {
1313
"type": "zip",
14-
"url": "https://api.github.com/repos/Art-of-WiFi/UniFi-API-client/zipball/b633fa54c738b7cfac5ca27b8126161eac5f8e5b",
15-
"reference": "b633fa54c738b7cfac5ca27b8126161eac5f8e5b",
14+
"url": "https://api.github.com/repos/Art-of-WiFi/UniFi-API-client/zipball/6498b0255b0963ad914076ddda7f74df4fd2eb73",
15+
"reference": "6498b0255b0963ad914076ddda7f74df4fd2eb73",
1616
"shasum": ""
1717
},
1818
"require": {
1919
"ext-curl": "*",
2020
"ext-json": "*",
2121
"php": ">=7.4.0"
2222
},
23-
"time": "2024-10-07T10:54:19+00:00",
23+
"time": "2024-10-17T12:56:47+00:00",
2424
"type": "library",
2525
"installation-source": "source",
2626
"autoload": {
@@ -51,7 +51,7 @@
5151
],
5252
"support": {
5353
"issues": "https://github.com/Art-of-WiFi/UniFi-API-client/issues",
54-
"source": "https://github.com/Art-of-WiFi/UniFi-API-client/tree/v1.1.95"
54+
"source": "https://github.com/Art-of-WiFi/UniFi-API-client/tree/v1.1.97"
5555
},
5656
"install-path": "../art-of-wifi/unifi-api-client"
5757
},

vendor/composer/installed.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => '__root__',
44
'pretty_version' => 'dev-master',
55
'version' => 'dev-master',
6-
'reference' => '3581cf926e559c55ae2c8737f81d5bd6d2cbc304',
6+
'reference' => '3bb0801a23ac0ce6861bfb24571f2418ee07b61c',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,16 +13,16 @@
1313
'__root__' => array(
1414
'pretty_version' => 'dev-master',
1515
'version' => 'dev-master',
16-
'reference' => '3581cf926e559c55ae2c8737f81d5bd6d2cbc304',
16+
'reference' => '3bb0801a23ac0ce6861bfb24571f2418ee07b61c',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
2020
'dev_requirement' => false,
2121
),
2222
'art-of-wifi/unifi-api-client' => array(
23-
'pretty_version' => 'v1.1.95',
24-
'version' => '1.1.95.0',
25-
'reference' => 'b633fa54c738b7cfac5ca27b8126161eac5f8e5b',
23+
'pretty_version' => 'v1.1.97',
24+
'version' => '1.1.97.0',
25+
'reference' => '6498b0255b0963ad914076ddda7f74df4fd2eb73',
2626
'type' => 'library',
2727
'install_path' => __DIR__ . '/../art-of-wifi/unifi-api-client',
2828
'aliases' => array(),

0 commit comments

Comments
 (0)