protobuf-platform 1.2.660 → 1.2.662

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.
@@ -21,6 +21,7 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ goog.exportSymbol('proto.notification.AutoNotificationSegmentIdsResponse', null, global);
24
25
  goog.exportSymbol('proto.notification.DeleteAllUserNotificationsRequest', null, global);
25
26
  goog.exportSymbol('proto.notification.DeleteUserNotificationByIdRequest', null, global);
26
27
  goog.exportSymbol('proto.notification.DispatchManualNotificationRequest', null, global);
@@ -62,6 +63,7 @@ goog.exportSymbol('proto.notification.PingRequest', null, global);
62
63
  goog.exportSymbol('proto.notification.PongResponse', null, global);
63
64
  goog.exportSymbol('proto.notification.ProcessGamixterBonusAwardedWebhookRequest', null, global);
64
65
  goog.exportSymbol('proto.notification.ReadAllUserNotificationsRequest', null, global);
66
+ goog.exportSymbol('proto.notification.ReplaceAutoNotificationSegmentIdsRequest', null, global);
65
67
  goog.exportSymbol('proto.notification.ResolveAffiliateByPromoCodeRequest', null, global);
66
68
  goog.exportSymbol('proto.notification.ResolveAffiliateByPromoCodeResponse', null, global);
67
69
  goog.exportSymbol('proto.notification.SendNotificationRequest', null, global);
@@ -365,6 +367,48 @@ if (goog.DEBUG && !COMPILED) {
365
367
  */
366
368
  proto.notification.DispatchManualNotificationRequest.displayName = 'proto.notification.DispatchManualNotificationRequest';
367
369
  }
370
+ /**
371
+ * Generated by JsPbCodeGenerator.
372
+ * @param {Array=} opt_data Optional initial data array, typically from a
373
+ * server response, or constructed directly in Javascript. The array is used
374
+ * in place and becomes part of the constructed object. It is not cloned.
375
+ * If no data is provided, the constructed object will be empty, but still
376
+ * valid.
377
+ * @extends {jspb.Message}
378
+ * @constructor
379
+ */
380
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest = function(opt_data) {
381
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.notification.ReplaceAutoNotificationSegmentIdsRequest.repeatedFields_, null);
382
+ };
383
+ goog.inherits(proto.notification.ReplaceAutoNotificationSegmentIdsRequest, jspb.Message);
384
+ if (goog.DEBUG && !COMPILED) {
385
+ /**
386
+ * @public
387
+ * @override
388
+ */
389
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.displayName = 'proto.notification.ReplaceAutoNotificationSegmentIdsRequest';
390
+ }
391
+ /**
392
+ * Generated by JsPbCodeGenerator.
393
+ * @param {Array=} opt_data Optional initial data array, typically from a
394
+ * server response, or constructed directly in Javascript. The array is used
395
+ * in place and becomes part of the constructed object. It is not cloned.
396
+ * If no data is provided, the constructed object will be empty, but still
397
+ * valid.
398
+ * @extends {jspb.Message}
399
+ * @constructor
400
+ */
401
+ proto.notification.AutoNotificationSegmentIdsResponse = function(opt_data) {
402
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.notification.AutoNotificationSegmentIdsResponse.repeatedFields_, null);
403
+ };
404
+ goog.inherits(proto.notification.AutoNotificationSegmentIdsResponse, jspb.Message);
405
+ if (goog.DEBUG && !COMPILED) {
406
+ /**
407
+ * @public
408
+ * @override
409
+ */
410
+ proto.notification.AutoNotificationSegmentIdsResponse.displayName = 'proto.notification.AutoNotificationSegmentIdsResponse';
411
+ }
368
412
  /**
369
413
  * Generated by JsPbCodeGenerator.
370
414
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4902,6 +4946,352 @@ proto.notification.DispatchManualNotificationRequest.prototype.clearSegmentIdsLi
4902
4946
 
4903
4947
 
4904
4948
 
4949
+ /**
4950
+ * List of repeated fields within this message type.
4951
+ * @private {!Array<number>}
4952
+ * @const
4953
+ */
4954
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.repeatedFields_ = [2];
4955
+
4956
+
4957
+
4958
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4959
+ /**
4960
+ * Creates an object representation of this proto.
4961
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4962
+ * Optional fields that are not set will be set to undefined.
4963
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4964
+ * For the list of reserved names please see:
4965
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4966
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4967
+ * JSPB instance for transitional soy proto support:
4968
+ * http://goto/soy-param-migration
4969
+ * @return {!Object}
4970
+ */
4971
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.toObject = function(opt_includeInstance) {
4972
+ return proto.notification.ReplaceAutoNotificationSegmentIdsRequest.toObject(opt_includeInstance, this);
4973
+ };
4974
+
4975
+
4976
+ /**
4977
+ * Static version of the {@see toObject} method.
4978
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4979
+ * the JSPB instance for transitional soy proto support:
4980
+ * http://goto/soy-param-migration
4981
+ * @param {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} msg The msg instance to transform.
4982
+ * @return {!Object}
4983
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4984
+ */
4985
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.toObject = function(includeInstance, msg) {
4986
+ var f, obj = {
4987
+ notificationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
4988
+ segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
4989
+ };
4990
+
4991
+ if (includeInstance) {
4992
+ obj.$jspbMessageInstance = msg;
4993
+ }
4994
+ return obj;
4995
+ };
4996
+ }
4997
+
4998
+
4999
+ /**
5000
+ * Deserializes binary data (in protobuf wire format).
5001
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5002
+ * @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest}
5003
+ */
5004
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.deserializeBinary = function(bytes) {
5005
+ var reader = new jspb.BinaryReader(bytes);
5006
+ var msg = new proto.notification.ReplaceAutoNotificationSegmentIdsRequest;
5007
+ return proto.notification.ReplaceAutoNotificationSegmentIdsRequest.deserializeBinaryFromReader(msg, reader);
5008
+ };
5009
+
5010
+
5011
+ /**
5012
+ * Deserializes binary data (in protobuf wire format) from the
5013
+ * given reader into the given message object.
5014
+ * @param {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} msg The message object to deserialize into.
5015
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5016
+ * @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest}
5017
+ */
5018
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
5019
+ while (reader.nextField()) {
5020
+ if (reader.isEndGroup()) {
5021
+ break;
5022
+ }
5023
+ var field = reader.getFieldNumber();
5024
+ switch (field) {
5025
+ case 1:
5026
+ var value = /** @type {number} */ (reader.readInt32());
5027
+ msg.setNotificationId(value);
5028
+ break;
5029
+ case 2:
5030
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5031
+ for (var i = 0; i < values.length; i++) {
5032
+ msg.addSegmentIds(values[i]);
5033
+ }
5034
+ break;
5035
+ default:
5036
+ reader.skipField();
5037
+ break;
5038
+ }
5039
+ }
5040
+ return msg;
5041
+ };
5042
+
5043
+
5044
+ /**
5045
+ * Serializes the message to binary data (in protobuf wire format).
5046
+ * @return {!Uint8Array}
5047
+ */
5048
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.serializeBinary = function() {
5049
+ var writer = new jspb.BinaryWriter();
5050
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.serializeBinaryToWriter(this, writer);
5051
+ return writer.getResultBuffer();
5052
+ };
5053
+
5054
+
5055
+ /**
5056
+ * Serializes the given message to binary data (in protobuf wire
5057
+ * format), writing to the given BinaryWriter.
5058
+ * @param {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} message
5059
+ * @param {!jspb.BinaryWriter} writer
5060
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5061
+ */
5062
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.serializeBinaryToWriter = function(message, writer) {
5063
+ var f = undefined;
5064
+ f = message.getNotificationId();
5065
+ if (f !== 0) {
5066
+ writer.writeInt32(
5067
+ 1,
5068
+ f
5069
+ );
5070
+ }
5071
+ f = message.getSegmentIdsList();
5072
+ if (f.length > 0) {
5073
+ writer.writePackedInt32(
5074
+ 2,
5075
+ f
5076
+ );
5077
+ }
5078
+ };
5079
+
5080
+
5081
+ /**
5082
+ * optional int32 notification_id = 1;
5083
+ * @return {number}
5084
+ */
5085
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.getNotificationId = function() {
5086
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5087
+ };
5088
+
5089
+
5090
+ /**
5091
+ * @param {number} value
5092
+ * @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
5093
+ */
5094
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.setNotificationId = function(value) {
5095
+ return jspb.Message.setProto3IntField(this, 1, value);
5096
+ };
5097
+
5098
+
5099
+ /**
5100
+ * repeated int32 segment_ids = 2;
5101
+ * @return {!Array<number>}
5102
+ */
5103
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.getSegmentIdsList = function() {
5104
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
5105
+ };
5106
+
5107
+
5108
+ /**
5109
+ * @param {!Array<number>} value
5110
+ * @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
5111
+ */
5112
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.setSegmentIdsList = function(value) {
5113
+ return jspb.Message.setField(this, 2, value || []);
5114
+ };
5115
+
5116
+
5117
+ /**
5118
+ * @param {number} value
5119
+ * @param {number=} opt_index
5120
+ * @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
5121
+ */
5122
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.addSegmentIds = function(value, opt_index) {
5123
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
5124
+ };
5125
+
5126
+
5127
+ /**
5128
+ * Clears the list making it empty but non-null.
5129
+ * @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
5130
+ */
5131
+ proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.clearSegmentIdsList = function() {
5132
+ return this.setSegmentIdsList([]);
5133
+ };
5134
+
5135
+
5136
+
5137
+ /**
5138
+ * List of repeated fields within this message type.
5139
+ * @private {!Array<number>}
5140
+ * @const
5141
+ */
5142
+ proto.notification.AutoNotificationSegmentIdsResponse.repeatedFields_ = [1];
5143
+
5144
+
5145
+
5146
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5147
+ /**
5148
+ * Creates an object representation of this proto.
5149
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5150
+ * Optional fields that are not set will be set to undefined.
5151
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5152
+ * For the list of reserved names please see:
5153
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5154
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5155
+ * JSPB instance for transitional soy proto support:
5156
+ * http://goto/soy-param-migration
5157
+ * @return {!Object}
5158
+ */
5159
+ proto.notification.AutoNotificationSegmentIdsResponse.prototype.toObject = function(opt_includeInstance) {
5160
+ return proto.notification.AutoNotificationSegmentIdsResponse.toObject(opt_includeInstance, this);
5161
+ };
5162
+
5163
+
5164
+ /**
5165
+ * Static version of the {@see toObject} method.
5166
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5167
+ * the JSPB instance for transitional soy proto support:
5168
+ * http://goto/soy-param-migration
5169
+ * @param {!proto.notification.AutoNotificationSegmentIdsResponse} msg The msg instance to transform.
5170
+ * @return {!Object}
5171
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5172
+ */
5173
+ proto.notification.AutoNotificationSegmentIdsResponse.toObject = function(includeInstance, msg) {
5174
+ var f, obj = {
5175
+ segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
5176
+ };
5177
+
5178
+ if (includeInstance) {
5179
+ obj.$jspbMessageInstance = msg;
5180
+ }
5181
+ return obj;
5182
+ };
5183
+ }
5184
+
5185
+
5186
+ /**
5187
+ * Deserializes binary data (in protobuf wire format).
5188
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5189
+ * @return {!proto.notification.AutoNotificationSegmentIdsResponse}
5190
+ */
5191
+ proto.notification.AutoNotificationSegmentIdsResponse.deserializeBinary = function(bytes) {
5192
+ var reader = new jspb.BinaryReader(bytes);
5193
+ var msg = new proto.notification.AutoNotificationSegmentIdsResponse;
5194
+ return proto.notification.AutoNotificationSegmentIdsResponse.deserializeBinaryFromReader(msg, reader);
5195
+ };
5196
+
5197
+
5198
+ /**
5199
+ * Deserializes binary data (in protobuf wire format) from the
5200
+ * given reader into the given message object.
5201
+ * @param {!proto.notification.AutoNotificationSegmentIdsResponse} msg The message object to deserialize into.
5202
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5203
+ * @return {!proto.notification.AutoNotificationSegmentIdsResponse}
5204
+ */
5205
+ proto.notification.AutoNotificationSegmentIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
5206
+ while (reader.nextField()) {
5207
+ if (reader.isEndGroup()) {
5208
+ break;
5209
+ }
5210
+ var field = reader.getFieldNumber();
5211
+ switch (field) {
5212
+ case 1:
5213
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
5214
+ for (var i = 0; i < values.length; i++) {
5215
+ msg.addSegmentIds(values[i]);
5216
+ }
5217
+ break;
5218
+ default:
5219
+ reader.skipField();
5220
+ break;
5221
+ }
5222
+ }
5223
+ return msg;
5224
+ };
5225
+
5226
+
5227
+ /**
5228
+ * Serializes the message to binary data (in protobuf wire format).
5229
+ * @return {!Uint8Array}
5230
+ */
5231
+ proto.notification.AutoNotificationSegmentIdsResponse.prototype.serializeBinary = function() {
5232
+ var writer = new jspb.BinaryWriter();
5233
+ proto.notification.AutoNotificationSegmentIdsResponse.serializeBinaryToWriter(this, writer);
5234
+ return writer.getResultBuffer();
5235
+ };
5236
+
5237
+
5238
+ /**
5239
+ * Serializes the given message to binary data (in protobuf wire
5240
+ * format), writing to the given BinaryWriter.
5241
+ * @param {!proto.notification.AutoNotificationSegmentIdsResponse} message
5242
+ * @param {!jspb.BinaryWriter} writer
5243
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5244
+ */
5245
+ proto.notification.AutoNotificationSegmentIdsResponse.serializeBinaryToWriter = function(message, writer) {
5246
+ var f = undefined;
5247
+ f = message.getSegmentIdsList();
5248
+ if (f.length > 0) {
5249
+ writer.writePackedInt32(
5250
+ 1,
5251
+ f
5252
+ );
5253
+ }
5254
+ };
5255
+
5256
+
5257
+ /**
5258
+ * repeated int32 segment_ids = 1;
5259
+ * @return {!Array<number>}
5260
+ */
5261
+ proto.notification.AutoNotificationSegmentIdsResponse.prototype.getSegmentIdsList = function() {
5262
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
5263
+ };
5264
+
5265
+
5266
+ /**
5267
+ * @param {!Array<number>} value
5268
+ * @return {!proto.notification.AutoNotificationSegmentIdsResponse} returns this
5269
+ */
5270
+ proto.notification.AutoNotificationSegmentIdsResponse.prototype.setSegmentIdsList = function(value) {
5271
+ return jspb.Message.setField(this, 1, value || []);
5272
+ };
5273
+
5274
+
5275
+ /**
5276
+ * @param {number} value
5277
+ * @param {number=} opt_index
5278
+ * @return {!proto.notification.AutoNotificationSegmentIdsResponse} returns this
5279
+ */
5280
+ proto.notification.AutoNotificationSegmentIdsResponse.prototype.addSegmentIds = function(value, opt_index) {
5281
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
5282
+ };
5283
+
5284
+
5285
+ /**
5286
+ * Clears the list making it empty but non-null.
5287
+ * @return {!proto.notification.AutoNotificationSegmentIdsResponse} returns this
5288
+ */
5289
+ proto.notification.AutoNotificationSegmentIdsResponse.prototype.clearSegmentIdsList = function() {
5290
+ return this.setSegmentIdsList([]);
5291
+ };
5292
+
5293
+
5294
+
4905
5295
 
4906
5296
 
4907
5297
  if (jspb.Message.GENERATE_TO_OBJECT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.660",
3
+ "version": "1.2.662",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -83,6 +83,9 @@ service Payment {
83
83
  rpc readListConfiscations(PaginationRequest) returns (ConfiscationItemsResponse);
84
84
  rpc createAdjustment(AdjustmentRequest) returns (FinancialOperationResponse);
85
85
  rpc readListAdjustments(PaginationRequest) returns (AdjustmentItemsResponse);
86
+ // Internal Bonus lifecycle monetary materialization.
87
+ rpc issueBonusBalanceReward(BonusBalanceRewardIssueRequest) returns (BonusBalanceRewardOperationResponse);
88
+ rpc reverseBonusBalanceReward(BonusBalanceRewardReversalRequest) returns (BonusBalanceRewardOperationResponse);
86
89
  rpc prepareGameplayPrecisionCommand(PrepareGameplayPrecisionCommandRequest)
87
90
  returns (PrepareGameplayPrecisionCommandResponse);
88
91
  }
@@ -971,6 +974,7 @@ message SegmentedUserRequest {
971
974
  optional string currency = 11;
972
975
  repeated string payment_providers = 12;
973
976
  repeated string payment_types = 13;
977
+ optional int32 user_id = 14;
974
978
  }
975
979
  message SegmentedUserResponse {
976
980
  repeated int32 user_ids = 1;
@@ -1236,6 +1240,39 @@ message FinancialOperationResponse {
1236
1240
  optional string completed_at = 18;
1237
1241
  }
1238
1242
 
1243
+ message BonusBalanceRewardIssueRequest {
1244
+ int32 user_id = 1;
1245
+ int32 user_bonus_id = 2;
1246
+ int32 bonus_template_id = 3;
1247
+ string currency = 4;
1248
+ // Exact positive major-unit decimal configured on the Bonus template.
1249
+ string amount = 5;
1250
+ string grant_source = 6;
1251
+ string grant_id = 7;
1252
+ }
1253
+ message BonusBalanceRewardReversalRequest {
1254
+ int32 user_id = 1;
1255
+ int32 user_bonus_id = 2;
1256
+ int32 bonus_template_id = 3;
1257
+ string currency = 4;
1258
+ // Must match the original issued amount.
1259
+ string amount = 5;
1260
+ string grant_source = 6;
1261
+ string grant_id = 7;
1262
+ string reason = 8;
1263
+ }
1264
+ message BonusBalanceRewardOperationResponse {
1265
+ string operation_id = 1;
1266
+ string operation_public_id = 2;
1267
+ string operation_type = 3;
1268
+ string status_code = 4;
1269
+ string currency = 5;
1270
+ int32 currency_scale = 6;
1271
+ string amount_minor = 7;
1272
+ repeated string ledger_entry_ids = 8;
1273
+ bool idempotent_replay = 9;
1274
+ }
1275
+
1239
1276
  // Exact money and identifiers are decimal strings, never floating-point values.
1240
1277
  message RegisterGameplayPrecisionSessionRequest {
1241
1278
  string user_id = 1;
@@ -48,6 +48,39 @@ function deserialize_payment_AttemptWithdrawalRequest(buffer_arg) {
48
48
  return payment_pb.AttemptWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
49
49
  }
50
50
 
51
+ function serialize_payment_BonusBalanceRewardIssueRequest(arg) {
52
+ if (!(arg instanceof payment_pb.BonusBalanceRewardIssueRequest)) {
53
+ throw new Error('Expected argument of type payment.BonusBalanceRewardIssueRequest');
54
+ }
55
+ return Buffer.from(arg.serializeBinary());
56
+ }
57
+
58
+ function deserialize_payment_BonusBalanceRewardIssueRequest(buffer_arg) {
59
+ return payment_pb.BonusBalanceRewardIssueRequest.deserializeBinary(new Uint8Array(buffer_arg));
60
+ }
61
+
62
+ function serialize_payment_BonusBalanceRewardOperationResponse(arg) {
63
+ if (!(arg instanceof payment_pb.BonusBalanceRewardOperationResponse)) {
64
+ throw new Error('Expected argument of type payment.BonusBalanceRewardOperationResponse');
65
+ }
66
+ return Buffer.from(arg.serializeBinary());
67
+ }
68
+
69
+ function deserialize_payment_BonusBalanceRewardOperationResponse(buffer_arg) {
70
+ return payment_pb.BonusBalanceRewardOperationResponse.deserializeBinary(new Uint8Array(buffer_arg));
71
+ }
72
+
73
+ function serialize_payment_BonusBalanceRewardReversalRequest(arg) {
74
+ if (!(arg instanceof payment_pb.BonusBalanceRewardReversalRequest)) {
75
+ throw new Error('Expected argument of type payment.BonusBalanceRewardReversalRequest');
76
+ }
77
+ return Buffer.from(arg.serializeBinary());
78
+ }
79
+
80
+ function deserialize_payment_BonusBalanceRewardReversalRequest(buffer_arg) {
81
+ return payment_pb.BonusBalanceRewardReversalRequest.deserializeBinary(new Uint8Array(buffer_arg));
82
+ }
83
+
51
84
  function serialize_payment_CashierFieldItemsResponse(arg) {
52
85
  if (!(arg instanceof payment_pb.CashierFieldItemsResponse)) {
53
86
  throw new Error('Expected argument of type payment.CashierFieldItemsResponse');
@@ -1779,6 +1812,29 @@ createManualDeposit: {
1779
1812
  responseSerialize: serialize_payment_AdjustmentItemsResponse,
1780
1813
  responseDeserialize: deserialize_payment_AdjustmentItemsResponse,
1781
1814
  },
1815
+ // Internal Bonus lifecycle monetary materialization.
1816
+ issueBonusBalanceReward: {
1817
+ path: '/payment.Payment/issueBonusBalanceReward',
1818
+ requestStream: false,
1819
+ responseStream: false,
1820
+ requestType: payment_pb.BonusBalanceRewardIssueRequest,
1821
+ responseType: payment_pb.BonusBalanceRewardOperationResponse,
1822
+ requestSerialize: serialize_payment_BonusBalanceRewardIssueRequest,
1823
+ requestDeserialize: deserialize_payment_BonusBalanceRewardIssueRequest,
1824
+ responseSerialize: serialize_payment_BonusBalanceRewardOperationResponse,
1825
+ responseDeserialize: deserialize_payment_BonusBalanceRewardOperationResponse,
1826
+ },
1827
+ reverseBonusBalanceReward: {
1828
+ path: '/payment.Payment/reverseBonusBalanceReward',
1829
+ requestStream: false,
1830
+ responseStream: false,
1831
+ requestType: payment_pb.BonusBalanceRewardReversalRequest,
1832
+ responseType: payment_pb.BonusBalanceRewardOperationResponse,
1833
+ requestSerialize: serialize_payment_BonusBalanceRewardReversalRequest,
1834
+ requestDeserialize: deserialize_payment_BonusBalanceRewardReversalRequest,
1835
+ responseSerialize: serialize_payment_BonusBalanceRewardOperationResponse,
1836
+ responseDeserialize: deserialize_payment_BonusBalanceRewardOperationResponse,
1837
+ },
1782
1838
  prepareGameplayPrecisionCommand: {
1783
1839
  path: '/payment.Payment/prepareGameplayPrecisionCommand',
1784
1840
  requestStream: false,