protobuf-platform 1.2.634 → 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/game/game.proto +3 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +49 -1
- package/package.json +1 -1
- package/user/user.proto +4 -0
- package/user/user_pb.js +101 -3
package/game/game.proto
CHANGED
|
@@ -10,6 +10,8 @@ service Game {
|
|
|
10
10
|
rpc readListMultiScopes(MultiScopeListRequest) returns (MultiScopeItemsResponse);
|
|
11
11
|
rpc setMultiScopeItems(MultiScopeSetItemsRequest) returns (MultiScopeStatusResponse);
|
|
12
12
|
rpc readMultiScopeItems(GetMultiScopeRequest) returns (MultiScopeCompositionResponse);
|
|
13
|
+
rpc getMultiScopeTranslation(GameEntityTranslationRequest) returns (GameEntityTranslationResponse);
|
|
14
|
+
rpc setMultiScopeTranslation(GameEntityTranslationRequest) returns (MultiScopeStatusResponse);
|
|
13
15
|
//Tech
|
|
14
16
|
rpc checkConnection(PingRequest) returns (PongResponse);
|
|
15
17
|
//Common
|
|
@@ -1034,6 +1036,7 @@ message MultiScopeRequest {
|
|
|
1034
1036
|
}
|
|
1035
1037
|
message GetMultiScopeRequest {
|
|
1036
1038
|
int32 id = 1;
|
|
1039
|
+
optional string locale = 2;
|
|
1037
1040
|
}
|
|
1038
1041
|
message MultiScopeListRequest {
|
|
1039
1042
|
int32 limit = 1;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -1645,6 +1645,28 @@ var GameService = exports.GameService = {
|
|
|
1645
1645
|
responseSerialize: serialize_game_MultiScopeCompositionResponse,
|
|
1646
1646
|
responseDeserialize: deserialize_game_MultiScopeCompositionResponse,
|
|
1647
1647
|
},
|
|
1648
|
+
getMultiScopeTranslation: {
|
|
1649
|
+
path: '/game.Game/getMultiScopeTranslation',
|
|
1650
|
+
requestStream: false,
|
|
1651
|
+
responseStream: false,
|
|
1652
|
+
requestType: game_pb.GameEntityTranslationRequest,
|
|
1653
|
+
responseType: game_pb.GameEntityTranslationResponse,
|
|
1654
|
+
requestSerialize: serialize_game_GameEntityTranslationRequest,
|
|
1655
|
+
requestDeserialize: deserialize_game_GameEntityTranslationRequest,
|
|
1656
|
+
responseSerialize: serialize_game_GameEntityTranslationResponse,
|
|
1657
|
+
responseDeserialize: deserialize_game_GameEntityTranslationResponse,
|
|
1658
|
+
},
|
|
1659
|
+
setMultiScopeTranslation: {
|
|
1660
|
+
path: '/game.Game/setMultiScopeTranslation',
|
|
1661
|
+
requestStream: false,
|
|
1662
|
+
responseStream: false,
|
|
1663
|
+
requestType: game_pb.GameEntityTranslationRequest,
|
|
1664
|
+
responseType: game_pb.MultiScopeStatusResponse,
|
|
1665
|
+
requestSerialize: serialize_game_GameEntityTranslationRequest,
|
|
1666
|
+
requestDeserialize: deserialize_game_GameEntityTranslationRequest,
|
|
1667
|
+
responseSerialize: serialize_game_MultiScopeStatusResponse,
|
|
1668
|
+
responseDeserialize: deserialize_game_MultiScopeStatusResponse,
|
|
1669
|
+
},
|
|
1648
1670
|
// Tech
|
|
1649
1671
|
checkConnection: {
|
|
1650
1672
|
path: '/game.Game/checkConnection',
|
package/game/game_pb.js
CHANGED
|
@@ -43379,7 +43379,8 @@ proto.game.GetMultiScopeRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
43379
43379
|
*/
|
|
43380
43380
|
proto.game.GetMultiScopeRequest.toObject = function(includeInstance, msg) {
|
|
43381
43381
|
var f, obj = {
|
|
43382
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
43382
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
43383
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
43383
43384
|
};
|
|
43384
43385
|
|
|
43385
43386
|
if (includeInstance) {
|
|
@@ -43420,6 +43421,10 @@ proto.game.GetMultiScopeRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
43420
43421
|
var value = /** @type {number} */ (reader.readInt32());
|
|
43421
43422
|
msg.setId(value);
|
|
43422
43423
|
break;
|
|
43424
|
+
case 2:
|
|
43425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43426
|
+
msg.setLocale(value);
|
|
43427
|
+
break;
|
|
43423
43428
|
default:
|
|
43424
43429
|
reader.skipField();
|
|
43425
43430
|
break;
|
|
@@ -43456,6 +43461,13 @@ proto.game.GetMultiScopeRequest.serializeBinaryToWriter = function(message, writ
|
|
|
43456
43461
|
f
|
|
43457
43462
|
);
|
|
43458
43463
|
}
|
|
43464
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
43465
|
+
if (f != null) {
|
|
43466
|
+
writer.writeString(
|
|
43467
|
+
2,
|
|
43468
|
+
f
|
|
43469
|
+
);
|
|
43470
|
+
}
|
|
43459
43471
|
};
|
|
43460
43472
|
|
|
43461
43473
|
|
|
@@ -43477,6 +43489,42 @@ proto.game.GetMultiScopeRequest.prototype.setId = function(value) {
|
|
|
43477
43489
|
};
|
|
43478
43490
|
|
|
43479
43491
|
|
|
43492
|
+
/**
|
|
43493
|
+
* optional string locale = 2;
|
|
43494
|
+
* @return {string}
|
|
43495
|
+
*/
|
|
43496
|
+
proto.game.GetMultiScopeRequest.prototype.getLocale = function() {
|
|
43497
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
43498
|
+
};
|
|
43499
|
+
|
|
43500
|
+
|
|
43501
|
+
/**
|
|
43502
|
+
* @param {string} value
|
|
43503
|
+
* @return {!proto.game.GetMultiScopeRequest} returns this
|
|
43504
|
+
*/
|
|
43505
|
+
proto.game.GetMultiScopeRequest.prototype.setLocale = function(value) {
|
|
43506
|
+
return jspb.Message.setField(this, 2, value);
|
|
43507
|
+
};
|
|
43508
|
+
|
|
43509
|
+
|
|
43510
|
+
/**
|
|
43511
|
+
* Clears the field making it undefined.
|
|
43512
|
+
* @return {!proto.game.GetMultiScopeRequest} returns this
|
|
43513
|
+
*/
|
|
43514
|
+
proto.game.GetMultiScopeRequest.prototype.clearLocale = function() {
|
|
43515
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
43516
|
+
};
|
|
43517
|
+
|
|
43518
|
+
|
|
43519
|
+
/**
|
|
43520
|
+
* Returns whether this field is set.
|
|
43521
|
+
* @return {boolean}
|
|
43522
|
+
*/
|
|
43523
|
+
proto.game.GetMultiScopeRequest.prototype.hasLocale = function() {
|
|
43524
|
+
return jspb.Message.getField(this, 2) != null;
|
|
43525
|
+
};
|
|
43526
|
+
|
|
43527
|
+
|
|
43480
43528
|
|
|
43481
43529
|
/**
|
|
43482
43530
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
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
|
/**
|