@lansweeper/data-platform-outbound-grpc 0.1.2 → 0.1.3

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.
@@ -415,6 +415,11 @@ export class HardwareInfo extends jspb.Message {
415
415
  getCatalogModel(): CatalogModel | undefined;
416
416
  setCatalogModel(value?: CatalogModel): HardwareInfo;
417
417
 
418
+ hasCatalogFamily(): boolean;
419
+ clearCatalogFamily(): void;
420
+ getCatalogFamily(): CatalogModel | undefined;
421
+ setCatalogFamily(value?: CatalogModel): HardwareInfo;
422
+
418
423
  hasRaw(): boolean;
419
424
  clearRaw(): void;
420
425
  getRaw(): RawHardwareInfo | undefined;
@@ -446,6 +451,7 @@ export namespace HardwareInfo {
446
451
  rank?: number,
447
452
  catalogBrand?: CatalogBrand.AsObject,
448
453
  catalogModel?: CatalogModel.AsObject,
454
+ catalogFamily?: CatalogModel.AsObject,
449
455
  raw?: RawHardwareInfo.AsObject,
450
456
  }
451
457
  }
@@ -498,6 +504,11 @@ export class OperatingSystemInfo extends jspb.Message {
498
504
  getId(): number | undefined;
499
505
  setId(value: number): OperatingSystemInfo;
500
506
 
507
+ hasMakeId(): boolean;
508
+ clearMakeId(): void;
509
+ getMakeId(): number | undefined;
510
+ setMakeId(value: number): OperatingSystemInfo;
511
+
501
512
  hasName(): boolean;
502
513
  clearName(): void;
503
514
  getName(): string | undefined;
@@ -563,6 +574,7 @@ export class OperatingSystemInfo extends jspb.Message {
563
574
  export namespace OperatingSystemInfo {
564
575
  export type AsObject = {
565
576
  id?: number,
577
+ makeId?: number,
566
578
  name?: string,
567
579
  version?: string,
568
580
  build?: string,
@@ -2955,6 +2955,7 @@ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.toObject = function(includeInst
2955
2955
  rank: jspb.Message.getFieldWithDefault(msg, 20, 0),
2956
2956
  catalogBrand: (f = msg.getCatalogBrand()) && proto.com.lansweeper.dp.outbound.v1.CatalogBrand.toObject(includeInstance, f),
2957
2957
  catalogModel: (f = msg.getCatalogModel()) && proto.com.lansweeper.dp.outbound.v1.CatalogModel.toObject(includeInstance, f),
2958
+ catalogFamily: (f = msg.getCatalogFamily()) && proto.com.lansweeper.dp.outbound.v1.CatalogModel.toObject(includeInstance, f),
2958
2959
  raw: (f = msg.getRaw()) && proto.com.lansweeper.dp.outbound.v1.RawHardwareInfo.toObject(includeInstance, f)
2959
2960
  };
2960
2961
 
@@ -3050,6 +3051,11 @@ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.deserializeBinaryFromReader = f
3050
3051
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader);
3051
3052
  msg.setCatalogModel(value);
3052
3053
  break;
3054
+ case 25:
3055
+ var value = new proto.com.lansweeper.dp.outbound.v1.CatalogModel;
3056
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.CatalogModel.deserializeBinaryFromReader);
3057
+ msg.setCatalogFamily(value);
3058
+ break;
3053
3059
  case 24:
3054
3060
  var value = new proto.com.lansweeper.dp.outbound.v1.RawHardwareInfo;
3055
3061
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.RawHardwareInfo.deserializeBinaryFromReader);
@@ -3184,6 +3190,14 @@ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.serializeBinaryToWriter = funct
3184
3190
  proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter
3185
3191
  );
3186
3192
  }
3193
+ f = message.getCatalogFamily();
3194
+ if (f != null) {
3195
+ writer.writeMessage(
3196
+ 25,
3197
+ f,
3198
+ proto.com.lansweeper.dp.outbound.v1.CatalogModel.serializeBinaryToWriter
3199
+ );
3200
+ }
3187
3201
  f = message.getRaw();
3188
3202
  if (f != null) {
3189
3203
  writer.writeMessage(
@@ -3701,6 +3715,43 @@ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.prototype.hasCatalogModel = fun
3701
3715
  };
3702
3716
 
3703
3717
 
3718
+ /**
3719
+ * optional CatalogModel catalog_family = 25;
3720
+ * @return {?proto.com.lansweeper.dp.outbound.v1.CatalogModel}
3721
+ */
3722
+ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.prototype.getCatalogFamily = function() {
3723
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.CatalogModel} */ (
3724
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.CatalogModel, 25));
3725
+ };
3726
+
3727
+
3728
+ /**
3729
+ * @param {?proto.com.lansweeper.dp.outbound.v1.CatalogModel|undefined} value
3730
+ * @return {!proto.com.lansweeper.dp.outbound.v1.HardwareInfo} returns this
3731
+ */
3732
+ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.prototype.setCatalogFamily = function(value) {
3733
+ return jspb.Message.setWrapperField(this, 25, value);
3734
+ };
3735
+
3736
+
3737
+ /**
3738
+ * Clears the message field making it undefined.
3739
+ * @return {!proto.com.lansweeper.dp.outbound.v1.HardwareInfo} returns this
3740
+ */
3741
+ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.prototype.clearCatalogFamily = function() {
3742
+ return this.setCatalogFamily(undefined);
3743
+ };
3744
+
3745
+
3746
+ /**
3747
+ * Returns whether this field is set.
3748
+ * @return {boolean}
3749
+ */
3750
+ proto.com.lansweeper.dp.outbound.v1.HardwareInfo.prototype.hasCatalogFamily = function() {
3751
+ return jspb.Message.getField(this, 25) != null;
3752
+ };
3753
+
3754
+
3704
3755
  /**
3705
3756
  * optional RawHardwareInfo raw = 24;
3706
3757
  * @return {?proto.com.lansweeper.dp.outbound.v1.RawHardwareInfo}
@@ -4088,6 +4139,7 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.toObject = fun
4088
4139
  proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.toObject = function(includeInstance, msg) {
4089
4140
  var f, obj = {
4090
4141
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
4142
+ makeId: jspb.Message.getFieldWithDefault(msg, 11, 0),
4091
4143
  name: jspb.Message.getFieldWithDefault(msg, 2, ""),
4092
4144
  version: jspb.Message.getFieldWithDefault(msg, 3, ""),
4093
4145
  build: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -4138,6 +4190,10 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.deserializeBinaryFromRea
4138
4190
  var value = /** @type {number} */ (reader.readInt64());
4139
4191
  msg.setId(value);
4140
4192
  break;
4193
+ case 11:
4194
+ var value = /** @type {number} */ (reader.readInt64());
4195
+ msg.setMakeId(value);
4196
+ break;
4141
4197
  case 2:
4142
4198
  var value = /** @type {string} */ (reader.readString());
4143
4199
  msg.setName(value);
@@ -4217,6 +4273,13 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.serializeBinaryToWriter
4217
4273
  f
4218
4274
  );
4219
4275
  }
4276
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
4277
+ if (f != null) {
4278
+ writer.writeInt64(
4279
+ 11,
4280
+ f
4281
+ );
4282
+ }
4220
4283
  f = /** @type {string} */ (jspb.Message.getField(message, 2));
4221
4284
  if (f != null) {
4222
4285
  writer.writeString(
@@ -4329,6 +4392,42 @@ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.hasId = functi
4329
4392
  };
4330
4393
 
4331
4394
 
4395
+ /**
4396
+ * optional int64 make_id = 11;
4397
+ * @return {number}
4398
+ */
4399
+ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.getMakeId = function() {
4400
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
4401
+ };
4402
+
4403
+
4404
+ /**
4405
+ * @param {number} value
4406
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
4407
+ */
4408
+ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.setMakeId = function(value) {
4409
+ return jspb.Message.setField(this, 11, value);
4410
+ };
4411
+
4412
+
4413
+ /**
4414
+ * Clears the field making it undefined.
4415
+ * @return {!proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo} returns this
4416
+ */
4417
+ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.clearMakeId = function() {
4418
+ return jspb.Message.setField(this, 11, undefined);
4419
+ };
4420
+
4421
+
4422
+ /**
4423
+ * Returns whether this field is set.
4424
+ * @return {boolean}
4425
+ */
4426
+ proto.com.lansweeper.dp.outbound.v1.OperatingSystemInfo.prototype.hasMakeId = function() {
4427
+ return jspb.Message.getField(this, 11) != null;
4428
+ };
4429
+
4430
+
4332
4431
  /**
4333
4432
  * optional string name = 2;
4334
4433
  * @return {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/data-platform-outbound-grpc",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Data Platform Outbound gRPC",
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": "6c1060fcfc55676095ff3151867a44dcebfc2348"
12
+ "gitHead": "6501ef896a08c289420fc5292484206d12f45c59"
13
13
  }
package/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
  <groupId>com.lansweeper.dp</groupId>
5
5
  <artifactId>outbound.v1</artifactId>
6
6
  <packaging>jar</packaging>
7
- <version>0.1.1</version>
7
+ <version>0.1.2</version>
8
8
  <name>Data Platform Outbound gRPC</name>
9
9
  <url>http://maven.apache.org</url>
10
10
  <properties>
@@ -132,6 +132,7 @@ message HardwareInfo {
132
132
 
133
133
  optional CatalogBrand catalog_brand = 22;
134
134
  optional CatalogModel catalog_model = 23;
135
+ optional CatalogModel catalog_family = 25;
135
136
 
136
137
  optional RawHardwareInfo raw = 24;
137
138
  }
@@ -145,6 +146,7 @@ message RawHardwareInfo {
145
146
 
146
147
  message OperatingSystemInfo {
147
148
  optional int64 id = 1;
149
+ optional int64 make_id = 11;
148
150
  optional string name = 2;
149
151
  optional string version = 3;
150
152
  optional string build = 4;