protobuf-platform 1.2.686 → 1.2.688

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.
@@ -0,0 +1,7 @@
1
+ # Explicit Loyalty completion reward V1
2
+
3
+ A Loyalty level has one optional `total_level_up_currency` beside the existing exact string `total_level_up_amount`. Missing currency cannot create monetary rewards. `LevelItemsResponse.reward_currencies` carries the effective startup-loaded whitelist to BackOffice. Existing field tags and reward types remain unchanged; there is no special current-wallet selector.
4
+
5
+ Payment's `grantLoyaltyLevelUpReward` accepts independent `reward_identity`, `user_id`, exact decimal `amount` and explicit `currency`. Payment owns settlement and returns operation/ledger IDs, settled currency/scale/minor amount and replay status. Multiple future grants can use separate identities without exposing Loyalty database structure in Payment.
6
+
7
+ Release 1.2.686 contains the monetary grant, all additive currency fields and the level-list whitelist. Deploy the Payment receiver before Loyalty producers, then Gateway and BackOffice. Source and database integration do not prove deployed staging acceptance.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.686",
3
+ "version": "1.2.688",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -300,6 +300,8 @@ message RegistrationRequest {
300
300
  // Gateway IP-derived country; distinct from profile country.
301
301
  optional string ip_country = 28;
302
302
  optional int32 bonus_id = 29;
303
+ // Explicit signup refusal; absence preserves automatic unique-candidate selection.
304
+ optional bool no_bonus = 30;
303
305
  }
304
306
  message LoggedInResponse {
305
307
  int32 id = 1;
@@ -1157,6 +1159,14 @@ message CalculatedRestrictionLimit {
1157
1159
  message ReadRiskPermissionMatrixRequest {
1158
1160
  string risk_level = 1;
1159
1161
  }
1162
+ // Platform-defined optional conditions, ANDed with each existing permission flag.
1163
+ // An absent configuration on update preserves the stored map; an empty map clears it.
1164
+ message RiskPermissionConditionSet {
1165
+ repeated string conditions = 1;
1166
+ }
1167
+ message RiskPermissionConditions {
1168
+ map<string, RiskPermissionConditionSet> permissions = 1;
1169
+ }
1160
1170
  message UpdateRiskPermissionMatrixRequest {
1161
1171
  string risk_level = 1;
1162
1172
  bool can_deposit = 2;
@@ -1173,6 +1183,7 @@ message UpdateRiskPermissionMatrixRequest {
1173
1183
  bool can_use_affiliate_features = 13;
1174
1184
  bool is_user_blocked = 14;
1175
1185
  bool is_active = 15;
1186
+ optional RiskPermissionConditions permission_conditions = 16;
1176
1187
  }
1177
1188
  message RiskPermissionMatrixItem {
1178
1189
  string risk_level = 1;
@@ -1192,6 +1203,7 @@ message RiskPermissionMatrixItem {
1192
1203
  bool is_active = 15;
1193
1204
  optional string created_at = 16;
1194
1205
  optional string updated_at = 17;
1206
+ optional RiskPermissionConditions permission_conditions = 18;
1195
1207
  }
1196
1208
  message RiskPermissionMatricesResponse {
1197
1209
  repeated RiskPermissionMatrixItem items = 1;
package/user/user_pb.js CHANGED
@@ -214,6 +214,8 @@ goog.exportSymbol('proto.user.ResponsibleGamingSelfExclusionOverview', null, glo
214
214
  goog.exportSymbol('proto.user.ResponsibleGamingTimeLimitDecisionDetail', null, global);
215
215
  goog.exportSymbol('proto.user.ResponsibleGamingTimeLimitOverview', null, global);
216
216
  goog.exportSymbol('proto.user.ResponsibleGamingTimeLimitScopeOverview', null, global);
217
+ goog.exportSymbol('proto.user.RiskPermissionConditionSet', null, global);
218
+ goog.exportSymbol('proto.user.RiskPermissionConditions', null, global);
217
219
  goog.exportSymbol('proto.user.RiskPermissionMatricesResponse', null, global);
218
220
  goog.exportSymbol('proto.user.RiskPermissionMatrixItem', null, global);
219
221
  goog.exportSymbol('proto.user.RiskPermissionMatrixLimitItem', null, global);
@@ -2547,6 +2549,48 @@ if (goog.DEBUG && !COMPILED) {
2547
2549
  */
2548
2550
  proto.user.ReadRiskPermissionMatrixRequest.displayName = 'proto.user.ReadRiskPermissionMatrixRequest';
2549
2551
  }
2552
+ /**
2553
+ * Generated by JsPbCodeGenerator.
2554
+ * @param {Array=} opt_data Optional initial data array, typically from a
2555
+ * server response, or constructed directly in Javascript. The array is used
2556
+ * in place and becomes part of the constructed object. It is not cloned.
2557
+ * If no data is provided, the constructed object will be empty, but still
2558
+ * valid.
2559
+ * @extends {jspb.Message}
2560
+ * @constructor
2561
+ */
2562
+ proto.user.RiskPermissionConditionSet = function(opt_data) {
2563
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.user.RiskPermissionConditionSet.repeatedFields_, null);
2564
+ };
2565
+ goog.inherits(proto.user.RiskPermissionConditionSet, jspb.Message);
2566
+ if (goog.DEBUG && !COMPILED) {
2567
+ /**
2568
+ * @public
2569
+ * @override
2570
+ */
2571
+ proto.user.RiskPermissionConditionSet.displayName = 'proto.user.RiskPermissionConditionSet';
2572
+ }
2573
+ /**
2574
+ * Generated by JsPbCodeGenerator.
2575
+ * @param {Array=} opt_data Optional initial data array, typically from a
2576
+ * server response, or constructed directly in Javascript. The array is used
2577
+ * in place and becomes part of the constructed object. It is not cloned.
2578
+ * If no data is provided, the constructed object will be empty, but still
2579
+ * valid.
2580
+ * @extends {jspb.Message}
2581
+ * @constructor
2582
+ */
2583
+ proto.user.RiskPermissionConditions = function(opt_data) {
2584
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2585
+ };
2586
+ goog.inherits(proto.user.RiskPermissionConditions, jspb.Message);
2587
+ if (goog.DEBUG && !COMPILED) {
2588
+ /**
2589
+ * @public
2590
+ * @override
2591
+ */
2592
+ proto.user.RiskPermissionConditions.displayName = 'proto.user.RiskPermissionConditions';
2593
+ }
2550
2594
  /**
2551
2595
  * Generated by JsPbCodeGenerator.
2552
2596
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -9350,7 +9394,8 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
9350
9394
  antifraudSession: jspb.Message.getFieldWithDefault(msg, 26, ""),
9351
9395
  fraudneticToken: jspb.Message.getFieldWithDefault(msg, 27, ""),
9352
9396
  ipCountry: jspb.Message.getFieldWithDefault(msg, 28, ""),
9353
- bonusId: jspb.Message.getFieldWithDefault(msg, 29, 0)
9397
+ bonusId: jspb.Message.getFieldWithDefault(msg, 29, 0),
9398
+ noBonus: jspb.Message.getBooleanFieldWithDefault(msg, 30, false)
9354
9399
  };
9355
9400
 
9356
9401
  if (includeInstance) {
@@ -9503,6 +9548,10 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
9503
9548
  var value = /** @type {number} */ (reader.readInt32());
9504
9549
  msg.setBonusId(value);
9505
9550
  break;
9551
+ case 30:
9552
+ var value = /** @type {boolean} */ (reader.readBool());
9553
+ msg.setNoBonus(value);
9554
+ break;
9506
9555
  default:
9507
9556
  reader.skipField();
9508
9557
  break;
@@ -9735,6 +9784,13 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
9735
9784
  f
9736
9785
  );
9737
9786
  }
9787
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 30));
9788
+ if (f != null) {
9789
+ writer.writeBool(
9790
+ 30,
9791
+ f
9792
+ );
9793
+ }
9738
9794
  };
9739
9795
 
9740
9796
 
@@ -10728,6 +10784,42 @@ proto.user.RegistrationRequest.prototype.hasBonusId = function() {
10728
10784
  };
10729
10785
 
10730
10786
 
10787
+ /**
10788
+ * optional bool no_bonus = 30;
10789
+ * @return {boolean}
10790
+ */
10791
+ proto.user.RegistrationRequest.prototype.getNoBonus = function() {
10792
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 30, false));
10793
+ };
10794
+
10795
+
10796
+ /**
10797
+ * @param {boolean} value
10798
+ * @return {!proto.user.RegistrationRequest} returns this
10799
+ */
10800
+ proto.user.RegistrationRequest.prototype.setNoBonus = function(value) {
10801
+ return jspb.Message.setField(this, 30, value);
10802
+ };
10803
+
10804
+
10805
+ /**
10806
+ * Clears the field making it undefined.
10807
+ * @return {!proto.user.RegistrationRequest} returns this
10808
+ */
10809
+ proto.user.RegistrationRequest.prototype.clearNoBonus = function() {
10810
+ return jspb.Message.setField(this, 30, undefined);
10811
+ };
10812
+
10813
+
10814
+ /**
10815
+ * Returns whether this field is set.
10816
+ * @return {boolean}
10817
+ */
10818
+ proto.user.RegistrationRequest.prototype.hasNoBonus = function() {
10819
+ return jspb.Message.getField(this, 30) != null;
10820
+ };
10821
+
10822
+
10731
10823
 
10732
10824
 
10733
10825
 
@@ -48963,6 +49055,295 @@ proto.user.ReadRiskPermissionMatrixRequest.prototype.setRiskLevel = function(val
48963
49055
 
48964
49056
 
48965
49057
 
49058
+ /**
49059
+ * List of repeated fields within this message type.
49060
+ * @private {!Array<number>}
49061
+ * @const
49062
+ */
49063
+ proto.user.RiskPermissionConditionSet.repeatedFields_ = [1];
49064
+
49065
+
49066
+
49067
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49068
+ /**
49069
+ * Creates an object representation of this proto.
49070
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49071
+ * Optional fields that are not set will be set to undefined.
49072
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49073
+ * For the list of reserved names please see:
49074
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49075
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49076
+ * JSPB instance for transitional soy proto support:
49077
+ * http://goto/soy-param-migration
49078
+ * @return {!Object}
49079
+ */
49080
+ proto.user.RiskPermissionConditionSet.prototype.toObject = function(opt_includeInstance) {
49081
+ return proto.user.RiskPermissionConditionSet.toObject(opt_includeInstance, this);
49082
+ };
49083
+
49084
+
49085
+ /**
49086
+ * Static version of the {@see toObject} method.
49087
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49088
+ * the JSPB instance for transitional soy proto support:
49089
+ * http://goto/soy-param-migration
49090
+ * @param {!proto.user.RiskPermissionConditionSet} msg The msg instance to transform.
49091
+ * @return {!Object}
49092
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49093
+ */
49094
+ proto.user.RiskPermissionConditionSet.toObject = function(includeInstance, msg) {
49095
+ var f, obj = {
49096
+ conditionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
49097
+ };
49098
+
49099
+ if (includeInstance) {
49100
+ obj.$jspbMessageInstance = msg;
49101
+ }
49102
+ return obj;
49103
+ };
49104
+ }
49105
+
49106
+
49107
+ /**
49108
+ * Deserializes binary data (in protobuf wire format).
49109
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49110
+ * @return {!proto.user.RiskPermissionConditionSet}
49111
+ */
49112
+ proto.user.RiskPermissionConditionSet.deserializeBinary = function(bytes) {
49113
+ var reader = new jspb.BinaryReader(bytes);
49114
+ var msg = new proto.user.RiskPermissionConditionSet;
49115
+ return proto.user.RiskPermissionConditionSet.deserializeBinaryFromReader(msg, reader);
49116
+ };
49117
+
49118
+
49119
+ /**
49120
+ * Deserializes binary data (in protobuf wire format) from the
49121
+ * given reader into the given message object.
49122
+ * @param {!proto.user.RiskPermissionConditionSet} msg The message object to deserialize into.
49123
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49124
+ * @return {!proto.user.RiskPermissionConditionSet}
49125
+ */
49126
+ proto.user.RiskPermissionConditionSet.deserializeBinaryFromReader = function(msg, reader) {
49127
+ while (reader.nextField()) {
49128
+ if (reader.isEndGroup()) {
49129
+ break;
49130
+ }
49131
+ var field = reader.getFieldNumber();
49132
+ switch (field) {
49133
+ case 1:
49134
+ var value = /** @type {string} */ (reader.readString());
49135
+ msg.addConditions(value);
49136
+ break;
49137
+ default:
49138
+ reader.skipField();
49139
+ break;
49140
+ }
49141
+ }
49142
+ return msg;
49143
+ };
49144
+
49145
+
49146
+ /**
49147
+ * Serializes the message to binary data (in protobuf wire format).
49148
+ * @return {!Uint8Array}
49149
+ */
49150
+ proto.user.RiskPermissionConditionSet.prototype.serializeBinary = function() {
49151
+ var writer = new jspb.BinaryWriter();
49152
+ proto.user.RiskPermissionConditionSet.serializeBinaryToWriter(this, writer);
49153
+ return writer.getResultBuffer();
49154
+ };
49155
+
49156
+
49157
+ /**
49158
+ * Serializes the given message to binary data (in protobuf wire
49159
+ * format), writing to the given BinaryWriter.
49160
+ * @param {!proto.user.RiskPermissionConditionSet} message
49161
+ * @param {!jspb.BinaryWriter} writer
49162
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49163
+ */
49164
+ proto.user.RiskPermissionConditionSet.serializeBinaryToWriter = function(message, writer) {
49165
+ var f = undefined;
49166
+ f = message.getConditionsList();
49167
+ if (f.length > 0) {
49168
+ writer.writeRepeatedString(
49169
+ 1,
49170
+ f
49171
+ );
49172
+ }
49173
+ };
49174
+
49175
+
49176
+ /**
49177
+ * repeated string conditions = 1;
49178
+ * @return {!Array<string>}
49179
+ */
49180
+ proto.user.RiskPermissionConditionSet.prototype.getConditionsList = function() {
49181
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
49182
+ };
49183
+
49184
+
49185
+ /**
49186
+ * @param {!Array<string>} value
49187
+ * @return {!proto.user.RiskPermissionConditionSet} returns this
49188
+ */
49189
+ proto.user.RiskPermissionConditionSet.prototype.setConditionsList = function(value) {
49190
+ return jspb.Message.setField(this, 1, value || []);
49191
+ };
49192
+
49193
+
49194
+ /**
49195
+ * @param {string} value
49196
+ * @param {number=} opt_index
49197
+ * @return {!proto.user.RiskPermissionConditionSet} returns this
49198
+ */
49199
+ proto.user.RiskPermissionConditionSet.prototype.addConditions = function(value, opt_index) {
49200
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
49201
+ };
49202
+
49203
+
49204
+ /**
49205
+ * Clears the list making it empty but non-null.
49206
+ * @return {!proto.user.RiskPermissionConditionSet} returns this
49207
+ */
49208
+ proto.user.RiskPermissionConditionSet.prototype.clearConditionsList = function() {
49209
+ return this.setConditionsList([]);
49210
+ };
49211
+
49212
+
49213
+
49214
+
49215
+
49216
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49217
+ /**
49218
+ * Creates an object representation of this proto.
49219
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49220
+ * Optional fields that are not set will be set to undefined.
49221
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49222
+ * For the list of reserved names please see:
49223
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49224
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49225
+ * JSPB instance for transitional soy proto support:
49226
+ * http://goto/soy-param-migration
49227
+ * @return {!Object}
49228
+ */
49229
+ proto.user.RiskPermissionConditions.prototype.toObject = function(opt_includeInstance) {
49230
+ return proto.user.RiskPermissionConditions.toObject(opt_includeInstance, this);
49231
+ };
49232
+
49233
+
49234
+ /**
49235
+ * Static version of the {@see toObject} method.
49236
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49237
+ * the JSPB instance for transitional soy proto support:
49238
+ * http://goto/soy-param-migration
49239
+ * @param {!proto.user.RiskPermissionConditions} msg The msg instance to transform.
49240
+ * @return {!Object}
49241
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49242
+ */
49243
+ proto.user.RiskPermissionConditions.toObject = function(includeInstance, msg) {
49244
+ var f, obj = {
49245
+ permissionsMap: (f = msg.getPermissionsMap()) ? f.toObject(includeInstance, proto.user.RiskPermissionConditionSet.toObject) : []
49246
+ };
49247
+
49248
+ if (includeInstance) {
49249
+ obj.$jspbMessageInstance = msg;
49250
+ }
49251
+ return obj;
49252
+ };
49253
+ }
49254
+
49255
+
49256
+ /**
49257
+ * Deserializes binary data (in protobuf wire format).
49258
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49259
+ * @return {!proto.user.RiskPermissionConditions}
49260
+ */
49261
+ proto.user.RiskPermissionConditions.deserializeBinary = function(bytes) {
49262
+ var reader = new jspb.BinaryReader(bytes);
49263
+ var msg = new proto.user.RiskPermissionConditions;
49264
+ return proto.user.RiskPermissionConditions.deserializeBinaryFromReader(msg, reader);
49265
+ };
49266
+
49267
+
49268
+ /**
49269
+ * Deserializes binary data (in protobuf wire format) from the
49270
+ * given reader into the given message object.
49271
+ * @param {!proto.user.RiskPermissionConditions} msg The message object to deserialize into.
49272
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49273
+ * @return {!proto.user.RiskPermissionConditions}
49274
+ */
49275
+ proto.user.RiskPermissionConditions.deserializeBinaryFromReader = function(msg, reader) {
49276
+ while (reader.nextField()) {
49277
+ if (reader.isEndGroup()) {
49278
+ break;
49279
+ }
49280
+ var field = reader.getFieldNumber();
49281
+ switch (field) {
49282
+ case 1:
49283
+ var value = msg.getPermissionsMap();
49284
+ reader.readMessage(value, function(message, reader) {
49285
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.user.RiskPermissionConditionSet.deserializeBinaryFromReader, "", new proto.user.RiskPermissionConditionSet());
49286
+ });
49287
+ break;
49288
+ default:
49289
+ reader.skipField();
49290
+ break;
49291
+ }
49292
+ }
49293
+ return msg;
49294
+ };
49295
+
49296
+
49297
+ /**
49298
+ * Serializes the message to binary data (in protobuf wire format).
49299
+ * @return {!Uint8Array}
49300
+ */
49301
+ proto.user.RiskPermissionConditions.prototype.serializeBinary = function() {
49302
+ var writer = new jspb.BinaryWriter();
49303
+ proto.user.RiskPermissionConditions.serializeBinaryToWriter(this, writer);
49304
+ return writer.getResultBuffer();
49305
+ };
49306
+
49307
+
49308
+ /**
49309
+ * Serializes the given message to binary data (in protobuf wire
49310
+ * format), writing to the given BinaryWriter.
49311
+ * @param {!proto.user.RiskPermissionConditions} message
49312
+ * @param {!jspb.BinaryWriter} writer
49313
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49314
+ */
49315
+ proto.user.RiskPermissionConditions.serializeBinaryToWriter = function(message, writer) {
49316
+ var f = undefined;
49317
+ f = message.getPermissionsMap(true);
49318
+ if (f && f.getLength() > 0) {
49319
+ f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.user.RiskPermissionConditionSet.serializeBinaryToWriter);
49320
+ }
49321
+ };
49322
+
49323
+
49324
+ /**
49325
+ * map<string, RiskPermissionConditionSet> permissions = 1;
49326
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
49327
+ * empty, instead returning `undefined`
49328
+ * @return {!jspb.Map<string,!proto.user.RiskPermissionConditionSet>}
49329
+ */
49330
+ proto.user.RiskPermissionConditions.prototype.getPermissionsMap = function(opt_noLazyCreate) {
49331
+ return /** @type {!jspb.Map<string,!proto.user.RiskPermissionConditionSet>} */ (
49332
+ jspb.Message.getMapField(this, 1, opt_noLazyCreate,
49333
+ proto.user.RiskPermissionConditionSet));
49334
+ };
49335
+
49336
+
49337
+ /**
49338
+ * Clears values from the map. The map will be non-null.
49339
+ * @return {!proto.user.RiskPermissionConditions} returns this
49340
+ */
49341
+ proto.user.RiskPermissionConditions.prototype.clearPermissionsMap = function() {
49342
+ this.getPermissionsMap().clear();
49343
+ return this;};
49344
+
49345
+
49346
+
48966
49347
 
48967
49348
 
48968
49349
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -49008,7 +49389,8 @@ proto.user.UpdateRiskPermissionMatrixRequest.toObject = function(includeInstance
49008
49389
  canCryptoConvert: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
49009
49390
  canUseAffiliateFeatures: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
49010
49391
  isUserBlocked: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
49011
- isActive: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
49392
+ isActive: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
49393
+ permissionConditions: (f = msg.getPermissionConditions()) && proto.user.RiskPermissionConditions.toObject(includeInstance, f)
49012
49394
  };
49013
49395
 
49014
49396
  if (includeInstance) {
@@ -49105,6 +49487,11 @@ proto.user.UpdateRiskPermissionMatrixRequest.deserializeBinaryFromReader = funct
49105
49487
  var value = /** @type {boolean} */ (reader.readBool());
49106
49488
  msg.setIsActive(value);
49107
49489
  break;
49490
+ case 16:
49491
+ var value = new proto.user.RiskPermissionConditions;
49492
+ reader.readMessage(value,proto.user.RiskPermissionConditions.deserializeBinaryFromReader);
49493
+ msg.setPermissionConditions(value);
49494
+ break;
49108
49495
  default:
49109
49496
  reader.skipField();
49110
49497
  break;
@@ -49239,6 +49626,14 @@ proto.user.UpdateRiskPermissionMatrixRequest.serializeBinaryToWriter = function(
49239
49626
  f
49240
49627
  );
49241
49628
  }
49629
+ f = message.getPermissionConditions();
49630
+ if (f != null) {
49631
+ writer.writeMessage(
49632
+ 16,
49633
+ f,
49634
+ proto.user.RiskPermissionConditions.serializeBinaryToWriter
49635
+ );
49636
+ }
49242
49637
  };
49243
49638
 
49244
49639
 
@@ -49512,6 +49907,43 @@ proto.user.UpdateRiskPermissionMatrixRequest.prototype.setIsActive = function(va
49512
49907
  };
49513
49908
 
49514
49909
 
49910
+ /**
49911
+ * optional RiskPermissionConditions permission_conditions = 16;
49912
+ * @return {?proto.user.RiskPermissionConditions}
49913
+ */
49914
+ proto.user.UpdateRiskPermissionMatrixRequest.prototype.getPermissionConditions = function() {
49915
+ return /** @type{?proto.user.RiskPermissionConditions} */ (
49916
+ jspb.Message.getWrapperField(this, proto.user.RiskPermissionConditions, 16));
49917
+ };
49918
+
49919
+
49920
+ /**
49921
+ * @param {?proto.user.RiskPermissionConditions|undefined} value
49922
+ * @return {!proto.user.UpdateRiskPermissionMatrixRequest} returns this
49923
+ */
49924
+ proto.user.UpdateRiskPermissionMatrixRequest.prototype.setPermissionConditions = function(value) {
49925
+ return jspb.Message.setWrapperField(this, 16, value);
49926
+ };
49927
+
49928
+
49929
+ /**
49930
+ * Clears the message field making it undefined.
49931
+ * @return {!proto.user.UpdateRiskPermissionMatrixRequest} returns this
49932
+ */
49933
+ proto.user.UpdateRiskPermissionMatrixRequest.prototype.clearPermissionConditions = function() {
49934
+ return this.setPermissionConditions(undefined);
49935
+ };
49936
+
49937
+
49938
+ /**
49939
+ * Returns whether this field is set.
49940
+ * @return {boolean}
49941
+ */
49942
+ proto.user.UpdateRiskPermissionMatrixRequest.prototype.hasPermissionConditions = function() {
49943
+ return jspb.Message.getField(this, 16) != null;
49944
+ };
49945
+
49946
+
49515
49947
 
49516
49948
 
49517
49949
 
@@ -49560,7 +49992,8 @@ proto.user.RiskPermissionMatrixItem.toObject = function(includeInstance, msg) {
49560
49992
  isUserBlocked: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
49561
49993
  isActive: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
49562
49994
  createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
49563
- updatedAt: jspb.Message.getFieldWithDefault(msg, 17, "")
49995
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
49996
+ permissionConditions: (f = msg.getPermissionConditions()) && proto.user.RiskPermissionConditions.toObject(includeInstance, f)
49564
49997
  };
49565
49998
 
49566
49999
  if (includeInstance) {
@@ -49665,6 +50098,11 @@ proto.user.RiskPermissionMatrixItem.deserializeBinaryFromReader = function(msg,
49665
50098
  var value = /** @type {string} */ (reader.readString());
49666
50099
  msg.setUpdatedAt(value);
49667
50100
  break;
50101
+ case 18:
50102
+ var value = new proto.user.RiskPermissionConditions;
50103
+ reader.readMessage(value,proto.user.RiskPermissionConditions.deserializeBinaryFromReader);
50104
+ msg.setPermissionConditions(value);
50105
+ break;
49668
50106
  default:
49669
50107
  reader.skipField();
49670
50108
  break;
@@ -49813,6 +50251,14 @@ proto.user.RiskPermissionMatrixItem.serializeBinaryToWriter = function(message,
49813
50251
  f
49814
50252
  );
49815
50253
  }
50254
+ f = message.getPermissionConditions();
50255
+ if (f != null) {
50256
+ writer.writeMessage(
50257
+ 18,
50258
+ f,
50259
+ proto.user.RiskPermissionConditions.serializeBinaryToWriter
50260
+ );
50261
+ }
49816
50262
  };
49817
50263
 
49818
50264
 
@@ -50158,6 +50604,43 @@ proto.user.RiskPermissionMatrixItem.prototype.hasUpdatedAt = function() {
50158
50604
  };
50159
50605
 
50160
50606
 
50607
+ /**
50608
+ * optional RiskPermissionConditions permission_conditions = 18;
50609
+ * @return {?proto.user.RiskPermissionConditions}
50610
+ */
50611
+ proto.user.RiskPermissionMatrixItem.prototype.getPermissionConditions = function() {
50612
+ return /** @type{?proto.user.RiskPermissionConditions} */ (
50613
+ jspb.Message.getWrapperField(this, proto.user.RiskPermissionConditions, 18));
50614
+ };
50615
+
50616
+
50617
+ /**
50618
+ * @param {?proto.user.RiskPermissionConditions|undefined} value
50619
+ * @return {!proto.user.RiskPermissionMatrixItem} returns this
50620
+ */
50621
+ proto.user.RiskPermissionMatrixItem.prototype.setPermissionConditions = function(value) {
50622
+ return jspb.Message.setWrapperField(this, 18, value);
50623
+ };
50624
+
50625
+
50626
+ /**
50627
+ * Clears the message field making it undefined.
50628
+ * @return {!proto.user.RiskPermissionMatrixItem} returns this
50629
+ */
50630
+ proto.user.RiskPermissionMatrixItem.prototype.clearPermissionConditions = function() {
50631
+ return this.setPermissionConditions(undefined);
50632
+ };
50633
+
50634
+
50635
+ /**
50636
+ * Returns whether this field is set.
50637
+ * @return {boolean}
50638
+ */
50639
+ proto.user.RiskPermissionMatrixItem.prototype.hasPermissionConditions = function() {
50640
+ return jspb.Message.getField(this, 18) != null;
50641
+ };
50642
+
50643
+
50161
50644
 
50162
50645
  /**
50163
50646
  * List of repeated fields within this message type.