protobuf-platform 1.2.220 → 1.2.222

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/CLAUDE.md CHANGED
@@ -127,3 +127,42 @@ When generating or editing code:
127
127
  - Output code in plain code blocks only.
128
128
  - List changed file paths explicitly.
129
129
  - Do NOT include explanations or commentary unless explicitly requested.
130
+
131
+ ## Allowed (Explicit)
132
+
133
+ Cursor is allowed to execute the following commands without additional confirmation:
134
+
135
+ npm run proto:build
136
+ npm version patch --no-git-tag-version
137
+
138
+ Rationale:
139
+
140
+ npm run proto:build
141
+ Generates protobuf artifacts locally (deterministic, no external side effects).
142
+
143
+ npm version patch --no-git-tag-version
144
+ Updates the local package version as part of the protobuf contract change workflow.
145
+
146
+ These commands are considered safe, deterministic, and required for protobuf development.
147
+
148
+ Forbidden (Always Manual)
149
+
150
+ Cursor must NOT execute the following commands under any circumstances:
151
+
152
+ npm publish
153
+
154
+ Rationale:
155
+
156
+ Publishes a global contract to npm
157
+
158
+ Requires explicit human verification and approval
159
+
160
+ Must always be executed manually
161
+
162
+ Enforcement Rule
163
+
164
+ If a task requires publishing the protobuf package:
165
+
166
+ Cursor must stop after local generation and version bump
167
+
168
+ Cursor must explicitly instruct the developer to run npm publish manually
package/bonus/bonus.proto CHANGED
@@ -137,6 +137,10 @@ message GetBonusBySlugRequest {
137
137
  string slug = 1;
138
138
  optional string locale = 2;
139
139
  }
140
+ message CurrencyStatusItem {
141
+ optional string currency = 1; // e.g. "EUR"
142
+ optional string status = 2; // e.g. "OK" | "PARTIAL" | "BROKEN" or "READY" | "PARTIAL" | "BROKEN"
143
+ }
140
144
  message BonusResponse {
141
145
  BonusItem data = 1;
142
146
  }
@@ -169,6 +173,16 @@ message BonusItem {
169
173
  repeated int32 segment_ids = 26;
170
174
  repeated GameItem wager_games = 27;
171
175
  optional string slug = 28;
176
+ // Back Office computed fields (table columns)
177
+ optional string aggregated_type = 29;
178
+ optional string wager_balance = 30;
179
+ optional string wager = 31;
180
+ // Per-currency compact data sources for BO (gateway will render compact strings)
181
+ repeated CurrencyStatusItem currency_coverage = 32;
182
+ repeated CurrencyStatusItem activation_readiness = 33;
183
+ // Back Office computed fields (table columns)
184
+ optional string timing = 34;
185
+ optional string segments = 35;
172
186
  }
173
187
  message BonusItemsResponse {
174
188
  repeated BonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -40,6 +40,7 @@ goog.exportSymbol('proto.bonus.BonusTranslationItem', null, global);
40
40
  goog.exportSymbol('proto.bonus.BonusTranslationRequest', null, global);
41
41
  goog.exportSymbol('proto.bonus.BonusType', null, global);
42
42
  goog.exportSymbol('proto.bonus.BonusTypesResponse', null, global);
43
+ goog.exportSymbol('proto.bonus.CurrencyStatusItem', null, global);
43
44
  goog.exportSymbol('proto.bonus.DashboardRequest', null, global);
44
45
  goog.exportSymbol('proto.bonus.DashboardResponse', null, global);
45
46
  goog.exportSymbol('proto.bonus.File', null, global);
@@ -414,6 +415,27 @@ if (goog.DEBUG && !COMPILED) {
414
415
  */
415
416
  proto.bonus.GetBonusBySlugRequest.displayName = 'proto.bonus.GetBonusBySlugRequest';
416
417
  }
418
+ /**
419
+ * Generated by JsPbCodeGenerator.
420
+ * @param {Array=} opt_data Optional initial data array, typically from a
421
+ * server response, or constructed directly in Javascript. The array is used
422
+ * in place and becomes part of the constructed object. It is not cloned.
423
+ * If no data is provided, the constructed object will be empty, but still
424
+ * valid.
425
+ * @extends {jspb.Message}
426
+ * @constructor
427
+ */
428
+ proto.bonus.CurrencyStatusItem = function(opt_data) {
429
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
430
+ };
431
+ goog.inherits(proto.bonus.CurrencyStatusItem, jspb.Message);
432
+ if (goog.DEBUG && !COMPILED) {
433
+ /**
434
+ * @public
435
+ * @override
436
+ */
437
+ proto.bonus.CurrencyStatusItem.displayName = 'proto.bonus.CurrencyStatusItem';
438
+ }
417
439
  /**
418
440
  * Generated by JsPbCodeGenerator.
419
441
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5693,6 +5715,202 @@ proto.bonus.GetBonusBySlugRequest.prototype.hasLocale = function() {
5693
5715
 
5694
5716
 
5695
5717
 
5718
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5719
+ /**
5720
+ * Creates an object representation of this proto.
5721
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5722
+ * Optional fields that are not set will be set to undefined.
5723
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5724
+ * For the list of reserved names please see:
5725
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5726
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5727
+ * JSPB instance for transitional soy proto support:
5728
+ * http://goto/soy-param-migration
5729
+ * @return {!Object}
5730
+ */
5731
+ proto.bonus.CurrencyStatusItem.prototype.toObject = function(opt_includeInstance) {
5732
+ return proto.bonus.CurrencyStatusItem.toObject(opt_includeInstance, this);
5733
+ };
5734
+
5735
+
5736
+ /**
5737
+ * Static version of the {@see toObject} method.
5738
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5739
+ * the JSPB instance for transitional soy proto support:
5740
+ * http://goto/soy-param-migration
5741
+ * @param {!proto.bonus.CurrencyStatusItem} msg The msg instance to transform.
5742
+ * @return {!Object}
5743
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5744
+ */
5745
+ proto.bonus.CurrencyStatusItem.toObject = function(includeInstance, msg) {
5746
+ var f, obj = {
5747
+ currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
5748
+ status: jspb.Message.getFieldWithDefault(msg, 2, "")
5749
+ };
5750
+
5751
+ if (includeInstance) {
5752
+ obj.$jspbMessageInstance = msg;
5753
+ }
5754
+ return obj;
5755
+ };
5756
+ }
5757
+
5758
+
5759
+ /**
5760
+ * Deserializes binary data (in protobuf wire format).
5761
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5762
+ * @return {!proto.bonus.CurrencyStatusItem}
5763
+ */
5764
+ proto.bonus.CurrencyStatusItem.deserializeBinary = function(bytes) {
5765
+ var reader = new jspb.BinaryReader(bytes);
5766
+ var msg = new proto.bonus.CurrencyStatusItem;
5767
+ return proto.bonus.CurrencyStatusItem.deserializeBinaryFromReader(msg, reader);
5768
+ };
5769
+
5770
+
5771
+ /**
5772
+ * Deserializes binary data (in protobuf wire format) from the
5773
+ * given reader into the given message object.
5774
+ * @param {!proto.bonus.CurrencyStatusItem} msg The message object to deserialize into.
5775
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5776
+ * @return {!proto.bonus.CurrencyStatusItem}
5777
+ */
5778
+ proto.bonus.CurrencyStatusItem.deserializeBinaryFromReader = function(msg, reader) {
5779
+ while (reader.nextField()) {
5780
+ if (reader.isEndGroup()) {
5781
+ break;
5782
+ }
5783
+ var field = reader.getFieldNumber();
5784
+ switch (field) {
5785
+ case 1:
5786
+ var value = /** @type {string} */ (reader.readString());
5787
+ msg.setCurrency(value);
5788
+ break;
5789
+ case 2:
5790
+ var value = /** @type {string} */ (reader.readString());
5791
+ msg.setStatus(value);
5792
+ break;
5793
+ default:
5794
+ reader.skipField();
5795
+ break;
5796
+ }
5797
+ }
5798
+ return msg;
5799
+ };
5800
+
5801
+
5802
+ /**
5803
+ * Serializes the message to binary data (in protobuf wire format).
5804
+ * @return {!Uint8Array}
5805
+ */
5806
+ proto.bonus.CurrencyStatusItem.prototype.serializeBinary = function() {
5807
+ var writer = new jspb.BinaryWriter();
5808
+ proto.bonus.CurrencyStatusItem.serializeBinaryToWriter(this, writer);
5809
+ return writer.getResultBuffer();
5810
+ };
5811
+
5812
+
5813
+ /**
5814
+ * Serializes the given message to binary data (in protobuf wire
5815
+ * format), writing to the given BinaryWriter.
5816
+ * @param {!proto.bonus.CurrencyStatusItem} message
5817
+ * @param {!jspb.BinaryWriter} writer
5818
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5819
+ */
5820
+ proto.bonus.CurrencyStatusItem.serializeBinaryToWriter = function(message, writer) {
5821
+ var f = undefined;
5822
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
5823
+ if (f != null) {
5824
+ writer.writeString(
5825
+ 1,
5826
+ f
5827
+ );
5828
+ }
5829
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
5830
+ if (f != null) {
5831
+ writer.writeString(
5832
+ 2,
5833
+ f
5834
+ );
5835
+ }
5836
+ };
5837
+
5838
+
5839
+ /**
5840
+ * optional string currency = 1;
5841
+ * @return {string}
5842
+ */
5843
+ proto.bonus.CurrencyStatusItem.prototype.getCurrency = function() {
5844
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5845
+ };
5846
+
5847
+
5848
+ /**
5849
+ * @param {string} value
5850
+ * @return {!proto.bonus.CurrencyStatusItem} returns this
5851
+ */
5852
+ proto.bonus.CurrencyStatusItem.prototype.setCurrency = function(value) {
5853
+ return jspb.Message.setField(this, 1, value);
5854
+ };
5855
+
5856
+
5857
+ /**
5858
+ * Clears the field making it undefined.
5859
+ * @return {!proto.bonus.CurrencyStatusItem} returns this
5860
+ */
5861
+ proto.bonus.CurrencyStatusItem.prototype.clearCurrency = function() {
5862
+ return jspb.Message.setField(this, 1, undefined);
5863
+ };
5864
+
5865
+
5866
+ /**
5867
+ * Returns whether this field is set.
5868
+ * @return {boolean}
5869
+ */
5870
+ proto.bonus.CurrencyStatusItem.prototype.hasCurrency = function() {
5871
+ return jspb.Message.getField(this, 1) != null;
5872
+ };
5873
+
5874
+
5875
+ /**
5876
+ * optional string status = 2;
5877
+ * @return {string}
5878
+ */
5879
+ proto.bonus.CurrencyStatusItem.prototype.getStatus = function() {
5880
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5881
+ };
5882
+
5883
+
5884
+ /**
5885
+ * @param {string} value
5886
+ * @return {!proto.bonus.CurrencyStatusItem} returns this
5887
+ */
5888
+ proto.bonus.CurrencyStatusItem.prototype.setStatus = function(value) {
5889
+ return jspb.Message.setField(this, 2, value);
5890
+ };
5891
+
5892
+
5893
+ /**
5894
+ * Clears the field making it undefined.
5895
+ * @return {!proto.bonus.CurrencyStatusItem} returns this
5896
+ */
5897
+ proto.bonus.CurrencyStatusItem.prototype.clearStatus = function() {
5898
+ return jspb.Message.setField(this, 2, undefined);
5899
+ };
5900
+
5901
+
5902
+ /**
5903
+ * Returns whether this field is set.
5904
+ * @return {boolean}
5905
+ */
5906
+ proto.bonus.CurrencyStatusItem.prototype.hasStatus = function() {
5907
+ return jspb.Message.getField(this, 2) != null;
5908
+ };
5909
+
5910
+
5911
+
5912
+
5913
+
5696
5914
  if (jspb.Message.GENERATE_TO_OBJECT) {
5697
5915
  /**
5698
5916
  * Creates an object representation of this proto.
@@ -5847,7 +6065,7 @@ proto.bonus.BonusResponse.prototype.hasData = function() {
5847
6065
  * @private {!Array<number>}
5848
6066
  * @const
5849
6067
  */
5850
- proto.bonus.BonusItem.repeatedFields_ = [20,21,22,25,26,27];
6068
+ proto.bonus.BonusItem.repeatedFields_ = [20,21,22,25,26,27,32,33];
5851
6069
 
5852
6070
 
5853
6071
 
@@ -5912,7 +6130,16 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
5912
6130
  segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f,
5913
6131
  wagerGamesList: jspb.Message.toObjectList(msg.getWagerGamesList(),
5914
6132
  proto.bonus.GameItem.toObject, includeInstance),
5915
- slug: jspb.Message.getFieldWithDefault(msg, 28, "")
6133
+ slug: jspb.Message.getFieldWithDefault(msg, 28, ""),
6134
+ aggregatedType: jspb.Message.getFieldWithDefault(msg, 29, ""),
6135
+ wagerBalance: jspb.Message.getFieldWithDefault(msg, 30, ""),
6136
+ wager: jspb.Message.getFieldWithDefault(msg, 31, ""),
6137
+ currencyCoverageList: jspb.Message.toObjectList(msg.getCurrencyCoverageList(),
6138
+ proto.bonus.CurrencyStatusItem.toObject, includeInstance),
6139
+ activationReadinessList: jspb.Message.toObjectList(msg.getActivationReadinessList(),
6140
+ proto.bonus.CurrencyStatusItem.toObject, includeInstance),
6141
+ timing: jspb.Message.getFieldWithDefault(msg, 34, ""),
6142
+ segments: jspb.Message.getFieldWithDefault(msg, 35, "")
5916
6143
  };
5917
6144
 
5918
6145
  if (includeInstance) {
@@ -6068,6 +6295,36 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
6068
6295
  var value = /** @type {string} */ (reader.readString());
6069
6296
  msg.setSlug(value);
6070
6297
  break;
6298
+ case 29:
6299
+ var value = /** @type {string} */ (reader.readString());
6300
+ msg.setAggregatedType(value);
6301
+ break;
6302
+ case 30:
6303
+ var value = /** @type {string} */ (reader.readString());
6304
+ msg.setWagerBalance(value);
6305
+ break;
6306
+ case 31:
6307
+ var value = /** @type {string} */ (reader.readString());
6308
+ msg.setWager(value);
6309
+ break;
6310
+ case 32:
6311
+ var value = new proto.bonus.CurrencyStatusItem;
6312
+ reader.readMessage(value,proto.bonus.CurrencyStatusItem.deserializeBinaryFromReader);
6313
+ msg.addCurrencyCoverage(value);
6314
+ break;
6315
+ case 33:
6316
+ var value = new proto.bonus.CurrencyStatusItem;
6317
+ reader.readMessage(value,proto.bonus.CurrencyStatusItem.deserializeBinaryFromReader);
6318
+ msg.addActivationReadiness(value);
6319
+ break;
6320
+ case 34:
6321
+ var value = /** @type {string} */ (reader.readString());
6322
+ msg.setTiming(value);
6323
+ break;
6324
+ case 35:
6325
+ var value = /** @type {string} */ (reader.readString());
6326
+ msg.setSegments(value);
6327
+ break;
6071
6328
  default:
6072
6329
  reader.skipField();
6073
6330
  break;
@@ -6298,6 +6555,57 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
6298
6555
  f
6299
6556
  );
6300
6557
  }
6558
+ f = /** @type {string} */ (jspb.Message.getField(message, 29));
6559
+ if (f != null) {
6560
+ writer.writeString(
6561
+ 29,
6562
+ f
6563
+ );
6564
+ }
6565
+ f = /** @type {string} */ (jspb.Message.getField(message, 30));
6566
+ if (f != null) {
6567
+ writer.writeString(
6568
+ 30,
6569
+ f
6570
+ );
6571
+ }
6572
+ f = /** @type {string} */ (jspb.Message.getField(message, 31));
6573
+ if (f != null) {
6574
+ writer.writeString(
6575
+ 31,
6576
+ f
6577
+ );
6578
+ }
6579
+ f = message.getCurrencyCoverageList();
6580
+ if (f.length > 0) {
6581
+ writer.writeRepeatedMessage(
6582
+ 32,
6583
+ f,
6584
+ proto.bonus.CurrencyStatusItem.serializeBinaryToWriter
6585
+ );
6586
+ }
6587
+ f = message.getActivationReadinessList();
6588
+ if (f.length > 0) {
6589
+ writer.writeRepeatedMessage(
6590
+ 33,
6591
+ f,
6592
+ proto.bonus.CurrencyStatusItem.serializeBinaryToWriter
6593
+ );
6594
+ }
6595
+ f = /** @type {string} */ (jspb.Message.getField(message, 34));
6596
+ if (f != null) {
6597
+ writer.writeString(
6598
+ 34,
6599
+ f
6600
+ );
6601
+ }
6602
+ f = /** @type {string} */ (jspb.Message.getField(message, 35));
6603
+ if (f != null) {
6604
+ writer.writeString(
6605
+ 35,
6606
+ f
6607
+ );
6608
+ }
6301
6609
  };
6302
6610
 
6303
6611
 
@@ -7320,6 +7628,262 @@ proto.bonus.BonusItem.prototype.hasSlug = function() {
7320
7628
  };
7321
7629
 
7322
7630
 
7631
+ /**
7632
+ * optional string aggregated_type = 29;
7633
+ * @return {string}
7634
+ */
7635
+ proto.bonus.BonusItem.prototype.getAggregatedType = function() {
7636
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
7637
+ };
7638
+
7639
+
7640
+ /**
7641
+ * @param {string} value
7642
+ * @return {!proto.bonus.BonusItem} returns this
7643
+ */
7644
+ proto.bonus.BonusItem.prototype.setAggregatedType = function(value) {
7645
+ return jspb.Message.setField(this, 29, value);
7646
+ };
7647
+
7648
+
7649
+ /**
7650
+ * Clears the field making it undefined.
7651
+ * @return {!proto.bonus.BonusItem} returns this
7652
+ */
7653
+ proto.bonus.BonusItem.prototype.clearAggregatedType = function() {
7654
+ return jspb.Message.setField(this, 29, undefined);
7655
+ };
7656
+
7657
+
7658
+ /**
7659
+ * Returns whether this field is set.
7660
+ * @return {boolean}
7661
+ */
7662
+ proto.bonus.BonusItem.prototype.hasAggregatedType = function() {
7663
+ return jspb.Message.getField(this, 29) != null;
7664
+ };
7665
+
7666
+
7667
+ /**
7668
+ * optional string wager_balance = 30;
7669
+ * @return {string}
7670
+ */
7671
+ proto.bonus.BonusItem.prototype.getWagerBalance = function() {
7672
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
7673
+ };
7674
+
7675
+
7676
+ /**
7677
+ * @param {string} value
7678
+ * @return {!proto.bonus.BonusItem} returns this
7679
+ */
7680
+ proto.bonus.BonusItem.prototype.setWagerBalance = function(value) {
7681
+ return jspb.Message.setField(this, 30, value);
7682
+ };
7683
+
7684
+
7685
+ /**
7686
+ * Clears the field making it undefined.
7687
+ * @return {!proto.bonus.BonusItem} returns this
7688
+ */
7689
+ proto.bonus.BonusItem.prototype.clearWagerBalance = function() {
7690
+ return jspb.Message.setField(this, 30, undefined);
7691
+ };
7692
+
7693
+
7694
+ /**
7695
+ * Returns whether this field is set.
7696
+ * @return {boolean}
7697
+ */
7698
+ proto.bonus.BonusItem.prototype.hasWagerBalance = function() {
7699
+ return jspb.Message.getField(this, 30) != null;
7700
+ };
7701
+
7702
+
7703
+ /**
7704
+ * optional string wager = 31;
7705
+ * @return {string}
7706
+ */
7707
+ proto.bonus.BonusItem.prototype.getWager = function() {
7708
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
7709
+ };
7710
+
7711
+
7712
+ /**
7713
+ * @param {string} value
7714
+ * @return {!proto.bonus.BonusItem} returns this
7715
+ */
7716
+ proto.bonus.BonusItem.prototype.setWager = function(value) {
7717
+ return jspb.Message.setField(this, 31, value);
7718
+ };
7719
+
7720
+
7721
+ /**
7722
+ * Clears the field making it undefined.
7723
+ * @return {!proto.bonus.BonusItem} returns this
7724
+ */
7725
+ proto.bonus.BonusItem.prototype.clearWager = function() {
7726
+ return jspb.Message.setField(this, 31, undefined);
7727
+ };
7728
+
7729
+
7730
+ /**
7731
+ * Returns whether this field is set.
7732
+ * @return {boolean}
7733
+ */
7734
+ proto.bonus.BonusItem.prototype.hasWager = function() {
7735
+ return jspb.Message.getField(this, 31) != null;
7736
+ };
7737
+
7738
+
7739
+ /**
7740
+ * repeated CurrencyStatusItem currency_coverage = 32;
7741
+ * @return {!Array<!proto.bonus.CurrencyStatusItem>}
7742
+ */
7743
+ proto.bonus.BonusItem.prototype.getCurrencyCoverageList = function() {
7744
+ return /** @type{!Array<!proto.bonus.CurrencyStatusItem>} */ (
7745
+ jspb.Message.getRepeatedWrapperField(this, proto.bonus.CurrencyStatusItem, 32));
7746
+ };
7747
+
7748
+
7749
+ /**
7750
+ * @param {!Array<!proto.bonus.CurrencyStatusItem>} value
7751
+ * @return {!proto.bonus.BonusItem} returns this
7752
+ */
7753
+ proto.bonus.BonusItem.prototype.setCurrencyCoverageList = function(value) {
7754
+ return jspb.Message.setRepeatedWrapperField(this, 32, value);
7755
+ };
7756
+
7757
+
7758
+ /**
7759
+ * @param {!proto.bonus.CurrencyStatusItem=} opt_value
7760
+ * @param {number=} opt_index
7761
+ * @return {!proto.bonus.CurrencyStatusItem}
7762
+ */
7763
+ proto.bonus.BonusItem.prototype.addCurrencyCoverage = function(opt_value, opt_index) {
7764
+ return jspb.Message.addToRepeatedWrapperField(this, 32, opt_value, proto.bonus.CurrencyStatusItem, opt_index);
7765
+ };
7766
+
7767
+
7768
+ /**
7769
+ * Clears the list making it empty but non-null.
7770
+ * @return {!proto.bonus.BonusItem} returns this
7771
+ */
7772
+ proto.bonus.BonusItem.prototype.clearCurrencyCoverageList = function() {
7773
+ return this.setCurrencyCoverageList([]);
7774
+ };
7775
+
7776
+
7777
+ /**
7778
+ * repeated CurrencyStatusItem activation_readiness = 33;
7779
+ * @return {!Array<!proto.bonus.CurrencyStatusItem>}
7780
+ */
7781
+ proto.bonus.BonusItem.prototype.getActivationReadinessList = function() {
7782
+ return /** @type{!Array<!proto.bonus.CurrencyStatusItem>} */ (
7783
+ jspb.Message.getRepeatedWrapperField(this, proto.bonus.CurrencyStatusItem, 33));
7784
+ };
7785
+
7786
+
7787
+ /**
7788
+ * @param {!Array<!proto.bonus.CurrencyStatusItem>} value
7789
+ * @return {!proto.bonus.BonusItem} returns this
7790
+ */
7791
+ proto.bonus.BonusItem.prototype.setActivationReadinessList = function(value) {
7792
+ return jspb.Message.setRepeatedWrapperField(this, 33, value);
7793
+ };
7794
+
7795
+
7796
+ /**
7797
+ * @param {!proto.bonus.CurrencyStatusItem=} opt_value
7798
+ * @param {number=} opt_index
7799
+ * @return {!proto.bonus.CurrencyStatusItem}
7800
+ */
7801
+ proto.bonus.BonusItem.prototype.addActivationReadiness = function(opt_value, opt_index) {
7802
+ return jspb.Message.addToRepeatedWrapperField(this, 33, opt_value, proto.bonus.CurrencyStatusItem, opt_index);
7803
+ };
7804
+
7805
+
7806
+ /**
7807
+ * Clears the list making it empty but non-null.
7808
+ * @return {!proto.bonus.BonusItem} returns this
7809
+ */
7810
+ proto.bonus.BonusItem.prototype.clearActivationReadinessList = function() {
7811
+ return this.setActivationReadinessList([]);
7812
+ };
7813
+
7814
+
7815
+ /**
7816
+ * optional string timing = 34;
7817
+ * @return {string}
7818
+ */
7819
+ proto.bonus.BonusItem.prototype.getTiming = function() {
7820
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
7821
+ };
7822
+
7823
+
7824
+ /**
7825
+ * @param {string} value
7826
+ * @return {!proto.bonus.BonusItem} returns this
7827
+ */
7828
+ proto.bonus.BonusItem.prototype.setTiming = function(value) {
7829
+ return jspb.Message.setField(this, 34, value);
7830
+ };
7831
+
7832
+
7833
+ /**
7834
+ * Clears the field making it undefined.
7835
+ * @return {!proto.bonus.BonusItem} returns this
7836
+ */
7837
+ proto.bonus.BonusItem.prototype.clearTiming = function() {
7838
+ return jspb.Message.setField(this, 34, undefined);
7839
+ };
7840
+
7841
+
7842
+ /**
7843
+ * Returns whether this field is set.
7844
+ * @return {boolean}
7845
+ */
7846
+ proto.bonus.BonusItem.prototype.hasTiming = function() {
7847
+ return jspb.Message.getField(this, 34) != null;
7848
+ };
7849
+
7850
+
7851
+ /**
7852
+ * optional string segments = 35;
7853
+ * @return {string}
7854
+ */
7855
+ proto.bonus.BonusItem.prototype.getSegments = function() {
7856
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
7857
+ };
7858
+
7859
+
7860
+ /**
7861
+ * @param {string} value
7862
+ * @return {!proto.bonus.BonusItem} returns this
7863
+ */
7864
+ proto.bonus.BonusItem.prototype.setSegments = function(value) {
7865
+ return jspb.Message.setField(this, 35, value);
7866
+ };
7867
+
7868
+
7869
+ /**
7870
+ * Clears the field making it undefined.
7871
+ * @return {!proto.bonus.BonusItem} returns this
7872
+ */
7873
+ proto.bonus.BonusItem.prototype.clearSegments = function() {
7874
+ return jspb.Message.setField(this, 35, undefined);
7875
+ };
7876
+
7877
+
7878
+ /**
7879
+ * Returns whether this field is set.
7880
+ * @return {boolean}
7881
+ */
7882
+ proto.bonus.BonusItem.prototype.hasSegments = function() {
7883
+ return jspb.Message.getField(this, 35) != null;
7884
+ };
7885
+
7886
+
7323
7887
 
7324
7888
  /**
7325
7889
  * 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.220",
3
+ "version": "1.2.222",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {