protobuf-platform 1.2.394 → 1.2.396

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/game/game.proto CHANGED
@@ -755,6 +755,7 @@ message GameConfigCheckResponse {
755
755
  bool has_lobby = 8;
756
756
  repeated ActiveWageringUserBonus bonuses = 9;
757
757
  repeated ActiveUserTournament tournaments = 10;
758
+ optional bool has_demo = 11;
758
759
  }
759
760
  message InitGameSessionResponse {
760
761
  string game_url = 1;
@@ -1036,18 +1037,14 @@ message GeoRestrictionResponse {
1036
1037
  // Lightweight batch snapshots for notification CTA target enrichment.
1037
1038
  message GetGameSnapshotsByIdsRequest {
1038
1039
  repeated int32 ids = 1;
1039
- optional string locale = 2;
1040
1040
  }
1041
1041
  message GameSnapshotItem {
1042
1042
  int32 id = 1;
1043
1043
  optional string title = 2;
1044
1044
  optional string slug = 3;
1045
- optional string image = 4;
1046
- optional string image_cdn = 5;
1047
- optional string provider_title = 6;
1048
- optional string provider_slug = 7;
1049
- optional string status = 8;
1050
- optional int32 status_id = 9;
1045
+ optional string provider_slug = 4;
1046
+ optional string provider_title = 5;
1047
+ optional string image = 6;
1051
1048
  }
1052
1049
  message GameSnapshotItemsResponse {
1053
1050
  repeated GameSnapshotItem items = 1;
package/game/game_pb.js CHANGED
@@ -31671,7 +31671,8 @@ proto.game.GameConfigCheckResponse.toObject = function(includeInstance, msg) {
31671
31671
  bonusesList: jspb.Message.toObjectList(msg.getBonusesList(),
31672
31672
  proto.game.ActiveWageringUserBonus.toObject, includeInstance),
31673
31673
  tournamentsList: jspb.Message.toObjectList(msg.getTournamentsList(),
31674
- proto.game.ActiveUserTournament.toObject, includeInstance)
31674
+ proto.game.ActiveUserTournament.toObject, includeInstance),
31675
+ hasDemo: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
31675
31676
  };
31676
31677
 
31677
31678
  if (includeInstance) {
@@ -31750,6 +31751,10 @@ proto.game.GameConfigCheckResponse.deserializeBinaryFromReader = function(msg, r
31750
31751
  reader.readMessage(value,proto.game.ActiveUserTournament.deserializeBinaryFromReader);
31751
31752
  msg.addTournaments(value);
31752
31753
  break;
31754
+ case 11:
31755
+ var value = /** @type {boolean} */ (reader.readBool());
31756
+ msg.setHasDemo(value);
31757
+ break;
31753
31758
  default:
31754
31759
  reader.skipField();
31755
31760
  break;
@@ -31851,6 +31856,13 @@ proto.game.GameConfigCheckResponse.serializeBinaryToWriter = function(message, w
31851
31856
  proto.game.ActiveUserTournament.serializeBinaryToWriter
31852
31857
  );
31853
31858
  }
31859
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
31860
+ if (f != null) {
31861
+ writer.writeBool(
31862
+ 11,
31863
+ f
31864
+ );
31865
+ }
31854
31866
  };
31855
31867
 
31856
31868
 
@@ -32074,6 +32086,42 @@ proto.game.GameConfigCheckResponse.prototype.clearTournamentsList = function() {
32074
32086
  };
32075
32087
 
32076
32088
 
32089
+ /**
32090
+ * optional bool has_demo = 11;
32091
+ * @return {boolean}
32092
+ */
32093
+ proto.game.GameConfigCheckResponse.prototype.getHasDemo = function() {
32094
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
32095
+ };
32096
+
32097
+
32098
+ /**
32099
+ * @param {boolean} value
32100
+ * @return {!proto.game.GameConfigCheckResponse} returns this
32101
+ */
32102
+ proto.game.GameConfigCheckResponse.prototype.setHasDemo = function(value) {
32103
+ return jspb.Message.setField(this, 11, value);
32104
+ };
32105
+
32106
+
32107
+ /**
32108
+ * Clears the field making it undefined.
32109
+ * @return {!proto.game.GameConfigCheckResponse} returns this
32110
+ */
32111
+ proto.game.GameConfigCheckResponse.prototype.clearHasDemo = function() {
32112
+ return jspb.Message.setField(this, 11, undefined);
32113
+ };
32114
+
32115
+
32116
+ /**
32117
+ * Returns whether this field is set.
32118
+ * @return {boolean}
32119
+ */
32120
+ proto.game.GameConfigCheckResponse.prototype.hasHasDemo = function() {
32121
+ return jspb.Message.getField(this, 11) != null;
32122
+ };
32123
+
32124
+
32077
32125
 
32078
32126
 
32079
32127
 
@@ -44262,8 +44310,7 @@ proto.game.GetGameSnapshotsByIdsRequest.prototype.toObject = function(opt_includ
44262
44310
  */
44263
44311
  proto.game.GetGameSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
44264
44312
  var f, obj = {
44265
- idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
44266
- locale: jspb.Message.getFieldWithDefault(msg, 2, "")
44313
+ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
44267
44314
  };
44268
44315
 
44269
44316
  if (includeInstance) {
@@ -44306,10 +44353,6 @@ proto.game.GetGameSnapshotsByIdsRequest.deserializeBinaryFromReader = function(m
44306
44353
  msg.addIds(values[i]);
44307
44354
  }
44308
44355
  break;
44309
- case 2:
44310
- var value = /** @type {string} */ (reader.readString());
44311
- msg.setLocale(value);
44312
- break;
44313
44356
  default:
44314
44357
  reader.skipField();
44315
44358
  break;
@@ -44346,13 +44389,6 @@ proto.game.GetGameSnapshotsByIdsRequest.serializeBinaryToWriter = function(messa
44346
44389
  f
44347
44390
  );
44348
44391
  }
44349
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
44350
- if (f != null) {
44351
- writer.writeString(
44352
- 2,
44353
- f
44354
- );
44355
- }
44356
44392
  };
44357
44393
 
44358
44394
 
@@ -44393,42 +44429,6 @@ proto.game.GetGameSnapshotsByIdsRequest.prototype.clearIdsList = function() {
44393
44429
  };
44394
44430
 
44395
44431
 
44396
- /**
44397
- * optional string locale = 2;
44398
- * @return {string}
44399
- */
44400
- proto.game.GetGameSnapshotsByIdsRequest.prototype.getLocale = function() {
44401
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
44402
- };
44403
-
44404
-
44405
- /**
44406
- * @param {string} value
44407
- * @return {!proto.game.GetGameSnapshotsByIdsRequest} returns this
44408
- */
44409
- proto.game.GetGameSnapshotsByIdsRequest.prototype.setLocale = function(value) {
44410
- return jspb.Message.setField(this, 2, value);
44411
- };
44412
-
44413
-
44414
- /**
44415
- * Clears the field making it undefined.
44416
- * @return {!proto.game.GetGameSnapshotsByIdsRequest} returns this
44417
- */
44418
- proto.game.GetGameSnapshotsByIdsRequest.prototype.clearLocale = function() {
44419
- return jspb.Message.setField(this, 2, undefined);
44420
- };
44421
-
44422
-
44423
- /**
44424
- * Returns whether this field is set.
44425
- * @return {boolean}
44426
- */
44427
- proto.game.GetGameSnapshotsByIdsRequest.prototype.hasLocale = function() {
44428
- return jspb.Message.getField(this, 2) != null;
44429
- };
44430
-
44431
-
44432
44432
 
44433
44433
 
44434
44434
 
@@ -44464,12 +44464,9 @@ proto.game.GameSnapshotItem.toObject = function(includeInstance, msg) {
44464
44464
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
44465
44465
  title: jspb.Message.getFieldWithDefault(msg, 2, ""),
44466
44466
  slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
44467
- image: jspb.Message.getFieldWithDefault(msg, 4, ""),
44468
- imageCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
44469
- providerTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
44470
- providerSlug: jspb.Message.getFieldWithDefault(msg, 7, ""),
44471
- status: jspb.Message.getFieldWithDefault(msg, 8, ""),
44472
- statusId: jspb.Message.getFieldWithDefault(msg, 9, 0)
44467
+ providerSlug: jspb.Message.getFieldWithDefault(msg, 4, ""),
44468
+ providerTitle: jspb.Message.getFieldWithDefault(msg, 5, ""),
44469
+ image: jspb.Message.getFieldWithDefault(msg, 6, "")
44473
44470
  };
44474
44471
 
44475
44472
  if (includeInstance) {
@@ -44520,27 +44517,15 @@ proto.game.GameSnapshotItem.deserializeBinaryFromReader = function(msg, reader)
44520
44517
  break;
44521
44518
  case 4:
44522
44519
  var value = /** @type {string} */ (reader.readString());
44523
- msg.setImage(value);
44520
+ msg.setProviderSlug(value);
44524
44521
  break;
44525
44522
  case 5:
44526
- var value = /** @type {string} */ (reader.readString());
44527
- msg.setImageCdn(value);
44528
- break;
44529
- case 6:
44530
44523
  var value = /** @type {string} */ (reader.readString());
44531
44524
  msg.setProviderTitle(value);
44532
44525
  break;
44533
- case 7:
44534
- var value = /** @type {string} */ (reader.readString());
44535
- msg.setProviderSlug(value);
44536
- break;
44537
- case 8:
44526
+ case 6:
44538
44527
  var value = /** @type {string} */ (reader.readString());
44539
- msg.setStatus(value);
44540
- break;
44541
- case 9:
44542
- var value = /** @type {number} */ (reader.readInt32());
44543
- msg.setStatusId(value);
44528
+ msg.setImage(value);
44544
44529
  break;
44545
44530
  default:
44546
44531
  reader.skipField();
@@ -44613,27 +44598,6 @@ proto.game.GameSnapshotItem.serializeBinaryToWriter = function(message, writer)
44613
44598
  f
44614
44599
  );
44615
44600
  }
44616
- f = /** @type {string} */ (jspb.Message.getField(message, 7));
44617
- if (f != null) {
44618
- writer.writeString(
44619
- 7,
44620
- f
44621
- );
44622
- }
44623
- f = /** @type {string} */ (jspb.Message.getField(message, 8));
44624
- if (f != null) {
44625
- writer.writeString(
44626
- 8,
44627
- f
44628
- );
44629
- }
44630
- f = /** @type {number} */ (jspb.Message.getField(message, 9));
44631
- if (f != null) {
44632
- writer.writeInt32(
44633
- 9,
44634
- f
44635
- );
44636
- }
44637
44601
  };
44638
44602
 
44639
44603
 
@@ -44728,10 +44692,10 @@ proto.game.GameSnapshotItem.prototype.hasSlug = function() {
44728
44692
 
44729
44693
 
44730
44694
  /**
44731
- * optional string image = 4;
44695
+ * optional string provider_slug = 4;
44732
44696
  * @return {string}
44733
44697
  */
44734
- proto.game.GameSnapshotItem.prototype.getImage = function() {
44698
+ proto.game.GameSnapshotItem.prototype.getProviderSlug = function() {
44735
44699
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44736
44700
  };
44737
44701
 
@@ -44740,7 +44704,7 @@ proto.game.GameSnapshotItem.prototype.getImage = function() {
44740
44704
  * @param {string} value
44741
44705
  * @return {!proto.game.GameSnapshotItem} returns this
44742
44706
  */
44743
- proto.game.GameSnapshotItem.prototype.setImage = function(value) {
44707
+ proto.game.GameSnapshotItem.prototype.setProviderSlug = function(value) {
44744
44708
  return jspb.Message.setField(this, 4, value);
44745
44709
  };
44746
44710
 
@@ -44749,7 +44713,7 @@ proto.game.GameSnapshotItem.prototype.setImage = function(value) {
44749
44713
  * Clears the field making it undefined.
44750
44714
  * @return {!proto.game.GameSnapshotItem} returns this
44751
44715
  */
44752
- proto.game.GameSnapshotItem.prototype.clearImage = function() {
44716
+ proto.game.GameSnapshotItem.prototype.clearProviderSlug = function() {
44753
44717
  return jspb.Message.setField(this, 4, undefined);
44754
44718
  };
44755
44719
 
@@ -44758,16 +44722,16 @@ proto.game.GameSnapshotItem.prototype.clearImage = function() {
44758
44722
  * Returns whether this field is set.
44759
44723
  * @return {boolean}
44760
44724
  */
44761
- proto.game.GameSnapshotItem.prototype.hasImage = function() {
44725
+ proto.game.GameSnapshotItem.prototype.hasProviderSlug = function() {
44762
44726
  return jspb.Message.getField(this, 4) != null;
44763
44727
  };
44764
44728
 
44765
44729
 
44766
44730
  /**
44767
- * optional string image_cdn = 5;
44731
+ * optional string provider_title = 5;
44768
44732
  * @return {string}
44769
44733
  */
44770
- proto.game.GameSnapshotItem.prototype.getImageCdn = function() {
44734
+ proto.game.GameSnapshotItem.prototype.getProviderTitle = function() {
44771
44735
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
44772
44736
  };
44773
44737
 
@@ -44776,7 +44740,7 @@ proto.game.GameSnapshotItem.prototype.getImageCdn = function() {
44776
44740
  * @param {string} value
44777
44741
  * @return {!proto.game.GameSnapshotItem} returns this
44778
44742
  */
44779
- proto.game.GameSnapshotItem.prototype.setImageCdn = function(value) {
44743
+ proto.game.GameSnapshotItem.prototype.setProviderTitle = function(value) {
44780
44744
  return jspb.Message.setField(this, 5, value);
44781
44745
  };
44782
44746
 
@@ -44785,7 +44749,7 @@ proto.game.GameSnapshotItem.prototype.setImageCdn = function(value) {
44785
44749
  * Clears the field making it undefined.
44786
44750
  * @return {!proto.game.GameSnapshotItem} returns this
44787
44751
  */
44788
- proto.game.GameSnapshotItem.prototype.clearImageCdn = function() {
44752
+ proto.game.GameSnapshotItem.prototype.clearProviderTitle = function() {
44789
44753
  return jspb.Message.setField(this, 5, undefined);
44790
44754
  };
44791
44755
 
@@ -44794,16 +44758,16 @@ proto.game.GameSnapshotItem.prototype.clearImageCdn = function() {
44794
44758
  * Returns whether this field is set.
44795
44759
  * @return {boolean}
44796
44760
  */
44797
- proto.game.GameSnapshotItem.prototype.hasImageCdn = function() {
44761
+ proto.game.GameSnapshotItem.prototype.hasProviderTitle = function() {
44798
44762
  return jspb.Message.getField(this, 5) != null;
44799
44763
  };
44800
44764
 
44801
44765
 
44802
44766
  /**
44803
- * optional string provider_title = 6;
44767
+ * optional string image = 6;
44804
44768
  * @return {string}
44805
44769
  */
44806
- proto.game.GameSnapshotItem.prototype.getProviderTitle = function() {
44770
+ proto.game.GameSnapshotItem.prototype.getImage = function() {
44807
44771
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
44808
44772
  };
44809
44773
 
@@ -44812,7 +44776,7 @@ proto.game.GameSnapshotItem.prototype.getProviderTitle = function() {
44812
44776
  * @param {string} value
44813
44777
  * @return {!proto.game.GameSnapshotItem} returns this
44814
44778
  */
44815
- proto.game.GameSnapshotItem.prototype.setProviderTitle = function(value) {
44779
+ proto.game.GameSnapshotItem.prototype.setImage = function(value) {
44816
44780
  return jspb.Message.setField(this, 6, value);
44817
44781
  };
44818
44782
 
@@ -44821,7 +44785,7 @@ proto.game.GameSnapshotItem.prototype.setProviderTitle = function(value) {
44821
44785
  * Clears the field making it undefined.
44822
44786
  * @return {!proto.game.GameSnapshotItem} returns this
44823
44787
  */
44824
- proto.game.GameSnapshotItem.prototype.clearProviderTitle = function() {
44788
+ proto.game.GameSnapshotItem.prototype.clearImage = function() {
44825
44789
  return jspb.Message.setField(this, 6, undefined);
44826
44790
  };
44827
44791
 
@@ -44830,119 +44794,11 @@ proto.game.GameSnapshotItem.prototype.clearProviderTitle = function() {
44830
44794
  * Returns whether this field is set.
44831
44795
  * @return {boolean}
44832
44796
  */
44833
- proto.game.GameSnapshotItem.prototype.hasProviderTitle = function() {
44797
+ proto.game.GameSnapshotItem.prototype.hasImage = function() {
44834
44798
  return jspb.Message.getField(this, 6) != null;
44835
44799
  };
44836
44800
 
44837
44801
 
44838
- /**
44839
- * optional string provider_slug = 7;
44840
- * @return {string}
44841
- */
44842
- proto.game.GameSnapshotItem.prototype.getProviderSlug = function() {
44843
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
44844
- };
44845
-
44846
-
44847
- /**
44848
- * @param {string} value
44849
- * @return {!proto.game.GameSnapshotItem} returns this
44850
- */
44851
- proto.game.GameSnapshotItem.prototype.setProviderSlug = function(value) {
44852
- return jspb.Message.setField(this, 7, value);
44853
- };
44854
-
44855
-
44856
- /**
44857
- * Clears the field making it undefined.
44858
- * @return {!proto.game.GameSnapshotItem} returns this
44859
- */
44860
- proto.game.GameSnapshotItem.prototype.clearProviderSlug = function() {
44861
- return jspb.Message.setField(this, 7, undefined);
44862
- };
44863
-
44864
-
44865
- /**
44866
- * Returns whether this field is set.
44867
- * @return {boolean}
44868
- */
44869
- proto.game.GameSnapshotItem.prototype.hasProviderSlug = function() {
44870
- return jspb.Message.getField(this, 7) != null;
44871
- };
44872
-
44873
-
44874
- /**
44875
- * optional string status = 8;
44876
- * @return {string}
44877
- */
44878
- proto.game.GameSnapshotItem.prototype.getStatus = function() {
44879
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
44880
- };
44881
-
44882
-
44883
- /**
44884
- * @param {string} value
44885
- * @return {!proto.game.GameSnapshotItem} returns this
44886
- */
44887
- proto.game.GameSnapshotItem.prototype.setStatus = function(value) {
44888
- return jspb.Message.setField(this, 8, value);
44889
- };
44890
-
44891
-
44892
- /**
44893
- * Clears the field making it undefined.
44894
- * @return {!proto.game.GameSnapshotItem} returns this
44895
- */
44896
- proto.game.GameSnapshotItem.prototype.clearStatus = function() {
44897
- return jspb.Message.setField(this, 8, undefined);
44898
- };
44899
-
44900
-
44901
- /**
44902
- * Returns whether this field is set.
44903
- * @return {boolean}
44904
- */
44905
- proto.game.GameSnapshotItem.prototype.hasStatus = function() {
44906
- return jspb.Message.getField(this, 8) != null;
44907
- };
44908
-
44909
-
44910
- /**
44911
- * optional int32 status_id = 9;
44912
- * @return {number}
44913
- */
44914
- proto.game.GameSnapshotItem.prototype.getStatusId = function() {
44915
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
44916
- };
44917
-
44918
-
44919
- /**
44920
- * @param {number} value
44921
- * @return {!proto.game.GameSnapshotItem} returns this
44922
- */
44923
- proto.game.GameSnapshotItem.prototype.setStatusId = function(value) {
44924
- return jspb.Message.setField(this, 9, value);
44925
- };
44926
-
44927
-
44928
- /**
44929
- * Clears the field making it undefined.
44930
- * @return {!proto.game.GameSnapshotItem} returns this
44931
- */
44932
- proto.game.GameSnapshotItem.prototype.clearStatusId = function() {
44933
- return jspb.Message.setField(this, 9, undefined);
44934
- };
44935
-
44936
-
44937
- /**
44938
- * Returns whether this field is set.
44939
- * @return {boolean}
44940
- */
44941
- proto.game.GameSnapshotItem.prototype.hasStatusId = function() {
44942
- return jspb.Message.getField(this, 9) != null;
44943
- };
44944
-
44945
-
44946
44802
 
44947
44803
  /**
44948
44804
  * List of repeated fields within this message type.
@@ -129,6 +129,7 @@ message UserNotificationItem {
129
129
  optional string target_title = 15;
130
130
  optional string target_slug = 16;
131
131
  optional string button_text = 17;
132
+ optional string target_provider_slug = 18; // response-only; enriched from game-service
132
133
  }
133
134
  message UserNotificationItemsResponse {
134
135
  repeated UserNotificationItem items = 1;
@@ -153,6 +154,7 @@ message NotificationItem {
153
154
  optional string target_title = 15;
154
155
  optional string target_slug = 16;
155
156
  optional string button_text = 17;
157
+ optional string target_provider_slug = 18; // response-only; enriched from game-service
156
158
  }
157
159
  message NotificationResponse {
158
160
  NotificationItem data = 1;
@@ -4502,7 +4502,8 @@ proto.notification.UserNotificationItem.toObject = function(includeInstance, msg
4502
4502
  targetId: jspb.Message.getFieldWithDefault(msg, 14, 0),
4503
4503
  targetTitle: jspb.Message.getFieldWithDefault(msg, 15, ""),
4504
4504
  targetSlug: jspb.Message.getFieldWithDefault(msg, 16, ""),
4505
- buttonText: jspb.Message.getFieldWithDefault(msg, 17, "")
4505
+ buttonText: jspb.Message.getFieldWithDefault(msg, 17, ""),
4506
+ targetProviderSlug: jspb.Message.getFieldWithDefault(msg, 18, "")
4506
4507
  };
4507
4508
 
4508
4509
  if (includeInstance) {
@@ -4607,6 +4608,10 @@ proto.notification.UserNotificationItem.deserializeBinaryFromReader = function(m
4607
4608
  var value = /** @type {string} */ (reader.readString());
4608
4609
  msg.setButtonText(value);
4609
4610
  break;
4611
+ case 18:
4612
+ var value = /** @type {string} */ (reader.readString());
4613
+ msg.setTargetProviderSlug(value);
4614
+ break;
4610
4615
  default:
4611
4616
  reader.skipField();
4612
4617
  break;
@@ -4755,6 +4760,13 @@ proto.notification.UserNotificationItem.serializeBinaryToWriter = function(messa
4755
4760
  f
4756
4761
  );
4757
4762
  }
4763
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
4764
+ if (f != null) {
4765
+ writer.writeString(
4766
+ 18,
4767
+ f
4768
+ );
4769
+ }
4758
4770
  };
4759
4771
 
4760
4772
 
@@ -5298,6 +5310,42 @@ proto.notification.UserNotificationItem.prototype.hasButtonText = function() {
5298
5310
  };
5299
5311
 
5300
5312
 
5313
+ /**
5314
+ * optional string target_provider_slug = 18;
5315
+ * @return {string}
5316
+ */
5317
+ proto.notification.UserNotificationItem.prototype.getTargetProviderSlug = function() {
5318
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
5319
+ };
5320
+
5321
+
5322
+ /**
5323
+ * @param {string} value
5324
+ * @return {!proto.notification.UserNotificationItem} returns this
5325
+ */
5326
+ proto.notification.UserNotificationItem.prototype.setTargetProviderSlug = function(value) {
5327
+ return jspb.Message.setField(this, 18, value);
5328
+ };
5329
+
5330
+
5331
+ /**
5332
+ * Clears the field making it undefined.
5333
+ * @return {!proto.notification.UserNotificationItem} returns this
5334
+ */
5335
+ proto.notification.UserNotificationItem.prototype.clearTargetProviderSlug = function() {
5336
+ return jspb.Message.setField(this, 18, undefined);
5337
+ };
5338
+
5339
+
5340
+ /**
5341
+ * Returns whether this field is set.
5342
+ * @return {boolean}
5343
+ */
5344
+ proto.notification.UserNotificationItem.prototype.hasTargetProviderSlug = function() {
5345
+ return jspb.Message.getField(this, 18) != null;
5346
+ };
5347
+
5348
+
5301
5349
 
5302
5350
  /**
5303
5351
  * List of repeated fields within this message type.
@@ -5602,7 +5650,8 @@ proto.notification.NotificationItem.toObject = function(includeInstance, msg) {
5602
5650
  targetId: jspb.Message.getFieldWithDefault(msg, 14, 0),
5603
5651
  targetTitle: jspb.Message.getFieldWithDefault(msg, 15, ""),
5604
5652
  targetSlug: jspb.Message.getFieldWithDefault(msg, 16, ""),
5605
- buttonText: jspb.Message.getFieldWithDefault(msg, 17, "")
5653
+ buttonText: jspb.Message.getFieldWithDefault(msg, 17, ""),
5654
+ targetProviderSlug: jspb.Message.getFieldWithDefault(msg, 18, "")
5606
5655
  };
5607
5656
 
5608
5657
  if (includeInstance) {
@@ -5707,6 +5756,10 @@ proto.notification.NotificationItem.deserializeBinaryFromReader = function(msg,
5707
5756
  var value = /** @type {string} */ (reader.readString());
5708
5757
  msg.setButtonText(value);
5709
5758
  break;
5759
+ case 18:
5760
+ var value = /** @type {string} */ (reader.readString());
5761
+ msg.setTargetProviderSlug(value);
5762
+ break;
5710
5763
  default:
5711
5764
  reader.skipField();
5712
5765
  break;
@@ -5855,6 +5908,13 @@ proto.notification.NotificationItem.serializeBinaryToWriter = function(message,
5855
5908
  f
5856
5909
  );
5857
5910
  }
5911
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
5912
+ if (f != null) {
5913
+ writer.writeString(
5914
+ 18,
5915
+ f
5916
+ );
5917
+ }
5858
5918
  };
5859
5919
 
5860
5920
 
@@ -6362,6 +6422,42 @@ proto.notification.NotificationItem.prototype.hasButtonText = function() {
6362
6422
  };
6363
6423
 
6364
6424
 
6425
+ /**
6426
+ * optional string target_provider_slug = 18;
6427
+ * @return {string}
6428
+ */
6429
+ proto.notification.NotificationItem.prototype.getTargetProviderSlug = function() {
6430
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
6431
+ };
6432
+
6433
+
6434
+ /**
6435
+ * @param {string} value
6436
+ * @return {!proto.notification.NotificationItem} returns this
6437
+ */
6438
+ proto.notification.NotificationItem.prototype.setTargetProviderSlug = function(value) {
6439
+ return jspb.Message.setField(this, 18, value);
6440
+ };
6441
+
6442
+
6443
+ /**
6444
+ * Clears the field making it undefined.
6445
+ * @return {!proto.notification.NotificationItem} returns this
6446
+ */
6447
+ proto.notification.NotificationItem.prototype.clearTargetProviderSlug = function() {
6448
+ return jspb.Message.setField(this, 18, undefined);
6449
+ };
6450
+
6451
+
6452
+ /**
6453
+ * Returns whether this field is set.
6454
+ * @return {boolean}
6455
+ */
6456
+ proto.notification.NotificationItem.prototype.hasTargetProviderSlug = function() {
6457
+ return jspb.Message.getField(this, 18) != null;
6458
+ };
6459
+
6460
+
6365
6461
 
6366
6462
 
6367
6463
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.394",
3
+ "version": "1.2.396",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {