protobuf-platform 1.2.476 → 1.2.478

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.476",
3
+ "version": "1.2.478",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -319,6 +319,7 @@ message TelegramOidcLoginRequest {
319
319
  optional string antifraud_session = 18;
320
320
  // Gateway IP-derived country; distinct from profile country.
321
321
  optional string ip_country = 19;
322
+ string preset_code = 20;
322
323
  }
323
324
  message AppleLoginRequest {
324
325
  string code = 1;
package/user/user_pb.js CHANGED
@@ -11016,7 +11016,8 @@ proto.user.TelegramOidcLoginRequest.toObject = function(includeInstance, msg) {
11016
11016
  correlationId: jspb.Message.getFieldWithDefault(msg, 16, ""),
11017
11017
  userAgent: jspb.Message.getFieldWithDefault(msg, 17, ""),
11018
11018
  antifraudSession: jspb.Message.getFieldWithDefault(msg, 18, ""),
11019
- ipCountry: jspb.Message.getFieldWithDefault(msg, 19, "")
11019
+ ipCountry: jspb.Message.getFieldWithDefault(msg, 19, ""),
11020
+ presetCode: jspb.Message.getFieldWithDefault(msg, 20, "")
11020
11021
  };
11021
11022
 
11022
11023
  if (includeInstance) {
@@ -11129,6 +11130,10 @@ proto.user.TelegramOidcLoginRequest.deserializeBinaryFromReader = function(msg,
11129
11130
  var value = /** @type {string} */ (reader.readString());
11130
11131
  msg.setIpCountry(value);
11131
11132
  break;
11133
+ case 20:
11134
+ var value = /** @type {string} */ (reader.readString());
11135
+ msg.setPresetCode(value);
11136
+ break;
11132
11137
  default:
11133
11138
  reader.skipField();
11134
11139
  break;
@@ -11291,6 +11296,13 @@ proto.user.TelegramOidcLoginRequest.serializeBinaryToWriter = function(message,
11291
11296
  f
11292
11297
  );
11293
11298
  }
11299
+ f = message.getPresetCode();
11300
+ if (f.length > 0) {
11301
+ writer.writeString(
11302
+ 20,
11303
+ f
11304
+ );
11305
+ }
11294
11306
  };
11295
11307
 
11296
11308
 
@@ -11906,6 +11918,24 @@ proto.user.TelegramOidcLoginRequest.prototype.hasIpCountry = function() {
11906
11918
  };
11907
11919
 
11908
11920
 
11921
+ /**
11922
+ * optional string preset_code = 20;
11923
+ * @return {string}
11924
+ */
11925
+ proto.user.TelegramOidcLoginRequest.prototype.getPresetCode = function() {
11926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
11927
+ };
11928
+
11929
+
11930
+ /**
11931
+ * @param {string} value
11932
+ * @return {!proto.user.TelegramOidcLoginRequest} returns this
11933
+ */
11934
+ proto.user.TelegramOidcLoginRequest.prototype.setPresetCode = function(value) {
11935
+ return jspb.Message.setProto3StringField(this, 20, value);
11936
+ };
11937
+
11938
+
11909
11939
 
11910
11940
 
11911
11941