Skip to content

Commit bac0d25

Browse files
committed
update protobuf definition
1 parent 708f323 commit bac0d25

File tree

4 files changed

+8
-23
lines changed

4 files changed

+8
-23
lines changed

proto/appguard.proto

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,19 @@ service AppGuard {
2020
message HeartbeatRequest {
2121
string app_id = 1;
2222
string app_secret = 2;
23-
string device_version = 3;
24-
string device_uuid = 4;
2523
}
2624

2725
enum DeviceStatus {
28-
DS_DRAFT = 0;
29-
DS_ACTIVE = 1;
30-
DS_ARCHIVED = 2;
31-
DS_DELETED = 3;
26+
DRAFT = 0;
27+
ACTIVE = 1;
28+
ARCHIVED = 2;
29+
DELETED = 3;
3230
DS_UNKNOWN = 4;
3331
}
3432

3533
message HeartbeatResponse {
3634
string token = 1;
3735
DeviceStatus status = 2;
38-
bool remote_shell_enabled = 3;
39-
bool remote_ui_enabled = 4;
40-
bool is_monitoring_enabled = 5;
4136
}
4237

4338
// TCP -----------------------------------------------------------------------------------------------------------------

src/proto/appguard/DeviceStatus.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Original file: proto/appguard.proto
22

33
export enum DeviceStatus {
4-
DS_DRAFT = 0,
5-
DS_ACTIVE = 1,
6-
DS_ARCHIVED = 2,
7-
DS_DELETED = 3,
4+
DRAFT = 0,
5+
ACTIVE = 1,
6+
ARCHIVED = 2,
7+
DELETED = 3,
88
DS_UNKNOWN = 4,
99
}

src/proto/appguard/HeartbeatRequest.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44
export interface HeartbeatRequest {
55
'appId'?: (string);
66
'appSecret'?: (string);
7-
'deviceVersion'?: (string);
8-
'deviceUuid'?: (string);
97
}
108

119
export interface HeartbeatRequest__Output {
1210
'appId'?: (string);
1311
'appSecret'?: (string);
14-
'deviceVersion'?: (string);
15-
'deviceUuid'?: (string);
1612
}

src/proto/appguard/HeartbeatResponse.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,9 @@ import type { DeviceStatus as _appguard_DeviceStatus } from '../appguard/DeviceS
55
export interface HeartbeatResponse {
66
'token'?: (string);
77
'status'?: (_appguard_DeviceStatus | keyof typeof _appguard_DeviceStatus);
8-
'remoteShellEnabled'?: (boolean);
9-
'remoteUiEnabled'?: (boolean);
10-
'isMonitoringEnabled'?: (boolean);
118
}
129

1310
export interface HeartbeatResponse__Output {
1411
'token'?: (string);
1512
'status'?: (_appguard_DeviceStatus);
16-
'remoteShellEnabled'?: (boolean);
17-
'remoteUiEnabled'?: (boolean);
18-
'isMonitoringEnabled'?: (boolean);
1913
}

0 commit comments

Comments
 (0)