@forwardimpact/librpc 0.1.108 → 0.1.109

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.
@@ -11401,6 +11401,7 @@ export const ghuser = $root.ghuser = (() => {
11401
11401
  * @property {string|null} [code_challenge] BeginRequest code_challenge
11402
11402
  * @property {Array.<string>|null} [scopes] BeginRequest scopes
11403
11403
  * @property {string|null} [client_state] BeginRequest client_state
11404
+ * @property {string|null} [tenant_id] BeginRequest tenant_id
11404
11405
  */
11405
11406
 
11406
11407
  /**
@@ -11467,6 +11468,14 @@ export const ghuser = $root.ghuser = (() => {
11467
11468
  */
11468
11469
  BeginRequest.prototype.client_state = null;
11469
11470
 
11471
+ /**
11472
+ * BeginRequest tenant_id.
11473
+ * @member {string|null|undefined} tenant_id
11474
+ * @memberof ghuser.BeginRequest
11475
+ * @instance
11476
+ */
11477
+ BeginRequest.prototype.tenant_id = null;
11478
+
11470
11479
  // OneOf field names bound to virtual getters and setters
11471
11480
  let $oneOfFields;
11472
11481
 
@@ -11488,6 +11497,12 @@ export const ghuser = $root.ghuser = (() => {
11488
11497
  set: $util.oneOfSetter($oneOfFields)
11489
11498
  });
11490
11499
 
11500
+ // Virtual OneOf for proto3 optional field
11501
+ Object.defineProperty(BeginRequest.prototype, "_tenant_id", {
11502
+ get: $util.oneOfGetter($oneOfFields = ["tenant_id"]),
11503
+ set: $util.oneOfSetter($oneOfFields)
11504
+ });
11505
+
11491
11506
  /**
11492
11507
  * Encodes the specified BeginRequest message. Does not implicitly {@link ghuser.BeginRequest.verify|verify} messages.
11493
11508
  * @function encode
@@ -11517,6 +11532,8 @@ export const ghuser = $root.ghuser = (() => {
11517
11532
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.scopes[i]);
11518
11533
  if (message.client_state != null && Object.hasOwnProperty.call(message, "client_state"))
11519
11534
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.client_state);
11535
+ if (message.tenant_id != null && Object.hasOwnProperty.call(message, "tenant_id"))
11536
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.tenant_id);
11520
11537
  return writer;
11521
11538
  };
11522
11539
 
@@ -11570,6 +11587,10 @@ export const ghuser = $root.ghuser = (() => {
11570
11587
  message.client_state = reader.string();
11571
11588
  break;
11572
11589
  }
11590
+ case 7: {
11591
+ message.tenant_id = reader.string();
11592
+ break;
11593
+ }
11573
11594
  default:
11574
11595
  reader.skipType(tag & 7, long);
11575
11596
  break;
@@ -11622,6 +11643,11 @@ export const ghuser = $root.ghuser = (() => {
11622
11643
  if (!$util.isString(message.client_state))
11623
11644
  return "client_state: string expected";
11624
11645
  }
11646
+ if (message.tenant_id != null && Object.hasOwnProperty.call(message, "tenant_id")) {
11647
+ properties._tenant_id = 1;
11648
+ if (!$util.isString(message.tenant_id))
11649
+ return "tenant_id: string expected";
11650
+ }
11625
11651
  return null;
11626
11652
  };
11627
11653
 
@@ -11660,6 +11686,8 @@ export const ghuser = $root.ghuser = (() => {
11660
11686
  }
11661
11687
  if (object.client_state != null)
11662
11688
  message.client_state = String(object.client_state);
11689
+ if (object.tenant_id != null)
11690
+ message.tenant_id = String(object.tenant_id);
11663
11691
  return message;
11664
11692
  };
11665
11693
 
@@ -11710,6 +11738,11 @@ export const ghuser = $root.ghuser = (() => {
11710
11738
  if (options.oneofs)
11711
11739
  object._client_state = "client_state";
11712
11740
  }
11741
+ if (message.tenant_id != null && Object.hasOwnProperty.call(message, "tenant_id")) {
11742
+ object.tenant_id = message.tenant_id;
11743
+ if (options.oneofs)
11744
+ object._tenant_id = "tenant_id";
11745
+ }
11713
11746
  return object;
11714
11747
  };
11715
11748