@lansweeper/multitenant-api-grpc 0.4.65 → 0.4.67

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.
@@ -2471,12 +2471,14 @@ export namespace GetSiteHierarchyIdsRequest {
2471
2471
  export class SiteHierarchyIdsItem extends jspb.Message {
2472
2472
  getSiteId(): string;
2473
2473
  setSiteId(value: string): SiteHierarchyIdsItem;
2474
- getParentType(): string;
2475
- setParentType(value: string): SiteHierarchyIdsItem;
2474
+ getParentType(): SiteHierarchyIdsItem.ParentType;
2475
+ setParentType(value: SiteHierarchyIdsItem.ParentType): SiteHierarchyIdsItem;
2476
2476
  getParentId(): string;
2477
2477
  setParentId(value: string): SiteHierarchyIdsItem;
2478
2478
  getIsCustomerAccount(): boolean;
2479
2479
  setIsCustomerAccount(value: boolean): SiteHierarchyIdsItem;
2480
+ getSkipHivemindExport(): boolean;
2481
+ setSkipHivemindExport(value: boolean): SiteHierarchyIdsItem;
2480
2482
 
2481
2483
  serializeBinary(): Uint8Array;
2482
2484
  toObject(includeInstance?: boolean): SiteHierarchyIdsItem.AsObject;
@@ -2491,10 +2493,19 @@ export class SiteHierarchyIdsItem extends jspb.Message {
2491
2493
  export namespace SiteHierarchyIdsItem {
2492
2494
  export type AsObject = {
2493
2495
  siteId: string,
2494
- parentType: string,
2496
+ parentType: SiteHierarchyIdsItem.ParentType,
2495
2497
  parentId: string,
2496
2498
  isCustomerAccount: boolean,
2499
+ skipHivemindExport: boolean,
2497
2500
  }
2501
+
2502
+ export enum ParentType {
2503
+ UNKNOWN = 0,
2504
+ NONE = 1,
2505
+ ORG = 2,
2506
+ MSMP = 3,
2507
+ }
2508
+
2498
2509
  }
2499
2510
 
2500
2511
  export class SiteHierarchyIdsPageInfo extends jspb.Message {
@@ -131,6 +131,7 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.SendInviteLocalUsersMailRespo
131
131
  goog.exportSymbol('proto.lansweeper.multitenant.v1.SetEnabledCustomFieldsFederationRequest', null, global);
132
132
  goog.exportSymbol('proto.lansweeper.multitenant.v1.Site', null, global);
133
133
  goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem', null, global);
134
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType', null, global);
134
135
  goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteHierarchyIdsPageInfo', null, global);
135
136
  goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteMode', null, global);
136
137
  goog.exportSymbol('proto.lansweeper.multitenant.v1.Subscription', null, global);
@@ -20276,9 +20277,10 @@ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.toObject = functi
20276
20277
  proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.toObject = function(includeInstance, msg) {
20277
20278
  var f, obj = {
20278
20279
  siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
20279
- parentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
20280
+ parentType: jspb.Message.getFieldWithDefault(msg, 2, 0),
20280
20281
  parentId: jspb.Message.getFieldWithDefault(msg, 3, ""),
20281
- isCustomerAccount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
20282
+ isCustomerAccount: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
20283
+ skipHivemindExport: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
20282
20284
  };
20283
20285
 
20284
20286
  if (includeInstance) {
@@ -20320,7 +20322,7 @@ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.deserializeBinaryFromReader
20320
20322
  msg.setSiteId(value);
20321
20323
  break;
20322
20324
  case 2:
20323
- var value = /** @type {string} */ (reader.readString());
20325
+ var value = /** @type {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType} */ (reader.readEnum());
20324
20326
  msg.setParentType(value);
20325
20327
  break;
20326
20328
  case 3:
@@ -20331,6 +20333,10 @@ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.deserializeBinaryFromReader
20331
20333
  var value = /** @type {boolean} */ (reader.readBool());
20332
20334
  msg.setIsCustomerAccount(value);
20333
20335
  break;
20336
+ case 5:
20337
+ var value = /** @type {boolean} */ (reader.readBool());
20338
+ msg.setSkipHivemindExport(value);
20339
+ break;
20334
20340
  default:
20335
20341
  reader.skipField();
20336
20342
  break;
@@ -20368,8 +20374,8 @@ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.serializeBinaryToWriter = f
20368
20374
  );
20369
20375
  }
20370
20376
  f = message.getParentType();
20371
- if (f.length > 0) {
20372
- writer.writeString(
20377
+ if (f !== 0.0) {
20378
+ writer.writeEnum(
20373
20379
  2,
20374
20380
  f
20375
20381
  );
@@ -20388,9 +20394,26 @@ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.serializeBinaryToWriter = f
20388
20394
  f
20389
20395
  );
20390
20396
  }
20397
+ f = message.getSkipHivemindExport();
20398
+ if (f) {
20399
+ writer.writeBool(
20400
+ 5,
20401
+ f
20402
+ );
20403
+ }
20391
20404
  };
20392
20405
 
20393
20406
 
20407
+ /**
20408
+ * @enum {number}
20409
+ */
20410
+ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType = {
20411
+ UNKNOWN: 0,
20412
+ NONE: 1,
20413
+ ORG: 2,
20414
+ MSMP: 3
20415
+ };
20416
+
20394
20417
  /**
20395
20418
  * optional string site_id = 1;
20396
20419
  * @return {string}
@@ -20410,20 +20433,20 @@ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setSiteId = funct
20410
20433
 
20411
20434
 
20412
20435
  /**
20413
- * optional string parent_type = 2;
20414
- * @return {string}
20436
+ * optional ParentType parent_type = 2;
20437
+ * @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType}
20415
20438
  */
20416
20439
  proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.getParentType = function() {
20417
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20440
+ return /** @type {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
20418
20441
  };
20419
20442
 
20420
20443
 
20421
20444
  /**
20422
- * @param {string} value
20445
+ * @param {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.ParentType} value
20423
20446
  * @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} returns this
20424
20447
  */
20425
20448
  proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setParentType = function(value) {
20426
- return jspb.Message.setProto3StringField(this, 2, value);
20449
+ return jspb.Message.setProto3EnumField(this, 2, value);
20427
20450
  };
20428
20451
 
20429
20452
 
@@ -20463,6 +20486,24 @@ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setIsCustomerAcco
20463
20486
  };
20464
20487
 
20465
20488
 
20489
+ /**
20490
+ * optional bool skip_hivemind_export = 5;
20491
+ * @return {boolean}
20492
+ */
20493
+ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.getSkipHivemindExport = function() {
20494
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
20495
+ };
20496
+
20497
+
20498
+ /**
20499
+ * @param {boolean} value
20500
+ * @return {!proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem} returns this
20501
+ */
20502
+ proto.lansweeper.multitenant.v1.SiteHierarchyIdsItem.prototype.setSkipHivemindExport = function(value) {
20503
+ return jspb.Message.setProto3BooleanField(this, 5, value);
20504
+ };
20505
+
20506
+
20466
20507
 
20467
20508
 
20468
20509