@bitbar/cloud-api-client 1.2.9 → 1.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/APIResourceAccount.d.ts +1 -0
- package/dist/api/APIResourceUser.d.ts +0 -2
- package/dist/bitbar-cloud-api-client.js +5 -8
- package/dist/bitbar-cloud-api-client.js.map +1 -1
- package/dist/bitbar-cloud-api-client.min.js +2 -2
- package/dist/bitbar-cloud-api-client.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -30,5 +30,6 @@ export declare class APIResourceAccount extends APIResource<Account, QueryParams
|
|
|
30
30
|
serviceBillingPeriod(id: number): APIResource<AccountServicePayment, BillingPeriodQueryParams, void>;
|
|
31
31
|
visualTestAccess(): APIResource<VisualTestAccess, NoQueryParams, VisualTestAccess>;
|
|
32
32
|
accountServices(): APIList<AccountService, import("./models/HTTP").CollectionQueryParams, any>;
|
|
33
|
+
accountService(id: number): APIList<AccountService, import("./models/HTTP").CollectionQueryParams, any>;
|
|
33
34
|
}
|
|
34
35
|
export default APIResourceAccount;
|
|
@@ -18,7 +18,6 @@ import { DeviceStatistics } from './models/DeviceStatistics';
|
|
|
18
18
|
import { DeviceUsage } from './models/DeviceUsage';
|
|
19
19
|
import { Framework } from './models/Framework';
|
|
20
20
|
import { Project, UserProjectData, UserProjectQueryParams } from './models/Project';
|
|
21
|
-
import { Service } from './models/Service';
|
|
22
21
|
import { User, UserDeleteData } from './models/User';
|
|
23
22
|
import { UiPreferencesData, UserPreference, UserPreferenceData } from './models/UserPreference';
|
|
24
23
|
import { StatisticQueryParams, UserStatistics } from './models/UserStatistics';
|
|
@@ -28,7 +27,6 @@ import { DeviceStatisticQueryParam, DeviceUsageQueryParams } from './models/Devi
|
|
|
28
27
|
export declare class APIResourceUser extends APIResource<User> {
|
|
29
28
|
constructor(parent: API, id: number | 'me');
|
|
30
29
|
services(): APIListServices;
|
|
31
|
-
service(id: number): APIResource<Service, NoQueryParams, void>;
|
|
32
30
|
deviceGroups(): APIList<DeviceGroup, DeviceGroupWithPublicParams, DeviceGroupIdsData | Omit<DeviceGroupData, "displayName">>;
|
|
33
31
|
deviceGroup(id: number): APIResourceDeviceGroup;
|
|
34
32
|
deviceSessions(): APIList<DeviceSession, DeviceSessionQueryParams, DeviceSessionData>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.2.
|
|
1
|
+
/* @bitbar/cloud-api-client v1.2.10 | Copyright 2024 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('axios'), require('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'axios', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
11
11
|
var finka__default = /*#__PURE__*/_interopDefaultLegacy(finka);
|
|
12
12
|
|
|
13
|
-
var version = "1.2.
|
|
13
|
+
var version = "1.2.10";
|
|
14
14
|
|
|
15
15
|
/******************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1535,6 +1535,9 @@
|
|
|
1535
1535
|
accountServices() {
|
|
1536
1536
|
return new APIList(this).push('account-services');
|
|
1537
1537
|
}
|
|
1538
|
+
accountService(id) {
|
|
1539
|
+
return new APIList(this).push('account-services', id);
|
|
1540
|
+
}
|
|
1538
1541
|
}
|
|
1539
1542
|
|
|
1540
1543
|
class APIResourceBroker extends APIResource {
|
|
@@ -1685,12 +1688,6 @@
|
|
|
1685
1688
|
services() {
|
|
1686
1689
|
return new APIListServices(this);
|
|
1687
1690
|
}
|
|
1688
|
-
service(id) {
|
|
1689
|
-
if (id == null) {
|
|
1690
|
-
throw new Error('Resource ID cannot be null!');
|
|
1691
|
-
}
|
|
1692
|
-
return new APIResource(this).push('services', id);
|
|
1693
|
-
}
|
|
1694
1691
|
deviceGroups() {
|
|
1695
1692
|
return new APIList(this).push('device-groups');
|
|
1696
1693
|
}
|