@lansweeper/multitenant-api-grpc 0.4.29 → 0.4.30

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.
@@ -1896,6 +1896,11 @@ export class AllProfilesExistResponse extends jspb.Message {
1896
1896
  setProfilesList(value: Array<Profile>): AllProfilesExistResponse;
1897
1897
  addProfiles(value?: Profile, index?: number): Profile;
1898
1898
 
1899
+ hasCreatedby(): boolean;
1900
+ clearCreatedby(): void;
1901
+ getCreatedby(): PreviewAccount | undefined;
1902
+ setCreatedby(value?: PreviewAccount): AllProfilesExistResponse;
1903
+
1899
1904
  serializeBinary(): Uint8Array;
1900
1905
  toObject(includeInstance?: boolean): AllProfilesExistResponse.AsObject;
1901
1906
  static toObject(includeInstance: boolean, msg: AllProfilesExistResponse): AllProfilesExistResponse.AsObject;
@@ -1910,6 +1915,7 @@ export namespace AllProfilesExistResponse {
1910
1915
  export type AsObject = {
1911
1916
  all: boolean,
1912
1917
  profilesList: Array<Profile.AsObject>,
1918
+ createdby?: PreviewAccount.AsObject,
1913
1919
  }
1914
1920
  }
1915
1921
 
@@ -15372,7 +15372,8 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.toObject = function(inc
15372
15372
  var f, obj = {
15373
15373
  all: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
15374
15374
  profilesList: jspb.Message.toObjectList(msg.getProfilesList(),
15375
- proto.lansweeper.multitenant.v1.Profile.toObject, includeInstance)
15375
+ proto.lansweeper.multitenant.v1.Profile.toObject, includeInstance),
15376
+ createdby: (f = msg.getCreatedby()) && proto.lansweeper.multitenant.v1.PreviewAccount.toObject(includeInstance, f)
15376
15377
  };
15377
15378
 
15378
15379
  if (includeInstance) {
@@ -15418,6 +15419,11 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.deserializeBinaryFromRe
15418
15419
  reader.readMessage(value,proto.lansweeper.multitenant.v1.Profile.deserializeBinaryFromReader);
15419
15420
  msg.addProfiles(value);
15420
15421
  break;
15422
+ case 3:
15423
+ var value = new proto.lansweeper.multitenant.v1.PreviewAccount;
15424
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.PreviewAccount.deserializeBinaryFromReader);
15425
+ msg.setCreatedby(value);
15426
+ break;
15421
15427
  default:
15422
15428
  reader.skipField();
15423
15429
  break;
@@ -15462,6 +15468,14 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.serializeBinaryToWriter
15462
15468
  proto.lansweeper.multitenant.v1.Profile.serializeBinaryToWriter
15463
15469
  );
15464
15470
  }
15471
+ f = message.getCreatedby();
15472
+ if (f != null) {
15473
+ writer.writeMessage(
15474
+ 3,
15475
+ f,
15476
+ proto.lansweeper.multitenant.v1.PreviewAccount.serializeBinaryToWriter
15477
+ );
15478
+ }
15465
15479
  };
15466
15480
 
15467
15481
 
@@ -15521,6 +15535,43 @@ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.clearProfiles
15521
15535
  };
15522
15536
 
15523
15537
 
15538
+ /**
15539
+ * optional PreviewAccount createdBy = 3;
15540
+ * @return {?proto.lansweeper.multitenant.v1.PreviewAccount}
15541
+ */
15542
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.getCreatedby = function() {
15543
+ return /** @type{?proto.lansweeper.multitenant.v1.PreviewAccount} */ (
15544
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.PreviewAccount, 3));
15545
+ };
15546
+
15547
+
15548
+ /**
15549
+ * @param {?proto.lansweeper.multitenant.v1.PreviewAccount|undefined} value
15550
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} returns this
15551
+ */
15552
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.setCreatedby = function(value) {
15553
+ return jspb.Message.setWrapperField(this, 3, value);
15554
+ };
15555
+
15556
+
15557
+ /**
15558
+ * Clears the message field making it undefined.
15559
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} returns this
15560
+ */
15561
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.clearCreatedby = function() {
15562
+ return this.setCreatedby(undefined);
15563
+ };
15564
+
15565
+
15566
+ /**
15567
+ * Returns whether this field is set.
15568
+ * @return {boolean}
15569
+ */
15570
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.hasCreatedby = function() {
15571
+ return jspb.Message.getField(this, 3) != null;
15572
+ };
15573
+
15574
+
15524
15575
 
15525
15576
 
15526
15577