File tree Expand file tree Collapse file tree 4 files changed +8
-23
lines changed Expand file tree Collapse file tree 4 files changed +8
-23
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,19 @@ service AppGuard {
2020message HeartbeatRequest {
2121 string app_id = 1 ;
2222 string app_secret = 2 ;
23- string device_version = 3 ;
24- string device_uuid = 4 ;
2523}
2624
2725enum 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
3533message 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 -----------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 11// Original file: proto/appguard.proto
22
33export 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}
Original file line number Diff line number Diff line change 44export interface HeartbeatRequest {
55 'appId' ?: ( string ) ;
66 'appSecret' ?: ( string ) ;
7- 'deviceVersion' ?: ( string ) ;
8- 'deviceUuid' ?: ( string ) ;
97}
108
119export interface HeartbeatRequest__Output {
1210 'appId' ?: ( string ) ;
1311 'appSecret' ?: ( string ) ;
14- 'deviceVersion' ?: ( string ) ;
15- 'deviceUuid' ?: ( string ) ;
1612}
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import type { DeviceStatus as _appguard_DeviceStatus } from '../appguard/DeviceS
55export interface HeartbeatResponse {
66 'token' ?: ( string ) ;
77 'status' ?: ( _appguard_DeviceStatus | keyof typeof _appguard_DeviceStatus ) ;
8- 'remoteShellEnabled' ?: ( boolean ) ;
9- 'remoteUiEnabled' ?: ( boolean ) ;
10- 'isMonitoringEnabled' ?: ( boolean ) ;
118}
129
1310export interface HeartbeatResponse__Output {
1411 'token' ?: ( string ) ;
1512 'status' ?: ( _appguard_DeviceStatus ) ;
16- 'remoteShellEnabled' ?: ( boolean ) ;
17- 'remoteUiEnabled' ?: ( boolean ) ;
18- 'isMonitoringEnabled' ?: ( boolean ) ;
1913}
You can’t perform that action at this time.
0 commit comments