@lansweeper/data-platform-outbound-grpc 0.1.102 → 0.1.103

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.
@@ -10635,8 +10635,8 @@ export class ComputerMacInstallHistory extends jspb.Message {
10635
10635
 
10636
10636
  hasInstallDate(): boolean;
10637
10637
  clearInstallDate(): void;
10638
- getInstallDate(): string | undefined;
10639
- setInstallDate(value: string): ComputerMacInstallHistory;
10638
+ getInstallDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
10639
+ setInstallDate(value?: google_protobuf_timestamp_pb.Timestamp): ComputerMacInstallHistory;
10640
10640
 
10641
10641
  hasInstallVersion(): boolean;
10642
10642
  clearInstallVersion(): void;
@@ -10661,7 +10661,7 @@ export class ComputerMacInstallHistory extends jspb.Message {
10661
10661
  export namespace ComputerMacInstallHistory {
10662
10662
  export type AsObject = {
10663
10663
  name?: string,
10664
- installDate?: string,
10664
+ installDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10665
10665
  installVersion?: string,
10666
10666
  packageSource?: string,
10667
10667
  }
@@ -85038,7 +85038,7 @@ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.toObject
85038
85038
  proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.toObject = function(includeInstance, msg) {
85039
85039
  var f, obj = {
85040
85040
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
85041
- installDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
85041
+ installDate: (f = msg.getInstallDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
85042
85042
  installVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
85043
85043
  packageSource: jspb.Message.getFieldWithDefault(msg, 4, "")
85044
85044
  };
@@ -85082,7 +85082,8 @@ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.deserializeBinaryF
85082
85082
  msg.setName(value);
85083
85083
  break;
85084
85084
  case 2:
85085
- var value = /** @type {string} */ (reader.readString());
85085
+ var value = new google_protobuf_timestamp_pb.Timestamp;
85086
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
85086
85087
  msg.setInstallDate(value);
85087
85088
  break;
85088
85089
  case 3:
@@ -85129,11 +85130,12 @@ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.serializeBinaryToW
85129
85130
  f
85130
85131
  );
85131
85132
  }
85132
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
85133
+ f = message.getInstallDate();
85133
85134
  if (f != null) {
85134
- writer.writeString(
85135
+ writer.writeMessage(
85135
85136
  2,
85136
- f
85137
+ f,
85138
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
85137
85139
  );
85138
85140
  }
85139
85141
  f = /** @type {string} */ (jspb.Message.getField(message, 3));
@@ -85190,29 +85192,30 @@ proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.hasName
85190
85192
 
85191
85193
 
85192
85194
  /**
85193
- * optional string install_date = 2;
85194
- * @return {string}
85195
+ * optional google.protobuf.Timestamp install_date = 2;
85196
+ * @return {?proto.google.protobuf.Timestamp}
85195
85197
  */
85196
85198
  proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.getInstallDate = function() {
85197
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
85199
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
85200
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
85198
85201
  };
85199
85202
 
85200
85203
 
85201
85204
  /**
85202
- * @param {string} value
85205
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
85203
85206
  * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85204
- */
85207
+ */
85205
85208
  proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.setInstallDate = function(value) {
85206
- return jspb.Message.setField(this, 2, value);
85209
+ return jspb.Message.setWrapperField(this, 2, value);
85207
85210
  };
85208
85211
 
85209
85212
 
85210
85213
  /**
85211
- * Clears the field making it undefined.
85214
+ * Clears the message field making it undefined.
85212
85215
  * @return {!proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory} returns this
85213
85216
  */
85214
85217
  proto.com.lansweeper.dp.outbound.v1.ComputerMacInstallHistory.prototype.clearInstallDate = function() {
85215
- return jspb.Message.setField(this, 2, undefined);
85218
+ return this.setInstallDate(undefined);
85216
85219
  };
85217
85220
 
85218
85221