@lansweeper/discovery-sensor-proto 2.76.1 → 2.76.2

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.
@@ -3782,6 +3782,8 @@ export class Office365Group extends jspb.Message {
3782
3782
  getUserIdsList(): Array<string>;
3783
3783
  setUserIdsList(value: Array<string>): Office365Group;
3784
3784
  addUserIds(value: string, index?: number): string;
3785
+ getTenantId(): string;
3786
+ setTenantId(value: string): Office365Group;
3785
3787
 
3786
3788
  serializeBinary(): Uint8Array;
3787
3789
  toObject(includeInstance?: boolean): Office365Group.AsObject;
@@ -3806,6 +3808,7 @@ export namespace Office365Group {
3806
3808
  usersList: Array<Office365User.AsObject>,
3807
3809
  type?: google_protobuf_wrappers_pb.StringValue.AsObject,
3808
3810
  userIdsList: Array<string>,
3811
+ tenantId: string,
3809
3812
  }
3810
3813
  }
3811
3814
 
@@ -4120,6 +4123,12 @@ export class Office365User extends jspb.Message {
4120
4123
  clearType(): void;
4121
4124
  getType(): google_protobuf_wrappers_pb.StringValue | undefined;
4122
4125
  setType(value?: google_protobuf_wrappers_pb.StringValue): Office365User;
4126
+ getTenantId(): string;
4127
+ setTenantId(value: string): Office365User;
4128
+ clearGroupIdsList(): void;
4129
+ getGroupIdsList(): Array<string>;
4130
+ setGroupIdsList(value: Array<string>): Office365User;
4131
+ addGroupIds(value: string, index?: number): string;
4123
4132
 
4124
4133
  serializeBinary(): Uint8Array;
4125
4134
  toObject(includeInstance?: boolean): Office365User.AsObject;
@@ -4174,6 +4183,8 @@ export namespace Office365User {
4174
4183
  assignedPlansList: Array<Office365AssignedPlan.AsObject>,
4175
4184
  name?: google_protobuf_wrappers_pb.StringValue.AsObject,
4176
4185
  type?: google_protobuf_wrappers_pb.StringValue.AsObject,
4186
+ tenantId: string,
4187
+ groupIdsList: Array<string>,
4177
4188
  }
4178
4189
  }
4179
4190
 
@@ -31457,7 +31457,8 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365Group.toObject = function(
31457
31457
  usersList: jspb.Message.toObjectList(msg.getUsersList(),
31458
31458
  proto.com.lansweeper.discovery.sensor.api.v1.Office365User.toObject, includeInstance),
31459
31459
  type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
31460
- userIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f
31460
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
31461
+ tenantId: jspb.Message.getFieldWithDefault(msg, 12, "")
31461
31462
  };
31462
31463
 
31463
31464
  if (includeInstance) {
@@ -31545,6 +31546,10 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365Group.deserializeBinaryFro
31545
31546
  var value = /** @type {string} */ (reader.readString());
31546
31547
  msg.addUserIds(value);
31547
31548
  break;
31549
+ case 12:
31550
+ var value = /** @type {string} */ (reader.readString());
31551
+ msg.setTenantId(value);
31552
+ break;
31548
31553
  default:
31549
31554
  reader.skipField();
31550
31555
  break;
@@ -31658,6 +31663,13 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365Group.serializeBinaryToWri
31658
31663
  f
31659
31664
  );
31660
31665
  }
31666
+ f = message.getTenantId();
31667
+ if (f.length > 0) {
31668
+ writer.writeString(
31669
+ 12,
31670
+ f
31671
+ );
31672
+ }
31661
31673
  };
31662
31674
 
31663
31675
 
@@ -32012,6 +32024,24 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365Group.prototype.clearUserI
32012
32024
  };
32013
32025
 
32014
32026
 
32027
+ /**
32028
+ * optional string tenant_id = 12;
32029
+ * @return {string}
32030
+ */
32031
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365Group.prototype.getTenantId = function() {
32032
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
32033
+ };
32034
+
32035
+
32036
+ /**
32037
+ * @param {string} value
32038
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.Office365Group} returns this
32039
+ */
32040
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365Group.prototype.setTenantId = function(value) {
32041
+ return jspb.Message.setProto3StringField(this, 12, value);
32042
+ };
32043
+
32044
+
32015
32045
 
32016
32046
  /**
32017
32047
  * List of repeated fields within this message type.
@@ -32917,7 +32947,7 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365ServicePlan.prototype.hasA
32917
32947
  * @private {!Array<number>}
32918
32948
  * @const
32919
32949
  */
32920
- proto.com.lansweeper.discovery.sensor.api.v1.Office365User.repeatedFields_ = [40];
32950
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.repeatedFields_ = [40,44];
32921
32951
 
32922
32952
 
32923
32953
 
@@ -32991,7 +33021,9 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.toObject = function(i
32991
33021
  assignedPlansList: jspb.Message.toObjectList(msg.getAssignedPlansList(),
32992
33022
  proto.com.lansweeper.discovery.sensor.api.v1.Office365AssignedPlan.toObject, includeInstance),
32993
33023
  name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
32994
- type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
33024
+ type: (f = msg.getType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
33025
+ tenantId: jspb.Message.getFieldWithDefault(msg, 43, ""),
33026
+ groupIdsList: (f = jspb.Message.getRepeatedField(msg, 44)) == null ? undefined : f
32995
33027
  };
32996
33028
 
32997
33029
  if (includeInstance) {
@@ -33232,6 +33264,14 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.deserializeBinaryFrom
33232
33264
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
33233
33265
  msg.setType(value);
33234
33266
  break;
33267
+ case 43:
33268
+ var value = /** @type {string} */ (reader.readString());
33269
+ msg.setTenantId(value);
33270
+ break;
33271
+ case 44:
33272
+ var value = /** @type {string} */ (reader.readString());
33273
+ msg.addGroupIds(value);
33274
+ break;
33235
33275
  default:
33236
33276
  reader.skipField();
33237
33277
  break;
@@ -33588,6 +33628,20 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.serializeBinaryToWrit
33588
33628
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
33589
33629
  );
33590
33630
  }
33631
+ f = message.getTenantId();
33632
+ if (f.length > 0) {
33633
+ writer.writeString(
33634
+ 43,
33635
+ f
33636
+ );
33637
+ }
33638
+ f = message.getGroupIdsList();
33639
+ if (f.length > 0) {
33640
+ writer.writeRepeatedString(
33641
+ 44,
33642
+ f
33643
+ );
33644
+ }
33591
33645
  };
33592
33646
 
33593
33647
 
@@ -35090,6 +35144,61 @@ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.prototype.hasType = f
35090
35144
  };
35091
35145
 
35092
35146
 
35147
+ /**
35148
+ * optional string tenant_id = 43;
35149
+ * @return {string}
35150
+ */
35151
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.prototype.getTenantId = function() {
35152
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 43, ""));
35153
+ };
35154
+
35155
+
35156
+ /**
35157
+ * @param {string} value
35158
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.Office365User} returns this
35159
+ */
35160
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.prototype.setTenantId = function(value) {
35161
+ return jspb.Message.setProto3StringField(this, 43, value);
35162
+ };
35163
+
35164
+
35165
+ /**
35166
+ * repeated string group_ids = 44;
35167
+ * @return {!Array<string>}
35168
+ */
35169
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.prototype.getGroupIdsList = function() {
35170
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 44));
35171
+ };
35172
+
35173
+
35174
+ /**
35175
+ * @param {!Array<string>} value
35176
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.Office365User} returns this
35177
+ */
35178
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.prototype.setGroupIdsList = function(value) {
35179
+ return jspb.Message.setField(this, 44, value || []);
35180
+ };
35181
+
35182
+
35183
+ /**
35184
+ * @param {string} value
35185
+ * @param {number=} opt_index
35186
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.Office365User} returns this
35187
+ */
35188
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.prototype.addGroupIds = function(value, opt_index) {
35189
+ return jspb.Message.addToRepeatedField(this, 44, value, opt_index);
35190
+ };
35191
+
35192
+
35193
+ /**
35194
+ * Clears the list making it empty but non-null.
35195
+ * @return {!proto.com.lansweeper.discovery.sensor.api.v1.Office365User} returns this
35196
+ */
35197
+ proto.com.lansweeper.discovery.sensor.api.v1.Office365User.prototype.clearGroupIdsList = function() {
35198
+ return this.setGroupIdsList([]);
35199
+ };
35200
+
35201
+
35093
35202
  /**
35094
35203
  * @enum {number}
35095
35204
  */