@lansweeper/integrations-limit-checker-grpc 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.8](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.7...@lansweeper/integrations-limit-checker-grpc@0.2.8) (2023-07-07)
7
+
8
+ **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.2.7](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.6...@lansweeper/integrations-limit-checker-grpc@0.2.7) (2022-09-13)
15
+
16
+ **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.2.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.5...@lansweeper/integrations-limit-checker-grpc@0.2.6) (2022-01-20)
7
23
 
8
24
  **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
@@ -1 +1 @@
1
- {"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,15,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[6,0],"span":[13,0,15,1]},{"path":[6,0,1],"span":[13,8,32]},{"path":[6,0,2,0],"span":[14,2,110]},{"path":[6,0,2,0,1],"span":[14,6,30]},{"path":[6,0,2,0,2],"span":[14,32,63]},{"path":[6,0,2,0,3],"span":[14,74,106]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ReportFullExportStatusLimitCheckerRequest","field":[{"name":"app_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ReportFullExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ScanNowLimitCheckerRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"}]},{"name":"ScanNowLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}},{"name":"ReportFullExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse","options":{}},{"name":"ScanNowLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,34,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[4,2],"span":[13,0,16,1]},{"path":[4,2,1],"span":[13,8,49]},{"path":[4,2,2,0],"span":[14,2,20]},{"path":[4,2,2,0,5],"span":[14,2,8]},{"path":[4,2,2,0,1],"span":[14,9,15]},{"path":[4,2,2,0,3],"span":[14,18,19]},{"path":[4,2,2,1],"span":[15,2,22]},{"path":[4,2,2,1,5],"span":[15,2,8]},{"path":[4,2,2,1,1],"span":[15,9,17]},{"path":[4,2,2,1,3],"span":[15,20,21]},{"path":[4,3],"span":[18,0,20,1]},{"path":[4,3,1],"span":[18,8,50]},{"path":[4,3,2,0],"span":[19,2,21]},{"path":[4,3,2,0,5],"span":[19,2,8]},{"path":[4,3,2,0,1],"span":[19,9,16]},{"path":[4,3,2,0,3],"span":[19,19,20]},{"path":[4,4],"span":[22,0,24,1]},{"path":[4,4,1],"span":[22,8,34]},{"path":[4,4,2,0],"span":[23,2,23]},{"path":[4,4,2,0,5],"span":[23,2,8]},{"path":[4,4,2,0,1],"span":[23,9,18]},{"path":[4,4,2,0,3],"span":[23,21,22]},{"path":[4,5],"span":[26,0,28,1]},{"path":[4,5,1],"span":[26,8,35]},{"path":[4,5,2,0],"span":[27,2,21]},{"path":[4,5,2,0,5],"span":[27,2,8]},{"path":[4,5,2,0,1],"span":[27,9,16]},{"path":[4,5,2,0,3],"span":[27,19,20]},{"path":[6,0],"span":[30,0,34,1]},{"path":[6,0,1],"span":[30,8,32]},{"path":[6,0,2,0],"span":[31,2,110]},{"path":[6,0,2,0,1],"span":[31,6,30]},{"path":[6,0,2,0,2],"span":[31,32,63]},{"path":[6,0,2,0,3],"span":[31,74,106]},{"path":[6,0,2,1],"span":[32,2,140]},{"path":[6,0,2,1,1],"span":[32,6,40]},{"path":[6,0,2,1,2],"span":[32,42,83]},{"path":[6,0,2,1,3],"span":[32,94,136]},{"path":[6,0,2,2],"span":[33,2,95]},{"path":[6,0,2,2,1],"span":[33,6,25]},{"path":[6,0,2,2,2],"span":[33,27,53]},{"path":[6,0,2,2,3],"span":[33,64,91]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -9,6 +9,8 @@ import * as limit_checker_api_pb from "./limit_checker_api_pb";
9
9
 
10
10
  interface IIntegrationsLimitCheckerService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
11
11
  exportStatusLimitChecker: IIntegrationsLimitCheckerService_IExportStatusLimitChecker;
12
+ reportFullExportStatusLimitChecker: IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker;
13
+ scanNowLimitChecker: IIntegrationsLimitCheckerService_IScanNowLimitChecker;
12
14
  }
13
15
 
14
16
  interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse> {
@@ -20,17 +22,43 @@ interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grp
20
22
  responseSerialize: grpc.serialize<limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
21
23
  responseDeserialize: grpc.deserialize<limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
22
24
  }
25
+ interface IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse> {
26
+ path: "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ReportFullExportStatusLimitChecker";
27
+ requestStream: false;
28
+ responseStream: false;
29
+ requestSerialize: grpc.serialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest>;
30
+ requestDeserialize: grpc.deserialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest>;
31
+ responseSerialize: grpc.serialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
32
+ responseDeserialize: grpc.deserialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
33
+ }
34
+ interface IIntegrationsLimitCheckerService_IScanNowLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ScanNowLimitCheckerRequest, limit_checker_api_pb.ScanNowLimitCheckerResponse> {
35
+ path: "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ScanNowLimitChecker";
36
+ requestStream: false;
37
+ responseStream: false;
38
+ requestSerialize: grpc.serialize<limit_checker_api_pb.ScanNowLimitCheckerRequest>;
39
+ requestDeserialize: grpc.deserialize<limit_checker_api_pb.ScanNowLimitCheckerRequest>;
40
+ responseSerialize: grpc.serialize<limit_checker_api_pb.ScanNowLimitCheckerResponse>;
41
+ responseDeserialize: grpc.deserialize<limit_checker_api_pb.ScanNowLimitCheckerResponse>;
42
+ }
23
43
 
24
44
  export const IntegrationsLimitCheckerService: IIntegrationsLimitCheckerService;
25
45
 
26
46
  export interface IIntegrationsLimitCheckerServer extends grpc.UntypedServiceImplementation {
27
47
  exportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
48
+ reportFullExportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
49
+ scanNowLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ScanNowLimitCheckerRequest, limit_checker_api_pb.ScanNowLimitCheckerResponse>;
28
50
  }
29
51
 
30
52
  export interface IIntegrationsLimitCheckerClient {
31
53
  exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
32
54
  exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
33
55
  exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
56
+ reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
57
+ reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
58
+ reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
59
+ scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
60
+ scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
61
+ scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
34
62
  }
35
63
 
36
64
  export class IntegrationsLimitCheckerClient extends grpc.Client implements IIntegrationsLimitCheckerClient {
@@ -38,4 +66,10 @@ export class IntegrationsLimitCheckerClient extends grpc.Client implements IInte
38
66
  public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
39
67
  public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
40
68
  public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
69
+ public reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
70
+ public reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
71
+ public reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
72
+ public scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
73
+ public scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
74
+ public scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
41
75
  }
@@ -26,6 +26,50 @@ function deserialize_lansweeper_integrationslimitchecker_v1_ExportStatusLimitChe
26
26
  return limit_checker_api_pb.ExportStatusLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
27
27
  }
28
28
 
29
+ function serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest(arg) {
30
+ if (!(arg instanceof limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest)) {
31
+ throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest');
32
+ }
33
+ return Buffer.from(arg.serializeBinary());
34
+ }
35
+
36
+ function deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest(buffer_arg) {
37
+ return limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest.deserializeBinary(new Uint8Array(buffer_arg));
38
+ }
39
+
40
+ function serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse(arg) {
41
+ if (!(arg instanceof limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse)) {
42
+ throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse');
43
+ }
44
+ return Buffer.from(arg.serializeBinary());
45
+ }
46
+
47
+ function deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse(buffer_arg) {
48
+ return limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
49
+ }
50
+
51
+ function serialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerRequest(arg) {
52
+ if (!(arg instanceof limit_checker_api_pb.ScanNowLimitCheckerRequest)) {
53
+ throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest');
54
+ }
55
+ return Buffer.from(arg.serializeBinary());
56
+ }
57
+
58
+ function deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerRequest(buffer_arg) {
59
+ return limit_checker_api_pb.ScanNowLimitCheckerRequest.deserializeBinary(new Uint8Array(buffer_arg));
60
+ }
61
+
62
+ function serialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse(arg) {
63
+ if (!(arg instanceof limit_checker_api_pb.ScanNowLimitCheckerResponse)) {
64
+ throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse');
65
+ }
66
+ return Buffer.from(arg.serializeBinary());
67
+ }
68
+
69
+ function deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse(buffer_arg) {
70
+ return limit_checker_api_pb.ScanNowLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
71
+ }
72
+
29
73
 
30
74
  var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService = {
31
75
  exportStatusLimitChecker: {
@@ -39,6 +83,28 @@ var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService =
39
83
  responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ExportStatusLimitCheckerResponse,
40
84
  responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ExportStatusLimitCheckerResponse,
41
85
  },
86
+ reportFullExportStatusLimitChecker: {
87
+ path: '/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ReportFullExportStatusLimitChecker',
88
+ requestStream: false,
89
+ responseStream: false,
90
+ requestType: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest,
91
+ responseType: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse,
92
+ requestSerialize: serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest,
93
+ requestDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest,
94
+ responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse,
95
+ responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse,
96
+ },
97
+ scanNowLimitChecker: {
98
+ path: '/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ScanNowLimitChecker',
99
+ requestStream: false,
100
+ responseStream: false,
101
+ requestType: limit_checker_api_pb.ScanNowLimitCheckerRequest,
102
+ responseType: limit_checker_api_pb.ScanNowLimitCheckerResponse,
103
+ requestSerialize: serialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerRequest,
104
+ requestDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerRequest,
105
+ responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse,
106
+ responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse,
107
+ },
42
108
  };
43
109
 
44
110
  exports.IntegrationsLimitCheckerClient = grpc.makeGenericClientConstructor(IntegrationsLimitCheckerService);
@@ -48,3 +48,86 @@ export namespace ExportStatusLimitCheckerResponse {
48
48
  message: string,
49
49
  }
50
50
  }
51
+
52
+ export class ReportFullExportStatusLimitCheckerRequest extends jspb.Message {
53
+ getAppId(): string;
54
+ setAppId(value: string): ReportFullExportStatusLimitCheckerRequest;
55
+ getTraceId(): string;
56
+ setTraceId(value: string): ReportFullExportStatusLimitCheckerRequest;
57
+
58
+ serializeBinary(): Uint8Array;
59
+ toObject(includeInstance?: boolean): ReportFullExportStatusLimitCheckerRequest.AsObject;
60
+ static toObject(includeInstance: boolean, msg: ReportFullExportStatusLimitCheckerRequest): ReportFullExportStatusLimitCheckerRequest.AsObject;
61
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
62
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
63
+ static serializeBinaryToWriter(message: ReportFullExportStatusLimitCheckerRequest, writer: jspb.BinaryWriter): void;
64
+ static deserializeBinary(bytes: Uint8Array): ReportFullExportStatusLimitCheckerRequest;
65
+ static deserializeBinaryFromReader(message: ReportFullExportStatusLimitCheckerRequest, reader: jspb.BinaryReader): ReportFullExportStatusLimitCheckerRequest;
66
+ }
67
+
68
+ export namespace ReportFullExportStatusLimitCheckerRequest {
69
+ export type AsObject = {
70
+ appId: string,
71
+ traceId: string,
72
+ }
73
+ }
74
+
75
+ export class ReportFullExportStatusLimitCheckerResponse extends jspb.Message {
76
+ getMessage(): string;
77
+ setMessage(value: string): ReportFullExportStatusLimitCheckerResponse;
78
+
79
+ serializeBinary(): Uint8Array;
80
+ toObject(includeInstance?: boolean): ReportFullExportStatusLimitCheckerResponse.AsObject;
81
+ static toObject(includeInstance: boolean, msg: ReportFullExportStatusLimitCheckerResponse): ReportFullExportStatusLimitCheckerResponse.AsObject;
82
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
83
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
84
+ static serializeBinaryToWriter(message: ReportFullExportStatusLimitCheckerResponse, writer: jspb.BinaryWriter): void;
85
+ static deserializeBinary(bytes: Uint8Array): ReportFullExportStatusLimitCheckerResponse;
86
+ static deserializeBinaryFromReader(message: ReportFullExportStatusLimitCheckerResponse, reader: jspb.BinaryReader): ReportFullExportStatusLimitCheckerResponse;
87
+ }
88
+
89
+ export namespace ReportFullExportStatusLimitCheckerResponse {
90
+ export type AsObject = {
91
+ message: string,
92
+ }
93
+ }
94
+
95
+ export class ScanNowLimitCheckerRequest extends jspb.Message {
96
+ getSourceId(): string;
97
+ setSourceId(value: string): ScanNowLimitCheckerRequest;
98
+
99
+ serializeBinary(): Uint8Array;
100
+ toObject(includeInstance?: boolean): ScanNowLimitCheckerRequest.AsObject;
101
+ static toObject(includeInstance: boolean, msg: ScanNowLimitCheckerRequest): ScanNowLimitCheckerRequest.AsObject;
102
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
103
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
104
+ static serializeBinaryToWriter(message: ScanNowLimitCheckerRequest, writer: jspb.BinaryWriter): void;
105
+ static deserializeBinary(bytes: Uint8Array): ScanNowLimitCheckerRequest;
106
+ static deserializeBinaryFromReader(message: ScanNowLimitCheckerRequest, reader: jspb.BinaryReader): ScanNowLimitCheckerRequest;
107
+ }
108
+
109
+ export namespace ScanNowLimitCheckerRequest {
110
+ export type AsObject = {
111
+ sourceId: string,
112
+ }
113
+ }
114
+
115
+ export class ScanNowLimitCheckerResponse extends jspb.Message {
116
+ getMessage(): string;
117
+ setMessage(value: string): ScanNowLimitCheckerResponse;
118
+
119
+ serializeBinary(): Uint8Array;
120
+ toObject(includeInstance?: boolean): ScanNowLimitCheckerResponse.AsObject;
121
+ static toObject(includeInstance: boolean, msg: ScanNowLimitCheckerResponse): ScanNowLimitCheckerResponse.AsObject;
122
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
123
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
124
+ static serializeBinaryToWriter(message: ScanNowLimitCheckerResponse, writer: jspb.BinaryWriter): void;
125
+ static deserializeBinary(bytes: Uint8Array): ScanNowLimitCheckerResponse;
126
+ static deserializeBinaryFromReader(message: ScanNowLimitCheckerResponse, reader: jspb.BinaryReader): ScanNowLimitCheckerResponse;
127
+ }
128
+
129
+ export namespace ScanNowLimitCheckerResponse {
130
+ export type AsObject = {
131
+ message: string,
132
+ }
133
+ }
@@ -17,6 +17,10 @@ var global = Function('return this')();
17
17
 
18
18
  goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest', null, global);
19
19
  goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse', null, global);
20
+ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest', null, global);
21
+ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse', null, global);
22
+ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest', null, global);
23
+ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse', null, global);
20
24
  /**
21
25
  * Generated by JsPbCodeGenerator.
22
26
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -59,6 +63,90 @@ if (goog.DEBUG && !COMPILED) {
59
63
  */
60
64
  proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse';
61
65
  }
66
+ /**
67
+ * Generated by JsPbCodeGenerator.
68
+ * @param {Array=} opt_data Optional initial data array, typically from a
69
+ * server response, or constructed directly in Javascript. The array is used
70
+ * in place and becomes part of the constructed object. It is not cloned.
71
+ * If no data is provided, the constructed object will be empty, but still
72
+ * valid.
73
+ * @extends {jspb.Message}
74
+ * @constructor
75
+ */
76
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest = function(opt_data) {
77
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
78
+ };
79
+ goog.inherits(proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest, jspb.Message);
80
+ if (goog.DEBUG && !COMPILED) {
81
+ /**
82
+ * @public
83
+ * @override
84
+ */
85
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest';
86
+ }
87
+ /**
88
+ * Generated by JsPbCodeGenerator.
89
+ * @param {Array=} opt_data Optional initial data array, typically from a
90
+ * server response, or constructed directly in Javascript. The array is used
91
+ * in place and becomes part of the constructed object. It is not cloned.
92
+ * If no data is provided, the constructed object will be empty, but still
93
+ * valid.
94
+ * @extends {jspb.Message}
95
+ * @constructor
96
+ */
97
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse = function(opt_data) {
98
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
99
+ };
100
+ goog.inherits(proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse, jspb.Message);
101
+ if (goog.DEBUG && !COMPILED) {
102
+ /**
103
+ * @public
104
+ * @override
105
+ */
106
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse';
107
+ }
108
+ /**
109
+ * Generated by JsPbCodeGenerator.
110
+ * @param {Array=} opt_data Optional initial data array, typically from a
111
+ * server response, or constructed directly in Javascript. The array is used
112
+ * in place and becomes part of the constructed object. It is not cloned.
113
+ * If no data is provided, the constructed object will be empty, but still
114
+ * valid.
115
+ * @extends {jspb.Message}
116
+ * @constructor
117
+ */
118
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest = function(opt_data) {
119
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
120
+ };
121
+ goog.inherits(proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest, jspb.Message);
122
+ if (goog.DEBUG && !COMPILED) {
123
+ /**
124
+ * @public
125
+ * @override
126
+ */
127
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest';
128
+ }
129
+ /**
130
+ * Generated by JsPbCodeGenerator.
131
+ * @param {Array=} opt_data Optional initial data array, typically from a
132
+ * server response, or constructed directly in Javascript. The array is used
133
+ * in place and becomes part of the constructed object. It is not cloned.
134
+ * If no data is provided, the constructed object will be empty, but still
135
+ * valid.
136
+ * @extends {jspb.Message}
137
+ * @constructor
138
+ */
139
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse = function(opt_data) {
140
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
141
+ };
142
+ goog.inherits(proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse, jspb.Message);
143
+ if (goog.DEBUG && !COMPILED) {
144
+ /**
145
+ * @public
146
+ * @override
147
+ */
148
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse';
149
+ }
62
150
 
63
151
 
64
152
 
@@ -349,4 +437,554 @@ proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse.pr
349
437
  };
350
438
 
351
439
 
440
+
441
+
442
+
443
+ if (jspb.Message.GENERATE_TO_OBJECT) {
444
+ /**
445
+ * Creates an object representation of this proto.
446
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
447
+ * Optional fields that are not set will be set to undefined.
448
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
449
+ * For the list of reserved names please see:
450
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
451
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
452
+ * JSPB instance for transitional soy proto support:
453
+ * http://goto/soy-param-migration
454
+ * @return {!Object}
455
+ */
456
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.toObject = function(opt_includeInstance) {
457
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.toObject(opt_includeInstance, this);
458
+ };
459
+
460
+
461
+ /**
462
+ * Static version of the {@see toObject} method.
463
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
464
+ * the JSPB instance for transitional soy proto support:
465
+ * http://goto/soy-param-migration
466
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} msg The msg instance to transform.
467
+ * @return {!Object}
468
+ * @suppress {unusedLocalVariables} f is only used for nested messages
469
+ */
470
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.toObject = function(includeInstance, msg) {
471
+ var f, obj = {
472
+ appId: jspb.Message.getFieldWithDefault(msg, 1, ""),
473
+ traceId: jspb.Message.getFieldWithDefault(msg, 2, "")
474
+ };
475
+
476
+ if (includeInstance) {
477
+ obj.$jspbMessageInstance = msg;
478
+ }
479
+ return obj;
480
+ };
481
+ }
482
+
483
+
484
+ /**
485
+ * Deserializes binary data (in protobuf wire format).
486
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
487
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest}
488
+ */
489
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.deserializeBinary = function(bytes) {
490
+ var reader = new jspb.BinaryReader(bytes);
491
+ var msg = new proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest;
492
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.deserializeBinaryFromReader(msg, reader);
493
+ };
494
+
495
+
496
+ /**
497
+ * Deserializes binary data (in protobuf wire format) from the
498
+ * given reader into the given message object.
499
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} msg The message object to deserialize into.
500
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
501
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest}
502
+ */
503
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.deserializeBinaryFromReader = function(msg, reader) {
504
+ while (reader.nextField()) {
505
+ if (reader.isEndGroup()) {
506
+ break;
507
+ }
508
+ var field = reader.getFieldNumber();
509
+ switch (field) {
510
+ case 1:
511
+ var value = /** @type {string} */ (reader.readString());
512
+ msg.setAppId(value);
513
+ break;
514
+ case 2:
515
+ var value = /** @type {string} */ (reader.readString());
516
+ msg.setTraceId(value);
517
+ break;
518
+ default:
519
+ reader.skipField();
520
+ break;
521
+ }
522
+ }
523
+ return msg;
524
+ };
525
+
526
+
527
+ /**
528
+ * Serializes the message to binary data (in protobuf wire format).
529
+ * @return {!Uint8Array}
530
+ */
531
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.serializeBinary = function() {
532
+ var writer = new jspb.BinaryWriter();
533
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.serializeBinaryToWriter(this, writer);
534
+ return writer.getResultBuffer();
535
+ };
536
+
537
+
538
+ /**
539
+ * Serializes the given message to binary data (in protobuf wire
540
+ * format), writing to the given BinaryWriter.
541
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} message
542
+ * @param {!jspb.BinaryWriter} writer
543
+ * @suppress {unusedLocalVariables} f is only used for nested messages
544
+ */
545
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.serializeBinaryToWriter = function(message, writer) {
546
+ var f = undefined;
547
+ f = message.getAppId();
548
+ if (f.length > 0) {
549
+ writer.writeString(
550
+ 1,
551
+ f
552
+ );
553
+ }
554
+ f = message.getTraceId();
555
+ if (f.length > 0) {
556
+ writer.writeString(
557
+ 2,
558
+ f
559
+ );
560
+ }
561
+ };
562
+
563
+
564
+ /**
565
+ * optional string app_id = 1;
566
+ * @return {string}
567
+ */
568
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.getAppId = function() {
569
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
570
+ };
571
+
572
+
573
+ /**
574
+ * @param {string} value
575
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} returns this
576
+ */
577
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.setAppId = function(value) {
578
+ return jspb.Message.setProto3StringField(this, 1, value);
579
+ };
580
+
581
+
582
+ /**
583
+ * optional string trace_id = 2;
584
+ * @return {string}
585
+ */
586
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.getTraceId = function() {
587
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
588
+ };
589
+
590
+
591
+ /**
592
+ * @param {string} value
593
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} returns this
594
+ */
595
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.setTraceId = function(value) {
596
+ return jspb.Message.setProto3StringField(this, 2, value);
597
+ };
598
+
599
+
600
+
601
+
602
+
603
+ if (jspb.Message.GENERATE_TO_OBJECT) {
604
+ /**
605
+ * Creates an object representation of this proto.
606
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
607
+ * Optional fields that are not set will be set to undefined.
608
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
609
+ * For the list of reserved names please see:
610
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
611
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
612
+ * JSPB instance for transitional soy proto support:
613
+ * http://goto/soy-param-migration
614
+ * @return {!Object}
615
+ */
616
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.toObject = function(opt_includeInstance) {
617
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.toObject(opt_includeInstance, this);
618
+ };
619
+
620
+
621
+ /**
622
+ * Static version of the {@see toObject} method.
623
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
624
+ * the JSPB instance for transitional soy proto support:
625
+ * http://goto/soy-param-migration
626
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} msg The msg instance to transform.
627
+ * @return {!Object}
628
+ * @suppress {unusedLocalVariables} f is only used for nested messages
629
+ */
630
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.toObject = function(includeInstance, msg) {
631
+ var f, obj = {
632
+ message: jspb.Message.getFieldWithDefault(msg, 1, "")
633
+ };
634
+
635
+ if (includeInstance) {
636
+ obj.$jspbMessageInstance = msg;
637
+ }
638
+ return obj;
639
+ };
640
+ }
641
+
642
+
643
+ /**
644
+ * Deserializes binary data (in protobuf wire format).
645
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
646
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse}
647
+ */
648
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.deserializeBinary = function(bytes) {
649
+ var reader = new jspb.BinaryReader(bytes);
650
+ var msg = new proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse;
651
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.deserializeBinaryFromReader(msg, reader);
652
+ };
653
+
654
+
655
+ /**
656
+ * Deserializes binary data (in protobuf wire format) from the
657
+ * given reader into the given message object.
658
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} msg The message object to deserialize into.
659
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
660
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse}
661
+ */
662
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.deserializeBinaryFromReader = function(msg, reader) {
663
+ while (reader.nextField()) {
664
+ if (reader.isEndGroup()) {
665
+ break;
666
+ }
667
+ var field = reader.getFieldNumber();
668
+ switch (field) {
669
+ case 1:
670
+ var value = /** @type {string} */ (reader.readString());
671
+ msg.setMessage(value);
672
+ break;
673
+ default:
674
+ reader.skipField();
675
+ break;
676
+ }
677
+ }
678
+ return msg;
679
+ };
680
+
681
+
682
+ /**
683
+ * Serializes the message to binary data (in protobuf wire format).
684
+ * @return {!Uint8Array}
685
+ */
686
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.serializeBinary = function() {
687
+ var writer = new jspb.BinaryWriter();
688
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.serializeBinaryToWriter(this, writer);
689
+ return writer.getResultBuffer();
690
+ };
691
+
692
+
693
+ /**
694
+ * Serializes the given message to binary data (in protobuf wire
695
+ * format), writing to the given BinaryWriter.
696
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} message
697
+ * @param {!jspb.BinaryWriter} writer
698
+ * @suppress {unusedLocalVariables} f is only used for nested messages
699
+ */
700
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.serializeBinaryToWriter = function(message, writer) {
701
+ var f = undefined;
702
+ f = message.getMessage();
703
+ if (f.length > 0) {
704
+ writer.writeString(
705
+ 1,
706
+ f
707
+ );
708
+ }
709
+ };
710
+
711
+
712
+ /**
713
+ * optional string message = 1;
714
+ * @return {string}
715
+ */
716
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.getMessage = function() {
717
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
718
+ };
719
+
720
+
721
+ /**
722
+ * @param {string} value
723
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} returns this
724
+ */
725
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.setMessage = function(value) {
726
+ return jspb.Message.setProto3StringField(this, 1, value);
727
+ };
728
+
729
+
730
+
731
+
732
+
733
+ if (jspb.Message.GENERATE_TO_OBJECT) {
734
+ /**
735
+ * Creates an object representation of this proto.
736
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
737
+ * Optional fields that are not set will be set to undefined.
738
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
739
+ * For the list of reserved names please see:
740
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
741
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
742
+ * JSPB instance for transitional soy proto support:
743
+ * http://goto/soy-param-migration
744
+ * @return {!Object}
745
+ */
746
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototype.toObject = function(opt_includeInstance) {
747
+ return proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.toObject(opt_includeInstance, this);
748
+ };
749
+
750
+
751
+ /**
752
+ * Static version of the {@see toObject} method.
753
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
754
+ * the JSPB instance for transitional soy proto support:
755
+ * http://goto/soy-param-migration
756
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest} msg The msg instance to transform.
757
+ * @return {!Object}
758
+ * @suppress {unusedLocalVariables} f is only used for nested messages
759
+ */
760
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.toObject = function(includeInstance, msg) {
761
+ var f, obj = {
762
+ sourceId: jspb.Message.getFieldWithDefault(msg, 1, "")
763
+ };
764
+
765
+ if (includeInstance) {
766
+ obj.$jspbMessageInstance = msg;
767
+ }
768
+ return obj;
769
+ };
770
+ }
771
+
772
+
773
+ /**
774
+ * Deserializes binary data (in protobuf wire format).
775
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
776
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest}
777
+ */
778
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.deserializeBinary = function(bytes) {
779
+ var reader = new jspb.BinaryReader(bytes);
780
+ var msg = new proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest;
781
+ return proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.deserializeBinaryFromReader(msg, reader);
782
+ };
783
+
784
+
785
+ /**
786
+ * Deserializes binary data (in protobuf wire format) from the
787
+ * given reader into the given message object.
788
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest} msg The message object to deserialize into.
789
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
790
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest}
791
+ */
792
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.deserializeBinaryFromReader = function(msg, reader) {
793
+ while (reader.nextField()) {
794
+ if (reader.isEndGroup()) {
795
+ break;
796
+ }
797
+ var field = reader.getFieldNumber();
798
+ switch (field) {
799
+ case 1:
800
+ var value = /** @type {string} */ (reader.readString());
801
+ msg.setSourceId(value);
802
+ break;
803
+ default:
804
+ reader.skipField();
805
+ break;
806
+ }
807
+ }
808
+ return msg;
809
+ };
810
+
811
+
812
+ /**
813
+ * Serializes the message to binary data (in protobuf wire format).
814
+ * @return {!Uint8Array}
815
+ */
816
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototype.serializeBinary = function() {
817
+ var writer = new jspb.BinaryWriter();
818
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.serializeBinaryToWriter(this, writer);
819
+ return writer.getResultBuffer();
820
+ };
821
+
822
+
823
+ /**
824
+ * Serializes the given message to binary data (in protobuf wire
825
+ * format), writing to the given BinaryWriter.
826
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest} message
827
+ * @param {!jspb.BinaryWriter} writer
828
+ * @suppress {unusedLocalVariables} f is only used for nested messages
829
+ */
830
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.serializeBinaryToWriter = function(message, writer) {
831
+ var f = undefined;
832
+ f = message.getSourceId();
833
+ if (f.length > 0) {
834
+ writer.writeString(
835
+ 1,
836
+ f
837
+ );
838
+ }
839
+ };
840
+
841
+
842
+ /**
843
+ * optional string source_id = 1;
844
+ * @return {string}
845
+ */
846
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototype.getSourceId = function() {
847
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
848
+ };
849
+
850
+
851
+ /**
852
+ * @param {string} value
853
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest} returns this
854
+ */
855
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototype.setSourceId = function(value) {
856
+ return jspb.Message.setProto3StringField(this, 1, value);
857
+ };
858
+
859
+
860
+
861
+
862
+
863
+ if (jspb.Message.GENERATE_TO_OBJECT) {
864
+ /**
865
+ * Creates an object representation of this proto.
866
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
867
+ * Optional fields that are not set will be set to undefined.
868
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
869
+ * For the list of reserved names please see:
870
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
871
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
872
+ * JSPB instance for transitional soy proto support:
873
+ * http://goto/soy-param-migration
874
+ * @return {!Object}
875
+ */
876
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.prototype.toObject = function(opt_includeInstance) {
877
+ return proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.toObject(opt_includeInstance, this);
878
+ };
879
+
880
+
881
+ /**
882
+ * Static version of the {@see toObject} method.
883
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
884
+ * the JSPB instance for transitional soy proto support:
885
+ * http://goto/soy-param-migration
886
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse} msg The msg instance to transform.
887
+ * @return {!Object}
888
+ * @suppress {unusedLocalVariables} f is only used for nested messages
889
+ */
890
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.toObject = function(includeInstance, msg) {
891
+ var f, obj = {
892
+ message: jspb.Message.getFieldWithDefault(msg, 1, "")
893
+ };
894
+
895
+ if (includeInstance) {
896
+ obj.$jspbMessageInstance = msg;
897
+ }
898
+ return obj;
899
+ };
900
+ }
901
+
902
+
903
+ /**
904
+ * Deserializes binary data (in protobuf wire format).
905
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
906
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse}
907
+ */
908
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.deserializeBinary = function(bytes) {
909
+ var reader = new jspb.BinaryReader(bytes);
910
+ var msg = new proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse;
911
+ return proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.deserializeBinaryFromReader(msg, reader);
912
+ };
913
+
914
+
915
+ /**
916
+ * Deserializes binary data (in protobuf wire format) from the
917
+ * given reader into the given message object.
918
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse} msg The message object to deserialize into.
919
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
920
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse}
921
+ */
922
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.deserializeBinaryFromReader = function(msg, reader) {
923
+ while (reader.nextField()) {
924
+ if (reader.isEndGroup()) {
925
+ break;
926
+ }
927
+ var field = reader.getFieldNumber();
928
+ switch (field) {
929
+ case 1:
930
+ var value = /** @type {string} */ (reader.readString());
931
+ msg.setMessage(value);
932
+ break;
933
+ default:
934
+ reader.skipField();
935
+ break;
936
+ }
937
+ }
938
+ return msg;
939
+ };
940
+
941
+
942
+ /**
943
+ * Serializes the message to binary data (in protobuf wire format).
944
+ * @return {!Uint8Array}
945
+ */
946
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.prototype.serializeBinary = function() {
947
+ var writer = new jspb.BinaryWriter();
948
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.serializeBinaryToWriter(this, writer);
949
+ return writer.getResultBuffer();
950
+ };
951
+
952
+
953
+ /**
954
+ * Serializes the given message to binary data (in protobuf wire
955
+ * format), writing to the given BinaryWriter.
956
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse} message
957
+ * @param {!jspb.BinaryWriter} writer
958
+ * @suppress {unusedLocalVariables} f is only used for nested messages
959
+ */
960
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.serializeBinaryToWriter = function(message, writer) {
961
+ var f = undefined;
962
+ f = message.getMessage();
963
+ if (f.length > 0) {
964
+ writer.writeString(
965
+ 1,
966
+ f
967
+ );
968
+ }
969
+ };
970
+
971
+
972
+ /**
973
+ * optional string message = 1;
974
+ * @return {string}
975
+ */
976
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.prototype.getMessage = function() {
977
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
978
+ };
979
+
980
+
981
+ /**
982
+ * @param {string} value
983
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse} returns this
984
+ */
985
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.prototype.setMessage = function(value) {
986
+ return jspb.Message.setProto3StringField(this, 1, value);
987
+ };
988
+
989
+
352
990
  goog.object.extend(exports, proto.lansweeper.integrationslimitchecker.v1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/integrations-limit-checker-grpc",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "Limit Checker GRPC Integration",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -9,5 +9,5 @@
9
9
  "@grpc/grpc-js": "^1.5.1",
10
10
  "google-protobuf": "^3.17.0"
11
11
  },
12
- "gitHead": "3771a40b51dd32ab55d60a1a4c4fc3e960782b9a"
12
+ "gitHead": "d34958f83131d8cf12ddd173c4548696dcccd6c1"
13
13
  }
@@ -11,6 +11,25 @@ message ExportStatusLimitCheckerResponse {
11
11
  string message = 1;
12
12
  }
13
13
 
14
+ message ReportFullExportStatusLimitCheckerRequest {
15
+ string app_id = 1;
16
+ string trace_id = 2;
17
+ }
18
+
19
+ message ReportFullExportStatusLimitCheckerResponse {
20
+ string message = 1;
21
+ }
22
+
23
+ message ScanNowLimitCheckerRequest {
24
+ string source_id = 1;
25
+ }
26
+
27
+ message ScanNowLimitCheckerResponse {
28
+ string message = 1;
29
+ }
30
+
14
31
  service IntegrationsLimitChecker {
15
32
  rpc ExportStatusLimitChecker (ExportStatusLimitCheckerRequest) returns (ExportStatusLimitCheckerResponse) {}
33
+ rpc ReportFullExportStatusLimitChecker (ReportFullExportStatusLimitCheckerRequest) returns (ReportFullExportStatusLimitCheckerResponse) {}
34
+ rpc ScanNowLimitChecker (ScanNowLimitCheckerRequest) returns (ScanNowLimitCheckerResponse) {}
16
35
  }