@lansweeper/integrations-limit-checker-grpc 0.2.10 → 0.2.12
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 +16 -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 +46 -0
- package/gen-proto/limit_checker_api_pb.js +371 -1
- package/generated-go/limit_checker_api.pb.go +180 -20
- package/generated-go/limit_checker_api_grpc.pb.go +48 -7
- package/go.mod +1 -1
- package/package.json +2 -2
- package/proto/limit_checker_api.proto +11 -0
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.12](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.11...@lansweeper/integrations-limit-checker-grpc@0.2.12) (2024-07-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.2.11](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.10...@lansweeper/integrations-limit-checker-grpc@0.2.11) (2024-02-06)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.2.10](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.9...@lansweeper/integrations-limit-checker-grpc@0.2.10) (2023-07-12)
|
|
7
23
|
|
|
8
24
|
**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"}]},{"name":"ScanNowLimitCheckerRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"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":{}}]}],"options":{"goPackage":"./generated-go"},"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":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ScanNowLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"UpdateAssetLimitCheckerRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"asset_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"assetKey"},{"name":"trace_id","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"UpdateAssetLimitCheckerResponse","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":{}},{"name":"UpdateAssetLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,48,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[8],"span":[4,0,37]},{"path":[8,11],"span":[4,0,37]},{"path":[4,0],"span":[6,0,9,1]},{"path":[4,0,1],"span":[6,8,39]},{"path":[4,0,2,0],"span":[7,2,19]},{"path":[4,0,2,0,5],"span":[7,2,8]},{"path":[4,0,2,0,1],"span":[7,9,14]},{"path":[4,0,2,0,3],"span":[7,17,18]},{"path":[4,0,2,1],"span":[8,2,21]},{"path":[4,0,2,1,5],"span":[8,2,8]},{"path":[4,0,2,1,1],"span":[8,9,16]},{"path":[4,0,2,1,3],"span":[8,19,20]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,40]},{"path":[4,1,2,0],"span":[12,2,21]},{"path":[4,1,2,0,5],"span":[12,2,8]},{"path":[4,1,2,0,1],"span":[12,9,16]},{"path":[4,1,2,0,3],"span":[12,19,20]},{"path":[4,2],"span":[15,0,18,1]},{"path":[4,2,1],"span":[15,8,49]},{"path":[4,2,2,0],"span":[16,2,20]},{"path":[4,2,2,0,5],"span":[16,2,8]},{"path":[4,2,2,0,1],"span":[16,9,15]},{"path":[4,2,2,0,3],"span":[16,18,19]},{"path":[4,2,2,1],"span":[17,2,22]},{"path":[4,2,2,1,5],"span":[17,2,8]},{"path":[4,2,2,1,1],"span":[17,9,17]},{"path":[4,2,2,1,3],"span":[17,20,21]},{"path":[4,3],"span":[20,0,22,1]},{"path":[4,3,1],"span":[20,8,50]},{"path":[4,3,2,0],"span":[21,2,21]},{"path":[4,3,2,0,5],"span":[21,2,8]},{"path":[4,3,2,0,1],"span":[21,9,16]},{"path":[4,3,2,0,3],"span":[21,19,20]},{"path":[4,4],"span":[24,0,27,1]},{"path":[4,4,1],"span":[24,8,34]},{"path":[4,4,2,0],"span":[25,2,23]},{"path":[4,4,2,0,5],"span":[25,2,8]},{"path":[4,4,2,0,1],"span":[25,9,18]},{"path":[4,4,2,0,3],"span":[25,21,22]},{"path":[4,4,2,1],"span":[26,2,22]},{"path":[4,4,2,1,5],"span":[26,2,8]},{"path":[4,4,2,1,1],"span":[26,9,17]},{"path":[4,4,2,1,3],"span":[26,20,21]},{"path":[4,5],"span":[29,0,31,1]},{"path":[4,5,1],"span":[29,8,35]},{"path":[4,5,2,0],"span":[30,2,21]},{"path":[4,5,2,0,5],"span":[30,2,8]},{"path":[4,5,2,0,1],"span":[30,9,16]},{"path":[4,5,2,0,3],"span":[30,19,20]},{"path":[4,6],"span":[33,0,37,1]},{"path":[4,6,1],"span":[33,8,38]},{"path":[4,6,2,0],"span":[34,2,21]},{"path":[4,6,2,0,5],"span":[34,2,8]},{"path":[4,6,2,0,1],"span":[34,9,16]},{"path":[4,6,2,0,3],"span":[34,19,20]},{"path":[4,6,2,1],"span":[35,2,23]},{"path":[4,6,2,1,5],"span":[35,2,8]},{"path":[4,6,2,1,1],"span":[35,9,18]},{"path":[4,6,2,1,3],"span":[35,21,22]},{"path":[4,6,2,2],"span":[36,2,22]},{"path":[4,6,2,2,5],"span":[36,2,8]},{"path":[4,6,2,2,1],"span":[36,9,17]},{"path":[4,6,2,2,3],"span":[36,20,21]},{"path":[4,7],"span":[39,0,41,1]},{"path":[4,7,1],"span":[39,8,39]},{"path":[4,7,2,0],"span":[40,2,21]},{"path":[4,7,2,0,5],"span":[40,2,8]},{"path":[4,7,2,0,1],"span":[40,9,16]},{"path":[4,7,2,0,3],"span":[40,19,20]},{"path":[6,0],"span":[43,0,48,1]},{"path":[6,0,1],"span":[43,8,32]},{"path":[6,0,2,0],"span":[44,2,110]},{"path":[6,0,2,0,1],"span":[44,6,30]},{"path":[6,0,2,0,2],"span":[44,32,63]},{"path":[6,0,2,0,3],"span":[44,74,106]},{"path":[6,0,2,1],"span":[45,2,140]},{"path":[6,0,2,1,1],"span":[45,6,40]},{"path":[6,0,2,1,2],"span":[45,42,83]},{"path":[6,0,2,1,3],"span":[45,94,136]},{"path":[6,0,2,2],"span":[46,2,95]},{"path":[6,0,2,2,1],"span":[46,6,25]},{"path":[6,0,2,2,2],"span":[46,27,53]},{"path":[6,0,2,2,3],"span":[46,64,91]},{"path":[6,0,2,3],"span":[47,2,107]},{"path":[6,0,2,3,1],"span":[47,6,29]},{"path":[6,0,2,3,2],"span":[47,31,61]},{"path":[6,0,2,3,3],"span":[47,72,103]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -11,6 +11,7 @@ interface IIntegrationsLimitCheckerService extends grpc.ServiceDefinition<grpc.U
|
|
|
11
11
|
exportStatusLimitChecker: IIntegrationsLimitCheckerService_IExportStatusLimitChecker;
|
|
12
12
|
reportFullExportStatusLimitChecker: IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker;
|
|
13
13
|
scanNowLimitChecker: IIntegrationsLimitCheckerService_IScanNowLimitChecker;
|
|
14
|
+
updateAssetLimitChecker: IIntegrationsLimitCheckerService_IUpdateAssetLimitChecker;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse> {
|
|
@@ -40,6 +41,15 @@ interface IIntegrationsLimitCheckerService_IScanNowLimitChecker extends grpc.Met
|
|
|
40
41
|
responseSerialize: grpc.serialize<limit_checker_api_pb.ScanNowLimitCheckerResponse>;
|
|
41
42
|
responseDeserialize: grpc.deserialize<limit_checker_api_pb.ScanNowLimitCheckerResponse>;
|
|
42
43
|
}
|
|
44
|
+
interface IIntegrationsLimitCheckerService_IUpdateAssetLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.UpdateAssetLimitCheckerRequest, limit_checker_api_pb.UpdateAssetLimitCheckerResponse> {
|
|
45
|
+
path: "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/UpdateAssetLimitChecker";
|
|
46
|
+
requestStream: false;
|
|
47
|
+
responseStream: false;
|
|
48
|
+
requestSerialize: grpc.serialize<limit_checker_api_pb.UpdateAssetLimitCheckerRequest>;
|
|
49
|
+
requestDeserialize: grpc.deserialize<limit_checker_api_pb.UpdateAssetLimitCheckerRequest>;
|
|
50
|
+
responseSerialize: grpc.serialize<limit_checker_api_pb.UpdateAssetLimitCheckerResponse>;
|
|
51
|
+
responseDeserialize: grpc.deserialize<limit_checker_api_pb.UpdateAssetLimitCheckerResponse>;
|
|
52
|
+
}
|
|
43
53
|
|
|
44
54
|
export const IntegrationsLimitCheckerService: IIntegrationsLimitCheckerService;
|
|
45
55
|
|
|
@@ -47,6 +57,7 @@ export interface IIntegrationsLimitCheckerServer extends grpc.UntypedServiceImpl
|
|
|
47
57
|
exportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
|
|
48
58
|
reportFullExportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
|
|
49
59
|
scanNowLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ScanNowLimitCheckerRequest, limit_checker_api_pb.ScanNowLimitCheckerResponse>;
|
|
60
|
+
updateAssetLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.UpdateAssetLimitCheckerRequest, limit_checker_api_pb.UpdateAssetLimitCheckerResponse>;
|
|
50
61
|
}
|
|
51
62
|
|
|
52
63
|
export interface IIntegrationsLimitCheckerClient {
|
|
@@ -59,6 +70,9 @@ export interface IIntegrationsLimitCheckerClient {
|
|
|
59
70
|
scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
60
71
|
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
72
|
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;
|
|
73
|
+
updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
74
|
+
updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
75
|
+
updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
62
76
|
}
|
|
63
77
|
|
|
64
78
|
export class IntegrationsLimitCheckerClient extends grpc.Client implements IIntegrationsLimitCheckerClient {
|
|
@@ -72,4 +86,7 @@ export class IntegrationsLimitCheckerClient extends grpc.Client implements IInte
|
|
|
72
86
|
public scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
73
87
|
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
88
|
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;
|
|
89
|
+
public updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
90
|
+
public updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
91
|
+
public updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
75
92
|
}
|
|
@@ -70,6 +70,28 @@ function deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerR
|
|
|
70
70
|
return limit_checker_api_pb.ScanNowLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
function serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest(arg) {
|
|
74
|
+
if (!(arg instanceof limit_checker_api_pb.UpdateAssetLimitCheckerRequest)) {
|
|
75
|
+
throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest');
|
|
76
|
+
}
|
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest(buffer_arg) {
|
|
81
|
+
return limit_checker_api_pb.UpdateAssetLimitCheckerRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse(arg) {
|
|
85
|
+
if (!(arg instanceof limit_checker_api_pb.UpdateAssetLimitCheckerResponse)) {
|
|
86
|
+
throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse');
|
|
87
|
+
}
|
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse(buffer_arg) {
|
|
92
|
+
return limit_checker_api_pb.UpdateAssetLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
|
+
}
|
|
94
|
+
|
|
73
95
|
|
|
74
96
|
var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService = {
|
|
75
97
|
exportStatusLimitChecker: {
|
|
@@ -105,6 +127,17 @@ var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService =
|
|
|
105
127
|
responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse,
|
|
106
128
|
responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse,
|
|
107
129
|
},
|
|
130
|
+
updateAssetLimitChecker: {
|
|
131
|
+
path: '/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/UpdateAssetLimitChecker',
|
|
132
|
+
requestStream: false,
|
|
133
|
+
responseStream: false,
|
|
134
|
+
requestType: limit_checker_api_pb.UpdateAssetLimitCheckerRequest,
|
|
135
|
+
responseType: limit_checker_api_pb.UpdateAssetLimitCheckerResponse,
|
|
136
|
+
requestSerialize: serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest,
|
|
137
|
+
requestDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest,
|
|
138
|
+
responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse,
|
|
139
|
+
responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse,
|
|
140
|
+
},
|
|
108
141
|
};
|
|
109
142
|
|
|
110
143
|
exports.IntegrationsLimitCheckerClient = grpc.makeGenericClientConstructor(IntegrationsLimitCheckerService);
|
|
@@ -134,3 +134,49 @@ export namespace ScanNowLimitCheckerResponse {
|
|
|
134
134
|
message: string,
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
export class UpdateAssetLimitCheckerRequest extends jspb.Message {
|
|
139
|
+
getSiteId(): string;
|
|
140
|
+
setSiteId(value: string): UpdateAssetLimitCheckerRequest;
|
|
141
|
+
getAssetKey(): string;
|
|
142
|
+
setAssetKey(value: string): UpdateAssetLimitCheckerRequest;
|
|
143
|
+
getTraceId(): string;
|
|
144
|
+
setTraceId(value: string): UpdateAssetLimitCheckerRequest;
|
|
145
|
+
|
|
146
|
+
serializeBinary(): Uint8Array;
|
|
147
|
+
toObject(includeInstance?: boolean): UpdateAssetLimitCheckerRequest.AsObject;
|
|
148
|
+
static toObject(includeInstance: boolean, msg: UpdateAssetLimitCheckerRequest): UpdateAssetLimitCheckerRequest.AsObject;
|
|
149
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
150
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
151
|
+
static serializeBinaryToWriter(message: UpdateAssetLimitCheckerRequest, writer: jspb.BinaryWriter): void;
|
|
152
|
+
static deserializeBinary(bytes: Uint8Array): UpdateAssetLimitCheckerRequest;
|
|
153
|
+
static deserializeBinaryFromReader(message: UpdateAssetLimitCheckerRequest, reader: jspb.BinaryReader): UpdateAssetLimitCheckerRequest;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export namespace UpdateAssetLimitCheckerRequest {
|
|
157
|
+
export type AsObject = {
|
|
158
|
+
siteId: string,
|
|
159
|
+
assetKey: string,
|
|
160
|
+
traceId: string,
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export class UpdateAssetLimitCheckerResponse extends jspb.Message {
|
|
165
|
+
getMessage(): string;
|
|
166
|
+
setMessage(value: string): UpdateAssetLimitCheckerResponse;
|
|
167
|
+
|
|
168
|
+
serializeBinary(): Uint8Array;
|
|
169
|
+
toObject(includeInstance?: boolean): UpdateAssetLimitCheckerResponse.AsObject;
|
|
170
|
+
static toObject(includeInstance: boolean, msg: UpdateAssetLimitCheckerResponse): UpdateAssetLimitCheckerResponse.AsObject;
|
|
171
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
172
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
173
|
+
static serializeBinaryToWriter(message: UpdateAssetLimitCheckerResponse, writer: jspb.BinaryWriter): void;
|
|
174
|
+
static deserializeBinary(bytes: Uint8Array): UpdateAssetLimitCheckerResponse;
|
|
175
|
+
static deserializeBinaryFromReader(message: UpdateAssetLimitCheckerResponse, reader: jspb.BinaryReader): UpdateAssetLimitCheckerResponse;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export namespace UpdateAssetLimitCheckerResponse {
|
|
179
|
+
export type AsObject = {
|
|
180
|
+
message: string,
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse', null, global);
|
|
@@ -21,6 +27,8 @@ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExport
|
|
|
21
27
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse', null, global);
|
|
22
28
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest', null, global);
|
|
23
29
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest', null, global);
|
|
31
|
+
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse', null, global);
|
|
24
32
|
/**
|
|
25
33
|
* Generated by JsPbCodeGenerator.
|
|
26
34
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -147,6 +155,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
147
155
|
*/
|
|
148
156
|
proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse';
|
|
149
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* Generated by JsPbCodeGenerator.
|
|
160
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
161
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
162
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
163
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
164
|
+
* valid.
|
|
165
|
+
* @extends {jspb.Message}
|
|
166
|
+
* @constructor
|
|
167
|
+
*/
|
|
168
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest = function(opt_data) {
|
|
169
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
170
|
+
};
|
|
171
|
+
goog.inherits(proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest, jspb.Message);
|
|
172
|
+
if (goog.DEBUG && !COMPILED) {
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
* @override
|
|
176
|
+
*/
|
|
177
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.displayName = 'proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest';
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Generated by JsPbCodeGenerator.
|
|
181
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
182
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
183
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
184
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
185
|
+
* valid.
|
|
186
|
+
* @extends {jspb.Message}
|
|
187
|
+
* @constructor
|
|
188
|
+
*/
|
|
189
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse = function(opt_data) {
|
|
190
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
191
|
+
};
|
|
192
|
+
goog.inherits(proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse, jspb.Message);
|
|
193
|
+
if (goog.DEBUG && !COMPILED) {
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* @override
|
|
197
|
+
*/
|
|
198
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse';
|
|
199
|
+
}
|
|
150
200
|
|
|
151
201
|
|
|
152
202
|
|
|
@@ -1017,4 +1067,324 @@ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.prototy
|
|
|
1017
1067
|
};
|
|
1018
1068
|
|
|
1019
1069
|
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1074
|
+
/**
|
|
1075
|
+
* Creates an object representation of this proto.
|
|
1076
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1077
|
+
* Optional fields that are not set will be set to undefined.
|
|
1078
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1079
|
+
* For the list of reserved names please see:
|
|
1080
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1081
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1082
|
+
* JSPB instance for transitional soy proto support:
|
|
1083
|
+
* http://goto/soy-param-migration
|
|
1084
|
+
* @return {!Object}
|
|
1085
|
+
*/
|
|
1086
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1087
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.toObject(opt_includeInstance, this);
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Static version of the {@see toObject} method.
|
|
1093
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1094
|
+
* the JSPB instance for transitional soy proto support:
|
|
1095
|
+
* http://goto/soy-param-migration
|
|
1096
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} msg The msg instance to transform.
|
|
1097
|
+
* @return {!Object}
|
|
1098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1099
|
+
*/
|
|
1100
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.toObject = function(includeInstance, msg) {
|
|
1101
|
+
var f, obj = {
|
|
1102
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1103
|
+
assetKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1104
|
+
traceId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
if (includeInstance) {
|
|
1108
|
+
obj.$jspbMessageInstance = msg;
|
|
1109
|
+
}
|
|
1110
|
+
return obj;
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1117
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1118
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest}
|
|
1119
|
+
*/
|
|
1120
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.deserializeBinary = function(bytes) {
|
|
1121
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1122
|
+
var msg = new proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest;
|
|
1123
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.deserializeBinaryFromReader(msg, reader);
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1129
|
+
* given reader into the given message object.
|
|
1130
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} msg The message object to deserialize into.
|
|
1131
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1132
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest}
|
|
1133
|
+
*/
|
|
1134
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1135
|
+
while (reader.nextField()) {
|
|
1136
|
+
if (reader.isEndGroup()) {
|
|
1137
|
+
break;
|
|
1138
|
+
}
|
|
1139
|
+
var field = reader.getFieldNumber();
|
|
1140
|
+
switch (field) {
|
|
1141
|
+
case 1:
|
|
1142
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1143
|
+
msg.setSiteId(value);
|
|
1144
|
+
break;
|
|
1145
|
+
case 2:
|
|
1146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1147
|
+
msg.setAssetKey(value);
|
|
1148
|
+
break;
|
|
1149
|
+
case 3:
|
|
1150
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1151
|
+
msg.setTraceId(value);
|
|
1152
|
+
break;
|
|
1153
|
+
default:
|
|
1154
|
+
reader.skipField();
|
|
1155
|
+
break;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
return msg;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1164
|
+
* @return {!Uint8Array}
|
|
1165
|
+
*/
|
|
1166
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.serializeBinary = function() {
|
|
1167
|
+
var writer = new jspb.BinaryWriter();
|
|
1168
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.serializeBinaryToWriter(this, writer);
|
|
1169
|
+
return writer.getResultBuffer();
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1175
|
+
* format), writing to the given BinaryWriter.
|
|
1176
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} message
|
|
1177
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1178
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1179
|
+
*/
|
|
1180
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1181
|
+
var f = undefined;
|
|
1182
|
+
f = message.getSiteId();
|
|
1183
|
+
if (f.length > 0) {
|
|
1184
|
+
writer.writeString(
|
|
1185
|
+
1,
|
|
1186
|
+
f
|
|
1187
|
+
);
|
|
1188
|
+
}
|
|
1189
|
+
f = message.getAssetKey();
|
|
1190
|
+
if (f.length > 0) {
|
|
1191
|
+
writer.writeString(
|
|
1192
|
+
2,
|
|
1193
|
+
f
|
|
1194
|
+
);
|
|
1195
|
+
}
|
|
1196
|
+
f = message.getTraceId();
|
|
1197
|
+
if (f.length > 0) {
|
|
1198
|
+
writer.writeString(
|
|
1199
|
+
3,
|
|
1200
|
+
f
|
|
1201
|
+
);
|
|
1202
|
+
}
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* optional string site_id = 1;
|
|
1208
|
+
* @return {string}
|
|
1209
|
+
*/
|
|
1210
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.getSiteId = function() {
|
|
1211
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* @param {string} value
|
|
1217
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} returns this
|
|
1218
|
+
*/
|
|
1219
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.setSiteId = function(value) {
|
|
1220
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* optional string asset_key = 2;
|
|
1226
|
+
* @return {string}
|
|
1227
|
+
*/
|
|
1228
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.getAssetKey = function() {
|
|
1229
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* @param {string} value
|
|
1235
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} returns this
|
|
1236
|
+
*/
|
|
1237
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.setAssetKey = function(value) {
|
|
1238
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* optional string trace_id = 3;
|
|
1244
|
+
* @return {string}
|
|
1245
|
+
*/
|
|
1246
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.getTraceId = function() {
|
|
1247
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* @param {string} value
|
|
1253
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} returns this
|
|
1254
|
+
*/
|
|
1255
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.setTraceId = function(value) {
|
|
1256
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1264
|
+
/**
|
|
1265
|
+
* Creates an object representation of this proto.
|
|
1266
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1267
|
+
* Optional fields that are not set will be set to undefined.
|
|
1268
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1269
|
+
* For the list of reserved names please see:
|
|
1270
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1271
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1272
|
+
* JSPB instance for transitional soy proto support:
|
|
1273
|
+
* http://goto/soy-param-migration
|
|
1274
|
+
* @return {!Object}
|
|
1275
|
+
*/
|
|
1276
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1277
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.toObject(opt_includeInstance, this);
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* Static version of the {@see toObject} method.
|
|
1283
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1284
|
+
* the JSPB instance for transitional soy proto support:
|
|
1285
|
+
* http://goto/soy-param-migration
|
|
1286
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} msg The msg instance to transform.
|
|
1287
|
+
* @return {!Object}
|
|
1288
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1289
|
+
*/
|
|
1290
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.toObject = function(includeInstance, msg) {
|
|
1291
|
+
var f, obj = {
|
|
1292
|
+
message: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
if (includeInstance) {
|
|
1296
|
+
obj.$jspbMessageInstance = msg;
|
|
1297
|
+
}
|
|
1298
|
+
return obj;
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1305
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1306
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse}
|
|
1307
|
+
*/
|
|
1308
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.deserializeBinary = function(bytes) {
|
|
1309
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1310
|
+
var msg = new proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse;
|
|
1311
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.deserializeBinaryFromReader(msg, reader);
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1317
|
+
* given reader into the given message object.
|
|
1318
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} msg The message object to deserialize into.
|
|
1319
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1320
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse}
|
|
1321
|
+
*/
|
|
1322
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1323
|
+
while (reader.nextField()) {
|
|
1324
|
+
if (reader.isEndGroup()) {
|
|
1325
|
+
break;
|
|
1326
|
+
}
|
|
1327
|
+
var field = reader.getFieldNumber();
|
|
1328
|
+
switch (field) {
|
|
1329
|
+
case 1:
|
|
1330
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1331
|
+
msg.setMessage(value);
|
|
1332
|
+
break;
|
|
1333
|
+
default:
|
|
1334
|
+
reader.skipField();
|
|
1335
|
+
break;
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
return msg;
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1344
|
+
* @return {!Uint8Array}
|
|
1345
|
+
*/
|
|
1346
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.serializeBinary = function() {
|
|
1347
|
+
var writer = new jspb.BinaryWriter();
|
|
1348
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.serializeBinaryToWriter(this, writer);
|
|
1349
|
+
return writer.getResultBuffer();
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1355
|
+
* format), writing to the given BinaryWriter.
|
|
1356
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} message
|
|
1357
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1358
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1359
|
+
*/
|
|
1360
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1361
|
+
var f = undefined;
|
|
1362
|
+
f = message.getMessage();
|
|
1363
|
+
if (f.length > 0) {
|
|
1364
|
+
writer.writeString(
|
|
1365
|
+
1,
|
|
1366
|
+
f
|
|
1367
|
+
);
|
|
1368
|
+
}
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* optional string message = 1;
|
|
1374
|
+
* @return {string}
|
|
1375
|
+
*/
|
|
1376
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.getMessage = function() {
|
|
1377
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* @param {string} value
|
|
1383
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} returns this
|
|
1384
|
+
*/
|
|
1385
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.setMessage = function(value) {
|
|
1386
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1387
|
+
};
|
|
1388
|
+
|
|
1389
|
+
|
|
1020
1390
|
goog.object.extend(exports, proto.lansweeper.integrationslimitchecker.v1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-go v1.
|
|
4
|
-
// protoc v3.
|
|
3
|
+
// protoc-gen-go v1.34.2
|
|
4
|
+
// protoc v3.19.1
|
|
5
5
|
// source: limit_checker_api.proto
|
|
6
6
|
|
|
7
7
|
package generated_go
|
|
@@ -326,6 +326,116 @@ func (x *ScanNowLimitCheckerResponse) GetMessage() string {
|
|
|
326
326
|
return ""
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
+
type UpdateAssetLimitCheckerRequest struct {
|
|
330
|
+
state protoimpl.MessageState
|
|
331
|
+
sizeCache protoimpl.SizeCache
|
|
332
|
+
unknownFields protoimpl.UnknownFields
|
|
333
|
+
|
|
334
|
+
SiteId string `protobuf:"bytes,1,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"`
|
|
335
|
+
AssetKey string `protobuf:"bytes,2,opt,name=asset_key,json=assetKey,proto3" json:"asset_key,omitempty"`
|
|
336
|
+
TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
func (x *UpdateAssetLimitCheckerRequest) Reset() {
|
|
340
|
+
*x = UpdateAssetLimitCheckerRequest{}
|
|
341
|
+
if protoimpl.UnsafeEnabled {
|
|
342
|
+
mi := &file_limit_checker_api_proto_msgTypes[6]
|
|
343
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
344
|
+
ms.StoreMessageInfo(mi)
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
func (x *UpdateAssetLimitCheckerRequest) String() string {
|
|
349
|
+
return protoimpl.X.MessageStringOf(x)
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
func (*UpdateAssetLimitCheckerRequest) ProtoMessage() {}
|
|
353
|
+
|
|
354
|
+
func (x *UpdateAssetLimitCheckerRequest) ProtoReflect() protoreflect.Message {
|
|
355
|
+
mi := &file_limit_checker_api_proto_msgTypes[6]
|
|
356
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
357
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
358
|
+
if ms.LoadMessageInfo() == nil {
|
|
359
|
+
ms.StoreMessageInfo(mi)
|
|
360
|
+
}
|
|
361
|
+
return ms
|
|
362
|
+
}
|
|
363
|
+
return mi.MessageOf(x)
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
// Deprecated: Use UpdateAssetLimitCheckerRequest.ProtoReflect.Descriptor instead.
|
|
367
|
+
func (*UpdateAssetLimitCheckerRequest) Descriptor() ([]byte, []int) {
|
|
368
|
+
return file_limit_checker_api_proto_rawDescGZIP(), []int{6}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
func (x *UpdateAssetLimitCheckerRequest) GetSiteId() string {
|
|
372
|
+
if x != nil {
|
|
373
|
+
return x.SiteId
|
|
374
|
+
}
|
|
375
|
+
return ""
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
func (x *UpdateAssetLimitCheckerRequest) GetAssetKey() string {
|
|
379
|
+
if x != nil {
|
|
380
|
+
return x.AssetKey
|
|
381
|
+
}
|
|
382
|
+
return ""
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
func (x *UpdateAssetLimitCheckerRequest) GetTraceId() string {
|
|
386
|
+
if x != nil {
|
|
387
|
+
return x.TraceId
|
|
388
|
+
}
|
|
389
|
+
return ""
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
type UpdateAssetLimitCheckerResponse struct {
|
|
393
|
+
state protoimpl.MessageState
|
|
394
|
+
sizeCache protoimpl.SizeCache
|
|
395
|
+
unknownFields protoimpl.UnknownFields
|
|
396
|
+
|
|
397
|
+
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
func (x *UpdateAssetLimitCheckerResponse) Reset() {
|
|
401
|
+
*x = UpdateAssetLimitCheckerResponse{}
|
|
402
|
+
if protoimpl.UnsafeEnabled {
|
|
403
|
+
mi := &file_limit_checker_api_proto_msgTypes[7]
|
|
404
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
405
|
+
ms.StoreMessageInfo(mi)
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
func (x *UpdateAssetLimitCheckerResponse) String() string {
|
|
410
|
+
return protoimpl.X.MessageStringOf(x)
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
func (*UpdateAssetLimitCheckerResponse) ProtoMessage() {}
|
|
414
|
+
|
|
415
|
+
func (x *UpdateAssetLimitCheckerResponse) ProtoReflect() protoreflect.Message {
|
|
416
|
+
mi := &file_limit_checker_api_proto_msgTypes[7]
|
|
417
|
+
if protoimpl.UnsafeEnabled && x != nil {
|
|
418
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
419
|
+
if ms.LoadMessageInfo() == nil {
|
|
420
|
+
ms.StoreMessageInfo(mi)
|
|
421
|
+
}
|
|
422
|
+
return ms
|
|
423
|
+
}
|
|
424
|
+
return mi.MessageOf(x)
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
// Deprecated: Use UpdateAssetLimitCheckerResponse.ProtoReflect.Descriptor instead.
|
|
428
|
+
func (*UpdateAssetLimitCheckerResponse) Descriptor() ([]byte, []int) {
|
|
429
|
+
return file_limit_checker_api_proto_rawDescGZIP(), []int{7}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
func (x *UpdateAssetLimitCheckerResponse) GetMessage() string {
|
|
433
|
+
if x != nil {
|
|
434
|
+
return x.Message
|
|
435
|
+
}
|
|
436
|
+
return ""
|
|
437
|
+
}
|
|
438
|
+
|
|
329
439
|
var File_limit_checker_api_proto protoreflect.FileDescriptor
|
|
330
440
|
|
|
331
441
|
var file_limit_checker_api_proto_rawDesc = []byte{
|
|
@@ -361,7 +471,18 @@ var file_limit_checker_api_proto_rawDesc = []byte{
|
|
|
361
471
|
0x37, 0x0a, 0x1b, 0x53, 0x63, 0x61, 0x6e, 0x4e, 0x6f, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43,
|
|
362
472
|
0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
|
|
363
473
|
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
364
|
-
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
474
|
+
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x71, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61,
|
|
475
|
+
0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63,
|
|
476
|
+
0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x69,
|
|
477
|
+
0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x74,
|
|
478
|
+
0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79,
|
|
479
|
+
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x73, 0x73, 0x65, 0x74, 0x4b, 0x65, 0x79,
|
|
480
|
+
0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
481
|
+
0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x1f, 0x55,
|
|
482
|
+
0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43,
|
|
483
|
+
0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
|
|
484
|
+
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
485
|
+
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xee, 0x05, 0x0a, 0x18, 0x49, 0x6e, 0x74,
|
|
365
486
|
0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68,
|
|
366
487
|
0x65, 0x63, 0x6b, 0x65, 0x72, 0x12, 0xaf, 0x01, 0x0a, 0x18, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74,
|
|
367
488
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
@@ -397,9 +518,20 @@ var file_limit_checker_api_proto_rawDesc = []byte{
|
|
|
397
518
|
0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d,
|
|
398
519
|
0x69, 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x61,
|
|
399
520
|
0x6e, 0x4e, 0x6f, 0x77, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72,
|
|
400
|
-
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
|
401
|
-
|
|
402
|
-
|
|
521
|
+
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0xac, 0x01, 0x0a, 0x17, 0x55,
|
|
522
|
+
0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43,
|
|
523
|
+
0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x46, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
|
|
524
|
+
0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
525
|
+
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
|
|
526
|
+
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74,
|
|
527
|
+
0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x47,
|
|
528
|
+
0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74, 0x65,
|
|
529
|
+
0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x63, 0x68, 0x65,
|
|
530
|
+
0x63, 0x6b, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x73,
|
|
531
|
+
0x73, 0x65, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x52,
|
|
532
|
+
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67,
|
|
533
|
+
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
534
|
+
0x74, 0x6f, 0x33,
|
|
403
535
|
}
|
|
404
536
|
|
|
405
537
|
var (
|
|
@@ -414,24 +546,28 @@ func file_limit_checker_api_proto_rawDescGZIP() []byte {
|
|
|
414
546
|
return file_limit_checker_api_proto_rawDescData
|
|
415
547
|
}
|
|
416
548
|
|
|
417
|
-
var file_limit_checker_api_proto_msgTypes = make([]protoimpl.MessageInfo,
|
|
418
|
-
var file_limit_checker_api_proto_goTypes = []
|
|
549
|
+
var file_limit_checker_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
|
550
|
+
var file_limit_checker_api_proto_goTypes = []any{
|
|
419
551
|
(*ExportStatusLimitCheckerRequest)(nil), // 0: lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest
|
|
420
552
|
(*ExportStatusLimitCheckerResponse)(nil), // 1: lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse
|
|
421
553
|
(*ReportFullExportStatusLimitCheckerRequest)(nil), // 2: lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest
|
|
422
554
|
(*ReportFullExportStatusLimitCheckerResponse)(nil), // 3: lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse
|
|
423
555
|
(*ScanNowLimitCheckerRequest)(nil), // 4: lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest
|
|
424
556
|
(*ScanNowLimitCheckerResponse)(nil), // 5: lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse
|
|
557
|
+
(*UpdateAssetLimitCheckerRequest)(nil), // 6: lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest
|
|
558
|
+
(*UpdateAssetLimitCheckerResponse)(nil), // 7: lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse
|
|
425
559
|
}
|
|
426
560
|
var file_limit_checker_api_proto_depIdxs = []int32{
|
|
427
561
|
0, // 0: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ExportStatusLimitChecker:input_type -> lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest
|
|
428
562
|
2, // 1: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ReportFullExportStatusLimitChecker:input_type -> lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest
|
|
429
563
|
4, // 2: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ScanNowLimitChecker:input_type -> lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
564
|
+
6, // 3: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.UpdateAssetLimitChecker:input_type -> lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest
|
|
565
|
+
1, // 4: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ExportStatusLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse
|
|
566
|
+
3, // 5: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ReportFullExportStatusLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse
|
|
567
|
+
5, // 6: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ScanNowLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse
|
|
568
|
+
7, // 7: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.UpdateAssetLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse
|
|
569
|
+
4, // [4:8] is the sub-list for method output_type
|
|
570
|
+
0, // [0:4] is the sub-list for method input_type
|
|
435
571
|
0, // [0:0] is the sub-list for extension type_name
|
|
436
572
|
0, // [0:0] is the sub-list for extension extendee
|
|
437
573
|
0, // [0:0] is the sub-list for field type_name
|
|
@@ -443,7 +579,7 @@ func file_limit_checker_api_proto_init() {
|
|
|
443
579
|
return
|
|
444
580
|
}
|
|
445
581
|
if !protoimpl.UnsafeEnabled {
|
|
446
|
-
file_limit_checker_api_proto_msgTypes[0].Exporter = func(v
|
|
582
|
+
file_limit_checker_api_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
447
583
|
switch v := v.(*ExportStatusLimitCheckerRequest); i {
|
|
448
584
|
case 0:
|
|
449
585
|
return &v.state
|
|
@@ -455,7 +591,7 @@ func file_limit_checker_api_proto_init() {
|
|
|
455
591
|
return nil
|
|
456
592
|
}
|
|
457
593
|
}
|
|
458
|
-
file_limit_checker_api_proto_msgTypes[1].Exporter = func(v
|
|
594
|
+
file_limit_checker_api_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
459
595
|
switch v := v.(*ExportStatusLimitCheckerResponse); i {
|
|
460
596
|
case 0:
|
|
461
597
|
return &v.state
|
|
@@ -467,7 +603,7 @@ func file_limit_checker_api_proto_init() {
|
|
|
467
603
|
return nil
|
|
468
604
|
}
|
|
469
605
|
}
|
|
470
|
-
file_limit_checker_api_proto_msgTypes[2].Exporter = func(v
|
|
606
|
+
file_limit_checker_api_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
|
471
607
|
switch v := v.(*ReportFullExportStatusLimitCheckerRequest); i {
|
|
472
608
|
case 0:
|
|
473
609
|
return &v.state
|
|
@@ -479,7 +615,7 @@ func file_limit_checker_api_proto_init() {
|
|
|
479
615
|
return nil
|
|
480
616
|
}
|
|
481
617
|
}
|
|
482
|
-
file_limit_checker_api_proto_msgTypes[3].Exporter = func(v
|
|
618
|
+
file_limit_checker_api_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
|
483
619
|
switch v := v.(*ReportFullExportStatusLimitCheckerResponse); i {
|
|
484
620
|
case 0:
|
|
485
621
|
return &v.state
|
|
@@ -491,7 +627,7 @@ func file_limit_checker_api_proto_init() {
|
|
|
491
627
|
return nil
|
|
492
628
|
}
|
|
493
629
|
}
|
|
494
|
-
file_limit_checker_api_proto_msgTypes[4].Exporter = func(v
|
|
630
|
+
file_limit_checker_api_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
|
495
631
|
switch v := v.(*ScanNowLimitCheckerRequest); i {
|
|
496
632
|
case 0:
|
|
497
633
|
return &v.state
|
|
@@ -503,7 +639,7 @@ func file_limit_checker_api_proto_init() {
|
|
|
503
639
|
return nil
|
|
504
640
|
}
|
|
505
641
|
}
|
|
506
|
-
file_limit_checker_api_proto_msgTypes[5].Exporter = func(v
|
|
642
|
+
file_limit_checker_api_proto_msgTypes[5].Exporter = func(v any, i int) any {
|
|
507
643
|
switch v := v.(*ScanNowLimitCheckerResponse); i {
|
|
508
644
|
case 0:
|
|
509
645
|
return &v.state
|
|
@@ -515,6 +651,30 @@ func file_limit_checker_api_proto_init() {
|
|
|
515
651
|
return nil
|
|
516
652
|
}
|
|
517
653
|
}
|
|
654
|
+
file_limit_checker_api_proto_msgTypes[6].Exporter = func(v any, i int) any {
|
|
655
|
+
switch v := v.(*UpdateAssetLimitCheckerRequest); i {
|
|
656
|
+
case 0:
|
|
657
|
+
return &v.state
|
|
658
|
+
case 1:
|
|
659
|
+
return &v.sizeCache
|
|
660
|
+
case 2:
|
|
661
|
+
return &v.unknownFields
|
|
662
|
+
default:
|
|
663
|
+
return nil
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
file_limit_checker_api_proto_msgTypes[7].Exporter = func(v any, i int) any {
|
|
667
|
+
switch v := v.(*UpdateAssetLimitCheckerResponse); i {
|
|
668
|
+
case 0:
|
|
669
|
+
return &v.state
|
|
670
|
+
case 1:
|
|
671
|
+
return &v.sizeCache
|
|
672
|
+
case 2:
|
|
673
|
+
return &v.unknownFields
|
|
674
|
+
default:
|
|
675
|
+
return nil
|
|
676
|
+
}
|
|
677
|
+
}
|
|
518
678
|
}
|
|
519
679
|
type x struct{}
|
|
520
680
|
out := protoimpl.TypeBuilder{
|
|
@@ -522,7 +682,7 @@ func file_limit_checker_api_proto_init() {
|
|
|
522
682
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
523
683
|
RawDescriptor: file_limit_checker_api_proto_rawDesc,
|
|
524
684
|
NumEnums: 0,
|
|
525
|
-
NumMessages:
|
|
685
|
+
NumMessages: 8,
|
|
526
686
|
NumExtensions: 0,
|
|
527
687
|
NumServices: 1,
|
|
528
688
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// - protoc-gen-go-grpc v1.
|
|
4
|
-
// - protoc v3.
|
|
3
|
+
// - protoc-gen-go-grpc v1.4.0
|
|
4
|
+
// - protoc v3.19.1
|
|
5
5
|
// source: limit_checker_api.proto
|
|
6
6
|
|
|
7
7
|
package generated_go
|
|
@@ -15,13 +15,14 @@ import (
|
|
|
15
15
|
|
|
16
16
|
// This is a compile-time assertion to ensure that this generated file
|
|
17
17
|
// is compatible with the grpc package it is being compiled against.
|
|
18
|
-
// Requires gRPC-Go v1.
|
|
19
|
-
const _ = grpc.
|
|
18
|
+
// Requires gRPC-Go v1.62.0 or later.
|
|
19
|
+
const _ = grpc.SupportPackageIsVersion8
|
|
20
20
|
|
|
21
21
|
const (
|
|
22
22
|
IntegrationsLimitChecker_ExportStatusLimitChecker_FullMethodName = "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ExportStatusLimitChecker"
|
|
23
23
|
IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_FullMethodName = "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ReportFullExportStatusLimitChecker"
|
|
24
24
|
IntegrationsLimitChecker_ScanNowLimitChecker_FullMethodName = "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ScanNowLimitChecker"
|
|
25
|
+
IntegrationsLimitChecker_UpdateAssetLimitChecker_FullMethodName = "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/UpdateAssetLimitChecker"
|
|
25
26
|
)
|
|
26
27
|
|
|
27
28
|
// IntegrationsLimitCheckerClient is the client API for IntegrationsLimitChecker service.
|
|
@@ -31,6 +32,7 @@ type IntegrationsLimitCheckerClient interface {
|
|
|
31
32
|
ExportStatusLimitChecker(ctx context.Context, in *ExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ExportStatusLimitCheckerResponse, error)
|
|
32
33
|
ReportFullExportStatusLimitChecker(ctx context.Context, in *ReportFullExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ReportFullExportStatusLimitCheckerResponse, error)
|
|
33
34
|
ScanNowLimitChecker(ctx context.Context, in *ScanNowLimitCheckerRequest, opts ...grpc.CallOption) (*ScanNowLimitCheckerResponse, error)
|
|
35
|
+
UpdateAssetLimitChecker(ctx context.Context, in *UpdateAssetLimitCheckerRequest, opts ...grpc.CallOption) (*UpdateAssetLimitCheckerResponse, error)
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
type integrationsLimitCheckerClient struct {
|
|
@@ -42,8 +44,9 @@ func NewIntegrationsLimitCheckerClient(cc grpc.ClientConnInterface) Integrations
|
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
func (c *integrationsLimitCheckerClient) ExportStatusLimitChecker(ctx context.Context, in *ExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ExportStatusLimitCheckerResponse, error) {
|
|
47
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
45
48
|
out := new(ExportStatusLimitCheckerResponse)
|
|
46
|
-
err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ExportStatusLimitChecker_FullMethodName, in, out,
|
|
49
|
+
err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ExportStatusLimitChecker_FullMethodName, in, out, cOpts...)
|
|
47
50
|
if err != nil {
|
|
48
51
|
return nil, err
|
|
49
52
|
}
|
|
@@ -51,8 +54,9 @@ func (c *integrationsLimitCheckerClient) ExportStatusLimitChecker(ctx context.Co
|
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
func (c *integrationsLimitCheckerClient) ReportFullExportStatusLimitChecker(ctx context.Context, in *ReportFullExportStatusLimitCheckerRequest, opts ...grpc.CallOption) (*ReportFullExportStatusLimitCheckerResponse, error) {
|
|
57
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
54
58
|
out := new(ReportFullExportStatusLimitCheckerResponse)
|
|
55
|
-
err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_FullMethodName, in, out,
|
|
59
|
+
err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ReportFullExportStatusLimitChecker_FullMethodName, in, out, cOpts...)
|
|
56
60
|
if err != nil {
|
|
57
61
|
return nil, err
|
|
58
62
|
}
|
|
@@ -60,8 +64,19 @@ func (c *integrationsLimitCheckerClient) ReportFullExportStatusLimitChecker(ctx
|
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
func (c *integrationsLimitCheckerClient) ScanNowLimitChecker(ctx context.Context, in *ScanNowLimitCheckerRequest, opts ...grpc.CallOption) (*ScanNowLimitCheckerResponse, error) {
|
|
67
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
63
68
|
out := new(ScanNowLimitCheckerResponse)
|
|
64
|
-
err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ScanNowLimitChecker_FullMethodName, in, out,
|
|
69
|
+
err := c.cc.Invoke(ctx, IntegrationsLimitChecker_ScanNowLimitChecker_FullMethodName, in, out, cOpts...)
|
|
70
|
+
if err != nil {
|
|
71
|
+
return nil, err
|
|
72
|
+
}
|
|
73
|
+
return out, nil
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
func (c *integrationsLimitCheckerClient) UpdateAssetLimitChecker(ctx context.Context, in *UpdateAssetLimitCheckerRequest, opts ...grpc.CallOption) (*UpdateAssetLimitCheckerResponse, error) {
|
|
77
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
78
|
+
out := new(UpdateAssetLimitCheckerResponse)
|
|
79
|
+
err := c.cc.Invoke(ctx, IntegrationsLimitChecker_UpdateAssetLimitChecker_FullMethodName, in, out, cOpts...)
|
|
65
80
|
if err != nil {
|
|
66
81
|
return nil, err
|
|
67
82
|
}
|
|
@@ -75,6 +90,7 @@ type IntegrationsLimitCheckerServer interface {
|
|
|
75
90
|
ExportStatusLimitChecker(context.Context, *ExportStatusLimitCheckerRequest) (*ExportStatusLimitCheckerResponse, error)
|
|
76
91
|
ReportFullExportStatusLimitChecker(context.Context, *ReportFullExportStatusLimitCheckerRequest) (*ReportFullExportStatusLimitCheckerResponse, error)
|
|
77
92
|
ScanNowLimitChecker(context.Context, *ScanNowLimitCheckerRequest) (*ScanNowLimitCheckerResponse, error)
|
|
93
|
+
UpdateAssetLimitChecker(context.Context, *UpdateAssetLimitCheckerRequest) (*UpdateAssetLimitCheckerResponse, error)
|
|
78
94
|
mustEmbedUnimplementedIntegrationsLimitCheckerServer()
|
|
79
95
|
}
|
|
80
96
|
|
|
@@ -91,6 +107,9 @@ func (UnimplementedIntegrationsLimitCheckerServer) ReportFullExportStatusLimitCh
|
|
|
91
107
|
func (UnimplementedIntegrationsLimitCheckerServer) ScanNowLimitChecker(context.Context, *ScanNowLimitCheckerRequest) (*ScanNowLimitCheckerResponse, error) {
|
|
92
108
|
return nil, status.Errorf(codes.Unimplemented, "method ScanNowLimitChecker not implemented")
|
|
93
109
|
}
|
|
110
|
+
func (UnimplementedIntegrationsLimitCheckerServer) UpdateAssetLimitChecker(context.Context, *UpdateAssetLimitCheckerRequest) (*UpdateAssetLimitCheckerResponse, error) {
|
|
111
|
+
return nil, status.Errorf(codes.Unimplemented, "method UpdateAssetLimitChecker not implemented")
|
|
112
|
+
}
|
|
94
113
|
func (UnimplementedIntegrationsLimitCheckerServer) mustEmbedUnimplementedIntegrationsLimitCheckerServer() {
|
|
95
114
|
}
|
|
96
115
|
|
|
@@ -159,6 +178,24 @@ func _IntegrationsLimitChecker_ScanNowLimitChecker_Handler(srv interface{}, ctx
|
|
|
159
178
|
return interceptor(ctx, in, info, handler)
|
|
160
179
|
}
|
|
161
180
|
|
|
181
|
+
func _IntegrationsLimitChecker_UpdateAssetLimitChecker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
182
|
+
in := new(UpdateAssetLimitCheckerRequest)
|
|
183
|
+
if err := dec(in); err != nil {
|
|
184
|
+
return nil, err
|
|
185
|
+
}
|
|
186
|
+
if interceptor == nil {
|
|
187
|
+
return srv.(IntegrationsLimitCheckerServer).UpdateAssetLimitChecker(ctx, in)
|
|
188
|
+
}
|
|
189
|
+
info := &grpc.UnaryServerInfo{
|
|
190
|
+
Server: srv,
|
|
191
|
+
FullMethod: IntegrationsLimitChecker_UpdateAssetLimitChecker_FullMethodName,
|
|
192
|
+
}
|
|
193
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
194
|
+
return srv.(IntegrationsLimitCheckerServer).UpdateAssetLimitChecker(ctx, req.(*UpdateAssetLimitCheckerRequest))
|
|
195
|
+
}
|
|
196
|
+
return interceptor(ctx, in, info, handler)
|
|
197
|
+
}
|
|
198
|
+
|
|
162
199
|
// IntegrationsLimitChecker_ServiceDesc is the grpc.ServiceDesc for IntegrationsLimitChecker service.
|
|
163
200
|
// It's only intended for direct use with grpc.RegisterService,
|
|
164
201
|
// and not to be introspected or modified (even as a copy)
|
|
@@ -178,6 +215,10 @@ var IntegrationsLimitChecker_ServiceDesc = grpc.ServiceDesc{
|
|
|
178
215
|
MethodName: "ScanNowLimitChecker",
|
|
179
216
|
Handler: _IntegrationsLimitChecker_ScanNowLimitChecker_Handler,
|
|
180
217
|
},
|
|
218
|
+
{
|
|
219
|
+
MethodName: "UpdateAssetLimitChecker",
|
|
220
|
+
Handler: _IntegrationsLimitChecker_UpdateAssetLimitChecker_Handler,
|
|
221
|
+
},
|
|
181
222
|
},
|
|
182
223
|
Streams: []grpc.StreamDesc{},
|
|
183
224
|
Metadata: "limit_checker_api.proto",
|
package/go.mod
CHANGED
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.12",
|
|
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": "54606018a9f3383fa2d298cdc3ead3652f2f6c7d"
|
|
13
13
|
}
|
|
@@ -31,8 +31,19 @@ message ScanNowLimitCheckerResponse {
|
|
|
31
31
|
string message = 1;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
message UpdateAssetLimitCheckerRequest {
|
|
35
|
+
string site_id = 1;
|
|
36
|
+
string asset_key = 2;
|
|
37
|
+
string trace_id = 3;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message UpdateAssetLimitCheckerResponse {
|
|
41
|
+
string message = 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
34
44
|
service IntegrationsLimitChecker {
|
|
35
45
|
rpc ExportStatusLimitChecker (ExportStatusLimitCheckerRequest) returns (ExportStatusLimitCheckerResponse) {}
|
|
36
46
|
rpc ReportFullExportStatusLimitChecker (ReportFullExportStatusLimitCheckerRequest) returns (ReportFullExportStatusLimitCheckerResponse) {}
|
|
37
47
|
rpc ScanNowLimitChecker (ScanNowLimitCheckerRequest) returns (ScanNowLimitCheckerResponse) {}
|
|
48
|
+
rpc UpdateAssetLimitChecker (UpdateAssetLimitCheckerRequest) returns (UpdateAssetLimitCheckerResponse) {}
|
|
38
49
|
}
|