22
33import type * as grpc from '@grpc/grpc-js'
44import type { MethodDefinition } from '@grpc/proto-loader'
5+ import type { AppGuardFirewall as _appguard_AppGuardFirewall , AppGuardFirewall__Output as _appguard_AppGuardFirewall__Output } from '../appguard/AppGuardFirewall' ;
56import type { AppGuardHttpRequest as _appguard_AppGuardHttpRequest , AppGuardHttpRequest__Output as _appguard_AppGuardHttpRequest__Output } from '../appguard/AppGuardHttpRequest' ;
67import type { AppGuardHttpResponse as _appguard_AppGuardHttpResponse , AppGuardHttpResponse__Output as _appguard_AppGuardHttpResponse__Output } from '../appguard/AppGuardHttpResponse' ;
78import type { AppGuardResponse as _appguard_AppGuardResponse , AppGuardResponse__Output as _appguard_AppGuardResponse__Output } from '../appguard/AppGuardResponse' ;
89import type { AppGuardSmtpRequest as _appguard_AppGuardSmtpRequest , AppGuardSmtpRequest__Output as _appguard_AppGuardSmtpRequest__Output } from '../appguard/AppGuardSmtpRequest' ;
910import type { AppGuardSmtpResponse as _appguard_AppGuardSmtpResponse , AppGuardSmtpResponse__Output as _appguard_AppGuardSmtpResponse__Output } from '../appguard/AppGuardSmtpResponse' ;
1011import type { AppGuardTcpConnection as _appguard_AppGuardTcpConnection , AppGuardTcpConnection__Output as _appguard_AppGuardTcpConnection__Output } from '../appguard/AppGuardTcpConnection' ;
1112import type { AppGuardTcpResponse as _appguard_AppGuardTcpResponse , AppGuardTcpResponse__Output as _appguard_AppGuardTcpResponse__Output } from '../appguard/AppGuardTcpResponse' ;
13+ import type { Empty as _appguard_Empty , Empty__Output as _appguard_Empty__Output } from '../appguard/Empty' ;
1214import type { HeartbeatRequest as _appguard_HeartbeatRequest , HeartbeatRequest__Output as _appguard_HeartbeatRequest__Output } from '../appguard/HeartbeatRequest' ;
1315import type { HeartbeatResponse as _appguard_HeartbeatResponse , HeartbeatResponse__Output as _appguard_HeartbeatResponse__Output } from '../appguard/HeartbeatResponse' ;
1416
@@ -63,6 +65,15 @@ export interface AppGuardClient extends grpc.Client {
6365 heartbeat ( argument : _appguard_HeartbeatRequest , metadata : grpc . Metadata , options ?: grpc . CallOptions ) : grpc . ClientReadableStream < _appguard_HeartbeatResponse__Output > ;
6466 heartbeat ( argument : _appguard_HeartbeatRequest , options ?: grpc . CallOptions ) : grpc . ClientReadableStream < _appguard_HeartbeatResponse__Output > ;
6567
68+ UpdateFirewall ( argument : _appguard_AppGuardFirewall , metadata : grpc . Metadata , options : grpc . CallOptions , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
69+ UpdateFirewall ( argument : _appguard_AppGuardFirewall , metadata : grpc . Metadata , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
70+ UpdateFirewall ( argument : _appguard_AppGuardFirewall , options : grpc . CallOptions , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
71+ UpdateFirewall ( argument : _appguard_AppGuardFirewall , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
72+ updateFirewall ( argument : _appguard_AppGuardFirewall , metadata : grpc . Metadata , options : grpc . CallOptions , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
73+ updateFirewall ( argument : _appguard_AppGuardFirewall , metadata : grpc . Metadata , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
74+ updateFirewall ( argument : _appguard_AppGuardFirewall , options : grpc . CallOptions , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
75+ updateFirewall ( argument : _appguard_AppGuardFirewall , callback : grpc . requestCallback < _appguard_Empty__Output > ) : grpc . ClientUnaryCall ;
76+
6677}
6778
6879export interface AppGuardHandlers extends grpc . UntypedServiceImplementation {
@@ -78,6 +89,8 @@ export interface AppGuardHandlers extends grpc.UntypedServiceImplementation {
7889
7990 Heartbeat : grpc . handleServerStreamingCall < _appguard_HeartbeatRequest__Output , _appguard_HeartbeatResponse > ;
8091
92+ UpdateFirewall : grpc . handleUnaryCall < _appguard_AppGuardFirewall__Output , _appguard_Empty > ;
93+
8194}
8295
8396export interface AppGuardDefinition extends grpc . ServiceDefinition {
@@ -87,4 +100,5 @@ export interface AppGuardDefinition extends grpc.ServiceDefinition {
87100 HandleSmtpResponse : MethodDefinition < _appguard_AppGuardSmtpResponse , _appguard_AppGuardResponse , _appguard_AppGuardSmtpResponse__Output , _appguard_AppGuardResponse__Output >
88101 HandleTcpConnection : MethodDefinition < _appguard_AppGuardTcpConnection , _appguard_AppGuardTcpResponse , _appguard_AppGuardTcpConnection__Output , _appguard_AppGuardTcpResponse__Output >
89102 Heartbeat : MethodDefinition < _appguard_HeartbeatRequest , _appguard_HeartbeatResponse , _appguard_HeartbeatRequest__Output , _appguard_HeartbeatResponse__Output >
103+ UpdateFirewall : MethodDefinition < _appguard_AppGuardFirewall , _appguard_Empty , _appguard_AppGuardFirewall__Output , _appguard_Empty__Output >
90104}
0 commit comments