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

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.9](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.8...@lansweeper/integrations-limit-checker-grpc@0.2.9) (2023-07-07)
7
+
8
+ **Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.2.8](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.7...@lansweeper/integrations-limit-checker-grpc@0.2.8) (2023-07-07)
7
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":"ScanNowLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}},{"name":"ReportFullExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse","options":{}},{"name":"ScanNowLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,34,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[4,2],"span":[13,0,16,1]},{"path":[4,2,1],"span":[13,8,49]},{"path":[4,2,2,0],"span":[14,2,20]},{"path":[4,2,2,0,5],"span":[14,2,8]},{"path":[4,2,2,0,1],"span":[14,9,15]},{"path":[4,2,2,0,3],"span":[14,18,19]},{"path":[4,2,2,1],"span":[15,2,22]},{"path":[4,2,2,1,5],"span":[15,2,8]},{"path":[4,2,2,1,1],"span":[15,9,17]},{"path":[4,2,2,1,3],"span":[15,20,21]},{"path":[4,3],"span":[18,0,20,1]},{"path":[4,3,1],"span":[18,8,50]},{"path":[4,3,2,0],"span":[19,2,21]},{"path":[4,3,2,0,5],"span":[19,2,8]},{"path":[4,3,2,0,1],"span":[19,9,16]},{"path":[4,3,2,0,3],"span":[19,19,20]},{"path":[4,4],"span":[22,0,24,1]},{"path":[4,4,1],"span":[22,8,34]},{"path":[4,4,2,0],"span":[23,2,23]},{"path":[4,4,2,0,5],"span":[23,2,8]},{"path":[4,4,2,0,1],"span":[23,9,18]},{"path":[4,4,2,0,3],"span":[23,21,22]},{"path":[4,5],"span":[26,0,28,1]},{"path":[4,5,1],"span":[26,8,35]},{"path":[4,5,2,0],"span":[27,2,21]},{"path":[4,5,2,0,5],"span":[27,2,8]},{"path":[4,5,2,0,1],"span":[27,9,16]},{"path":[4,5,2,0,3],"span":[27,19,20]},{"path":[6,0],"span":[30,0,34,1]},{"path":[6,0,1],"span":[30,8,32]},{"path":[6,0,2,0],"span":[31,2,110]},{"path":[6,0,2,0,1],"span":[31,6,30]},{"path":[6,0,2,0,2],"span":[31,32,63]},{"path":[6,0,2,0,3],"span":[31,74,106]},{"path":[6,0,2,1],"span":[32,2,140]},{"path":[6,0,2,1,1],"span":[32,6,40]},{"path":[6,0,2,1,2],"span":[32,42,83]},{"path":[6,0,2,1,3],"span":[32,94,136]},{"path":[6,0,2,2],"span":[33,2,95]},{"path":[6,0,2,2,1],"span":[33,6,25]},{"path":[6,0,2,2,2],"span":[33,27,53]},{"path":[6,0,2,2,3],"span":[33,64,91]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
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":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,35,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,39]},{"path":[4,0,2,0],"span":[5,2,19]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,14]},{"path":[4,0,2,0,3],"span":[5,17,18]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,40]},{"path":[4,1,2,0],"span":[10,2,21]},{"path":[4,1,2,0,5],"span":[10,2,8]},{"path":[4,1,2,0,1],"span":[10,9,16]},{"path":[4,1,2,0,3],"span":[10,19,20]},{"path":[4,2],"span":[13,0,16,1]},{"path":[4,2,1],"span":[13,8,49]},{"path":[4,2,2,0],"span":[14,2,20]},{"path":[4,2,2,0,5],"span":[14,2,8]},{"path":[4,2,2,0,1],"span":[14,9,15]},{"path":[4,2,2,0,3],"span":[14,18,19]},{"path":[4,2,2,1],"span":[15,2,22]},{"path":[4,2,2,1,5],"span":[15,2,8]},{"path":[4,2,2,1,1],"span":[15,9,17]},{"path":[4,2,2,1,3],"span":[15,20,21]},{"path":[4,3],"span":[18,0,20,1]},{"path":[4,3,1],"span":[18,8,50]},{"path":[4,3,2,0],"span":[19,2,21]},{"path":[4,3,2,0,5],"span":[19,2,8]},{"path":[4,3,2,0,1],"span":[19,9,16]},{"path":[4,3,2,0,3],"span":[19,19,20]},{"path":[4,4],"span":[22,0,25,1]},{"path":[4,4,1],"span":[22,8,34]},{"path":[4,4,2,0],"span":[23,2,23]},{"path":[4,4,2,0,5],"span":[23,2,8]},{"path":[4,4,2,0,1],"span":[23,9,18]},{"path":[4,4,2,0,3],"span":[23,21,22]},{"path":[4,4,2,1],"span":[24,2,22]},{"path":[4,4,2,1,5],"span":[24,2,8]},{"path":[4,4,2,1,1],"span":[24,9,17]},{"path":[4,4,2,1,3],"span":[24,20,21]},{"path":[4,5],"span":[27,0,29,1]},{"path":[4,5,1],"span":[27,8,35]},{"path":[4,5,2,0],"span":[28,2,21]},{"path":[4,5,2,0,5],"span":[28,2,8]},{"path":[4,5,2,0,1],"span":[28,9,16]},{"path":[4,5,2,0,3],"span":[28,19,20]},{"path":[6,0],"span":[31,0,35,1]},{"path":[6,0,1],"span":[31,8,32]},{"path":[6,0,2,0],"span":[32,2,110]},{"path":[6,0,2,0,1],"span":[32,6,30]},{"path":[6,0,2,0,2],"span":[32,32,63]},{"path":[6,0,2,0,3],"span":[32,74,106]},{"path":[6,0,2,1],"span":[33,2,140]},{"path":[6,0,2,1,1],"span":[33,6,40]},{"path":[6,0,2,1,2],"span":[33,42,83]},{"path":[6,0,2,1,3],"span":[33,94,136]},{"path":[6,0,2,2],"span":[34,2,95]},{"path":[6,0,2,2,1],"span":[34,6,25]},{"path":[6,0,2,2,2],"span":[34,27,53]},{"path":[6,0,2,2,3],"span":[34,64,91]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -95,6 +95,8 @@ export namespace ReportFullExportStatusLimitCheckerResponse {
95
95
  export class ScanNowLimitCheckerRequest extends jspb.Message {
96
96
  getSourceId(): string;
97
97
  setSourceId(value: string): ScanNowLimitCheckerRequest;
98
+ getTraceId(): string;
99
+ setTraceId(value: string): ScanNowLimitCheckerRequest;
98
100
 
99
101
  serializeBinary(): Uint8Array;
100
102
  toObject(includeInstance?: boolean): ScanNowLimitCheckerRequest.AsObject;
@@ -109,6 +111,7 @@ export class ScanNowLimitCheckerRequest extends jspb.Message {
109
111
  export namespace ScanNowLimitCheckerRequest {
110
112
  export type AsObject = {
111
113
  sourceId: string,
114
+ traceId: string,
112
115
  }
113
116
  }
114
117
 
@@ -759,7 +759,8 @@ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototyp
759
759
  */
760
760
  proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.toObject = function(includeInstance, msg) {
761
761
  var f, obj = {
762
- sourceId: jspb.Message.getFieldWithDefault(msg, 1, "")
762
+ sourceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
763
+ traceId: jspb.Message.getFieldWithDefault(msg, 2, "")
763
764
  };
764
765
 
765
766
  if (includeInstance) {
@@ -800,6 +801,10 @@ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.deserial
800
801
  var value = /** @type {string} */ (reader.readString());
801
802
  msg.setSourceId(value);
802
803
  break;
804
+ case 2:
805
+ var value = /** @type {string} */ (reader.readString());
806
+ msg.setTraceId(value);
807
+ break;
803
808
  default:
804
809
  reader.skipField();
805
810
  break;
@@ -836,6 +841,13 @@ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.serializ
836
841
  f
837
842
  );
838
843
  }
844
+ f = message.getTraceId();
845
+ if (f.length > 0) {
846
+ writer.writeString(
847
+ 2,
848
+ f
849
+ );
850
+ }
839
851
  };
840
852
 
841
853
 
@@ -857,6 +869,24 @@ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototyp
857
869
  };
858
870
 
859
871
 
872
+ /**
873
+ * optional string trace_id = 2;
874
+ * @return {string}
875
+ */
876
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototype.getTraceId = function() {
877
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
878
+ };
879
+
880
+
881
+ /**
882
+ * @param {string} value
883
+ * @return {!proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest} returns this
884
+ */
885
+ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest.prototype.setTraceId = function(value) {
886
+ return jspb.Message.setProto3StringField(this, 2, value);
887
+ };
888
+
889
+
860
890
 
861
891
 
862
892
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/integrations-limit-checker-grpc",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
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": "d34958f83131d8cf12ddd173c4548696dcccd6c1"
12
+ "gitHead": "7a7f9e62e723c565e21b7ad3c584f1abf6699317"
13
13
  }
@@ -22,6 +22,7 @@ message ReportFullExportStatusLimitCheckerResponse {
22
22
 
23
23
  message ScanNowLimitCheckerRequest {
24
24
  string source_id = 1;
25
+ string trace_id = 2;
25
26
  }
26
27
 
27
28
  message ScanNowLimitCheckerResponse {