@lansweeper/integrations-limit-checker-grpc 0.2.7 → 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 +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/limit_checker_api_grpc_pb.d.ts +17 -0
- package/gen-proto/limit_checker_api_grpc_pb.js +33 -0
- package/gen-proto/limit_checker_api_pb.d.ts +40 -0
- package/gen-proto/limit_checker_api_pb.js +304 -0
- package/package.json +2 -2
- package/proto/limit_checker_api.proto +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
|
|
6
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)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
package/gen-proto/image.json
CHANGED
|
@@ -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"}]},{"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"}]}],"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":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,
|
|
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}}]}
|
|
@@ -10,6 +10,7 @@ import * as limit_checker_api_pb from "./limit_checker_api_pb";
|
|
|
10
10
|
interface IIntegrationsLimitCheckerService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
11
11
|
exportStatusLimitChecker: IIntegrationsLimitCheckerService_IExportStatusLimitChecker;
|
|
12
12
|
reportFullExportStatusLimitChecker: IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker;
|
|
13
|
+
scanNowLimitChecker: IIntegrationsLimitCheckerService_IScanNowLimitChecker;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse> {
|
|
@@ -30,12 +31,22 @@ interface IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker e
|
|
|
30
31
|
responseSerialize: grpc.serialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
|
|
31
32
|
responseDeserialize: grpc.deserialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
|
|
32
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
|
+
}
|
|
33
43
|
|
|
34
44
|
export const IntegrationsLimitCheckerService: IIntegrationsLimitCheckerService;
|
|
35
45
|
|
|
36
46
|
export interface IIntegrationsLimitCheckerServer extends grpc.UntypedServiceImplementation {
|
|
37
47
|
exportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
|
|
38
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>;
|
|
39
50
|
}
|
|
40
51
|
|
|
41
52
|
export interface IIntegrationsLimitCheckerClient {
|
|
@@ -45,6 +56,9 @@ export interface IIntegrationsLimitCheckerClient {
|
|
|
45
56
|
reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
46
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;
|
|
47
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;
|
|
48
62
|
}
|
|
49
63
|
|
|
50
64
|
export class IntegrationsLimitCheckerClient extends grpc.Client implements IIntegrationsLimitCheckerClient {
|
|
@@ -55,4 +69,7 @@ export class IntegrationsLimitCheckerClient extends grpc.Client implements IInte
|
|
|
55
69
|
public reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
56
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;
|
|
57
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;
|
|
58
75
|
}
|
|
@@ -48,6 +48,28 @@ function deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStat
|
|
|
48
48
|
return limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
49
49
|
}
|
|
50
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
|
+
|
|
51
73
|
|
|
52
74
|
var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService = {
|
|
53
75
|
exportStatusLimitChecker: {
|
|
@@ -72,6 +94,17 @@ var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService =
|
|
|
72
94
|
responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse,
|
|
73
95
|
responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse,
|
|
74
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
|
+
},
|
|
75
108
|
};
|
|
76
109
|
|
|
77
110
|
exports.IntegrationsLimitCheckerClient = grpc.makeGenericClientConstructor(IntegrationsLimitCheckerService);
|
|
@@ -91,3 +91,43 @@ export namespace ReportFullExportStatusLimitCheckerResponse {
|
|
|
91
91
|
message: string,
|
|
92
92
|
}
|
|
93
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
|
+
}
|
|
@@ -19,6 +19,8 @@ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimi
|
|
|
19
19
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse', null, global);
|
|
20
20
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest', null, global);
|
|
21
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);
|
|
22
24
|
/**
|
|
23
25
|
* Generated by JsPbCodeGenerator.
|
|
24
26
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -103,6 +105,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
103
105
|
*/
|
|
104
106
|
proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse';
|
|
105
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
|
+
}
|
|
106
150
|
|
|
107
151
|
|
|
108
152
|
|
|
@@ -683,4 +727,264 @@ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerR
|
|
|
683
727
|
};
|
|
684
728
|
|
|
685
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
|
+
|
|
686
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.
|
|
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": "
|
|
12
|
+
"gitHead": "d34958f83131d8cf12ddd173c4548696dcccd6c1"
|
|
13
13
|
}
|
|
@@ -20,7 +20,16 @@ message ReportFullExportStatusLimitCheckerResponse {
|
|
|
20
20
|
string message = 1;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
message ScanNowLimitCheckerRequest {
|
|
24
|
+
string source_id = 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message ScanNowLimitCheckerResponse {
|
|
28
|
+
string message = 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
service IntegrationsLimitChecker {
|
|
24
32
|
rpc ExportStatusLimitChecker (ExportStatusLimitCheckerRequest) returns (ExportStatusLimitCheckerResponse) {}
|
|
25
33
|
rpc ReportFullExportStatusLimitChecker (ReportFullExportStatusLimitCheckerRequest) returns (ReportFullExportStatusLimitCheckerResponse) {}
|
|
34
|
+
rpc ScanNowLimitChecker (ScanNowLimitCheckerRequest) returns (ScanNowLimitCheckerResponse) {}
|
|
26
35
|
}
|