@bitbar/cloud-api-client 1.0.11 → 1.0.13
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/APIAdminResourceRunStandalone.d.ts +1 -1
- package/dist/api/APIListUsers.d.ts +1 -3
- package/dist/api/APIResourceDeviceSessionCommon.d.ts +1 -0
- package/dist/api/models/AdminTestRun.d.ts +1 -1
- package/dist/bitbar-cloud-api-client.js +14 -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/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;
|
|
@@ -6,7 +6,7 @@ export declare class APIAdminResourceRunStandalone extends APIResource<AdminTest
|
|
|
6
6
|
constructor(parent: APIAdminResource, id: number);
|
|
7
7
|
abort(): APIResource<AdminTestRun, NoQueryParams, void>;
|
|
8
8
|
changeBillable(billable: boolean): APIResource<AdminTestRun, RunChangeBillableParams, RunChangeBillableParams>;
|
|
9
|
-
changePriority(priority
|
|
9
|
+
changePriority(priority?: number): APIResource<AdminTestRun, RunChangePriorityParams, RunChangePriorityParams>;
|
|
10
10
|
retry(ids?: Array<number>): APIResource<AdminTestRun, import("..").BuildLogsData, import("..").BuildLogsData>;
|
|
11
11
|
}
|
|
12
12
|
export default APIAdminResourceRunStandalone;
|
|
@@ -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.13 | 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.13";
|
|
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) {
|
|
@@ -829,9 +834,13 @@
|
|
|
829
834
|
});
|
|
830
835
|
}
|
|
831
836
|
changePriority(priority) {
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
837
|
+
const resource = new APIResource(this).push('changepriority');
|
|
838
|
+
if (priority) {
|
|
839
|
+
resource.post().data({
|
|
840
|
+
priority
|
|
841
|
+
});
|
|
842
|
+
}
|
|
843
|
+
return resource;
|
|
835
844
|
}
|
|
836
845
|
retry(ids) {
|
|
837
846
|
return postDeviceRunIds(this, 'retry', ids).setRequestConfig({
|
|
@@ -1432,9 +1441,6 @@
|
|
|
1432
1441
|
passwordRecovery() {
|
|
1433
1442
|
return new APIResource(this).push('password-recovery');
|
|
1434
1443
|
}
|
|
1435
|
-
validateVatId() {
|
|
1436
|
-
return new APIResource(this).push('validateVatId');
|
|
1437
|
-
}
|
|
1438
1444
|
}
|
|
1439
1445
|
|
|
1440
1446
|
class APIResourceAccount extends APIResource {
|