|
1 | | -/* Bitbar Cloud API Client for JavaScript v0.15.0 | (c) Bitbar Technologies and contributors | https://github.com/bitbar/cloud-api-client-js/blob/master/LICENSE.md */ |
| 1 | +/* Bitbar Cloud API Client for JavaScript v0.16.0 | (c) Bitbar Technologies and contributors | https://github.com/bitbar/cloud-api-client-js/blob/master/LICENSE.md */ |
2 | 2 | (function (global, factory) { |
3 | 3 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@bitbar/finka'), require('axios'), require('qs')) : |
4 | 4 | typeof define === 'function' && define.amd ? define(['@bitbar/finka', 'axios', 'qs'], factory) : |
|
11 | 11 |
|
12 | 12 | finka(); |
13 | 13 |
|
14 | | - var version = "0.15.0"; |
| 14 | + var version = "0.16.0"; |
15 | 15 |
|
16 | | - /*! ***************************************************************************** |
17 | | - Copyright (c) Microsoft Corporation. All rights reserved. |
18 | | - Licensed under the Apache License, Version 2.0 (the "License"); you may not use |
19 | | - this file except in compliance with the License. You may obtain a copy of the |
20 | | - License at http://www.apache.org/licenses/LICENSE-2.0 |
21 | | -
|
22 | | - THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
23 | | - KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED |
24 | | - WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, |
25 | | - MERCHANTABLITY OR NON-INFRINGEMENT. |
26 | | -
|
27 | | - See the Apache Version 2.0 License for specific language governing permissions |
28 | | - and limitations under the License. |
29 | | - ***************************************************************************** */ |
30 | | - /* global Reflect, Promise */ |
31 | | - |
32 | | - var extendStatics = function(d, b) { |
33 | | - extendStatics = Object.setPrototypeOf || |
34 | | - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || |
35 | | - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; |
36 | | - return extendStatics(d, b); |
37 | | - }; |
38 | | - |
39 | | - function __extends(d, b) { |
40 | | - extendStatics(d, b); |
41 | | - function __() { this.constructor = d; } |
42 | | - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); |
| 16 | + /*! ***************************************************************************** |
| 17 | + Copyright (c) Microsoft Corporation. All rights reserved. |
| 18 | + Licensed under the Apache License, Version 2.0 (the "License"); you may not use |
| 19 | + this file except in compliance with the License. You may obtain a copy of the |
| 20 | + License at http://www.apache.org/licenses/LICENSE-2.0 |
| 21 | +
|
| 22 | + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 23 | + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED |
| 24 | + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, |
| 25 | + MERCHANTABLITY OR NON-INFRINGEMENT. |
| 26 | +
|
| 27 | + See the Apache Version 2.0 License for specific language governing permissions |
| 28 | + and limitations under the License. |
| 29 | + ***************************************************************************** */ |
| 30 | + /* global Reflect, Promise */ |
| 31 | + |
| 32 | + var extendStatics = function(d, b) { |
| 33 | + extendStatics = Object.setPrototypeOf || |
| 34 | + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || |
| 35 | + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; |
| 36 | + return extendStatics(d, b); |
| 37 | + }; |
| 38 | + |
| 39 | + function __extends(d, b) { |
| 40 | + extendStatics(d, b); |
| 41 | + function __() { this.constructor = d; } |
| 42 | + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); |
43 | 43 | } |
44 | 44 |
|
45 | 45 | var ALLOWED_HTTP_METHODS; |
|
1083 | 1083 | APIResourceUser.prototype.statistics = function () { |
1084 | 1084 | return new APIList(this).push('statistics'); |
1085 | 1085 | }; |
| 1086 | + APIResourceUser.prototype.deviceStatistics = function () { |
| 1087 | + return new APIList(this).push('device-statistics'); |
| 1088 | + }; |
1086 | 1089 | return APIResourceUser; |
1087 | 1090 | }(APIResource)); |
1088 | 1091 |
|
|
1426 | 1429 | API.prototype.labelGroups = function () { |
1427 | 1430 | return new APIList(this).push('label-groups'); |
1428 | 1431 | }; |
| 1432 | + API.prototype.deviceStatistics = function () { |
| 1433 | + return new APIList(this).push('device-statistics'); |
| 1434 | + }; |
1429 | 1435 | return API; |
1430 | 1436 | }()); |
1431 | 1437 |
|
|
0 commit comments