protobuf-platform 1.2.561 → 1.2.564

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/bonus/bonus.proto CHANGED
@@ -245,6 +245,7 @@ message BonusItem {
245
245
  optional string portrait_image = 43;
246
246
  optional string portrait_image_cdn = 44;
247
247
  optional bool can_guest_show = 45;
248
+ optional string content = 46;
248
249
  }
249
250
  message BonusItemsResponse {
250
251
  repeated BonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -7985,7 +7985,8 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
7985
7985
  availableActionsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
7986
7986
  portraitImage: jspb.Message.getFieldWithDefault(msg, 43, ""),
7987
7987
  portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 44, ""),
7988
- canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false)
7988
+ canGuestShow: jspb.Message.getBooleanFieldWithDefault(msg, 45, false),
7989
+ content: jspb.Message.getFieldWithDefault(msg, 46, "")
7989
7990
  };
7990
7991
 
7991
7992
  if (includeInstance) {
@@ -8215,6 +8216,10 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
8215
8216
  var value = /** @type {boolean} */ (reader.readBool());
8216
8217
  msg.setCanGuestShow(value);
8217
8218
  break;
8219
+ case 46:
8220
+ var value = /** @type {string} */ (reader.readString());
8221
+ msg.setContent(value);
8222
+ break;
8218
8223
  default:
8219
8224
  reader.skipField();
8220
8225
  break;
@@ -8566,6 +8571,13 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
8566
8571
  f
8567
8572
  );
8568
8573
  }
8574
+ f = /** @type {string} */ (jspb.Message.getField(message, 46));
8575
+ if (f != null) {
8576
+ writer.writeString(
8577
+ 46,
8578
+ f
8579
+ );
8580
+ }
8569
8581
  };
8570
8582
 
8571
8583
 
@@ -10189,6 +10201,42 @@ proto.bonus.BonusItem.prototype.hasCanGuestShow = function() {
10189
10201
  };
10190
10202
 
10191
10203
 
10204
+ /**
10205
+ * optional string content = 46;
10206
+ * @return {string}
10207
+ */
10208
+ proto.bonus.BonusItem.prototype.getContent = function() {
10209
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
10210
+ };
10211
+
10212
+
10213
+ /**
10214
+ * @param {string} value
10215
+ * @return {!proto.bonus.BonusItem} returns this
10216
+ */
10217
+ proto.bonus.BonusItem.prototype.setContent = function(value) {
10218
+ return jspb.Message.setField(this, 46, value);
10219
+ };
10220
+
10221
+
10222
+ /**
10223
+ * Clears the field making it undefined.
10224
+ * @return {!proto.bonus.BonusItem} returns this
10225
+ */
10226
+ proto.bonus.BonusItem.prototype.clearContent = function() {
10227
+ return jspb.Message.setField(this, 46, undefined);
10228
+ };
10229
+
10230
+
10231
+ /**
10232
+ * Returns whether this field is set.
10233
+ * @return {boolean}
10234
+ */
10235
+ proto.bonus.BonusItem.prototype.hasContent = function() {
10236
+ return jspb.Message.getField(this, 46) != null;
10237
+ };
10238
+
10239
+
10192
10240
 
10193
10241
  /**
10194
10242
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.561",
3
+ "version": "1.2.564",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -1811,6 +1811,7 @@ message UserVerificationFlowStep {
1811
1811
  message GetUserVerificationFlowRequest {
1812
1812
  int32 user_id = 1;
1813
1813
  string purpose = 2;
1814
+ string correlation_id = 3;
1814
1815
  }
1815
1816
  message GetUserVerificationFlowResponse {
1816
1817
  string purpose = 1;
package/user/user_pb.js CHANGED
@@ -75558,7 +75558,8 @@ proto.user.GetUserVerificationFlowRequest.prototype.toObject = function(opt_incl
75558
75558
  proto.user.GetUserVerificationFlowRequest.toObject = function(includeInstance, msg) {
75559
75559
  var f, obj = {
75560
75560
  userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
75561
- purpose: jspb.Message.getFieldWithDefault(msg, 2, "")
75561
+ purpose: jspb.Message.getFieldWithDefault(msg, 2, ""),
75562
+ correlationId: jspb.Message.getFieldWithDefault(msg, 3, "")
75562
75563
  };
75563
75564
 
75564
75565
  if (includeInstance) {
@@ -75603,6 +75604,10 @@ proto.user.GetUserVerificationFlowRequest.deserializeBinaryFromReader = function
75603
75604
  var value = /** @type {string} */ (reader.readString());
75604
75605
  msg.setPurpose(value);
75605
75606
  break;
75607
+ case 3:
75608
+ var value = /** @type {string} */ (reader.readString());
75609
+ msg.setCorrelationId(value);
75610
+ break;
75606
75611
  default:
75607
75612
  reader.skipField();
75608
75613
  break;
@@ -75646,6 +75651,13 @@ proto.user.GetUserVerificationFlowRequest.serializeBinaryToWriter = function(mes
75646
75651
  f
75647
75652
  );
75648
75653
  }
75654
+ f = message.getCorrelationId();
75655
+ if (f.length > 0) {
75656
+ writer.writeString(
75657
+ 3,
75658
+ f
75659
+ );
75660
+ }
75649
75661
  };
75650
75662
 
75651
75663
 
@@ -75685,6 +75697,24 @@ proto.user.GetUserVerificationFlowRequest.prototype.setPurpose = function(value)
75685
75697
  };
75686
75698
 
75687
75699
 
75700
+ /**
75701
+ * optional string correlation_id = 3;
75702
+ * @return {string}
75703
+ */
75704
+ proto.user.GetUserVerificationFlowRequest.prototype.getCorrelationId = function() {
75705
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
75706
+ };
75707
+
75708
+
75709
+ /**
75710
+ * @param {string} value
75711
+ * @return {!proto.user.GetUserVerificationFlowRequest} returns this
75712
+ */
75713
+ proto.user.GetUserVerificationFlowRequest.prototype.setCorrelationId = function(value) {
75714
+ return jspb.Message.setProto3StringField(this, 3, value);
75715
+ };
75716
+
75717
+
75688
75718
 
75689
75719
  /**
75690
75720
  * List of repeated fields within this message type.