@bitbar/cloud-api-client 1.6.3 → 1.7.0
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/APIAdminResourceDevice.d.ts +0 -2
- package/dist/api/APIAdminResourceDeviceModel.d.ts +2 -0
- package/dist/api/models/Account.d.ts +1 -0
- package/dist/api/models/DeviceSession.d.ts +1 -0
- package/dist/bitbar-cloud-api-client.js +6 -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/package.json +3 -2
|
@@ -2,7 +2,6 @@ import { APIAdminResource } from './APIAdminResource';
|
|
|
2
2
|
import { APIList } from './APIList';
|
|
3
3
|
import { APIResource } from './APIResource';
|
|
4
4
|
import { AdminDevice, AdminDeviceData } from './models/AdminDevice';
|
|
5
|
-
import { AdminDeviceSession } from './models/AdminDeviceSession';
|
|
6
5
|
import { DeviceCleanupConfiguration, DeviceCleanupConfigurationData, DeviceLabelData, DeviceProperty } from './models/Device';
|
|
7
6
|
import { NoQueryParams, QueryParams } from './models/HTTP';
|
|
8
7
|
export declare class APIAdminResourceDevice extends APIResource<AdminDevice, NoQueryParams, AdminDeviceData> {
|
|
@@ -10,6 +9,5 @@ export declare class APIAdminResourceDevice extends APIResource<AdminDevice, NoQ
|
|
|
10
9
|
cleanupConfiguration(): APIResource<DeviceCleanupConfiguration, QueryParams, DeviceCleanupConfigurationData>;
|
|
11
10
|
labels(): APIList<DeviceProperty, NoQueryParams, DeviceLabelData>;
|
|
12
11
|
label(id: number): APIResource<DeviceProperty, NoQueryParams, void>;
|
|
13
|
-
queue(): APIList<AdminDeviceSession, import("./models/HTTP").CollectionQueryParams, any>;
|
|
14
12
|
}
|
|
15
13
|
export default APIAdminResourceDevice;
|
|
@@ -4,8 +4,10 @@ import { APIResource } from './APIResource';
|
|
|
4
4
|
import { Browser, DeviceBrowserData } from './models/Browser';
|
|
5
5
|
import { DeviceModel, DeviceModelData } from './models/DeviceModel';
|
|
6
6
|
import { NoQueryParams } from './models/HTTP';
|
|
7
|
+
import { AdminDeviceSession } from './models/AdminDeviceSession';
|
|
7
8
|
export declare class APIAdminResourceDeviceModel extends APIResource<DeviceModel, NoQueryParams, DeviceModelData> {
|
|
8
9
|
constructor(parent: APIAdminResource, id: number);
|
|
9
10
|
browsers(): APIList<Browser, NoQueryParams, DeviceBrowserData>;
|
|
11
|
+
queue(): APIList<AdminDeviceSession, import("./models/HTTP").CollectionQueryParams, any>;
|
|
10
12
|
}
|
|
11
13
|
export default APIAdminResourceDeviceModel;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* @bitbar/cloud-api-client v1.
|
|
1
|
+
/* @bitbar/cloud-api-client v1.7.0 | Copyright 2026 (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('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
|
|
5
5
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["bitbar-cloud-api-client"] = {}, global["@bitbar/finka"], global.qs, global["node-abort-controller"]));
|
|
6
6
|
})(this, (function (exports, finka, qs, nodeAbortController) { 'use strict';
|
|
7
7
|
|
|
8
|
-
var version = "1.
|
|
8
|
+
var version = "1.7.0";
|
|
9
9
|
|
|
10
10
|
/******************************************************************************
|
|
11
11
|
Copyright (c) Microsoft Corporation.
|
|
@@ -586,9 +586,6 @@
|
|
|
586
586
|
label(id) {
|
|
587
587
|
return new APIResource(this).push('labels', id);
|
|
588
588
|
}
|
|
589
|
-
queue() {
|
|
590
|
-
return new APIList(this).push('queue');
|
|
591
|
-
}
|
|
592
589
|
}
|
|
593
590
|
|
|
594
591
|
class APIAdminResourceDeviceModel extends APIResource {
|
|
@@ -602,6 +599,9 @@
|
|
|
602
599
|
browsers() {
|
|
603
600
|
return new APIList(this).push('browsers');
|
|
604
601
|
}
|
|
602
|
+
queue() {
|
|
603
|
+
return new APIList(this).push('queue');
|
|
604
|
+
}
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
exports.InputFileset = class InputFileset extends APIResource {
|
|
@@ -2100,6 +2100,7 @@
|
|
|
2100
2100
|
DeviceSessionState["ABORTED"] = "ABORTED";
|
|
2101
2101
|
DeviceSessionState["EXCLUDED"] = "EXCLUDED";
|
|
2102
2102
|
DeviceSessionState["FAILED"] = "FAILED";
|
|
2103
|
+
DeviceSessionState["FINISHING"] = "FINISHING";
|
|
2103
2104
|
DeviceSessionState["RUNNING"] = "RUNNING";
|
|
2104
2105
|
DeviceSessionState["SUCCEEDED"] = "SUCCEEDED";
|
|
2105
2106
|
DeviceSessionState["TIMEOUT"] = "TIMEOUT";
|