protobuf-platform 1.2.635 → 1.2.636

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.635",
3
+ "version": "1.2.636",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -2136,6 +2136,8 @@ enum ResponsibleGamingSelfExclusionDuration {
2136
2136
  RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_3_YEARS = 9;
2137
2137
  RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_4_YEARS = 10;
2138
2138
  RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_5_YEARS = 11;
2139
+ RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_10_YEARS = 12;
2140
+ RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_FOREVER = 13;
2139
2141
  }
2140
2142
  enum ResponsibleGamingOperation {
2141
2143
  RESPONSIBLE_GAMING_OPERATION_UNSPECIFIED = 0;
@@ -2202,6 +2204,7 @@ message ResponsibleGamingPolicyItem {
2202
2204
  optional string deleted_at = 14;
2203
2205
  optional string predecessor_policy_id = 15; // Prior version within the same replacement scope.
2204
2206
  optional string replaced_by_policy_id = 16; // Successor version within the same replacement scope.
2207
+ optional string self_exclusion_until_date = 17; // YYYY-MM-DD configuration for custom-date SELF_EXCLUSION only.
2205
2208
  }
2206
2209
  // Creates a new version for the scope resolved from user_id, policy_type, and (for limit types) recurring_period.
2207
2210
  message SetResponsibleGamingPolicyRequest {
@@ -2215,6 +2218,7 @@ message SetResponsibleGamingPolicyRequest {
2215
2218
  optional int32 currency_scale = 8;
2216
2219
  optional int64 time_limit_seconds = 9;
2217
2220
  optional string effective_at = 10;
2221
+ optional string self_exclusion_until_date = 11; // Mutually exclusive with self_exclusion_duration.
2218
2222
  }
2219
2223
  // Disables the policy version identified by policy_id (not by replacement scope).
2220
2224
  message DisableResponsibleGamingPolicyRequest {
package/user/user_pb.js CHANGED
@@ -87584,7 +87584,8 @@ proto.user.ResponsibleGamingPolicyItem.toObject = function(includeInstance, msg)
87584
87584
  endedAt: jspb.Message.getFieldWithDefault(msg, 13, ""),
87585
87585
  deletedAt: jspb.Message.getFieldWithDefault(msg, 14, ""),
87586
87586
  predecessorPolicyId: jspb.Message.getFieldWithDefault(msg, 15, ""),
87587
- replacedByPolicyId: jspb.Message.getFieldWithDefault(msg, 16, "")
87587
+ replacedByPolicyId: jspb.Message.getFieldWithDefault(msg, 16, ""),
87588
+ selfExclusionUntilDate: jspb.Message.getFieldWithDefault(msg, 17, "")
87588
87589
  };
87589
87590
 
87590
87591
  if (includeInstance) {
@@ -87685,6 +87686,10 @@ proto.user.ResponsibleGamingPolicyItem.deserializeBinaryFromReader = function(ms
87685
87686
  var value = /** @type {string} */ (reader.readString());
87686
87687
  msg.setReplacedByPolicyId(value);
87687
87688
  break;
87689
+ case 17:
87690
+ var value = /** @type {string} */ (reader.readString());
87691
+ msg.setSelfExclusionUntilDate(value);
87692
+ break;
87688
87693
  default:
87689
87694
  reader.skipField();
87690
87695
  break;
@@ -87826,6 +87831,13 @@ proto.user.ResponsibleGamingPolicyItem.serializeBinaryToWriter = function(messag
87826
87831
  f
87827
87832
  );
87828
87833
  }
87834
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
87835
+ if (f != null) {
87836
+ writer.writeString(
87837
+ 17,
87838
+ f
87839
+ );
87840
+ }
87829
87841
  };
87830
87842
 
87831
87843
 
@@ -88351,6 +88363,42 @@ proto.user.ResponsibleGamingPolicyItem.prototype.hasReplacedByPolicyId = functio
88351
88363
  };
88352
88364
 
88353
88365
 
88366
+ /**
88367
+ * optional string self_exclusion_until_date = 17;
88368
+ * @return {string}
88369
+ */
88370
+ proto.user.ResponsibleGamingPolicyItem.prototype.getSelfExclusionUntilDate = function() {
88371
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
88372
+ };
88373
+
88374
+
88375
+ /**
88376
+ * @param {string} value
88377
+ * @return {!proto.user.ResponsibleGamingPolicyItem} returns this
88378
+ */
88379
+ proto.user.ResponsibleGamingPolicyItem.prototype.setSelfExclusionUntilDate = function(value) {
88380
+ return jspb.Message.setField(this, 17, value);
88381
+ };
88382
+
88383
+
88384
+ /**
88385
+ * Clears the field making it undefined.
88386
+ * @return {!proto.user.ResponsibleGamingPolicyItem} returns this
88387
+ */
88388
+ proto.user.ResponsibleGamingPolicyItem.prototype.clearSelfExclusionUntilDate = function() {
88389
+ return jspb.Message.setField(this, 17, undefined);
88390
+ };
88391
+
88392
+
88393
+ /**
88394
+ * Returns whether this field is set.
88395
+ * @return {boolean}
88396
+ */
88397
+ proto.user.ResponsibleGamingPolicyItem.prototype.hasSelfExclusionUntilDate = function() {
88398
+ return jspb.Message.getField(this, 17) != null;
88399
+ };
88400
+
88401
+
88354
88402
 
88355
88403
 
88356
88404
 
@@ -88392,7 +88440,8 @@ proto.user.SetResponsibleGamingPolicyRequest.toObject = function(includeInstance
88392
88440
  currency: jspb.Message.getFieldWithDefault(msg, 7, ""),
88393
88441
  currencyScale: jspb.Message.getFieldWithDefault(msg, 8, 0),
88394
88442
  timeLimitSeconds: jspb.Message.getFieldWithDefault(msg, 9, 0),
88395
- effectiveAt: jspb.Message.getFieldWithDefault(msg, 10, "")
88443
+ effectiveAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
88444
+ selfExclusionUntilDate: jspb.Message.getFieldWithDefault(msg, 11, "")
88396
88445
  };
88397
88446
 
88398
88447
  if (includeInstance) {
@@ -88469,6 +88518,10 @@ proto.user.SetResponsibleGamingPolicyRequest.deserializeBinaryFromReader = funct
88469
88518
  var value = /** @type {string} */ (reader.readString());
88470
88519
  msg.setEffectiveAt(value);
88471
88520
  break;
88521
+ case 11:
88522
+ var value = /** @type {string} */ (reader.readString());
88523
+ msg.setSelfExclusionUntilDate(value);
88524
+ break;
88472
88525
  default:
88473
88526
  reader.skipField();
88474
88527
  break;
@@ -88568,6 +88621,13 @@ proto.user.SetResponsibleGamingPolicyRequest.serializeBinaryToWriter = function(
88568
88621
  f
88569
88622
  );
88570
88623
  }
88624
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
88625
+ if (f != null) {
88626
+ writer.writeString(
88627
+ 11,
88628
+ f
88629
+ );
88630
+ }
88571
88631
  };
88572
88632
 
88573
88633
 
@@ -88895,6 +88955,42 @@ proto.user.SetResponsibleGamingPolicyRequest.prototype.hasEffectiveAt = function
88895
88955
  };
88896
88956
 
88897
88957
 
88958
+ /**
88959
+ * optional string self_exclusion_until_date = 11;
88960
+ * @return {string}
88961
+ */
88962
+ proto.user.SetResponsibleGamingPolicyRequest.prototype.getSelfExclusionUntilDate = function() {
88963
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
88964
+ };
88965
+
88966
+
88967
+ /**
88968
+ * @param {string} value
88969
+ * @return {!proto.user.SetResponsibleGamingPolicyRequest} returns this
88970
+ */
88971
+ proto.user.SetResponsibleGamingPolicyRequest.prototype.setSelfExclusionUntilDate = function(value) {
88972
+ return jspb.Message.setField(this, 11, value);
88973
+ };
88974
+
88975
+
88976
+ /**
88977
+ * Clears the field making it undefined.
88978
+ * @return {!proto.user.SetResponsibleGamingPolicyRequest} returns this
88979
+ */
88980
+ proto.user.SetResponsibleGamingPolicyRequest.prototype.clearSelfExclusionUntilDate = function() {
88981
+ return jspb.Message.setField(this, 11, undefined);
88982
+ };
88983
+
88984
+
88985
+ /**
88986
+ * Returns whether this field is set.
88987
+ * @return {boolean}
88988
+ */
88989
+ proto.user.SetResponsibleGamingPolicyRequest.prototype.hasSelfExclusionUntilDate = function() {
88990
+ return jspb.Message.getField(this, 11) != null;
88991
+ };
88992
+
88993
+
88898
88994
 
88899
88995
 
88900
88996
 
@@ -104639,7 +104735,9 @@ proto.user.ResponsibleGamingSelfExclusionDuration = {
104639
104735
  RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_2_YEARS: 8,
104640
104736
  RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_3_YEARS: 9,
104641
104737
  RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_4_YEARS: 10,
104642
- RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_5_YEARS: 11
104738
+ RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_5_YEARS: 11,
104739
+ RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_10_YEARS: 12,
104740
+ RESPONSIBLE_GAMING_SELF_EXCLUSION_DURATION_FOREVER: 13
104643
104741
  };
104644
104742
 
104645
104743
  /**