protobuf-platform 1.2.45 → 1.2.47

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.45",
3
+ "version": "1.2.47",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -219,6 +219,7 @@ message DepositItemsResponse {
219
219
  message DepositWebHookRequest {
220
220
  string method = 1;
221
221
  string data = 2;
222
+ optional string headers = 3;
222
223
  }
223
224
  message ProcessedDepositResponse {
224
225
  string status = 1;
@@ -9418,7 +9418,8 @@ proto.payment.DepositWebHookRequest.prototype.toObject = function(opt_includeIns
9418
9418
  proto.payment.DepositWebHookRequest.toObject = function(includeInstance, msg) {
9419
9419
  var f, obj = {
9420
9420
  method: jspb.Message.getFieldWithDefault(msg, 1, ""),
9421
- data: jspb.Message.getFieldWithDefault(msg, 2, "")
9421
+ data: jspb.Message.getFieldWithDefault(msg, 2, ""),
9422
+ headers: jspb.Message.getFieldWithDefault(msg, 3, "")
9422
9423
  };
9423
9424
 
9424
9425
  if (includeInstance) {
@@ -9463,6 +9464,10 @@ proto.payment.DepositWebHookRequest.deserializeBinaryFromReader = function(msg,
9463
9464
  var value = /** @type {string} */ (reader.readString());
9464
9465
  msg.setData(value);
9465
9466
  break;
9467
+ case 3:
9468
+ var value = /** @type {string} */ (reader.readString());
9469
+ msg.setHeaders(value);
9470
+ break;
9466
9471
  default:
9467
9472
  reader.skipField();
9468
9473
  break;
@@ -9506,6 +9511,13 @@ proto.payment.DepositWebHookRequest.serializeBinaryToWriter = function(message,
9506
9511
  f
9507
9512
  );
9508
9513
  }
9514
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
9515
+ if (f != null) {
9516
+ writer.writeString(
9517
+ 3,
9518
+ f
9519
+ );
9520
+ }
9509
9521
  };
9510
9522
 
9511
9523
 
@@ -9545,6 +9557,42 @@ proto.payment.DepositWebHookRequest.prototype.setData = function(value) {
9545
9557
  };
9546
9558
 
9547
9559
 
9560
+ /**
9561
+ * optional string headers = 3;
9562
+ * @return {string}
9563
+ */
9564
+ proto.payment.DepositWebHookRequest.prototype.getHeaders = function() {
9565
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9566
+ };
9567
+
9568
+
9569
+ /**
9570
+ * @param {string} value
9571
+ * @return {!proto.payment.DepositWebHookRequest} returns this
9572
+ */
9573
+ proto.payment.DepositWebHookRequest.prototype.setHeaders = function(value) {
9574
+ return jspb.Message.setField(this, 3, value);
9575
+ };
9576
+
9577
+
9578
+ /**
9579
+ * Clears the field making it undefined.
9580
+ * @return {!proto.payment.DepositWebHookRequest} returns this
9581
+ */
9582
+ proto.payment.DepositWebHookRequest.prototype.clearHeaders = function() {
9583
+ return jspb.Message.setField(this, 3, undefined);
9584
+ };
9585
+
9586
+
9587
+ /**
9588
+ * Returns whether this field is set.
9589
+ * @return {boolean}
9590
+ */
9591
+ proto.payment.DepositWebHookRequest.prototype.hasHeaders = function() {
9592
+ return jspb.Message.getField(this, 3) != null;
9593
+ };
9594
+
9595
+
9548
9596
 
9549
9597
 
9550
9598
 
package/user/user.proto CHANGED
@@ -94,6 +94,7 @@ message SegmentSearchParams {
94
94
  optional int32 segment_id = 3;
95
95
  optional string currency = 4;
96
96
  optional int32 is_active = 5;
97
+ optional string title = 6;
97
98
  }
98
99
  message NoteSearchParams {
99
100
  optional int32 user_id = 2;
package/user/user_pb.js CHANGED
@@ -3093,7 +3093,8 @@ proto.user.SegmentSearchParams.toObject = function(includeInstance, msg) {
3093
3093
  geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
3094
3094
  segmentId: jspb.Message.getFieldWithDefault(msg, 3, 0),
3095
3095
  currency: jspb.Message.getFieldWithDefault(msg, 4, ""),
3096
- isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
3096
+ isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
3097
+ title: jspb.Message.getFieldWithDefault(msg, 6, "")
3097
3098
  };
3098
3099
 
3099
3100
  if (includeInstance) {
@@ -3150,6 +3151,10 @@ proto.user.SegmentSearchParams.deserializeBinaryFromReader = function(msg, reade
3150
3151
  var value = /** @type {number} */ (reader.readInt32());
3151
3152
  msg.setIsActive(value);
3152
3153
  break;
3154
+ case 6:
3155
+ var value = /** @type {string} */ (reader.readString());
3156
+ msg.setTitle(value);
3157
+ break;
3153
3158
  default:
3154
3159
  reader.skipField();
3155
3160
  break;
@@ -3214,6 +3219,13 @@ proto.user.SegmentSearchParams.serializeBinaryToWriter = function(message, write
3214
3219
  f
3215
3220
  );
3216
3221
  }
3222
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
3223
+ if (f != null) {
3224
+ writer.writeString(
3225
+ 6,
3226
+ f
3227
+ );
3228
+ }
3217
3229
  };
3218
3230
 
3219
3231
 
@@ -3397,6 +3409,42 @@ proto.user.SegmentSearchParams.prototype.hasIsActive = function() {
3397
3409
  };
3398
3410
 
3399
3411
 
3412
+ /**
3413
+ * optional string title = 6;
3414
+ * @return {string}
3415
+ */
3416
+ proto.user.SegmentSearchParams.prototype.getTitle = function() {
3417
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3418
+ };
3419
+
3420
+
3421
+ /**
3422
+ * @param {string} value
3423
+ * @return {!proto.user.SegmentSearchParams} returns this
3424
+ */
3425
+ proto.user.SegmentSearchParams.prototype.setTitle = function(value) {
3426
+ return jspb.Message.setField(this, 6, value);
3427
+ };
3428
+
3429
+
3430
+ /**
3431
+ * Clears the field making it undefined.
3432
+ * @return {!proto.user.SegmentSearchParams} returns this
3433
+ */
3434
+ proto.user.SegmentSearchParams.prototype.clearTitle = function() {
3435
+ return jspb.Message.setField(this, 6, undefined);
3436
+ };
3437
+
3438
+
3439
+ /**
3440
+ * Returns whether this field is set.
3441
+ * @return {boolean}
3442
+ */
3443
+ proto.user.SegmentSearchParams.prototype.hasTitle = function() {
3444
+ return jspb.Message.getField(this, 6) != null;
3445
+ };
3446
+
3447
+
3400
3448
 
3401
3449
 
3402
3450