Skip to content

Commit 49ff182

Browse files
authored
Merge pull request #508 from piotrsapiejewskismartbear/master
SDCB-11687 dedicated device lock reason
2 parents b7a8db2 + e5d9571 commit 49ff182

8 files changed

+45
-26
lines changed

dist/api/models/Device.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ export declare type SoftwareVersion = {
3333
id: number;
3434
releaseVersion: string;
3535
};
36+
export declare enum LockReason {
37+
TESTING = "TESTING",
38+
CLEANING = "CLEANING",
39+
NOT_OPERATIONAL = "NOT_OPERATIONAL"
40+
}
3641
export declare type Device = {
3742
accountId: number;
3843
accountName: string;
@@ -54,6 +59,7 @@ export declare type Device = {
5459
imageTop: number;
5560
imageWidth: number;
5661
locked: boolean;
62+
lockReason: LockReason;
5763
manufacturer: string;
5864
online: boolean;
5965
osType: OsType;

dist/bitbar-cloud-api-client.js

+8-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bitbar-cloud-api-client.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bitbar/cloud-api-client",
3-
"version": "1.2.14",
3+
"version": "1.3.0",
44
"description": "Bitbar Cloud API Client for JavaScript",
55
"main": "dist/bitbar-cloud-api-client.min.js",
66
"types": "dist/index.d.ts",

src/api/models/Device.ts

+7
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ export type SoftwareVersion = {
4040
releaseVersion: string;
4141
}
4242

43+
export enum LockReason {
44+
TESTING = 'TESTING',
45+
CLEANING = 'CLEANING',
46+
NOT_OPERATIONAL = 'NOT_OPERATIONAL'
47+
}
48+
4349
export type Device = {
4450
accountId: number;
4551
accountName: string;
@@ -61,6 +67,7 @@ export type Device = {
6167
imageTop: number;
6268
imageWidth: number;
6369
locked: boolean;
70+
lockReason: LockReason;
6471
manufacturer: string;
6572
online: boolean;
6673
osType: OsType;

0 commit comments

Comments
 (0)