protobuf-platform 1.2.357 → 1.2.362

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/bonus/bonus.proto CHANGED
@@ -28,7 +28,7 @@ service Bonus {
28
28
  rpc getUserBonusesHistory(PaginationRequest) returns (UserBonusItemsResponse);
29
29
  rpc getDepositEligibleUserBonuses(GetDepositEligibleUserBonusesRequest) returns (DepositEligibleUserBonusesResponse);
30
30
  rpc getActiveWageringUserBonuses(GetActiveWageringUserBonusesRequest) returns (ActiveWageringUserBonusesResponse);
31
- rpc getCommonUserBonusItems(GetLoggedInUserBonusItemsRequest) returns (GetLoggedInUserBonusItemsResponse);
31
+ rpc getCommonUserBonusItems(GetCommonUserBonusItemsRequest) returns (GetCommonUserBonusItemsResponse);
32
32
  // Validates one selected wagering user bonus for a game wager list and balance type; returns authoritative state for game-service Redis snapshot.
33
33
  rpc validateSelectedWageringUserBonus(ValidateSelectedWageringUserBonusRequest) returns (ValidateSelectedWageringUserBonusResponse);
34
34
  //Common lists
@@ -251,9 +251,9 @@ message UserBonusItem {
251
251
  optional string activated_at = 16;
252
252
  optional string completed_at = 17;
253
253
  optional string canceled_at = 18;
254
- optional int32 claiming_end_in_milliseconds = 19;
255
- optional int32 activation_end_in_milliseconds = 20;
256
- optional int32 wagering_end_in_milliseconds = 21;
254
+ optional int64 claiming_end_in_milliseconds = 19;
255
+ optional int64 activation_end_in_milliseconds = 20;
256
+ optional int64 wagering_end_in_milliseconds = 21;
257
257
  optional bool has_free_spins = 22;
258
258
  optional string status_free_spins = 23;
259
259
  optional float reward_free_spins = 24;
@@ -349,11 +349,11 @@ message ActiveWageringUserBonusItem {
349
349
  optional string image_cdn = 4;
350
350
  optional float current_wager_amount = 5;
351
351
  optional float total_wager_amount = 6;
352
- optional int32 wagering_end_in_milliseconds = 7;
352
+ optional int64 wagering_end_in_milliseconds = 7;
353
353
  repeated string wager_balances = 8;
354
354
  optional int32 wager_games_list_id = 9;
355
355
  }
356
- message GetLoggedInUserBonusItemsRequest {
356
+ message GetCommonUserBonusItemsRequest {
357
357
  int32 user_id = 1;
358
358
  optional string currency = 2;
359
359
  optional string country = 3;
@@ -361,10 +361,10 @@ message GetLoggedInUserBonusItemsRequest {
361
361
  optional bool is_mobile = 5;
362
362
  }
363
363
  //for common bonuses user response overview
364
- message GetLoggedInUserBonusItemsResponse {
365
- LoggedInUserBonusItems items = 1;
364
+ message GetCommonUserBonusItemsResponse {
365
+ CommonUserBonusItems items = 1;
366
366
  }
367
- message LoggedInUserBonusItems {
367
+ message CommonUserBonusItems {
368
368
  repeated UserBonusItem wagering = 1;
369
369
  repeated UserBonusItem all = 2;
370
370
  }
@@ -224,48 +224,48 @@ function deserialize_bonus_GetBonusTranslationRequest(buffer_arg) {
224
224
  return bonus_pb.GetBonusTranslationRequest.deserializeBinary(new Uint8Array(buffer_arg));
225
225
  }
226
226
 
227
- function serialize_bonus_GetDepositEligibleUserBonusesRequest(arg) {
228
- if (!(arg instanceof bonus_pb.GetDepositEligibleUserBonusesRequest)) {
229
- throw new Error('Expected argument of type bonus.GetDepositEligibleUserBonusesRequest');
227
+ function serialize_bonus_GetCommonUserBonusItemsRequest(arg) {
228
+ if (!(arg instanceof bonus_pb.GetCommonUserBonusItemsRequest)) {
229
+ throw new Error('Expected argument of type bonus.GetCommonUserBonusItemsRequest');
230
230
  }
231
231
  return Buffer.from(arg.serializeBinary());
232
232
  }
233
233
 
234
- function deserialize_bonus_GetDepositEligibleUserBonusesRequest(buffer_arg) {
235
- return bonus_pb.GetDepositEligibleUserBonusesRequest.deserializeBinary(new Uint8Array(buffer_arg));
234
+ function deserialize_bonus_GetCommonUserBonusItemsRequest(buffer_arg) {
235
+ return bonus_pb.GetCommonUserBonusItemsRequest.deserializeBinary(new Uint8Array(buffer_arg));
236
236
  }
237
237
 
238
- function serialize_bonus_GetFileRequest(arg) {
239
- if (!(arg instanceof bonus_pb.GetFileRequest)) {
240
- throw new Error('Expected argument of type bonus.GetFileRequest');
238
+ function serialize_bonus_GetCommonUserBonusItemsResponse(arg) {
239
+ if (!(arg instanceof bonus_pb.GetCommonUserBonusItemsResponse)) {
240
+ throw new Error('Expected argument of type bonus.GetCommonUserBonusItemsResponse');
241
241
  }
242
242
  return Buffer.from(arg.serializeBinary());
243
243
  }
244
244
 
245
- function deserialize_bonus_GetFileRequest(buffer_arg) {
246
- return bonus_pb.GetFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
245
+ function deserialize_bonus_GetCommonUserBonusItemsResponse(buffer_arg) {
246
+ return bonus_pb.GetCommonUserBonusItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
247
247
  }
248
248
 
249
- function serialize_bonus_GetLoggedInUserBonusItemsRequest(arg) {
250
- if (!(arg instanceof bonus_pb.GetLoggedInUserBonusItemsRequest)) {
251
- throw new Error('Expected argument of type bonus.GetLoggedInUserBonusItemsRequest');
249
+ function serialize_bonus_GetDepositEligibleUserBonusesRequest(arg) {
250
+ if (!(arg instanceof bonus_pb.GetDepositEligibleUserBonusesRequest)) {
251
+ throw new Error('Expected argument of type bonus.GetDepositEligibleUserBonusesRequest');
252
252
  }
253
253
  return Buffer.from(arg.serializeBinary());
254
254
  }
255
255
 
256
- function deserialize_bonus_GetLoggedInUserBonusItemsRequest(buffer_arg) {
257
- return bonus_pb.GetLoggedInUserBonusItemsRequest.deserializeBinary(new Uint8Array(buffer_arg));
256
+ function deserialize_bonus_GetDepositEligibleUserBonusesRequest(buffer_arg) {
257
+ return bonus_pb.GetDepositEligibleUserBonusesRequest.deserializeBinary(new Uint8Array(buffer_arg));
258
258
  }
259
259
 
260
- function serialize_bonus_GetLoggedInUserBonusItemsResponse(arg) {
261
- if (!(arg instanceof bonus_pb.GetLoggedInUserBonusItemsResponse)) {
262
- throw new Error('Expected argument of type bonus.GetLoggedInUserBonusItemsResponse');
260
+ function serialize_bonus_GetFileRequest(arg) {
261
+ if (!(arg instanceof bonus_pb.GetFileRequest)) {
262
+ throw new Error('Expected argument of type bonus.GetFileRequest');
263
263
  }
264
264
  return Buffer.from(arg.serializeBinary());
265
265
  }
266
266
 
267
- function deserialize_bonus_GetLoggedInUserBonusItemsResponse(buffer_arg) {
268
- return bonus_pb.GetLoggedInUserBonusItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
267
+ function deserialize_bonus_GetFileRequest(buffer_arg) {
268
+ return bonus_pb.GetFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
269
269
  }
270
270
 
271
271
  function serialize_bonus_GetUserBonusRequest(arg) {
@@ -628,12 +628,12 @@ claimUserBonus: {
628
628
  path: '/bonus.Bonus/getCommonUserBonusItems',
629
629
  requestStream: false,
630
630
  responseStream: false,
631
- requestType: bonus_pb.GetLoggedInUserBonusItemsRequest,
632
- responseType: bonus_pb.GetLoggedInUserBonusItemsResponse,
633
- requestSerialize: serialize_bonus_GetLoggedInUserBonusItemsRequest,
634
- requestDeserialize: deserialize_bonus_GetLoggedInUserBonusItemsRequest,
635
- responseSerialize: serialize_bonus_GetLoggedInUserBonusItemsResponse,
636
- responseDeserialize: deserialize_bonus_GetLoggedInUserBonusItemsResponse,
631
+ requestType: bonus_pb.GetCommonUserBonusItemsRequest,
632
+ responseType: bonus_pb.GetCommonUserBonusItemsResponse,
633
+ requestSerialize: serialize_bonus_GetCommonUserBonusItemsRequest,
634
+ requestDeserialize: deserialize_bonus_GetCommonUserBonusItemsRequest,
635
+ responseSerialize: serialize_bonus_GetCommonUserBonusItemsResponse,
636
+ responseDeserialize: deserialize_bonus_GetCommonUserBonusItemsResponse,
637
637
  },
638
638
  // Validates one selected wagering user bonus for a game wager list and balance type; returns authoritative state for game-service Redis snapshot.
639
639
  validateSelectedWageringUserBonus: {