@bitbar/cloud-api-client 1.0.11 → 1.0.12
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/APIAdminResourceDeviceSession.d.ts +2 -2
- package/dist/api/APIListUsers.d.ts +1 -3
- package/dist/api/APIResourceDeviceSessionCommon.d.ts +1 -0
- package/dist/bitbar-cloud-api-client.js +7 -5
- 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/dist/models.d.ts +0 -1
- package/package.json +1 -1
- package/dist/api/models/VatRate.d.ts +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class APIAdminResourceDeviceSession extends
|
|
1
|
+
import { APIResourceDeviceSession } from './APIResourceDeviceSession';
|
|
2
|
+
export declare class APIAdminResourceDeviceSession extends APIResourceDeviceSession {
|
|
3
3
|
changeBillable(billable: boolean): import("./APIResource").APIResource<import("..").DeviceSession, import("..").QueryParams, import("..").QueryParams>;
|
|
4
4
|
}
|
|
5
5
|
export default APIAdminResourceDeviceSession;
|
|
@@ -4,14 +4,12 @@ import { APIList } from './APIList';
|
|
|
4
4
|
import { APIResource } from './APIResource';
|
|
5
5
|
import { NoQueryParams } from './models/HTTP';
|
|
6
6
|
import { Message } from './models/Message';
|
|
7
|
-
import { User, UserActivateData, UserData, UserPasswordData, UserRecoveryQueryParams
|
|
8
|
-
import { VatRate } from './models/VatRate';
|
|
7
|
+
import { User, UserActivateData, UserData, UserPasswordData, UserRecoveryQueryParams } from './models/User';
|
|
9
8
|
export declare class APIListUsers extends APIList<User, NoQueryParams, UserData> {
|
|
10
9
|
protected ALLOWED_HTTP_METHODS: Array<Method>;
|
|
11
10
|
constructor(parent: API);
|
|
12
11
|
activate(): APIResource<User, NoQueryParams, UserActivateData>;
|
|
13
12
|
recoveries(): APIResource<User | Message, UserRecoveryQueryParams, UserData>;
|
|
14
13
|
passwordRecovery(): APIResource<User, NoQueryParams, UserPasswordData>;
|
|
15
|
-
validateVatId(): APIResource<VatRate, ValidateVatQueryParams, void>;
|
|
16
14
|
}
|
|
17
15
|
export default APIListUsers;
|
|
@@ -23,5 +23,6 @@ export declare class APIResourceDeviceSessionCommon extends APIResource<DeviceSe
|
|
|
23
23
|
testCaseRuns(): APIList<TestCaseRun, SessionQueryParams | NoQueryParams, void>;
|
|
24
24
|
connections(): APIList<any, import("./models/HTTP").CollectionQueryParams, any>;
|
|
25
25
|
logs(): APIResource<any, import("./models/HTTP").QueryParams, import("./models/HTTP").QueryParams>;
|
|
26
|
+
clusterLogs(): APIResource<any, import("./models/HTTP").QueryParams, import("./models/HTTP").QueryParams>;
|
|
26
27
|
}
|
|
27
28
|
export default APIResourceDeviceSessionCommon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.0.
|
|
1
|
+
/* @bitbar/cloud-api-client v1.0.12 | Copyright 2023 (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.0.
|
|
13
|
+
var version = "1.0.12";
|
|
14
14
|
|
|
15
15
|
/******************************************************************************
|
|
16
16
|
Copyright (c) Microsoft Corporation.
|
|
@@ -716,6 +716,11 @@
|
|
|
716
716
|
responseType: 'text'
|
|
717
717
|
});
|
|
718
718
|
}
|
|
719
|
+
clusterLogs() {
|
|
720
|
+
return new APIResource(this).push('cluster-logs').setRequestConfig({
|
|
721
|
+
responseType: 'text'
|
|
722
|
+
});
|
|
723
|
+
}
|
|
719
724
|
}
|
|
720
725
|
|
|
721
726
|
function postAdminDeviceSessionChangeBillable(parent, billable) {
|
|
@@ -1432,9 +1437,6 @@
|
|
|
1432
1437
|
passwordRecovery() {
|
|
1433
1438
|
return new APIResource(this).push('password-recovery');
|
|
1434
1439
|
}
|
|
1435
|
-
validateVatId() {
|
|
1436
|
-
return new APIResource(this).push('validateVatId');
|
|
1437
|
-
}
|
|
1438
1440
|
}
|
|
1439
1441
|
|
|
1440
1442
|
class APIResourceAccount extends APIResource {
|