@lansweeper/multitenant-api-grpc 0.4.78 → 0.4.79

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.
@@ -1632,6 +1632,8 @@ export namespace GetUserPermissionsResponse {
1632
1632
  export class ValidateApplicationPersonalAccessTokenRequest extends jspb.Message {
1633
1633
  getPersonalAccessToken(): string;
1634
1634
  setPersonalAccessToken(value: string): ValidateApplicationPersonalAccessTokenRequest;
1635
+ getTraceId(): string;
1636
+ setTraceId(value: string): ValidateApplicationPersonalAccessTokenRequest;
1635
1637
 
1636
1638
  serializeBinary(): Uint8Array;
1637
1639
  toObject(includeInstance?: boolean): ValidateApplicationPersonalAccessTokenRequest.AsObject;
@@ -1646,6 +1648,7 @@ export class ValidateApplicationPersonalAccessTokenRequest extends jspb.Message
1646
1648
  export namespace ValidateApplicationPersonalAccessTokenRequest {
1647
1649
  export type AsObject = {
1648
1650
  personalAccessToken: string,
1651
+ traceId: string,
1649
1652
  }
1650
1653
  }
1651
1654
 
@@ -14658,7 +14658,8 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.pr
14658
14658
  */
14659
14659
  proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.toObject = function(includeInstance, msg) {
14660
14660
  var f, obj = {
14661
- personalAccessToken: jspb.Message.getFieldWithDefault(msg, 1, "")
14661
+ personalAccessToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
14662
+ traceId: jspb.Message.getFieldWithDefault(msg, 2, "")
14662
14663
  };
14663
14664
 
14664
14665
  if (includeInstance) {
@@ -14699,6 +14700,10 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.de
14699
14700
  var value = /** @type {string} */ (reader.readString());
14700
14701
  msg.setPersonalAccessToken(value);
14701
14702
  break;
14703
+ case 2:
14704
+ var value = /** @type {string} */ (reader.readString());
14705
+ msg.setTraceId(value);
14706
+ break;
14702
14707
  default:
14703
14708
  reader.skipField();
14704
14709
  break;
@@ -14735,6 +14740,13 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.se
14735
14740
  f
14736
14741
  );
14737
14742
  }
14743
+ f = message.getTraceId();
14744
+ if (f.length > 0) {
14745
+ writer.writeString(
14746
+ 2,
14747
+ f
14748
+ );
14749
+ }
14738
14750
  };
14739
14751
 
14740
14752
 
@@ -14756,6 +14768,24 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.pr
14756
14768
  };
14757
14769
 
14758
14770
 
14771
+ /**
14772
+ * optional string trace_id = 2;
14773
+ * @return {string}
14774
+ */
14775
+ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.prototype.getTraceId = function() {
14776
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
14777
+ };
14778
+
14779
+
14780
+ /**
14781
+ * @param {string} value
14782
+ * @return {!proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest} returns this
14783
+ */
14784
+ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.prototype.setTraceId = function(value) {
14785
+ return jspb.Message.setProto3StringField(this, 2, value);
14786
+ };
14787
+
14788
+
14759
14789
 
14760
14790
 
14761
14791