protobuf-platform 1.2.296 → 1.2.299

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
@@ -40,7 +40,10 @@ service Bonus {
40
40
  message PingRequest { string ping = 1; }
41
41
  message PongResponse { string pong = 1; }
42
42
  //Media
43
- message File { bytes media = 1; }
43
+ message File {
44
+ bytes media = 1;
45
+ optional string file_role = 2;
46
+ }
44
47
  message GetFileRequest { string file_name = 1; string instance_type = 2; }
45
48
  //Common
46
49
  message PaginationRequest {
@@ -139,6 +142,8 @@ message BonusItemRequest {
139
142
  repeated int32 segment_ids = 21;
140
143
  // Business-allowed: "casino" | "sport" | "all"
141
144
  optional string category = 22;
145
+ optional string mobile_file_name = 23;
146
+ optional string mobile_file_type = 24;
142
147
  }
143
148
  message GetBonusRequest {
144
149
  int32 id = 1;
@@ -195,6 +200,8 @@ message BonusItem {
195
200
  optional string segments = 35;
196
201
  // Business-allowed: "casino" | "sport" | "all"
197
202
  optional string category = 36;
203
+ optional string mobile_image = 37;
204
+ optional string mobile_image_cdn = 38;
198
205
  }
199
206
  message BonusItemsResponse {
200
207
  repeated BonusItem items = 1;
package/bonus/bonus_pb.js CHANGED
@@ -1282,7 +1282,8 @@ proto.bonus.File.prototype.toObject = function(opt_includeInstance) {
1282
1282
  */
1283
1283
  proto.bonus.File.toObject = function(includeInstance, msg) {
1284
1284
  var f, obj = {
1285
- media: msg.getMedia_asB64()
1285
+ media: msg.getMedia_asB64(),
1286
+ fileRole: jspb.Message.getFieldWithDefault(msg, 2, "")
1286
1287
  };
1287
1288
 
1288
1289
  if (includeInstance) {
@@ -1323,6 +1324,10 @@ proto.bonus.File.deserializeBinaryFromReader = function(msg, reader) {
1323
1324
  var value = /** @type {!Uint8Array} */ (reader.readBytes());
1324
1325
  msg.setMedia(value);
1325
1326
  break;
1327
+ case 2:
1328
+ var value = /** @type {string} */ (reader.readString());
1329
+ msg.setFileRole(value);
1330
+ break;
1326
1331
  default:
1327
1332
  reader.skipField();
1328
1333
  break;
@@ -1359,6 +1364,13 @@ proto.bonus.File.serializeBinaryToWriter = function(message, writer) {
1359
1364
  f
1360
1365
  );
1361
1366
  }
1367
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
1368
+ if (f != null) {
1369
+ writer.writeString(
1370
+ 2,
1371
+ f
1372
+ );
1373
+ }
1362
1374
  };
1363
1375
 
1364
1376
 
@@ -1404,6 +1416,42 @@ proto.bonus.File.prototype.setMedia = function(value) {
1404
1416
  };
1405
1417
 
1406
1418
 
1419
+ /**
1420
+ * optional string file_role = 2;
1421
+ * @return {string}
1422
+ */
1423
+ proto.bonus.File.prototype.getFileRole = function() {
1424
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1425
+ };
1426
+
1427
+
1428
+ /**
1429
+ * @param {string} value
1430
+ * @return {!proto.bonus.File} returns this
1431
+ */
1432
+ proto.bonus.File.prototype.setFileRole = function(value) {
1433
+ return jspb.Message.setField(this, 2, value);
1434
+ };
1435
+
1436
+
1437
+ /**
1438
+ * Clears the field making it undefined.
1439
+ * @return {!proto.bonus.File} returns this
1440
+ */
1441
+ proto.bonus.File.prototype.clearFileRole = function() {
1442
+ return jspb.Message.setField(this, 2, undefined);
1443
+ };
1444
+
1445
+
1446
+ /**
1447
+ * Returns whether this field is set.
1448
+ * @return {boolean}
1449
+ */
1450
+ proto.bonus.File.prototype.hasFileRole = function() {
1451
+ return jspb.Message.getField(this, 2) != null;
1452
+ };
1453
+
1454
+
1407
1455
 
1408
1456
 
1409
1457
 
@@ -4714,7 +4762,9 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
4714
4762
  wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0),
4715
4763
  typeData: jspb.Message.getFieldWithDefault(msg, 20, ""),
4716
4764
  segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
4717
- category: jspb.Message.getFieldWithDefault(msg, 22, "")
4765
+ category: jspb.Message.getFieldWithDefault(msg, 22, ""),
4766
+ mobileFileName: jspb.Message.getFieldWithDefault(msg, 23, ""),
4767
+ mobileFileType: jspb.Message.getFieldWithDefault(msg, 24, "")
4718
4768
  };
4719
4769
 
4720
4770
  if (includeInstance) {
@@ -4841,6 +4891,14 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
4841
4891
  var value = /** @type {string} */ (reader.readString());
4842
4892
  msg.setCategory(value);
4843
4893
  break;
4894
+ case 23:
4895
+ var value = /** @type {string} */ (reader.readString());
4896
+ msg.setMobileFileName(value);
4897
+ break;
4898
+ case 24:
4899
+ var value = /** @type {string} */ (reader.readString());
4900
+ msg.setMobileFileType(value);
4901
+ break;
4844
4902
  default:
4845
4903
  reader.skipField();
4846
4904
  break;
@@ -5024,6 +5082,20 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
5024
5082
  f
5025
5083
  );
5026
5084
  }
5085
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
5086
+ if (f != null) {
5087
+ writer.writeString(
5088
+ 23,
5089
+ f
5090
+ );
5091
+ }
5092
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
5093
+ if (f != null) {
5094
+ writer.writeString(
5095
+ 24,
5096
+ f
5097
+ );
5098
+ }
5027
5099
  };
5028
5100
 
5029
5101
 
@@ -5820,6 +5892,78 @@ proto.bonus.BonusItemRequest.prototype.hasCategory = function() {
5820
5892
  };
5821
5893
 
5822
5894
 
5895
+ /**
5896
+ * optional string mobile_file_name = 23;
5897
+ * @return {string}
5898
+ */
5899
+ proto.bonus.BonusItemRequest.prototype.getMobileFileName = function() {
5900
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
5901
+ };
5902
+
5903
+
5904
+ /**
5905
+ * @param {string} value
5906
+ * @return {!proto.bonus.BonusItemRequest} returns this
5907
+ */
5908
+ proto.bonus.BonusItemRequest.prototype.setMobileFileName = function(value) {
5909
+ return jspb.Message.setField(this, 23, value);
5910
+ };
5911
+
5912
+
5913
+ /**
5914
+ * Clears the field making it undefined.
5915
+ * @return {!proto.bonus.BonusItemRequest} returns this
5916
+ */
5917
+ proto.bonus.BonusItemRequest.prototype.clearMobileFileName = function() {
5918
+ return jspb.Message.setField(this, 23, undefined);
5919
+ };
5920
+
5921
+
5922
+ /**
5923
+ * Returns whether this field is set.
5924
+ * @return {boolean}
5925
+ */
5926
+ proto.bonus.BonusItemRequest.prototype.hasMobileFileName = function() {
5927
+ return jspb.Message.getField(this, 23) != null;
5928
+ };
5929
+
5930
+
5931
+ /**
5932
+ * optional string mobile_file_type = 24;
5933
+ * @return {string}
5934
+ */
5935
+ proto.bonus.BonusItemRequest.prototype.getMobileFileType = function() {
5936
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
5937
+ };
5938
+
5939
+
5940
+ /**
5941
+ * @param {string} value
5942
+ * @return {!proto.bonus.BonusItemRequest} returns this
5943
+ */
5944
+ proto.bonus.BonusItemRequest.prototype.setMobileFileType = function(value) {
5945
+ return jspb.Message.setField(this, 24, value);
5946
+ };
5947
+
5948
+
5949
+ /**
5950
+ * Clears the field making it undefined.
5951
+ * @return {!proto.bonus.BonusItemRequest} returns this
5952
+ */
5953
+ proto.bonus.BonusItemRequest.prototype.clearMobileFileType = function() {
5954
+ return jspb.Message.setField(this, 24, undefined);
5955
+ };
5956
+
5957
+
5958
+ /**
5959
+ * Returns whether this field is set.
5960
+ * @return {boolean}
5961
+ */
5962
+ proto.bonus.BonusItemRequest.prototype.hasMobileFileType = function() {
5963
+ return jspb.Message.getField(this, 24) != null;
5964
+ };
5965
+
5966
+
5823
5967
 
5824
5968
 
5825
5969
 
@@ -6556,7 +6700,9 @@ proto.bonus.BonusItem.toObject = function(includeInstance, msg) {
6556
6700
  proto.bonus.CurrencyStatusItem.toObject, includeInstance),
6557
6701
  timing: jspb.Message.getFieldWithDefault(msg, 34, ""),
6558
6702
  segments: jspb.Message.getFieldWithDefault(msg, 35, ""),
6559
- category: jspb.Message.getFieldWithDefault(msg, 36, "")
6703
+ category: jspb.Message.getFieldWithDefault(msg, 36, ""),
6704
+ mobileImage: jspb.Message.getFieldWithDefault(msg, 37, ""),
6705
+ mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 38, "")
6560
6706
  };
6561
6707
 
6562
6708
  if (includeInstance) {
@@ -6746,6 +6892,14 @@ proto.bonus.BonusItem.deserializeBinaryFromReader = function(msg, reader) {
6746
6892
  var value = /** @type {string} */ (reader.readString());
6747
6893
  msg.setCategory(value);
6748
6894
  break;
6895
+ case 37:
6896
+ var value = /** @type {string} */ (reader.readString());
6897
+ msg.setMobileImage(value);
6898
+ break;
6899
+ case 38:
6900
+ var value = /** @type {string} */ (reader.readString());
6901
+ msg.setMobileImageCdn(value);
6902
+ break;
6749
6903
  default:
6750
6904
  reader.skipField();
6751
6905
  break;
@@ -7034,6 +7188,20 @@ proto.bonus.BonusItem.serializeBinaryToWriter = function(message, writer) {
7034
7188
  f
7035
7189
  );
7036
7190
  }
7191
+ f = /** @type {string} */ (jspb.Message.getField(message, 37));
7192
+ if (f != null) {
7193
+ writer.writeString(
7194
+ 37,
7195
+ f
7196
+ );
7197
+ }
7198
+ f = /** @type {string} */ (jspb.Message.getField(message, 38));
7199
+ if (f != null) {
7200
+ writer.writeString(
7201
+ 38,
7202
+ f
7203
+ );
7204
+ }
7037
7205
  };
7038
7206
 
7039
7207
 
@@ -8348,6 +8516,78 @@ proto.bonus.BonusItem.prototype.hasCategory = function() {
8348
8516
  };
8349
8517
 
8350
8518
 
8519
+ /**
8520
+ * optional string mobile_image = 37;
8521
+ * @return {string}
8522
+ */
8523
+ proto.bonus.BonusItem.prototype.getMobileImage = function() {
8524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
8525
+ };
8526
+
8527
+
8528
+ /**
8529
+ * @param {string} value
8530
+ * @return {!proto.bonus.BonusItem} returns this
8531
+ */
8532
+ proto.bonus.BonusItem.prototype.setMobileImage = function(value) {
8533
+ return jspb.Message.setField(this, 37, value);
8534
+ };
8535
+
8536
+
8537
+ /**
8538
+ * Clears the field making it undefined.
8539
+ * @return {!proto.bonus.BonusItem} returns this
8540
+ */
8541
+ proto.bonus.BonusItem.prototype.clearMobileImage = function() {
8542
+ return jspb.Message.setField(this, 37, undefined);
8543
+ };
8544
+
8545
+
8546
+ /**
8547
+ * Returns whether this field is set.
8548
+ * @return {boolean}
8549
+ */
8550
+ proto.bonus.BonusItem.prototype.hasMobileImage = function() {
8551
+ return jspb.Message.getField(this, 37) != null;
8552
+ };
8553
+
8554
+
8555
+ /**
8556
+ * optional string mobile_image_cdn = 38;
8557
+ * @return {string}
8558
+ */
8559
+ proto.bonus.BonusItem.prototype.getMobileImageCdn = function() {
8560
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
8561
+ };
8562
+
8563
+
8564
+ /**
8565
+ * @param {string} value
8566
+ * @return {!proto.bonus.BonusItem} returns this
8567
+ */
8568
+ proto.bonus.BonusItem.prototype.setMobileImageCdn = function(value) {
8569
+ return jspb.Message.setField(this, 38, value);
8570
+ };
8571
+
8572
+
8573
+ /**
8574
+ * Clears the field making it undefined.
8575
+ * @return {!proto.bonus.BonusItem} returns this
8576
+ */
8577
+ proto.bonus.BonusItem.prototype.clearMobileImageCdn = function() {
8578
+ return jspb.Message.setField(this, 38, undefined);
8579
+ };
8580
+
8581
+
8582
+ /**
8583
+ * Returns whether this field is set.
8584
+ * @return {boolean}
8585
+ */
8586
+ proto.bonus.BonusItem.prototype.hasMobileImageCdn = function() {
8587
+ return jspb.Message.getField(this, 38) != null;
8588
+ };
8589
+
8590
+
8351
8591
 
8352
8592
  /**
8353
8593
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.296",
3
+ "version": "1.2.299",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/poker/poker.proto CHANGED
@@ -30,6 +30,7 @@ message CreateSessionRequest {
30
30
  optional string session_id = 10;
31
31
  optional string return_url = 11;
32
32
  optional string game_code = 12;
33
+ optional string country = 13;
33
34
  }
34
35
 
35
36
  message CreateSessionResponse {
package/poker/poker_pb.js CHANGED
@@ -708,7 +708,8 @@ proto.poker.CreateSessionRequest.toObject = function(includeInstance, msg) {
708
708
  platform: jspb.Message.getFieldWithDefault(msg, 9, ""),
709
709
  sessionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
710
710
  returnUrl: jspb.Message.getFieldWithDefault(msg, 11, ""),
711
- gameCode: jspb.Message.getFieldWithDefault(msg, 12, "")
711
+ gameCode: jspb.Message.getFieldWithDefault(msg, 12, ""),
712
+ country: jspb.Message.getFieldWithDefault(msg, 13, "")
712
713
  };
713
714
 
714
715
  if (includeInstance) {
@@ -793,6 +794,10 @@ proto.poker.CreateSessionRequest.deserializeBinaryFromReader = function(msg, rea
793
794
  var value = /** @type {string} */ (reader.readString());
794
795
  msg.setGameCode(value);
795
796
  break;
797
+ case 13:
798
+ var value = /** @type {string} */ (reader.readString());
799
+ msg.setCountry(value);
800
+ break;
796
801
  default:
797
802
  reader.skipField();
798
803
  break;
@@ -906,6 +911,13 @@ proto.poker.CreateSessionRequest.serializeBinaryToWriter = function(message, wri
906
911
  f
907
912
  );
908
913
  }
914
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
915
+ if (f != null) {
916
+ writer.writeString(
917
+ 13,
918
+ f
919
+ );
920
+ }
909
921
  };
910
922
 
911
923
 
@@ -1179,6 +1191,42 @@ proto.poker.CreateSessionRequest.prototype.hasGameCode = function() {
1179
1191
  };
1180
1192
 
1181
1193
 
1194
+ /**
1195
+ * optional string country = 13;
1196
+ * @return {string}
1197
+ */
1198
+ proto.poker.CreateSessionRequest.prototype.getCountry = function() {
1199
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1200
+ };
1201
+
1202
+
1203
+ /**
1204
+ * @param {string} value
1205
+ * @return {!proto.poker.CreateSessionRequest} returns this
1206
+ */
1207
+ proto.poker.CreateSessionRequest.prototype.setCountry = function(value) {
1208
+ return jspb.Message.setField(this, 13, value);
1209
+ };
1210
+
1211
+
1212
+ /**
1213
+ * Clears the field making it undefined.
1214
+ * @return {!proto.poker.CreateSessionRequest} returns this
1215
+ */
1216
+ proto.poker.CreateSessionRequest.prototype.clearCountry = function() {
1217
+ return jspb.Message.setField(this, 13, undefined);
1218
+ };
1219
+
1220
+
1221
+ /**
1222
+ * Returns whether this field is set.
1223
+ * @return {boolean}
1224
+ */
1225
+ proto.poker.CreateSessionRequest.prototype.hasCountry = function() {
1226
+ return jspb.Message.getField(this, 13) != null;
1227
+ };
1228
+
1229
+
1182
1230
 
1183
1231
 
1184
1232