protobuf-platform 1.2.687 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.687",
3
+ "version": "1.2.688",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -1159,6 +1159,14 @@ message CalculatedRestrictionLimit {
1159
1159
  message ReadRiskPermissionMatrixRequest {
1160
1160
  string risk_level = 1;
1161
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
+ }
1162
1170
  message UpdateRiskPermissionMatrixRequest {
1163
1171
  string risk_level = 1;
1164
1172
  bool can_deposit = 2;
@@ -1175,6 +1183,7 @@ message UpdateRiskPermissionMatrixRequest {
1175
1183
  bool can_use_affiliate_features = 13;
1176
1184
  bool is_user_blocked = 14;
1177
1185
  bool is_active = 15;
1186
+ optional RiskPermissionConditions permission_conditions = 16;
1178
1187
  }
1179
1188
  message RiskPermissionMatrixItem {
1180
1189
  string risk_level = 1;
@@ -1194,6 +1203,7 @@ message RiskPermissionMatrixItem {
1194
1203
  bool is_active = 15;
1195
1204
  optional string created_at = 16;
1196
1205
  optional string updated_at = 17;
1206
+ optional RiskPermissionConditions permission_conditions = 18;
1197
1207
  }
1198
1208
  message RiskPermissionMatricesResponse {
1199
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
@@ -49011,6 +49055,295 @@ proto.user.ReadRiskPermissionMatrixRequest.prototype.setRiskLevel = function(val
49011
49055
 
49012
49056
 
49013
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
+
49014
49347
 
49015
49348
 
49016
49349
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -49056,7 +49389,8 @@ proto.user.UpdateRiskPermissionMatrixRequest.toObject = function(includeInstance
49056
49389
  canCryptoConvert: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
49057
49390
  canUseAffiliateFeatures: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
49058
49391
  isUserBlocked: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
49059
- 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)
49060
49394
  };
49061
49395
 
49062
49396
  if (includeInstance) {
@@ -49153,6 +49487,11 @@ proto.user.UpdateRiskPermissionMatrixRequest.deserializeBinaryFromReader = funct
49153
49487
  var value = /** @type {boolean} */ (reader.readBool());
49154
49488
  msg.setIsActive(value);
49155
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;
49156
49495
  default:
49157
49496
  reader.skipField();
49158
49497
  break;
@@ -49287,6 +49626,14 @@ proto.user.UpdateRiskPermissionMatrixRequest.serializeBinaryToWriter = function(
49287
49626
  f
49288
49627
  );
49289
49628
  }
49629
+ f = message.getPermissionConditions();
49630
+ if (f != null) {
49631
+ writer.writeMessage(
49632
+ 16,
49633
+ f,
49634
+ proto.user.RiskPermissionConditions.serializeBinaryToWriter
49635
+ );
49636
+ }
49290
49637
  };
49291
49638
 
49292
49639
 
@@ -49560,6 +49907,43 @@ proto.user.UpdateRiskPermissionMatrixRequest.prototype.setIsActive = function(va
49560
49907
  };
49561
49908
 
49562
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
+
49563
49947
 
49564
49948
 
49565
49949
 
@@ -49608,7 +49992,8 @@ proto.user.RiskPermissionMatrixItem.toObject = function(includeInstance, msg) {
49608
49992
  isUserBlocked: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
49609
49993
  isActive: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
49610
49994
  createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
49611
- updatedAt: jspb.Message.getFieldWithDefault(msg, 17, "")
49995
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
49996
+ permissionConditions: (f = msg.getPermissionConditions()) && proto.user.RiskPermissionConditions.toObject(includeInstance, f)
49612
49997
  };
49613
49998
 
49614
49999
  if (includeInstance) {
@@ -49713,6 +50098,11 @@ proto.user.RiskPermissionMatrixItem.deserializeBinaryFromReader = function(msg,
49713
50098
  var value = /** @type {string} */ (reader.readString());
49714
50099
  msg.setUpdatedAt(value);
49715
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;
49716
50106
  default:
49717
50107
  reader.skipField();
49718
50108
  break;
@@ -49861,6 +50251,14 @@ proto.user.RiskPermissionMatrixItem.serializeBinaryToWriter = function(message,
49861
50251
  f
49862
50252
  );
49863
50253
  }
50254
+ f = message.getPermissionConditions();
50255
+ if (f != null) {
50256
+ writer.writeMessage(
50257
+ 18,
50258
+ f,
50259
+ proto.user.RiskPermissionConditions.serializeBinaryToWriter
50260
+ );
50261
+ }
49864
50262
  };
49865
50263
 
49866
50264
 
@@ -50206,6 +50604,43 @@ proto.user.RiskPermissionMatrixItem.prototype.hasUpdatedAt = function() {
50206
50604
  };
50207
50605
 
50208
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
+
50209
50644
 
50210
50645
  /**
50211
50646
  * List of repeated fields within this message type.