@lansweeper/integrations-limit-checker-grpc 0.2.10 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,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.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)
7
+
8
+ **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
9
+
10
+
11
+
12
+
13
+
6
14
  ## [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
15
 
8
16
  **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
@@ -1 +1 @@
1
- {"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"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,37,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":[6,0],"span":[33,0,37,1]},{"path":[6,0,1],"span":[33,8,32]},{"path":[6,0,2,0],"span":[34,2,110]},{"path":[6,0,2,0,1],"span":[34,6,30]},{"path":[6,0,2,0,2],"span":[34,32,63]},{"path":[6,0,2,0,3],"span":[34,74,106]},{"path":[6,0,2,1],"span":[35,2,140]},{"path":[6,0,2,1,1],"span":[35,6,40]},{"path":[6,0,2,1,2],"span":[35,42,83]},{"path":[6,0,2,1,3],"span":[35,94,136]},{"path":[6,0,2,2],"span":[36,2,95]},{"path":[6,0,2,2,1],"span":[36,6,25]},{"path":[6,0,2,2,2],"span":[36,27,53]},{"path":[6,0,2,2,3],"span":[36,64,91]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ReportFullExportStatusLimitCheckerRequest","field":[{"name":"app_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ReportFullExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ScanNowLimitCheckerRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"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 = Function('return this')();
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.31.0
4
- // protoc v3.15.6
3
+ // protoc-gen-go v1.32.0
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, 0x32, 0xbf, 0x04, 0x0a, 0x18, 0x49, 0x6e, 0x74,
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, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f,
401
- 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72,
402
- 0x6f, 0x74, 0x6f, 0x33,
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,7 +546,7 @@ 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, 6)
549
+ var file_limit_checker_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
418
550
  var file_limit_checker_api_proto_goTypes = []interface{}{
419
551
  (*ExportStatusLimitCheckerRequest)(nil), // 0: lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest
420
552
  (*ExportStatusLimitCheckerResponse)(nil), // 1: lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse
@@ -422,16 +554,20 @@ var file_limit_checker_api_proto_goTypes = []interface{}{
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
- 1, // 3: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ExportStatusLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse
431
- 3, // 4: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ReportFullExportStatusLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse
432
- 5, // 5: lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker.ScanNowLimitChecker:output_type -> lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse
433
- 3, // [3:6] is the sub-list for method output_type
434
- 0, // [0:3] is the sub-list for method input_type
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
@@ -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 interface{}, i int) interface{} {
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 interface{}, i int) interface{} {
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: 6,
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
3
  // - protoc-gen-go-grpc v1.3.0
4
- // - protoc v3.15.6
4
+ // - protoc v3.19.1
5
5
  // source: limit_checker_api.proto
6
6
 
7
7
  package generated_go
@@ -22,6 +22,7 @@ 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 {
@@ -68,6 +70,15 @@ func (c *integrationsLimitCheckerClient) ScanNowLimitChecker(ctx context.Context
68
70
  return out, nil
69
71
  }
70
72
 
73
+ func (c *integrationsLimitCheckerClient) UpdateAssetLimitChecker(ctx context.Context, in *UpdateAssetLimitCheckerRequest, opts ...grpc.CallOption) (*UpdateAssetLimitCheckerResponse, error) {
74
+ out := new(UpdateAssetLimitCheckerResponse)
75
+ err := c.cc.Invoke(ctx, IntegrationsLimitChecker_UpdateAssetLimitChecker_FullMethodName, in, out, opts...)
76
+ if err != nil {
77
+ return nil, err
78
+ }
79
+ return out, nil
80
+ }
81
+
71
82
  // IntegrationsLimitCheckerServer is the server API for IntegrationsLimitChecker service.
72
83
  // All implementations must embed UnimplementedIntegrationsLimitCheckerServer
73
84
  // for forward compatibility
@@ -75,6 +86,7 @@ type IntegrationsLimitCheckerServer interface {
75
86
  ExportStatusLimitChecker(context.Context, *ExportStatusLimitCheckerRequest) (*ExportStatusLimitCheckerResponse, error)
76
87
  ReportFullExportStatusLimitChecker(context.Context, *ReportFullExportStatusLimitCheckerRequest) (*ReportFullExportStatusLimitCheckerResponse, error)
77
88
  ScanNowLimitChecker(context.Context, *ScanNowLimitCheckerRequest) (*ScanNowLimitCheckerResponse, error)
89
+ UpdateAssetLimitChecker(context.Context, *UpdateAssetLimitCheckerRequest) (*UpdateAssetLimitCheckerResponse, error)
78
90
  mustEmbedUnimplementedIntegrationsLimitCheckerServer()
79
91
  }
80
92
 
@@ -91,6 +103,9 @@ func (UnimplementedIntegrationsLimitCheckerServer) ReportFullExportStatusLimitCh
91
103
  func (UnimplementedIntegrationsLimitCheckerServer) ScanNowLimitChecker(context.Context, *ScanNowLimitCheckerRequest) (*ScanNowLimitCheckerResponse, error) {
92
104
  return nil, status.Errorf(codes.Unimplemented, "method ScanNowLimitChecker not implemented")
93
105
  }
106
+ func (UnimplementedIntegrationsLimitCheckerServer) UpdateAssetLimitChecker(context.Context, *UpdateAssetLimitCheckerRequest) (*UpdateAssetLimitCheckerResponse, error) {
107
+ return nil, status.Errorf(codes.Unimplemented, "method UpdateAssetLimitChecker not implemented")
108
+ }
94
109
  func (UnimplementedIntegrationsLimitCheckerServer) mustEmbedUnimplementedIntegrationsLimitCheckerServer() {
95
110
  }
96
111
 
@@ -159,6 +174,24 @@ func _IntegrationsLimitChecker_ScanNowLimitChecker_Handler(srv interface{}, ctx
159
174
  return interceptor(ctx, in, info, handler)
160
175
  }
161
176
 
177
+ func _IntegrationsLimitChecker_UpdateAssetLimitChecker_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
178
+ in := new(UpdateAssetLimitCheckerRequest)
179
+ if err := dec(in); err != nil {
180
+ return nil, err
181
+ }
182
+ if interceptor == nil {
183
+ return srv.(IntegrationsLimitCheckerServer).UpdateAssetLimitChecker(ctx, in)
184
+ }
185
+ info := &grpc.UnaryServerInfo{
186
+ Server: srv,
187
+ FullMethod: IntegrationsLimitChecker_UpdateAssetLimitChecker_FullMethodName,
188
+ }
189
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
190
+ return srv.(IntegrationsLimitCheckerServer).UpdateAssetLimitChecker(ctx, req.(*UpdateAssetLimitCheckerRequest))
191
+ }
192
+ return interceptor(ctx, in, info, handler)
193
+ }
194
+
162
195
  // IntegrationsLimitChecker_ServiceDesc is the grpc.ServiceDesc for IntegrationsLimitChecker service.
163
196
  // It's only intended for direct use with grpc.RegisterService,
164
197
  // and not to be introspected or modified (even as a copy)
@@ -178,6 +211,10 @@ var IntegrationsLimitChecker_ServiceDesc = grpc.ServiceDesc{
178
211
  MethodName: "ScanNowLimitChecker",
179
212
  Handler: _IntegrationsLimitChecker_ScanNowLimitChecker_Handler,
180
213
  },
214
+ {
215
+ MethodName: "UpdateAssetLimitChecker",
216
+ Handler: _IntegrationsLimitChecker_UpdateAssetLimitChecker_Handler,
217
+ },
181
218
  },
182
219
  Streams: []grpc.StreamDesc{},
183
220
  Metadata: "limit_checker_api.proto",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/integrations-limit-checker-grpc",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
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": "b18d7065902425e12390b53858ff85be73da82d2"
12
+ "gitHead": "a8b6c2b560b542c2e0ded4c6f2f7df4b65377e77"
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
  }