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

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.7](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.6...@lansweeper/integrations-limit-checker-grpc@0.2.7) (2022-09-13)
7
+
8
+ **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.2.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.5...@lansweeper/integrations-limit-checker-grpc@0.2.6) (2022-01-20)
7
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"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,15,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[6,0],"span":[13,0,15,1]},{"path":[6,0,1],"span":[13,8,32]},{"path":[6,0,2,0],"span":[14,2,110]},{"path":[6,0,2,0,1],"span":[14,6,30]},{"path":[6,0,2,0,2],"span":[14,32,63]},{"path":[6,0,2,0,3],"span":[14,74,106]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ReportFullExportStatusLimitCheckerRequest","field":[{"name":"app_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ReportFullExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}},{"name":"ReportFullExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,25,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[4,2],"span":[13,0,16,1]},{"path":[4,2,1],"span":[13,8,49]},{"path":[4,2,2,0],"span":[14,2,20]},{"path":[4,2,2,0,5],"span":[14,2,8]},{"path":[4,2,2,0,1],"span":[14,9,15]},{"path":[4,2,2,0,3],"span":[14,18,19]},{"path":[4,2,2,1],"span":[15,2,22]},{"path":[4,2,2,1,5],"span":[15,2,8]},{"path":[4,2,2,1,1],"span":[15,9,17]},{"path":[4,2,2,1,3],"span":[15,20,21]},{"path":[4,3],"span":[18,0,20,1]},{"path":[4,3,1],"span":[18,8,50]},{"path":[4,3,2,0],"span":[19,2,21]},{"path":[4,3,2,0,5],"span":[19,2,8]},{"path":[4,3,2,0,1],"span":[19,9,16]},{"path":[4,3,2,0,3],"span":[19,19,20]},{"path":[6,0],"span":[22,0,25,1]},{"path":[6,0,1],"span":[22,8,32]},{"path":[6,0,2,0],"span":[23,2,110]},{"path":[6,0,2,0,1],"span":[23,6,30]},{"path":[6,0,2,0,2],"span":[23,32,63]},{"path":[6,0,2,0,3],"span":[23,74,106]},{"path":[6,0,2,1],"span":[24,2,140]},{"path":[6,0,2,1,1],"span":[24,6,40]},{"path":[6,0,2,1,2],"span":[24,42,83]},{"path":[6,0,2,1,3],"span":[24,94,136]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -9,6 +9,7 @@ import * as limit_checker_api_pb from "./limit_checker_api_pb";
9
9
 
10
10
  interface IIntegrationsLimitCheckerService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
11
11
  exportStatusLimitChecker: IIntegrationsLimitCheckerService_IExportStatusLimitChecker;
12
+ reportFullExportStatusLimitChecker: IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker;
12
13
  }
13
14
 
14
15
  interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse> {
@@ -20,17 +21,30 @@ interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grp
20
21
  responseSerialize: grpc.serialize<limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
21
22
  responseDeserialize: grpc.deserialize<limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
22
23
  }
24
+ interface IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse> {
25
+ path: "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ReportFullExportStatusLimitChecker";
26
+ requestStream: false;
27
+ responseStream: false;
28
+ requestSerialize: grpc.serialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest>;
29
+ requestDeserialize: grpc.deserialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest>;
30
+ responseSerialize: grpc.serialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
31
+ responseDeserialize: grpc.deserialize<limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
32
+ }
23
33
 
24
34
  export const IntegrationsLimitCheckerService: IIntegrationsLimitCheckerService;
25
35
 
26
36
  export interface IIntegrationsLimitCheckerServer extends grpc.UntypedServiceImplementation {
27
37
  exportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
38
+ reportFullExportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
28
39
  }
29
40
 
30
41
  export interface IIntegrationsLimitCheckerClient {
31
42
  exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
32
43
  exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
33
44
  exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
45
+ reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
46
+ reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
47
+ reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
34
48
  }
35
49
 
36
50
  export class IntegrationsLimitCheckerClient extends grpc.Client implements IIntegrationsLimitCheckerClient {
@@ -38,4 +52,7 @@ export class IntegrationsLimitCheckerClient extends grpc.Client implements IInte
38
52
  public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
39
53
  public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
40
54
  public exportStatusLimitChecker(request: limit_checker_api_pb.ExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
55
+ public reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
56
+ public reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
57
+ public reportFullExportStatusLimitChecker(request: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse) => void): grpc.ClientUnaryCall;
41
58
  }
@@ -26,6 +26,28 @@ function deserialize_lansweeper_integrationslimitchecker_v1_ExportStatusLimitChe
26
26
  return limit_checker_api_pb.ExportStatusLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
27
27
  }
28
28
 
29
+ function serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest(arg) {
30
+ if (!(arg instanceof limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest)) {
31
+ throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest');
32
+ }
33
+ return Buffer.from(arg.serializeBinary());
34
+ }
35
+
36
+ function deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest(buffer_arg) {
37
+ return limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest.deserializeBinary(new Uint8Array(buffer_arg));
38
+ }
39
+
40
+ function serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse(arg) {
41
+ if (!(arg instanceof limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse)) {
42
+ throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse');
43
+ }
44
+ return Buffer.from(arg.serializeBinary());
45
+ }
46
+
47
+ function deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse(buffer_arg) {
48
+ return limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
49
+ }
50
+
29
51
 
30
52
  var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService = {
31
53
  exportStatusLimitChecker: {
@@ -39,6 +61,17 @@ var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService =
39
61
  responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ExportStatusLimitCheckerResponse,
40
62
  responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ExportStatusLimitCheckerResponse,
41
63
  },
64
+ reportFullExportStatusLimitChecker: {
65
+ path: '/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/ReportFullExportStatusLimitChecker',
66
+ requestStream: false,
67
+ responseStream: false,
68
+ requestType: limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest,
69
+ responseType: limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse,
70
+ requestSerialize: serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest,
71
+ requestDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerRequest,
72
+ responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse,
73
+ responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ReportFullExportStatusLimitCheckerResponse,
74
+ },
42
75
  };
43
76
 
44
77
  exports.IntegrationsLimitCheckerClient = grpc.makeGenericClientConstructor(IntegrationsLimitCheckerService);
@@ -48,3 +48,46 @@ export namespace ExportStatusLimitCheckerResponse {
48
48
  message: string,
49
49
  }
50
50
  }
51
+
52
+ export class ReportFullExportStatusLimitCheckerRequest extends jspb.Message {
53
+ getAppId(): string;
54
+ setAppId(value: string): ReportFullExportStatusLimitCheckerRequest;
55
+ getTraceId(): string;
56
+ setTraceId(value: string): ReportFullExportStatusLimitCheckerRequest;
57
+
58
+ serializeBinary(): Uint8Array;
59
+ toObject(includeInstance?: boolean): ReportFullExportStatusLimitCheckerRequest.AsObject;
60
+ static toObject(includeInstance: boolean, msg: ReportFullExportStatusLimitCheckerRequest): ReportFullExportStatusLimitCheckerRequest.AsObject;
61
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
62
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
63
+ static serializeBinaryToWriter(message: ReportFullExportStatusLimitCheckerRequest, writer: jspb.BinaryWriter): void;
64
+ static deserializeBinary(bytes: Uint8Array): ReportFullExportStatusLimitCheckerRequest;
65
+ static deserializeBinaryFromReader(message: ReportFullExportStatusLimitCheckerRequest, reader: jspb.BinaryReader): ReportFullExportStatusLimitCheckerRequest;
66
+ }
67
+
68
+ export namespace ReportFullExportStatusLimitCheckerRequest {
69
+ export type AsObject = {
70
+ appId: string,
71
+ traceId: string,
72
+ }
73
+ }
74
+
75
+ export class ReportFullExportStatusLimitCheckerResponse extends jspb.Message {
76
+ getMessage(): string;
77
+ setMessage(value: string): ReportFullExportStatusLimitCheckerResponse;
78
+
79
+ serializeBinary(): Uint8Array;
80
+ toObject(includeInstance?: boolean): ReportFullExportStatusLimitCheckerResponse.AsObject;
81
+ static toObject(includeInstance: boolean, msg: ReportFullExportStatusLimitCheckerResponse): ReportFullExportStatusLimitCheckerResponse.AsObject;
82
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
83
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
84
+ static serializeBinaryToWriter(message: ReportFullExportStatusLimitCheckerResponse, writer: jspb.BinaryWriter): void;
85
+ static deserializeBinary(bytes: Uint8Array): ReportFullExportStatusLimitCheckerResponse;
86
+ static deserializeBinaryFromReader(message: ReportFullExportStatusLimitCheckerResponse, reader: jspb.BinaryReader): ReportFullExportStatusLimitCheckerResponse;
87
+ }
88
+
89
+ export namespace ReportFullExportStatusLimitCheckerResponse {
90
+ export type AsObject = {
91
+ message: string,
92
+ }
93
+ }
@@ -17,6 +17,8 @@ var global = Function('return this')();
17
17
 
18
18
  goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest', null, global);
19
19
  goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse', null, global);
20
+ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest', null, global);
21
+ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse', null, global);
20
22
  /**
21
23
  * Generated by JsPbCodeGenerator.
22
24
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -59,6 +61,48 @@ if (goog.DEBUG && !COMPILED) {
59
61
  */
60
62
  proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse';
61
63
  }
64
+ /**
65
+ * Generated by JsPbCodeGenerator.
66
+ * @param {Array=} opt_data Optional initial data array, typically from a
67
+ * server response, or constructed directly in Javascript. The array is used
68
+ * in place and becomes part of the constructed object. It is not cloned.
69
+ * If no data is provided, the constructed object will be empty, but still
70
+ * valid.
71
+ * @extends {jspb.Message}
72
+ * @constructor
73
+ */
74
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest = function(opt_data) {
75
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
76
+ };
77
+ goog.inherits(proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest, jspb.Message);
78
+ if (goog.DEBUG && !COMPILED) {
79
+ /**
80
+ * @public
81
+ * @override
82
+ */
83
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest';
84
+ }
85
+ /**
86
+ * Generated by JsPbCodeGenerator.
87
+ * @param {Array=} opt_data Optional initial data array, typically from a
88
+ * server response, or constructed directly in Javascript. The array is used
89
+ * in place and becomes part of the constructed object. It is not cloned.
90
+ * If no data is provided, the constructed object will be empty, but still
91
+ * valid.
92
+ * @extends {jspb.Message}
93
+ * @constructor
94
+ */
95
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse = function(opt_data) {
96
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
97
+ };
98
+ goog.inherits(proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse, jspb.Message);
99
+ if (goog.DEBUG && !COMPILED) {
100
+ /**
101
+ * @public
102
+ * @override
103
+ */
104
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse';
105
+ }
62
106
 
63
107
 
64
108
 
@@ -349,4 +393,294 @@ proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse.pr
349
393
  };
350
394
 
351
395
 
396
+
397
+
398
+
399
+ if (jspb.Message.GENERATE_TO_OBJECT) {
400
+ /**
401
+ * Creates an object representation of this proto.
402
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
403
+ * Optional fields that are not set will be set to undefined.
404
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
405
+ * For the list of reserved names please see:
406
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
407
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
408
+ * JSPB instance for transitional soy proto support:
409
+ * http://goto/soy-param-migration
410
+ * @return {!Object}
411
+ */
412
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.toObject = function(opt_includeInstance) {
413
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.toObject(opt_includeInstance, this);
414
+ };
415
+
416
+
417
+ /**
418
+ * Static version of the {@see toObject} method.
419
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
420
+ * the JSPB instance for transitional soy proto support:
421
+ * http://goto/soy-param-migration
422
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} msg The msg instance to transform.
423
+ * @return {!Object}
424
+ * @suppress {unusedLocalVariables} f is only used for nested messages
425
+ */
426
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.toObject = function(includeInstance, msg) {
427
+ var f, obj = {
428
+ appId: jspb.Message.getFieldWithDefault(msg, 1, ""),
429
+ traceId: jspb.Message.getFieldWithDefault(msg, 2, "")
430
+ };
431
+
432
+ if (includeInstance) {
433
+ obj.$jspbMessageInstance = msg;
434
+ }
435
+ return obj;
436
+ };
437
+ }
438
+
439
+
440
+ /**
441
+ * Deserializes binary data (in protobuf wire format).
442
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
443
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest}
444
+ */
445
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.deserializeBinary = function(bytes) {
446
+ var reader = new jspb.BinaryReader(bytes);
447
+ var msg = new proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest;
448
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.deserializeBinaryFromReader(msg, reader);
449
+ };
450
+
451
+
452
+ /**
453
+ * Deserializes binary data (in protobuf wire format) from the
454
+ * given reader into the given message object.
455
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} msg The message object to deserialize into.
456
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
457
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest}
458
+ */
459
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.deserializeBinaryFromReader = function(msg, reader) {
460
+ while (reader.nextField()) {
461
+ if (reader.isEndGroup()) {
462
+ break;
463
+ }
464
+ var field = reader.getFieldNumber();
465
+ switch (field) {
466
+ case 1:
467
+ var value = /** @type {string} */ (reader.readString());
468
+ msg.setAppId(value);
469
+ break;
470
+ case 2:
471
+ var value = /** @type {string} */ (reader.readString());
472
+ msg.setTraceId(value);
473
+ break;
474
+ default:
475
+ reader.skipField();
476
+ break;
477
+ }
478
+ }
479
+ return msg;
480
+ };
481
+
482
+
483
+ /**
484
+ * Serializes the message to binary data (in protobuf wire format).
485
+ * @return {!Uint8Array}
486
+ */
487
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.serializeBinary = function() {
488
+ var writer = new jspb.BinaryWriter();
489
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.serializeBinaryToWriter(this, writer);
490
+ return writer.getResultBuffer();
491
+ };
492
+
493
+
494
+ /**
495
+ * Serializes the given message to binary data (in protobuf wire
496
+ * format), writing to the given BinaryWriter.
497
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} message
498
+ * @param {!jspb.BinaryWriter} writer
499
+ * @suppress {unusedLocalVariables} f is only used for nested messages
500
+ */
501
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.serializeBinaryToWriter = function(message, writer) {
502
+ var f = undefined;
503
+ f = message.getAppId();
504
+ if (f.length > 0) {
505
+ writer.writeString(
506
+ 1,
507
+ f
508
+ );
509
+ }
510
+ f = message.getTraceId();
511
+ if (f.length > 0) {
512
+ writer.writeString(
513
+ 2,
514
+ f
515
+ );
516
+ }
517
+ };
518
+
519
+
520
+ /**
521
+ * optional string app_id = 1;
522
+ * @return {string}
523
+ */
524
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.getAppId = function() {
525
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
526
+ };
527
+
528
+
529
+ /**
530
+ * @param {string} value
531
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} returns this
532
+ */
533
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.setAppId = function(value) {
534
+ return jspb.Message.setProto3StringField(this, 1, value);
535
+ };
536
+
537
+
538
+ /**
539
+ * optional string trace_id = 2;
540
+ * @return {string}
541
+ */
542
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.getTraceId = function() {
543
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
544
+ };
545
+
546
+
547
+ /**
548
+ * @param {string} value
549
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest} returns this
550
+ */
551
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest.prototype.setTraceId = function(value) {
552
+ return jspb.Message.setProto3StringField(this, 2, value);
553
+ };
554
+
555
+
556
+
557
+
558
+
559
+ if (jspb.Message.GENERATE_TO_OBJECT) {
560
+ /**
561
+ * Creates an object representation of this proto.
562
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
563
+ * Optional fields that are not set will be set to undefined.
564
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
565
+ * For the list of reserved names please see:
566
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
567
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
568
+ * JSPB instance for transitional soy proto support:
569
+ * http://goto/soy-param-migration
570
+ * @return {!Object}
571
+ */
572
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.toObject = function(opt_includeInstance) {
573
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.toObject(opt_includeInstance, this);
574
+ };
575
+
576
+
577
+ /**
578
+ * Static version of the {@see toObject} method.
579
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
580
+ * the JSPB instance for transitional soy proto support:
581
+ * http://goto/soy-param-migration
582
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} msg The msg instance to transform.
583
+ * @return {!Object}
584
+ * @suppress {unusedLocalVariables} f is only used for nested messages
585
+ */
586
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.toObject = function(includeInstance, msg) {
587
+ var f, obj = {
588
+ message: jspb.Message.getFieldWithDefault(msg, 1, "")
589
+ };
590
+
591
+ if (includeInstance) {
592
+ obj.$jspbMessageInstance = msg;
593
+ }
594
+ return obj;
595
+ };
596
+ }
597
+
598
+
599
+ /**
600
+ * Deserializes binary data (in protobuf wire format).
601
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
602
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse}
603
+ */
604
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.deserializeBinary = function(bytes) {
605
+ var reader = new jspb.BinaryReader(bytes);
606
+ var msg = new proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse;
607
+ return proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.deserializeBinaryFromReader(msg, reader);
608
+ };
609
+
610
+
611
+ /**
612
+ * Deserializes binary data (in protobuf wire format) from the
613
+ * given reader into the given message object.
614
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} msg The message object to deserialize into.
615
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
616
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse}
617
+ */
618
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.deserializeBinaryFromReader = function(msg, reader) {
619
+ while (reader.nextField()) {
620
+ if (reader.isEndGroup()) {
621
+ break;
622
+ }
623
+ var field = reader.getFieldNumber();
624
+ switch (field) {
625
+ case 1:
626
+ var value = /** @type {string} */ (reader.readString());
627
+ msg.setMessage(value);
628
+ break;
629
+ default:
630
+ reader.skipField();
631
+ break;
632
+ }
633
+ }
634
+ return msg;
635
+ };
636
+
637
+
638
+ /**
639
+ * Serializes the message to binary data (in protobuf wire format).
640
+ * @return {!Uint8Array}
641
+ */
642
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.serializeBinary = function() {
643
+ var writer = new jspb.BinaryWriter();
644
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.serializeBinaryToWriter(this, writer);
645
+ return writer.getResultBuffer();
646
+ };
647
+
648
+
649
+ /**
650
+ * Serializes the given message to binary data (in protobuf wire
651
+ * format), writing to the given BinaryWriter.
652
+ * @param {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} message
653
+ * @param {!jspb.BinaryWriter} writer
654
+ * @suppress {unusedLocalVariables} f is only used for nested messages
655
+ */
656
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.serializeBinaryToWriter = function(message, writer) {
657
+ var f = undefined;
658
+ f = message.getMessage();
659
+ if (f.length > 0) {
660
+ writer.writeString(
661
+ 1,
662
+ f
663
+ );
664
+ }
665
+ };
666
+
667
+
668
+ /**
669
+ * optional string message = 1;
670
+ * @return {string}
671
+ */
672
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.getMessage = function() {
673
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
674
+ };
675
+
676
+
677
+ /**
678
+ * @param {string} value
679
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse} returns this
680
+ */
681
+ proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse.prototype.setMessage = function(value) {
682
+ return jspb.Message.setProto3StringField(this, 1, value);
683
+ };
684
+
685
+
352
686
  goog.object.extend(exports, proto.lansweeper.integrationslimitchecker.v1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/integrations-limit-checker-grpc",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Limit Checker GRPC Integration",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -9,5 +9,5 @@
9
9
  "@grpc/grpc-js": "^1.5.1",
10
10
  "google-protobuf": "^3.17.0"
11
11
  },
12
- "gitHead": "3771a40b51dd32ab55d60a1a4c4fc3e960782b9a"
12
+ "gitHead": "c0cf1f78a38d728704c55aa245edcd1b77d97d39"
13
13
  }
@@ -11,6 +11,16 @@ message ExportStatusLimitCheckerResponse {
11
11
  string message = 1;
12
12
  }
13
13
 
14
+ message ReportFullExportStatusLimitCheckerRequest {
15
+ string app_id = 1;
16
+ string trace_id = 2;
17
+ }
18
+
19
+ message ReportFullExportStatusLimitCheckerResponse {
20
+ string message = 1;
21
+ }
22
+
14
23
  service IntegrationsLimitChecker {
15
24
  rpc ExportStatusLimitChecker (ExportStatusLimitCheckerRequest) returns (ExportStatusLimitCheckerResponse) {}
25
+ rpc ReportFullExportStatusLimitChecker (ReportFullExportStatusLimitCheckerRequest) returns (ReportFullExportStatusLimitCheckerResponse) {}
16
26
  }