protobuf-platform 1.2.754 → 1.2.755
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/notification/notification.proto +27 -0
- package/notification/notification_grpc_pb.js +68 -0
- package/notification/notification_pb.js +1028 -0
- package/package.json +1 -1
- package/user/user.proto +24 -0
- package/user/user_grpc_pb.js +69 -0
- package/user/user_pb.js +888 -84
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -221,6 +221,26 @@ service User {
|
|
|
221
221
|
rpc updateResponsibleGamingTimeUsage(UpdateResponsibleGamingTimeUsageRequest) returns (UpdateResponsibleGamingTimeUsageResponse);
|
|
222
222
|
rpc transitionPrecisionRgAdmission(PrecisionRgAdmissionRequest)
|
|
223
223
|
returns (PrecisionRgAdmissionResponse);
|
|
224
|
+
// Provider-independent player website domain context. Reads do not create a row.
|
|
225
|
+
rpc getPlayerDomainContext(GetPlayerDomainContextRequest) returns (PlayerDomainContext);
|
|
226
|
+
// Sets last_active_domain only. Does not change push_subscription_domain.
|
|
227
|
+
rpc recordPlayerLastActiveDomain(RecordPlayerDomainAttributeRequest) returns (PlayerDomainContext);
|
|
228
|
+
// Sets push_subscription_domain only. Does not change last_active_domain.
|
|
229
|
+
rpc recordPlayerPushSubscriptionDomain(RecordPlayerDomainAttributeRequest) returns (PlayerDomainContext);
|
|
230
|
+
}
|
|
231
|
+
message GetPlayerDomainContextRequest {
|
|
232
|
+
int32 user_id = 1;
|
|
233
|
+
}
|
|
234
|
+
message RecordPlayerDomainAttributeRequest {
|
|
235
|
+
int32 user_id = 1;
|
|
236
|
+
// Normalized website hostname. Not a URL, path, or API host.
|
|
237
|
+
string domain = 2;
|
|
238
|
+
}
|
|
239
|
+
message PlayerDomainContext {
|
|
240
|
+
int32 user_id = 1;
|
|
241
|
+
string public_id = 2;
|
|
242
|
+
optional string last_active_domain = 3;
|
|
243
|
+
optional string push_subscription_domain = 4;
|
|
224
244
|
}
|
|
225
245
|
//Technical
|
|
226
246
|
message PingRequest { string ping = 1; }
|
|
@@ -329,6 +349,8 @@ message LoggedInResponse {
|
|
|
329
349
|
optional int32 preset_id = 16;
|
|
330
350
|
optional int32 role_id = 17;
|
|
331
351
|
optional string preferred_wallet_currency = 18;
|
|
352
|
+
optional string last_active_domain = 19;
|
|
353
|
+
optional string push_subscription_domain = 20;
|
|
332
354
|
}
|
|
333
355
|
message LoginRequest {
|
|
334
356
|
optional string email = 1;
|
|
@@ -796,6 +818,8 @@ message UserDataResponse {
|
|
|
796
818
|
optional bool is_self_exclusion_active = 59;
|
|
797
819
|
optional bool is_test = 60;
|
|
798
820
|
optional string preferred_wallet_currency = 61;
|
|
821
|
+
optional string last_active_domain = 62;
|
|
822
|
+
optional string push_subscription_domain = 63;
|
|
799
823
|
}
|
|
800
824
|
message UserDepositProfileResponse {
|
|
801
825
|
int32 id = 1;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -543,6 +543,17 @@ function deserialize_user_GetNoteRequest(buffer_arg) {
|
|
|
543
543
|
return user_pb.GetNoteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
+
function serialize_user_GetPlayerDomainContextRequest(arg) {
|
|
547
|
+
if (!(arg instanceof user_pb.GetPlayerDomainContextRequest)) {
|
|
548
|
+
throw new Error('Expected argument of type user.GetPlayerDomainContextRequest');
|
|
549
|
+
}
|
|
550
|
+
return Buffer.from(arg.serializeBinary());
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
function deserialize_user_GetPlayerDomainContextRequest(buffer_arg) {
|
|
554
|
+
return user_pb.GetPlayerDomainContextRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
555
|
+
}
|
|
556
|
+
|
|
546
557
|
function serialize_user_GetPumpKingsMyTokenWidgetLaunchDataRequest(arg) {
|
|
547
558
|
if (!(arg instanceof user_pb.GetPumpKingsMyTokenWidgetLaunchDataRequest)) {
|
|
548
559
|
throw new Error('Expected argument of type user.GetPumpKingsMyTokenWidgetLaunchDataRequest');
|
|
@@ -1016,6 +1027,17 @@ function deserialize_user_PingRequest(buffer_arg) {
|
|
|
1016
1027
|
return user_pb.PingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1017
1028
|
}
|
|
1018
1029
|
|
|
1030
|
+
function serialize_user_PlayerDomainContext(arg) {
|
|
1031
|
+
if (!(arg instanceof user_pb.PlayerDomainContext)) {
|
|
1032
|
+
throw new Error('Expected argument of type user.PlayerDomainContext');
|
|
1033
|
+
}
|
|
1034
|
+
return Buffer.from(arg.serializeBinary());
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
function deserialize_user_PlayerDomainContext(buffer_arg) {
|
|
1038
|
+
return user_pb.PlayerDomainContext.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1019
1041
|
function serialize_user_PongResponse(arg) {
|
|
1020
1042
|
if (!(arg instanceof user_pb.PongResponse)) {
|
|
1021
1043
|
throw new Error('Expected argument of type user.PongResponse');
|
|
@@ -1511,6 +1533,17 @@ function deserialize_user_ReadUserRiskProfileRequest(buffer_arg) {
|
|
|
1511
1533
|
return user_pb.ReadUserRiskProfileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1512
1534
|
}
|
|
1513
1535
|
|
|
1536
|
+
function serialize_user_RecordPlayerDomainAttributeRequest(arg) {
|
|
1537
|
+
if (!(arg instanceof user_pb.RecordPlayerDomainAttributeRequest)) {
|
|
1538
|
+
throw new Error('Expected argument of type user.RecordPlayerDomainAttributeRequest');
|
|
1539
|
+
}
|
|
1540
|
+
return Buffer.from(arg.serializeBinary());
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
function deserialize_user_RecordPlayerDomainAttributeRequest(buffer_arg) {
|
|
1544
|
+
return user_pb.RecordPlayerDomainAttributeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1514
1547
|
function serialize_user_RegistrationRequest(arg) {
|
|
1515
1548
|
if (!(arg instanceof user_pb.RegistrationRequest)) {
|
|
1516
1549
|
throw new Error('Expected argument of type user.RegistrationRequest');
|
|
@@ -4579,6 +4612,42 @@ adminResetResponsibleGamingPolicy: {
|
|
|
4579
4612
|
responseSerialize: serialize_user_PrecisionRgAdmissionResponse,
|
|
4580
4613
|
responseDeserialize: deserialize_user_PrecisionRgAdmissionResponse,
|
|
4581
4614
|
},
|
|
4615
|
+
// Provider-independent player website domain context. Reads do not create a row.
|
|
4616
|
+
getPlayerDomainContext: {
|
|
4617
|
+
path: '/user.User/getPlayerDomainContext',
|
|
4618
|
+
requestStream: false,
|
|
4619
|
+
responseStream: false,
|
|
4620
|
+
requestType: user_pb.GetPlayerDomainContextRequest,
|
|
4621
|
+
responseType: user_pb.PlayerDomainContext,
|
|
4622
|
+
requestSerialize: serialize_user_GetPlayerDomainContextRequest,
|
|
4623
|
+
requestDeserialize: deserialize_user_GetPlayerDomainContextRequest,
|
|
4624
|
+
responseSerialize: serialize_user_PlayerDomainContext,
|
|
4625
|
+
responseDeserialize: deserialize_user_PlayerDomainContext,
|
|
4626
|
+
},
|
|
4627
|
+
// Sets last_active_domain only. Does not change push_subscription_domain.
|
|
4628
|
+
recordPlayerLastActiveDomain: {
|
|
4629
|
+
path: '/user.User/recordPlayerLastActiveDomain',
|
|
4630
|
+
requestStream: false,
|
|
4631
|
+
responseStream: false,
|
|
4632
|
+
requestType: user_pb.RecordPlayerDomainAttributeRequest,
|
|
4633
|
+
responseType: user_pb.PlayerDomainContext,
|
|
4634
|
+
requestSerialize: serialize_user_RecordPlayerDomainAttributeRequest,
|
|
4635
|
+
requestDeserialize: deserialize_user_RecordPlayerDomainAttributeRequest,
|
|
4636
|
+
responseSerialize: serialize_user_PlayerDomainContext,
|
|
4637
|
+
responseDeserialize: deserialize_user_PlayerDomainContext,
|
|
4638
|
+
},
|
|
4639
|
+
// Sets push_subscription_domain only. Does not change last_active_domain.
|
|
4640
|
+
recordPlayerPushSubscriptionDomain: {
|
|
4641
|
+
path: '/user.User/recordPlayerPushSubscriptionDomain',
|
|
4642
|
+
requestStream: false,
|
|
4643
|
+
responseStream: false,
|
|
4644
|
+
requestType: user_pb.RecordPlayerDomainAttributeRequest,
|
|
4645
|
+
responseType: user_pb.PlayerDomainContext,
|
|
4646
|
+
requestSerialize: serialize_user_RecordPlayerDomainAttributeRequest,
|
|
4647
|
+
requestDeserialize: deserialize_user_RecordPlayerDomainAttributeRequest,
|
|
4648
|
+
responseSerialize: serialize_user_PlayerDomainContext,
|
|
4649
|
+
responseDeserialize: deserialize_user_PlayerDomainContext,
|
|
4650
|
+
},
|
|
4582
4651
|
};
|
|
4583
4652
|
|
|
4584
4653
|
exports.UserClient = grpc.makeGenericClientConstructor(UserService, 'User');
|