@lansweeper/multitenant-api-grpc 0.4.68 → 0.4.70

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.
@@ -46,8 +46,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallRequest', null,
46
46
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallResponse', null, global);
47
47
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateLinkingCodeRequest', null, global);
48
48
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateLinkingCodeResponse', null, global);
49
- goog.exportSymbol('proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest', null, global);
50
- goog.exportSymbol('proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse', null, global);
49
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest', null, global);
50
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse', null, global);
51
51
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateTrialSiteAndInstallerRequest', null, global);
52
52
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateTrialSiteAndInstallerResponse', null, global);
53
53
  goog.exportSymbol('proto.lansweeper.multitenant.v1.DisableWebhookEmailRequest', null, global);
@@ -2639,16 +2639,16 @@ if (goog.DEBUG && !COMPILED) {
2639
2639
  * @extends {jspb.Message}
2640
2640
  * @constructor
2641
2641
  */
2642
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest = function(opt_data) {
2643
- jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.repeatedFields_, null);
2642
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest = function(opt_data) {
2643
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.repeatedFields_, null);
2644
2644
  };
2645
- goog.inherits(proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest, jspb.Message);
2645
+ goog.inherits(proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest, jspb.Message);
2646
2646
  if (goog.DEBUG && !COMPILED) {
2647
2647
  /**
2648
2648
  * @public
2649
2649
  * @override
2650
2650
  */
2651
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.displayName = 'proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest';
2651
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.displayName = 'proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest';
2652
2652
  }
2653
2653
  /**
2654
2654
  * Generated by JsPbCodeGenerator.
@@ -2660,16 +2660,16 @@ if (goog.DEBUG && !COMPILED) {
2660
2660
  * @extends {jspb.Message}
2661
2661
  * @constructor
2662
2662
  */
2663
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse = function(opt_data) {
2663
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse = function(opt_data) {
2664
2664
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2665
2665
  };
2666
- goog.inherits(proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse, jspb.Message);
2666
+ goog.inherits(proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse, jspb.Message);
2667
2667
  if (goog.DEBUG && !COMPILED) {
2668
2668
  /**
2669
2669
  * @public
2670
2670
  * @override
2671
2671
  */
2672
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.displayName = 'proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse';
2672
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse';
2673
2673
  }
2674
2674
 
2675
2675
 
@@ -24150,7 +24150,7 @@ proto.lansweeper.multitenant.v1.GetSitePreviewResponse.prototype.hasSite = funct
24150
24150
  * @private {!Array<number>}
24151
24151
  * @const
24152
24152
  */
24153
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.repeatedFields_ = [4];
24153
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.repeatedFields_ = [3];
24154
24154
 
24155
24155
 
24156
24156
 
@@ -24167,8 +24167,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
24167
24167
  * http://goto/soy-param-migration
24168
24168
  * @return {!Object}
24169
24169
  */
24170
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.toObject = function(opt_includeInstance) {
24171
- return proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.toObject(opt_includeInstance, this);
24170
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.toObject = function(opt_includeInstance) {
24171
+ return proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.toObject(opt_includeInstance, this);
24172
24172
  };
24173
24173
 
24174
24174
 
@@ -24177,17 +24177,16 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.toObj
24177
24177
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24178
24178
  * the JSPB instance for transitional soy proto support:
24179
24179
  * http://goto/soy-param-migration
24180
- * @param {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} msg The msg instance to transform.
24180
+ * @param {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} msg The msg instance to transform.
24181
24181
  * @return {!Object}
24182
24182
  * @suppress {unusedLocalVariables} f is only used for nested messages
24183
24183
  */
24184
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.toObject = function(includeInstance, msg) {
24184
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.toObject = function(includeInstance, msg) {
24185
24185
  var f, obj = {
24186
- userId: jspb.Message.getFieldWithDefault(msg, 1, ""),
24187
- name: jspb.Message.getFieldWithDefault(msg, 2, ""),
24188
- partnerIntegrationId: jspb.Message.getFieldWithDefault(msg, 3, ""),
24189
- siteIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
24190
- description: jspb.Message.getFieldWithDefault(msg, 5, "")
24186
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
24187
+ partnerIntegrationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
24188
+ siteIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
24189
+ description: jspb.Message.getFieldWithDefault(msg, 4, "")
24191
24190
  };
24192
24191
 
24193
24192
  if (includeInstance) {
@@ -24201,23 +24200,23 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.toObject = func
24201
24200
  /**
24202
24201
  * Deserializes binary data (in protobuf wire format).
24203
24202
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
24204
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest}
24203
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest}
24205
24204
  */
24206
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.deserializeBinary = function(bytes) {
24205
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.deserializeBinary = function(bytes) {
24207
24206
  var reader = new jspb.BinaryReader(bytes);
24208
- var msg = new proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest;
24209
- return proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.deserializeBinaryFromReader(msg, reader);
24207
+ var msg = new proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest;
24208
+ return proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.deserializeBinaryFromReader(msg, reader);
24210
24209
  };
24211
24210
 
24212
24211
 
24213
24212
  /**
24214
24213
  * Deserializes binary data (in protobuf wire format) from the
24215
24214
  * given reader into the given message object.
24216
- * @param {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} msg The message object to deserialize into.
24215
+ * @param {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} msg The message object to deserialize into.
24217
24216
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24218
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest}
24217
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest}
24219
24218
  */
24220
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
24219
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.deserializeBinaryFromReader = function(msg, reader) {
24221
24220
  while (reader.nextField()) {
24222
24221
  if (reader.isEndGroup()) {
24223
24222
  break;
@@ -24225,22 +24224,18 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.deserializeBina
24225
24224
  var field = reader.getFieldNumber();
24226
24225
  switch (field) {
24227
24226
  case 1:
24228
- var value = /** @type {string} */ (reader.readString());
24229
- msg.setUserId(value);
24230
- break;
24231
- case 2:
24232
24227
  var value = /** @type {string} */ (reader.readString());
24233
24228
  msg.setName(value);
24234
24229
  break;
24235
- case 3:
24230
+ case 2:
24236
24231
  var value = /** @type {string} */ (reader.readString());
24237
24232
  msg.setPartnerIntegrationId(value);
24238
24233
  break;
24239
- case 4:
24234
+ case 3:
24240
24235
  var value = /** @type {string} */ (reader.readString());
24241
24236
  msg.addSiteIds(value);
24242
24237
  break;
24243
- case 5:
24238
+ case 4:
24244
24239
  var value = /** @type {string} */ (reader.readString());
24245
24240
  msg.setDescription(value);
24246
24241
  break;
@@ -24257,9 +24252,9 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.deserializeBina
24257
24252
  * Serializes the message to binary data (in protobuf wire format).
24258
24253
  * @return {!Uint8Array}
24259
24254
  */
24260
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.serializeBinary = function() {
24255
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.serializeBinary = function() {
24261
24256
  var writer = new jspb.BinaryWriter();
24262
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.serializeBinaryToWriter(this, writer);
24257
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.serializeBinaryToWriter(this, writer);
24263
24258
  return writer.getResultBuffer();
24264
24259
  };
24265
24260
 
@@ -24267,44 +24262,37 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.seria
24267
24262
  /**
24268
24263
  * Serializes the given message to binary data (in protobuf wire
24269
24264
  * format), writing to the given BinaryWriter.
24270
- * @param {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} message
24265
+ * @param {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} message
24271
24266
  * @param {!jspb.BinaryWriter} writer
24272
24267
  * @suppress {unusedLocalVariables} f is only used for nested messages
24273
24268
  */
24274
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.serializeBinaryToWriter = function(message, writer) {
24269
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.serializeBinaryToWriter = function(message, writer) {
24275
24270
  var f = undefined;
24276
- f = message.getUserId();
24277
- if (f.length > 0) {
24278
- writer.writeString(
24279
- 1,
24280
- f
24281
- );
24282
- }
24283
24271
  f = message.getName();
24284
24272
  if (f.length > 0) {
24285
24273
  writer.writeString(
24286
- 2,
24274
+ 1,
24287
24275
  f
24288
24276
  );
24289
24277
  }
24290
24278
  f = message.getPartnerIntegrationId();
24291
24279
  if (f.length > 0) {
24292
24280
  writer.writeString(
24293
- 3,
24281
+ 2,
24294
24282
  f
24295
24283
  );
24296
24284
  }
24297
24285
  f = message.getSiteIdsList();
24298
24286
  if (f.length > 0) {
24299
24287
  writer.writeRepeatedString(
24300
- 4,
24288
+ 3,
24301
24289
  f
24302
24290
  );
24303
24291
  }
24304
- f = /** @type {string} */ (jspb.Message.getField(message, 5));
24292
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
24305
24293
  if (f != null) {
24306
24294
  writer.writeString(
24307
- 5,
24295
+ 4,
24308
24296
  f
24309
24297
  );
24310
24298
  }
@@ -24312,120 +24300,102 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.serializeBinary
24312
24300
 
24313
24301
 
24314
24302
  /**
24315
- * optional string user_id = 1;
24303
+ * optional string name = 1;
24316
24304
  * @return {string}
24317
24305
  */
24318
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.getUserId = function() {
24306
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.getName = function() {
24319
24307
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24320
24308
  };
24321
24309
 
24322
24310
 
24323
24311
  /**
24324
24312
  * @param {string} value
24325
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24313
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} returns this
24326
24314
  */
24327
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.setUserId = function(value) {
24315
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.setName = function(value) {
24328
24316
  return jspb.Message.setProto3StringField(this, 1, value);
24329
24317
  };
24330
24318
 
24331
24319
 
24332
24320
  /**
24333
- * optional string name = 2;
24321
+ * optional string partner_integration_id = 2;
24334
24322
  * @return {string}
24335
24323
  */
24336
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.getName = function() {
24324
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.getPartnerIntegrationId = function() {
24337
24325
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24338
24326
  };
24339
24327
 
24340
24328
 
24341
24329
  /**
24342
24330
  * @param {string} value
24343
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24331
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} returns this
24344
24332
  */
24345
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.setName = function(value) {
24333
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.setPartnerIntegrationId = function(value) {
24346
24334
  return jspb.Message.setProto3StringField(this, 2, value);
24347
24335
  };
24348
24336
 
24349
24337
 
24350
24338
  /**
24351
- * optional string partner_integration_id = 3;
24352
- * @return {string}
24353
- */
24354
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.getPartnerIntegrationId = function() {
24355
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
24356
- };
24357
-
24358
-
24359
- /**
24360
- * @param {string} value
24361
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24362
- */
24363
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.setPartnerIntegrationId = function(value) {
24364
- return jspb.Message.setProto3StringField(this, 3, value);
24365
- };
24366
-
24367
-
24368
- /**
24369
- * repeated string site_ids = 4;
24339
+ * repeated string site_ids = 3;
24370
24340
  * @return {!Array<string>}
24371
24341
  */
24372
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.getSiteIdsList = function() {
24373
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
24342
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.getSiteIdsList = function() {
24343
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
24374
24344
  };
24375
24345
 
24376
24346
 
24377
24347
  /**
24378
24348
  * @param {!Array<string>} value
24379
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24349
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} returns this
24380
24350
  */
24381
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.setSiteIdsList = function(value) {
24382
- return jspb.Message.setField(this, 4, value || []);
24351
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.setSiteIdsList = function(value) {
24352
+ return jspb.Message.setField(this, 3, value || []);
24383
24353
  };
24384
24354
 
24385
24355
 
24386
24356
  /**
24387
24357
  * @param {string} value
24388
24358
  * @param {number=} opt_index
24389
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24359
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} returns this
24390
24360
  */
24391
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.addSiteIds = function(value, opt_index) {
24392
- return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
24361
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.addSiteIds = function(value, opt_index) {
24362
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
24393
24363
  };
24394
24364
 
24395
24365
 
24396
24366
  /**
24397
24367
  * Clears the list making it empty but non-null.
24398
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24368
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} returns this
24399
24369
  */
24400
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.clearSiteIdsList = function() {
24370
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.clearSiteIdsList = function() {
24401
24371
  return this.setSiteIdsList([]);
24402
24372
  };
24403
24373
 
24404
24374
 
24405
24375
  /**
24406
- * optional string description = 5;
24376
+ * optional string description = 4;
24407
24377
  * @return {string}
24408
24378
  */
24409
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.getDescription = function() {
24410
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
24379
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.getDescription = function() {
24380
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
24411
24381
  };
24412
24382
 
24413
24383
 
24414
24384
  /**
24415
24385
  * @param {string} value
24416
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24386
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} returns this
24417
24387
  */
24418
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.setDescription = function(value) {
24419
- return jspb.Message.setField(this, 5, value);
24388
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.setDescription = function(value) {
24389
+ return jspb.Message.setField(this, 4, value);
24420
24390
  };
24421
24391
 
24422
24392
 
24423
24393
  /**
24424
24394
  * Clears the field making it undefined.
24425
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest} returns this
24395
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest} returns this
24426
24396
  */
24427
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.clearDescription = function() {
24428
- return jspb.Message.setField(this, 5, undefined);
24397
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.clearDescription = function() {
24398
+ return jspb.Message.setField(this, 4, undefined);
24429
24399
  };
24430
24400
 
24431
24401
 
@@ -24433,8 +24403,8 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.clear
24433
24403
  * Returns whether this field is set.
24434
24404
  * @return {boolean}
24435
24405
  */
24436
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenRequest.prototype.hasDescription = function() {
24437
- return jspb.Message.getField(this, 5) != null;
24406
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenRequest.prototype.hasDescription = function() {
24407
+ return jspb.Message.getField(this, 4) != null;
24438
24408
  };
24439
24409
 
24440
24410
 
@@ -24454,8 +24424,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
24454
24424
  * http://goto/soy-param-migration
24455
24425
  * @return {!Object}
24456
24426
  */
24457
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.prototype.toObject = function(opt_includeInstance) {
24458
- return proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.toObject(opt_includeInstance, this);
24427
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.prototype.toObject = function(opt_includeInstance) {
24428
+ return proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.toObject(opt_includeInstance, this);
24459
24429
  };
24460
24430
 
24461
24431
 
@@ -24464,11 +24434,11 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.prototype.toOb
24464
24434
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24465
24435
  * the JSPB instance for transitional soy proto support:
24466
24436
  * http://goto/soy-param-migration
24467
- * @param {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse} msg The msg instance to transform.
24437
+ * @param {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse} msg The msg instance to transform.
24468
24438
  * @return {!Object}
24469
24439
  * @suppress {unusedLocalVariables} f is only used for nested messages
24470
24440
  */
24471
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.toObject = function(includeInstance, msg) {
24441
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.toObject = function(includeInstance, msg) {
24472
24442
  var f, obj = {
24473
24443
  token: jspb.Message.getFieldWithDefault(msg, 1, "")
24474
24444
  };
@@ -24484,23 +24454,23 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.toObject = fun
24484
24454
  /**
24485
24455
  * Deserializes binary data (in protobuf wire format).
24486
24456
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
24487
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse}
24457
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse}
24488
24458
  */
24489
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.deserializeBinary = function(bytes) {
24459
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.deserializeBinary = function(bytes) {
24490
24460
  var reader = new jspb.BinaryReader(bytes);
24491
- var msg = new proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse;
24492
- return proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.deserializeBinaryFromReader(msg, reader);
24461
+ var msg = new proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse;
24462
+ return proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.deserializeBinaryFromReader(msg, reader);
24493
24463
  };
24494
24464
 
24495
24465
 
24496
24466
  /**
24497
24467
  * Deserializes binary data (in protobuf wire format) from the
24498
24468
  * given reader into the given message object.
24499
- * @param {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse} msg The message object to deserialize into.
24469
+ * @param {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse} msg The message object to deserialize into.
24500
24470
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24501
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse}
24471
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse}
24502
24472
  */
24503
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
24473
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.deserializeBinaryFromReader = function(msg, reader) {
24504
24474
  while (reader.nextField()) {
24505
24475
  if (reader.isEndGroup()) {
24506
24476
  break;
@@ -24524,9 +24494,9 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.deserializeBin
24524
24494
  * Serializes the message to binary data (in protobuf wire format).
24525
24495
  * @return {!Uint8Array}
24526
24496
  */
24527
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.prototype.serializeBinary = function() {
24497
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.prototype.serializeBinary = function() {
24528
24498
  var writer = new jspb.BinaryWriter();
24529
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.serializeBinaryToWriter(this, writer);
24499
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.serializeBinaryToWriter(this, writer);
24530
24500
  return writer.getResultBuffer();
24531
24501
  };
24532
24502
 
@@ -24534,11 +24504,11 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.prototype.seri
24534
24504
  /**
24535
24505
  * Serializes the given message to binary data (in protobuf wire
24536
24506
  * format), writing to the given BinaryWriter.
24537
- * @param {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse} message
24507
+ * @param {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse} message
24538
24508
  * @param {!jspb.BinaryWriter} writer
24539
24509
  * @suppress {unusedLocalVariables} f is only used for nested messages
24540
24510
  */
24541
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.serializeBinaryToWriter = function(message, writer) {
24511
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.serializeBinaryToWriter = function(message, writer) {
24542
24512
  var f = undefined;
24543
24513
  f = message.getToken();
24544
24514
  if (f.length > 0) {
@@ -24554,16 +24524,16 @@ proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.serializeBinar
24554
24524
  * optional string token = 1;
24555
24525
  * @return {string}
24556
24526
  */
24557
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.prototype.getToken = function() {
24527
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.prototype.getToken = function() {
24558
24528
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24559
24529
  };
24560
24530
 
24561
24531
 
24562
24532
  /**
24563
24533
  * @param {string} value
24564
- * @return {!proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse} returns this
24534
+ * @return {!proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse} returns this
24565
24535
  */
24566
- proto.lansweeper.multitenant.v1.CreatePersonalAccessTokenResponse.prototype.setToken = function(value) {
24536
+ proto.lansweeper.multitenant.v1.CreateOwnerPersonalAccessTokenResponse.prototype.setToken = function(value) {
24567
24537
  return jspb.Message.setProto3StringField(this, 1, value);
24568
24538
  };
24569
24539