Skip to content

Commit

Permalink
Merge pull request #508 from piotrsapiejewskismartbear/master
Browse files Browse the repository at this point in the history
SDCB-11687 dedicated device lock reason
  • Loading branch information
marisuch authored Dec 19, 2024
2 parents b7a8db2 + e5d9571 commit 49ff182
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 26 deletions.
6 changes: 6 additions & 0 deletions dist/api/models/Device.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export declare type SoftwareVersion = {
id: number;
releaseVersion: string;
};
export declare enum LockReason {
TESTING = "TESTING",
CLEANING = "CLEANING",
NOT_OPERATIONAL = "NOT_OPERATIONAL"
}
export declare type Device = {
accountId: number;
accountName: string;
Expand All @@ -54,6 +59,7 @@ export declare type Device = {
imageTop: number;
imageWidth: number;
locked: boolean;
lockReason: LockReason;
manufacturer: string;
online: boolean;
osType: OsType;
Expand Down
10 changes: 8 additions & 2 deletions dist/bitbar-cloud-api-client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/bitbar-cloud-api-client.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/bitbar-cloud-api-client.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/bitbar-cloud-api-client.min.js.map

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitbar/cloud-api-client",
"version": "1.2.14",
"version": "1.3.0",
"description": "Bitbar Cloud API Client for JavaScript",
"main": "dist/bitbar-cloud-api-client.min.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions src/api/models/Device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ export type SoftwareVersion = {
releaseVersion: string;
}

export enum LockReason {
TESTING = 'TESTING',
CLEANING = 'CLEANING',
NOT_OPERATIONAL = 'NOT_OPERATIONAL'
}

export type Device = {
accountId: number;
accountName: string;
Expand All @@ -61,6 +67,7 @@ export type Device = {
imageTop: number;
imageWidth: number;
locked: boolean;
lockReason: LockReason;
manufacturer: string;
online: boolean;
osType: OsType;
Expand Down

0 comments on commit 49ff182

Please sign in to comment.