protobuf-platform 1.2.350 → 1.2.353
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/bet/bet.proto +15 -0
- package/bet/bet_grpc_pb.js +33 -0
- package/bet/bet_pb.js +638 -7
- package/cms/cms.proto +7 -0
- package/cms/cms_grpc_pb.js +22 -0
- package/cms/cms_pb.js +261 -1
- package/package.json +1 -1
package/bet/bet.proto
CHANGED
|
@@ -34,6 +34,7 @@ service Bet {
|
|
|
34
34
|
// Games aggregation
|
|
35
35
|
rpc getWinRates(PaginationRequest) returns (WinRatesResponse);
|
|
36
36
|
rpc getLastWins(PaginationRequest) returns (WinRatesResponse);
|
|
37
|
+
rpc getTopWinByMultiplier(TopWinByMultiplierRequest) returns (WinRateItem);
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
message PingRequest { string ping = 1; }
|
|
@@ -205,6 +206,12 @@ message TestBetResult {
|
|
|
205
206
|
}
|
|
206
207
|
|
|
207
208
|
//Win Rates
|
|
209
|
+
message WinRateGameImages {
|
|
210
|
+
optional string portrait = 1;
|
|
211
|
+
optional string landscape = 2;
|
|
212
|
+
optional string square = 3;
|
|
213
|
+
}
|
|
214
|
+
|
|
208
215
|
message WinRateItem {
|
|
209
216
|
float amount = 1;
|
|
210
217
|
string game_title = 2;
|
|
@@ -216,6 +223,14 @@ message WinRateItem {
|
|
|
216
223
|
optional string currency = 8;
|
|
217
224
|
optional float multiplier = 9;
|
|
218
225
|
optional int32 has_demo = 10;
|
|
226
|
+
optional WinRateGameImages images = 11;
|
|
227
|
+
optional int32 game_id = 12;
|
|
228
|
+
optional string game_uuid = 13;
|
|
229
|
+
optional string created_at = 14;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
message TopWinByMultiplierRequest {
|
|
233
|
+
optional int32 days = 1;
|
|
219
234
|
}
|
|
220
235
|
message WinRatesResponse {
|
|
221
236
|
repeated WinRateItem items = 1;
|
package/bet/bet_grpc_pb.js
CHANGED
|
@@ -224,6 +224,28 @@ function deserialize_bet_SportBetsHistoryResponse(buffer_arg) {
|
|
|
224
224
|
return bet_pb.SportBetsHistoryResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
function serialize_bet_TopWinByMultiplierRequest(arg) {
|
|
228
|
+
if (!(arg instanceof bet_pb.TopWinByMultiplierRequest)) {
|
|
229
|
+
throw new Error('Expected argument of type bet.TopWinByMultiplierRequest');
|
|
230
|
+
}
|
|
231
|
+
return Buffer.from(arg.serializeBinary());
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
function deserialize_bet_TopWinByMultiplierRequest(buffer_arg) {
|
|
235
|
+
return bet_pb.TopWinByMultiplierRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
function serialize_bet_WinRateItem(arg) {
|
|
239
|
+
if (!(arg instanceof bet_pb.WinRateItem)) {
|
|
240
|
+
throw new Error('Expected argument of type bet.WinRateItem');
|
|
241
|
+
}
|
|
242
|
+
return Buffer.from(arg.serializeBinary());
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function deserialize_bet_WinRateItem(buffer_arg) {
|
|
246
|
+
return bet_pb.WinRateItem.deserializeBinary(new Uint8Array(buffer_arg));
|
|
247
|
+
}
|
|
248
|
+
|
|
227
249
|
function serialize_bet_WinRatesResponse(arg) {
|
|
228
250
|
if (!(arg instanceof bet_pb.WinRatesResponse)) {
|
|
229
251
|
throw new Error('Expected argument of type bet.WinRatesResponse');
|
|
@@ -400,6 +422,17 @@ getWinRates: {
|
|
|
400
422
|
responseSerialize: serialize_bet_WinRatesResponse,
|
|
401
423
|
responseDeserialize: deserialize_bet_WinRatesResponse,
|
|
402
424
|
},
|
|
425
|
+
getTopWinByMultiplier: {
|
|
426
|
+
path: '/bet.Bet/getTopWinByMultiplier',
|
|
427
|
+
requestStream: false,
|
|
428
|
+
responseStream: false,
|
|
429
|
+
requestType: bet_pb.TopWinByMultiplierRequest,
|
|
430
|
+
responseType: bet_pb.WinRateItem,
|
|
431
|
+
requestSerialize: serialize_bet_TopWinByMultiplierRequest,
|
|
432
|
+
requestDeserialize: deserialize_bet_TopWinByMultiplierRequest,
|
|
433
|
+
responseSerialize: serialize_bet_WinRateItem,
|
|
434
|
+
responseDeserialize: deserialize_bet_WinRateItem,
|
|
435
|
+
},
|
|
403
436
|
};
|
|
404
437
|
|
|
405
438
|
exports.BetClient = grpc.makeGenericClientConstructor(BetService, 'Bet');
|
package/bet/bet_pb.js
CHANGED
|
@@ -46,8 +46,10 @@ goog.exportSymbol('proto.bet.SportBetsHistoryResponse', null, global);
|
|
|
46
46
|
goog.exportSymbol('proto.bet.SportEventInfo', null, global);
|
|
47
47
|
goog.exportSymbol('proto.bet.SportOutcomeItem', null, global);
|
|
48
48
|
goog.exportSymbol('proto.bet.TestBetResult', null, global);
|
|
49
|
+
goog.exportSymbol('proto.bet.TopWinByMultiplierRequest', null, global);
|
|
49
50
|
goog.exportSymbol('proto.bet.UserBetItem', null, global);
|
|
50
51
|
goog.exportSymbol('proto.bet.UserSearchRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.bet.WinRateGameImages', null, global);
|
|
51
53
|
goog.exportSymbol('proto.bet.WinRateItem', null, global);
|
|
52
54
|
goog.exportSymbol('proto.bet.WinRatesResponse', null, global);
|
|
53
55
|
/**
|
|
@@ -533,6 +535,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
533
535
|
*/
|
|
534
536
|
proto.bet.TestBetResult.displayName = 'proto.bet.TestBetResult';
|
|
535
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Generated by JsPbCodeGenerator.
|
|
540
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
541
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
542
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
543
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
544
|
+
* valid.
|
|
545
|
+
* @extends {jspb.Message}
|
|
546
|
+
* @constructor
|
|
547
|
+
*/
|
|
548
|
+
proto.bet.WinRateGameImages = function(opt_data) {
|
|
549
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
550
|
+
};
|
|
551
|
+
goog.inherits(proto.bet.WinRateGameImages, jspb.Message);
|
|
552
|
+
if (goog.DEBUG && !COMPILED) {
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
* @override
|
|
556
|
+
*/
|
|
557
|
+
proto.bet.WinRateGameImages.displayName = 'proto.bet.WinRateGameImages';
|
|
558
|
+
}
|
|
536
559
|
/**
|
|
537
560
|
* Generated by JsPbCodeGenerator.
|
|
538
561
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -554,6 +577,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
554
577
|
*/
|
|
555
578
|
proto.bet.WinRateItem.displayName = 'proto.bet.WinRateItem';
|
|
556
579
|
}
|
|
580
|
+
/**
|
|
581
|
+
* Generated by JsPbCodeGenerator.
|
|
582
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
583
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
584
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
585
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
586
|
+
* valid.
|
|
587
|
+
* @extends {jspb.Message}
|
|
588
|
+
* @constructor
|
|
589
|
+
*/
|
|
590
|
+
proto.bet.TopWinByMultiplierRequest = function(opt_data) {
|
|
591
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
592
|
+
};
|
|
593
|
+
goog.inherits(proto.bet.TopWinByMultiplierRequest, jspb.Message);
|
|
594
|
+
if (goog.DEBUG && !COMPILED) {
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
* @override
|
|
598
|
+
*/
|
|
599
|
+
proto.bet.TopWinByMultiplierRequest.displayName = 'proto.bet.TopWinByMultiplierRequest';
|
|
600
|
+
}
|
|
557
601
|
/**
|
|
558
602
|
* Generated by JsPbCodeGenerator.
|
|
559
603
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7938,6 +7982,250 @@ proto.bet.TestBetResult.prototype.hasDispatchResponseBody = function() {
|
|
|
7938
7982
|
|
|
7939
7983
|
|
|
7940
7984
|
|
|
7985
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7986
|
+
/**
|
|
7987
|
+
* Creates an object representation of this proto.
|
|
7988
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7989
|
+
* Optional fields that are not set will be set to undefined.
|
|
7990
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7991
|
+
* For the list of reserved names please see:
|
|
7992
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7993
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7994
|
+
* JSPB instance for transitional soy proto support:
|
|
7995
|
+
* http://goto/soy-param-migration
|
|
7996
|
+
* @return {!Object}
|
|
7997
|
+
*/
|
|
7998
|
+
proto.bet.WinRateGameImages.prototype.toObject = function(opt_includeInstance) {
|
|
7999
|
+
return proto.bet.WinRateGameImages.toObject(opt_includeInstance, this);
|
|
8000
|
+
};
|
|
8001
|
+
|
|
8002
|
+
|
|
8003
|
+
/**
|
|
8004
|
+
* Static version of the {@see toObject} method.
|
|
8005
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8006
|
+
* the JSPB instance for transitional soy proto support:
|
|
8007
|
+
* http://goto/soy-param-migration
|
|
8008
|
+
* @param {!proto.bet.WinRateGameImages} msg The msg instance to transform.
|
|
8009
|
+
* @return {!Object}
|
|
8010
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8011
|
+
*/
|
|
8012
|
+
proto.bet.WinRateGameImages.toObject = function(includeInstance, msg) {
|
|
8013
|
+
var f, obj = {
|
|
8014
|
+
portrait: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8015
|
+
landscape: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8016
|
+
square: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
8017
|
+
};
|
|
8018
|
+
|
|
8019
|
+
if (includeInstance) {
|
|
8020
|
+
obj.$jspbMessageInstance = msg;
|
|
8021
|
+
}
|
|
8022
|
+
return obj;
|
|
8023
|
+
};
|
|
8024
|
+
}
|
|
8025
|
+
|
|
8026
|
+
|
|
8027
|
+
/**
|
|
8028
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8029
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8030
|
+
* @return {!proto.bet.WinRateGameImages}
|
|
8031
|
+
*/
|
|
8032
|
+
proto.bet.WinRateGameImages.deserializeBinary = function(bytes) {
|
|
8033
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8034
|
+
var msg = new proto.bet.WinRateGameImages;
|
|
8035
|
+
return proto.bet.WinRateGameImages.deserializeBinaryFromReader(msg, reader);
|
|
8036
|
+
};
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
/**
|
|
8040
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
8041
|
+
* given reader into the given message object.
|
|
8042
|
+
* @param {!proto.bet.WinRateGameImages} msg The message object to deserialize into.
|
|
8043
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8044
|
+
* @return {!proto.bet.WinRateGameImages}
|
|
8045
|
+
*/
|
|
8046
|
+
proto.bet.WinRateGameImages.deserializeBinaryFromReader = function(msg, reader) {
|
|
8047
|
+
while (reader.nextField()) {
|
|
8048
|
+
if (reader.isEndGroup()) {
|
|
8049
|
+
break;
|
|
8050
|
+
}
|
|
8051
|
+
var field = reader.getFieldNumber();
|
|
8052
|
+
switch (field) {
|
|
8053
|
+
case 1:
|
|
8054
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8055
|
+
msg.setPortrait(value);
|
|
8056
|
+
break;
|
|
8057
|
+
case 2:
|
|
8058
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8059
|
+
msg.setLandscape(value);
|
|
8060
|
+
break;
|
|
8061
|
+
case 3:
|
|
8062
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8063
|
+
msg.setSquare(value);
|
|
8064
|
+
break;
|
|
8065
|
+
default:
|
|
8066
|
+
reader.skipField();
|
|
8067
|
+
break;
|
|
8068
|
+
}
|
|
8069
|
+
}
|
|
8070
|
+
return msg;
|
|
8071
|
+
};
|
|
8072
|
+
|
|
8073
|
+
|
|
8074
|
+
/**
|
|
8075
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
8076
|
+
* @return {!Uint8Array}
|
|
8077
|
+
*/
|
|
8078
|
+
proto.bet.WinRateGameImages.prototype.serializeBinary = function() {
|
|
8079
|
+
var writer = new jspb.BinaryWriter();
|
|
8080
|
+
proto.bet.WinRateGameImages.serializeBinaryToWriter(this, writer);
|
|
8081
|
+
return writer.getResultBuffer();
|
|
8082
|
+
};
|
|
8083
|
+
|
|
8084
|
+
|
|
8085
|
+
/**
|
|
8086
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
8087
|
+
* format), writing to the given BinaryWriter.
|
|
8088
|
+
* @param {!proto.bet.WinRateGameImages} message
|
|
8089
|
+
* @param {!jspb.BinaryWriter} writer
|
|
8090
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8091
|
+
*/
|
|
8092
|
+
proto.bet.WinRateGameImages.serializeBinaryToWriter = function(message, writer) {
|
|
8093
|
+
var f = undefined;
|
|
8094
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
8095
|
+
if (f != null) {
|
|
8096
|
+
writer.writeString(
|
|
8097
|
+
1,
|
|
8098
|
+
f
|
|
8099
|
+
);
|
|
8100
|
+
}
|
|
8101
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
8102
|
+
if (f != null) {
|
|
8103
|
+
writer.writeString(
|
|
8104
|
+
2,
|
|
8105
|
+
f
|
|
8106
|
+
);
|
|
8107
|
+
}
|
|
8108
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
8109
|
+
if (f != null) {
|
|
8110
|
+
writer.writeString(
|
|
8111
|
+
3,
|
|
8112
|
+
f
|
|
8113
|
+
);
|
|
8114
|
+
}
|
|
8115
|
+
};
|
|
8116
|
+
|
|
8117
|
+
|
|
8118
|
+
/**
|
|
8119
|
+
* optional string portrait = 1;
|
|
8120
|
+
* @return {string}
|
|
8121
|
+
*/
|
|
8122
|
+
proto.bet.WinRateGameImages.prototype.getPortrait = function() {
|
|
8123
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8124
|
+
};
|
|
8125
|
+
|
|
8126
|
+
|
|
8127
|
+
/**
|
|
8128
|
+
* @param {string} value
|
|
8129
|
+
* @return {!proto.bet.WinRateGameImages} returns this
|
|
8130
|
+
*/
|
|
8131
|
+
proto.bet.WinRateGameImages.prototype.setPortrait = function(value) {
|
|
8132
|
+
return jspb.Message.setField(this, 1, value);
|
|
8133
|
+
};
|
|
8134
|
+
|
|
8135
|
+
|
|
8136
|
+
/**
|
|
8137
|
+
* Clears the field making it undefined.
|
|
8138
|
+
* @return {!proto.bet.WinRateGameImages} returns this
|
|
8139
|
+
*/
|
|
8140
|
+
proto.bet.WinRateGameImages.prototype.clearPortrait = function() {
|
|
8141
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
8142
|
+
};
|
|
8143
|
+
|
|
8144
|
+
|
|
8145
|
+
/**
|
|
8146
|
+
* Returns whether this field is set.
|
|
8147
|
+
* @return {boolean}
|
|
8148
|
+
*/
|
|
8149
|
+
proto.bet.WinRateGameImages.prototype.hasPortrait = function() {
|
|
8150
|
+
return jspb.Message.getField(this, 1) != null;
|
|
8151
|
+
};
|
|
8152
|
+
|
|
8153
|
+
|
|
8154
|
+
/**
|
|
8155
|
+
* optional string landscape = 2;
|
|
8156
|
+
* @return {string}
|
|
8157
|
+
*/
|
|
8158
|
+
proto.bet.WinRateGameImages.prototype.getLandscape = function() {
|
|
8159
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8160
|
+
};
|
|
8161
|
+
|
|
8162
|
+
|
|
8163
|
+
/**
|
|
8164
|
+
* @param {string} value
|
|
8165
|
+
* @return {!proto.bet.WinRateGameImages} returns this
|
|
8166
|
+
*/
|
|
8167
|
+
proto.bet.WinRateGameImages.prototype.setLandscape = function(value) {
|
|
8168
|
+
return jspb.Message.setField(this, 2, value);
|
|
8169
|
+
};
|
|
8170
|
+
|
|
8171
|
+
|
|
8172
|
+
/**
|
|
8173
|
+
* Clears the field making it undefined.
|
|
8174
|
+
* @return {!proto.bet.WinRateGameImages} returns this
|
|
8175
|
+
*/
|
|
8176
|
+
proto.bet.WinRateGameImages.prototype.clearLandscape = function() {
|
|
8177
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
8178
|
+
};
|
|
8179
|
+
|
|
8180
|
+
|
|
8181
|
+
/**
|
|
8182
|
+
* Returns whether this field is set.
|
|
8183
|
+
* @return {boolean}
|
|
8184
|
+
*/
|
|
8185
|
+
proto.bet.WinRateGameImages.prototype.hasLandscape = function() {
|
|
8186
|
+
return jspb.Message.getField(this, 2) != null;
|
|
8187
|
+
};
|
|
8188
|
+
|
|
8189
|
+
|
|
8190
|
+
/**
|
|
8191
|
+
* optional string square = 3;
|
|
8192
|
+
* @return {string}
|
|
8193
|
+
*/
|
|
8194
|
+
proto.bet.WinRateGameImages.prototype.getSquare = function() {
|
|
8195
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8196
|
+
};
|
|
8197
|
+
|
|
8198
|
+
|
|
8199
|
+
/**
|
|
8200
|
+
* @param {string} value
|
|
8201
|
+
* @return {!proto.bet.WinRateGameImages} returns this
|
|
8202
|
+
*/
|
|
8203
|
+
proto.bet.WinRateGameImages.prototype.setSquare = function(value) {
|
|
8204
|
+
return jspb.Message.setField(this, 3, value);
|
|
8205
|
+
};
|
|
8206
|
+
|
|
8207
|
+
|
|
8208
|
+
/**
|
|
8209
|
+
* Clears the field making it undefined.
|
|
8210
|
+
* @return {!proto.bet.WinRateGameImages} returns this
|
|
8211
|
+
*/
|
|
8212
|
+
proto.bet.WinRateGameImages.prototype.clearSquare = function() {
|
|
8213
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
8214
|
+
};
|
|
8215
|
+
|
|
8216
|
+
|
|
8217
|
+
/**
|
|
8218
|
+
* Returns whether this field is set.
|
|
8219
|
+
* @return {boolean}
|
|
8220
|
+
*/
|
|
8221
|
+
proto.bet.WinRateGameImages.prototype.hasSquare = function() {
|
|
8222
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8223
|
+
};
|
|
8224
|
+
|
|
8225
|
+
|
|
8226
|
+
|
|
8227
|
+
|
|
8228
|
+
|
|
7941
8229
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7942
8230
|
/**
|
|
7943
8231
|
* Creates an object representation of this proto.
|
|
@@ -7976,7 +8264,11 @@ proto.bet.WinRateItem.toObject = function(includeInstance, msg) {
|
|
|
7976
8264
|
userNickname: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7977
8265
|
currency: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
7978
8266
|
multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
7979
|
-
hasDemo: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
8267
|
+
hasDemo: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
8268
|
+
images: (f = msg.getImages()) && proto.bet.WinRateGameImages.toObject(includeInstance, f),
|
|
8269
|
+
gameId: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
8270
|
+
gameUuid: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
8271
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
7980
8272
|
};
|
|
7981
8273
|
|
|
7982
8274
|
if (includeInstance) {
|
|
@@ -8053,6 +8345,23 @@ proto.bet.WinRateItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8053
8345
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8054
8346
|
msg.setHasDemo(value);
|
|
8055
8347
|
break;
|
|
8348
|
+
case 11:
|
|
8349
|
+
var value = new proto.bet.WinRateGameImages;
|
|
8350
|
+
reader.readMessage(value,proto.bet.WinRateGameImages.deserializeBinaryFromReader);
|
|
8351
|
+
msg.setImages(value);
|
|
8352
|
+
break;
|
|
8353
|
+
case 12:
|
|
8354
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8355
|
+
msg.setGameId(value);
|
|
8356
|
+
break;
|
|
8357
|
+
case 13:
|
|
8358
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8359
|
+
msg.setGameUuid(value);
|
|
8360
|
+
break;
|
|
8361
|
+
case 14:
|
|
8362
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8363
|
+
msg.setCreatedAt(value);
|
|
8364
|
+
break;
|
|
8056
8365
|
default:
|
|
8057
8366
|
reader.skipField();
|
|
8058
8367
|
break;
|
|
@@ -8152,12 +8461,41 @@ proto.bet.WinRateItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
8152
8461
|
f
|
|
8153
8462
|
);
|
|
8154
8463
|
}
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8464
|
+
f = message.getImages();
|
|
8465
|
+
if (f != null) {
|
|
8466
|
+
writer.writeMessage(
|
|
8467
|
+
11,
|
|
8468
|
+
f,
|
|
8469
|
+
proto.bet.WinRateGameImages.serializeBinaryToWriter
|
|
8470
|
+
);
|
|
8471
|
+
}
|
|
8472
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
|
8473
|
+
if (f != null) {
|
|
8474
|
+
writer.writeInt32(
|
|
8475
|
+
12,
|
|
8476
|
+
f
|
|
8477
|
+
);
|
|
8478
|
+
}
|
|
8479
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
8480
|
+
if (f != null) {
|
|
8481
|
+
writer.writeString(
|
|
8482
|
+
13,
|
|
8483
|
+
f
|
|
8484
|
+
);
|
|
8485
|
+
}
|
|
8486
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
8487
|
+
if (f != null) {
|
|
8488
|
+
writer.writeString(
|
|
8489
|
+
14,
|
|
8490
|
+
f
|
|
8491
|
+
);
|
|
8492
|
+
}
|
|
8493
|
+
};
|
|
8494
|
+
|
|
8495
|
+
|
|
8496
|
+
/**
|
|
8497
|
+
* optional float amount = 1;
|
|
8498
|
+
* @return {number}
|
|
8161
8499
|
*/
|
|
8162
8500
|
proto.bet.WinRateItem.prototype.getAmount = function() {
|
|
8163
8501
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
|
@@ -8461,6 +8799,299 @@ proto.bet.WinRateItem.prototype.hasHasDemo = function() {
|
|
|
8461
8799
|
};
|
|
8462
8800
|
|
|
8463
8801
|
|
|
8802
|
+
/**
|
|
8803
|
+
* optional WinRateGameImages images = 11;
|
|
8804
|
+
* @return {?proto.bet.WinRateGameImages}
|
|
8805
|
+
*/
|
|
8806
|
+
proto.bet.WinRateItem.prototype.getImages = function() {
|
|
8807
|
+
return /** @type{?proto.bet.WinRateGameImages} */ (
|
|
8808
|
+
jspb.Message.getWrapperField(this, proto.bet.WinRateGameImages, 11));
|
|
8809
|
+
};
|
|
8810
|
+
|
|
8811
|
+
|
|
8812
|
+
/**
|
|
8813
|
+
* @param {?proto.bet.WinRateGameImages|undefined} value
|
|
8814
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8815
|
+
*/
|
|
8816
|
+
proto.bet.WinRateItem.prototype.setImages = function(value) {
|
|
8817
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
8818
|
+
};
|
|
8819
|
+
|
|
8820
|
+
|
|
8821
|
+
/**
|
|
8822
|
+
* Clears the message field making it undefined.
|
|
8823
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8824
|
+
*/
|
|
8825
|
+
proto.bet.WinRateItem.prototype.clearImages = function() {
|
|
8826
|
+
return this.setImages(undefined);
|
|
8827
|
+
};
|
|
8828
|
+
|
|
8829
|
+
|
|
8830
|
+
/**
|
|
8831
|
+
* Returns whether this field is set.
|
|
8832
|
+
* @return {boolean}
|
|
8833
|
+
*/
|
|
8834
|
+
proto.bet.WinRateItem.prototype.hasImages = function() {
|
|
8835
|
+
return jspb.Message.getField(this, 11) != null;
|
|
8836
|
+
};
|
|
8837
|
+
|
|
8838
|
+
|
|
8839
|
+
/**
|
|
8840
|
+
* optional int32 game_id = 12;
|
|
8841
|
+
* @return {number}
|
|
8842
|
+
*/
|
|
8843
|
+
proto.bet.WinRateItem.prototype.getGameId = function() {
|
|
8844
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
8845
|
+
};
|
|
8846
|
+
|
|
8847
|
+
|
|
8848
|
+
/**
|
|
8849
|
+
* @param {number} value
|
|
8850
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8851
|
+
*/
|
|
8852
|
+
proto.bet.WinRateItem.prototype.setGameId = function(value) {
|
|
8853
|
+
return jspb.Message.setField(this, 12, value);
|
|
8854
|
+
};
|
|
8855
|
+
|
|
8856
|
+
|
|
8857
|
+
/**
|
|
8858
|
+
* Clears the field making it undefined.
|
|
8859
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8860
|
+
*/
|
|
8861
|
+
proto.bet.WinRateItem.prototype.clearGameId = function() {
|
|
8862
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
8863
|
+
};
|
|
8864
|
+
|
|
8865
|
+
|
|
8866
|
+
/**
|
|
8867
|
+
* Returns whether this field is set.
|
|
8868
|
+
* @return {boolean}
|
|
8869
|
+
*/
|
|
8870
|
+
proto.bet.WinRateItem.prototype.hasGameId = function() {
|
|
8871
|
+
return jspb.Message.getField(this, 12) != null;
|
|
8872
|
+
};
|
|
8873
|
+
|
|
8874
|
+
|
|
8875
|
+
/**
|
|
8876
|
+
* optional string game_uuid = 13;
|
|
8877
|
+
* @return {string}
|
|
8878
|
+
*/
|
|
8879
|
+
proto.bet.WinRateItem.prototype.getGameUuid = function() {
|
|
8880
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
8881
|
+
};
|
|
8882
|
+
|
|
8883
|
+
|
|
8884
|
+
/**
|
|
8885
|
+
* @param {string} value
|
|
8886
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8887
|
+
*/
|
|
8888
|
+
proto.bet.WinRateItem.prototype.setGameUuid = function(value) {
|
|
8889
|
+
return jspb.Message.setField(this, 13, value);
|
|
8890
|
+
};
|
|
8891
|
+
|
|
8892
|
+
|
|
8893
|
+
/**
|
|
8894
|
+
* Clears the field making it undefined.
|
|
8895
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8896
|
+
*/
|
|
8897
|
+
proto.bet.WinRateItem.prototype.clearGameUuid = function() {
|
|
8898
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
8899
|
+
};
|
|
8900
|
+
|
|
8901
|
+
|
|
8902
|
+
/**
|
|
8903
|
+
* Returns whether this field is set.
|
|
8904
|
+
* @return {boolean}
|
|
8905
|
+
*/
|
|
8906
|
+
proto.bet.WinRateItem.prototype.hasGameUuid = function() {
|
|
8907
|
+
return jspb.Message.getField(this, 13) != null;
|
|
8908
|
+
};
|
|
8909
|
+
|
|
8910
|
+
|
|
8911
|
+
/**
|
|
8912
|
+
* optional string created_at = 14;
|
|
8913
|
+
* @return {string}
|
|
8914
|
+
*/
|
|
8915
|
+
proto.bet.WinRateItem.prototype.getCreatedAt = function() {
|
|
8916
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
8917
|
+
};
|
|
8918
|
+
|
|
8919
|
+
|
|
8920
|
+
/**
|
|
8921
|
+
* @param {string} value
|
|
8922
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8923
|
+
*/
|
|
8924
|
+
proto.bet.WinRateItem.prototype.setCreatedAt = function(value) {
|
|
8925
|
+
return jspb.Message.setField(this, 14, value);
|
|
8926
|
+
};
|
|
8927
|
+
|
|
8928
|
+
|
|
8929
|
+
/**
|
|
8930
|
+
* Clears the field making it undefined.
|
|
8931
|
+
* @return {!proto.bet.WinRateItem} returns this
|
|
8932
|
+
*/
|
|
8933
|
+
proto.bet.WinRateItem.prototype.clearCreatedAt = function() {
|
|
8934
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
8935
|
+
};
|
|
8936
|
+
|
|
8937
|
+
|
|
8938
|
+
/**
|
|
8939
|
+
* Returns whether this field is set.
|
|
8940
|
+
* @return {boolean}
|
|
8941
|
+
*/
|
|
8942
|
+
proto.bet.WinRateItem.prototype.hasCreatedAt = function() {
|
|
8943
|
+
return jspb.Message.getField(this, 14) != null;
|
|
8944
|
+
};
|
|
8945
|
+
|
|
8946
|
+
|
|
8947
|
+
|
|
8948
|
+
|
|
8949
|
+
|
|
8950
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8951
|
+
/**
|
|
8952
|
+
* Creates an object representation of this proto.
|
|
8953
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8954
|
+
* Optional fields that are not set will be set to undefined.
|
|
8955
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8956
|
+
* For the list of reserved names please see:
|
|
8957
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8958
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8959
|
+
* JSPB instance for transitional soy proto support:
|
|
8960
|
+
* http://goto/soy-param-migration
|
|
8961
|
+
* @return {!Object}
|
|
8962
|
+
*/
|
|
8963
|
+
proto.bet.TopWinByMultiplierRequest.prototype.toObject = function(opt_includeInstance) {
|
|
8964
|
+
return proto.bet.TopWinByMultiplierRequest.toObject(opt_includeInstance, this);
|
|
8965
|
+
};
|
|
8966
|
+
|
|
8967
|
+
|
|
8968
|
+
/**
|
|
8969
|
+
* Static version of the {@see toObject} method.
|
|
8970
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8971
|
+
* the JSPB instance for transitional soy proto support:
|
|
8972
|
+
* http://goto/soy-param-migration
|
|
8973
|
+
* @param {!proto.bet.TopWinByMultiplierRequest} msg The msg instance to transform.
|
|
8974
|
+
* @return {!Object}
|
|
8975
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8976
|
+
*/
|
|
8977
|
+
proto.bet.TopWinByMultiplierRequest.toObject = function(includeInstance, msg) {
|
|
8978
|
+
var f, obj = {
|
|
8979
|
+
days: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
8980
|
+
};
|
|
8981
|
+
|
|
8982
|
+
if (includeInstance) {
|
|
8983
|
+
obj.$jspbMessageInstance = msg;
|
|
8984
|
+
}
|
|
8985
|
+
return obj;
|
|
8986
|
+
};
|
|
8987
|
+
}
|
|
8988
|
+
|
|
8989
|
+
|
|
8990
|
+
/**
|
|
8991
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8992
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8993
|
+
* @return {!proto.bet.TopWinByMultiplierRequest}
|
|
8994
|
+
*/
|
|
8995
|
+
proto.bet.TopWinByMultiplierRequest.deserializeBinary = function(bytes) {
|
|
8996
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8997
|
+
var msg = new proto.bet.TopWinByMultiplierRequest;
|
|
8998
|
+
return proto.bet.TopWinByMultiplierRequest.deserializeBinaryFromReader(msg, reader);
|
|
8999
|
+
};
|
|
9000
|
+
|
|
9001
|
+
|
|
9002
|
+
/**
|
|
9003
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9004
|
+
* given reader into the given message object.
|
|
9005
|
+
* @param {!proto.bet.TopWinByMultiplierRequest} msg The message object to deserialize into.
|
|
9006
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9007
|
+
* @return {!proto.bet.TopWinByMultiplierRequest}
|
|
9008
|
+
*/
|
|
9009
|
+
proto.bet.TopWinByMultiplierRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9010
|
+
while (reader.nextField()) {
|
|
9011
|
+
if (reader.isEndGroup()) {
|
|
9012
|
+
break;
|
|
9013
|
+
}
|
|
9014
|
+
var field = reader.getFieldNumber();
|
|
9015
|
+
switch (field) {
|
|
9016
|
+
case 1:
|
|
9017
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9018
|
+
msg.setDays(value);
|
|
9019
|
+
break;
|
|
9020
|
+
default:
|
|
9021
|
+
reader.skipField();
|
|
9022
|
+
break;
|
|
9023
|
+
}
|
|
9024
|
+
}
|
|
9025
|
+
return msg;
|
|
9026
|
+
};
|
|
9027
|
+
|
|
9028
|
+
|
|
9029
|
+
/**
|
|
9030
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9031
|
+
* @return {!Uint8Array}
|
|
9032
|
+
*/
|
|
9033
|
+
proto.bet.TopWinByMultiplierRequest.prototype.serializeBinary = function() {
|
|
9034
|
+
var writer = new jspb.BinaryWriter();
|
|
9035
|
+
proto.bet.TopWinByMultiplierRequest.serializeBinaryToWriter(this, writer);
|
|
9036
|
+
return writer.getResultBuffer();
|
|
9037
|
+
};
|
|
9038
|
+
|
|
9039
|
+
|
|
9040
|
+
/**
|
|
9041
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9042
|
+
* format), writing to the given BinaryWriter.
|
|
9043
|
+
* @param {!proto.bet.TopWinByMultiplierRequest} message
|
|
9044
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9045
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9046
|
+
*/
|
|
9047
|
+
proto.bet.TopWinByMultiplierRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9048
|
+
var f = undefined;
|
|
9049
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
9050
|
+
if (f != null) {
|
|
9051
|
+
writer.writeInt32(
|
|
9052
|
+
1,
|
|
9053
|
+
f
|
|
9054
|
+
);
|
|
9055
|
+
}
|
|
9056
|
+
};
|
|
9057
|
+
|
|
9058
|
+
|
|
9059
|
+
/**
|
|
9060
|
+
* optional int32 days = 1;
|
|
9061
|
+
* @return {number}
|
|
9062
|
+
*/
|
|
9063
|
+
proto.bet.TopWinByMultiplierRequest.prototype.getDays = function() {
|
|
9064
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
9065
|
+
};
|
|
9066
|
+
|
|
9067
|
+
|
|
9068
|
+
/**
|
|
9069
|
+
* @param {number} value
|
|
9070
|
+
* @return {!proto.bet.TopWinByMultiplierRequest} returns this
|
|
9071
|
+
*/
|
|
9072
|
+
proto.bet.TopWinByMultiplierRequest.prototype.setDays = function(value) {
|
|
9073
|
+
return jspb.Message.setField(this, 1, value);
|
|
9074
|
+
};
|
|
9075
|
+
|
|
9076
|
+
|
|
9077
|
+
/**
|
|
9078
|
+
* Clears the field making it undefined.
|
|
9079
|
+
* @return {!proto.bet.TopWinByMultiplierRequest} returns this
|
|
9080
|
+
*/
|
|
9081
|
+
proto.bet.TopWinByMultiplierRequest.prototype.clearDays = function() {
|
|
9082
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
9083
|
+
};
|
|
9084
|
+
|
|
9085
|
+
|
|
9086
|
+
/**
|
|
9087
|
+
* Returns whether this field is set.
|
|
9088
|
+
* @return {boolean}
|
|
9089
|
+
*/
|
|
9090
|
+
proto.bet.TopWinByMultiplierRequest.prototype.hasDays = function() {
|
|
9091
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9092
|
+
};
|
|
9093
|
+
|
|
9094
|
+
|
|
8464
9095
|
|
|
8465
9096
|
/**
|
|
8466
9097
|
* List of repeated fields within this message type.
|
package/cms/cms.proto
CHANGED
|
@@ -132,6 +132,7 @@ service CMS {
|
|
|
132
132
|
rpc readListCustomWidgets(PaginationRequest) returns (CustomWidgetsItemsResponse);
|
|
133
133
|
rpc updateCustomWidgetsInBunch(ItemsBunchRequest) returns (CustomWidgetStatusResponse);
|
|
134
134
|
rpc readCustomWidgetForUser(GetCustomWidgetForUserRequest) returns (CustomWidgetResponse);
|
|
135
|
+
rpc updateCustomWidgetItemConfig(UpdateCustomWidgetItemConfigRequest) returns (CustomWidgetResponse);
|
|
135
136
|
}
|
|
136
137
|
|
|
137
138
|
message PingRequest { string ping = 1; }
|
|
@@ -660,6 +661,7 @@ message CustomWidgetRow {
|
|
|
660
661
|
optional string item_type = 1; // validated against runtime customWidgetItems keys
|
|
661
662
|
optional int32 priority_order = 2;
|
|
662
663
|
optional string config = 3; // JSON string; item-type-specific settings
|
|
664
|
+
optional string item_key = 4; // stable row id; backend-generated when missing
|
|
663
665
|
}
|
|
664
666
|
message CustomWidgetItem {
|
|
665
667
|
optional int32 id = 1;
|
|
@@ -692,6 +694,11 @@ message CustomWidgetsItemsResponse {
|
|
|
692
694
|
message CustomWidgetStatusResponse {
|
|
693
695
|
string status = 1;
|
|
694
696
|
}
|
|
697
|
+
message UpdateCustomWidgetItemConfigRequest {
|
|
698
|
+
int32 custom_widget_id = 1;
|
|
699
|
+
string item_key = 2;
|
|
700
|
+
string config = 3;
|
|
701
|
+
}
|
|
695
702
|
//Translations
|
|
696
703
|
message TranslationItem {
|
|
697
704
|
optional string geo = 1;
|
package/cms/cms_grpc_pb.js
CHANGED
|
@@ -1225,6 +1225,17 @@ function deserialize_cms_TokenWidgetsItemsResponse(buffer_arg) {
|
|
|
1225
1225
|
return cms_pb.TokenWidgetsItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1226
1226
|
}
|
|
1227
1227
|
|
|
1228
|
+
function serialize_cms_UpdateCustomWidgetItemConfigRequest(arg) {
|
|
1229
|
+
if (!(arg instanceof cms_pb.UpdateCustomWidgetItemConfigRequest)) {
|
|
1230
|
+
throw new Error('Expected argument of type cms.UpdateCustomWidgetItemConfigRequest');
|
|
1231
|
+
}
|
|
1232
|
+
return Buffer.from(arg.serializeBinary());
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
function deserialize_cms_UpdateCustomWidgetItemConfigRequest(buffer_arg) {
|
|
1236
|
+
return cms_pb.UpdateCustomWidgetItemConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1228
1239
|
function serialize_cms_UserBannerGroupResponse(arg) {
|
|
1229
1240
|
if (!(arg instanceof cms_pb.UserBannerGroupResponse)) {
|
|
1230
1241
|
throw new Error('Expected argument of type cms.UserBannerGroupResponse');
|
|
@@ -2517,6 +2528,17 @@ createSingleCustomWidget: {
|
|
|
2517
2528
|
responseSerialize: serialize_cms_CustomWidgetResponse,
|
|
2518
2529
|
responseDeserialize: deserialize_cms_CustomWidgetResponse,
|
|
2519
2530
|
},
|
|
2531
|
+
updateCustomWidgetItemConfig: {
|
|
2532
|
+
path: '/cms.CMS/updateCustomWidgetItemConfig',
|
|
2533
|
+
requestStream: false,
|
|
2534
|
+
responseStream: false,
|
|
2535
|
+
requestType: cms_pb.UpdateCustomWidgetItemConfigRequest,
|
|
2536
|
+
responseType: cms_pb.CustomWidgetResponse,
|
|
2537
|
+
requestSerialize: serialize_cms_UpdateCustomWidgetItemConfigRequest,
|
|
2538
|
+
requestDeserialize: deserialize_cms_UpdateCustomWidgetItemConfigRequest,
|
|
2539
|
+
responseSerialize: serialize_cms_CustomWidgetResponse,
|
|
2540
|
+
responseDeserialize: deserialize_cms_CustomWidgetResponse,
|
|
2541
|
+
},
|
|
2520
2542
|
};
|
|
2521
2543
|
|
|
2522
2544
|
exports.CMSClient = grpc.makeGenericClientConstructor(CMSService, 'CMS');
|
package/cms/cms_pb.js
CHANGED
|
@@ -181,6 +181,7 @@ goog.exportSymbol('proto.cms.TokenWidgetResponse', null, global);
|
|
|
181
181
|
goog.exportSymbol('proto.cms.TokenWidgetStatusResponse', null, global);
|
|
182
182
|
goog.exportSymbol('proto.cms.TokenWidgetsItemsResponse', null, global);
|
|
183
183
|
goog.exportSymbol('proto.cms.TranslationItem', null, global);
|
|
184
|
+
goog.exportSymbol('proto.cms.UpdateCustomWidgetItemConfigRequest', null, global);
|
|
184
185
|
goog.exportSymbol('proto.cms.UserBannerGameImages', null, global);
|
|
185
186
|
goog.exportSymbol('proto.cms.UserBannerGameItem', null, global);
|
|
186
187
|
goog.exportSymbol('proto.cms.UserBannerGroupResponse', null, global);
|
|
@@ -2222,6 +2223,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2222
2223
|
*/
|
|
2223
2224
|
proto.cms.CustomWidgetStatusResponse.displayName = 'proto.cms.CustomWidgetStatusResponse';
|
|
2224
2225
|
}
|
|
2226
|
+
/**
|
|
2227
|
+
* Generated by JsPbCodeGenerator.
|
|
2228
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2229
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2230
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2231
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2232
|
+
* valid.
|
|
2233
|
+
* @extends {jspb.Message}
|
|
2234
|
+
* @constructor
|
|
2235
|
+
*/
|
|
2236
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest = function(opt_data) {
|
|
2237
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2238
|
+
};
|
|
2239
|
+
goog.inherits(proto.cms.UpdateCustomWidgetItemConfigRequest, jspb.Message);
|
|
2240
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2241
|
+
/**
|
|
2242
|
+
* @public
|
|
2243
|
+
* @override
|
|
2244
|
+
*/
|
|
2245
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.displayName = 'proto.cms.UpdateCustomWidgetItemConfigRequest';
|
|
2246
|
+
}
|
|
2225
2247
|
/**
|
|
2226
2248
|
* Generated by JsPbCodeGenerator.
|
|
2227
2249
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -27933,7 +27955,8 @@ proto.cms.CustomWidgetRow.toObject = function(includeInstance, msg) {
|
|
|
27933
27955
|
var f, obj = {
|
|
27934
27956
|
itemType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27935
27957
|
priorityOrder: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
27936
|
-
config: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
27958
|
+
config: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
27959
|
+
itemKey: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
27937
27960
|
};
|
|
27938
27961
|
|
|
27939
27962
|
if (includeInstance) {
|
|
@@ -27982,6 +28005,10 @@ proto.cms.CustomWidgetRow.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
27982
28005
|
var value = /** @type {string} */ (reader.readString());
|
|
27983
28006
|
msg.setConfig(value);
|
|
27984
28007
|
break;
|
|
28008
|
+
case 4:
|
|
28009
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28010
|
+
msg.setItemKey(value);
|
|
28011
|
+
break;
|
|
27985
28012
|
default:
|
|
27986
28013
|
reader.skipField();
|
|
27987
28014
|
break;
|
|
@@ -28032,6 +28059,13 @@ proto.cms.CustomWidgetRow.serializeBinaryToWriter = function(message, writer) {
|
|
|
28032
28059
|
f
|
|
28033
28060
|
);
|
|
28034
28061
|
}
|
|
28062
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
28063
|
+
if (f != null) {
|
|
28064
|
+
writer.writeString(
|
|
28065
|
+
4,
|
|
28066
|
+
f
|
|
28067
|
+
);
|
|
28068
|
+
}
|
|
28035
28069
|
};
|
|
28036
28070
|
|
|
28037
28071
|
|
|
@@ -28143,6 +28177,42 @@ proto.cms.CustomWidgetRow.prototype.hasConfig = function() {
|
|
|
28143
28177
|
};
|
|
28144
28178
|
|
|
28145
28179
|
|
|
28180
|
+
/**
|
|
28181
|
+
* optional string item_key = 4;
|
|
28182
|
+
* @return {string}
|
|
28183
|
+
*/
|
|
28184
|
+
proto.cms.CustomWidgetRow.prototype.getItemKey = function() {
|
|
28185
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
28186
|
+
};
|
|
28187
|
+
|
|
28188
|
+
|
|
28189
|
+
/**
|
|
28190
|
+
* @param {string} value
|
|
28191
|
+
* @return {!proto.cms.CustomWidgetRow} returns this
|
|
28192
|
+
*/
|
|
28193
|
+
proto.cms.CustomWidgetRow.prototype.setItemKey = function(value) {
|
|
28194
|
+
return jspb.Message.setField(this, 4, value);
|
|
28195
|
+
};
|
|
28196
|
+
|
|
28197
|
+
|
|
28198
|
+
/**
|
|
28199
|
+
* Clears the field making it undefined.
|
|
28200
|
+
* @return {!proto.cms.CustomWidgetRow} returns this
|
|
28201
|
+
*/
|
|
28202
|
+
proto.cms.CustomWidgetRow.prototype.clearItemKey = function() {
|
|
28203
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
28204
|
+
};
|
|
28205
|
+
|
|
28206
|
+
|
|
28207
|
+
/**
|
|
28208
|
+
* Returns whether this field is set.
|
|
28209
|
+
* @return {boolean}
|
|
28210
|
+
*/
|
|
28211
|
+
proto.cms.CustomWidgetRow.prototype.hasItemKey = function() {
|
|
28212
|
+
return jspb.Message.getField(this, 4) != null;
|
|
28213
|
+
};
|
|
28214
|
+
|
|
28215
|
+
|
|
28146
28216
|
|
|
28147
28217
|
/**
|
|
28148
28218
|
* List of repeated fields within this message type.
|
|
@@ -29632,6 +29702,196 @@ proto.cms.CustomWidgetStatusResponse.prototype.setStatus = function(value) {
|
|
|
29632
29702
|
|
|
29633
29703
|
|
|
29634
29704
|
|
|
29705
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29706
|
+
/**
|
|
29707
|
+
* Creates an object representation of this proto.
|
|
29708
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29709
|
+
* Optional fields that are not set will be set to undefined.
|
|
29710
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29711
|
+
* For the list of reserved names please see:
|
|
29712
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
29713
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
29714
|
+
* JSPB instance for transitional soy proto support:
|
|
29715
|
+
* http://goto/soy-param-migration
|
|
29716
|
+
* @return {!Object}
|
|
29717
|
+
*/
|
|
29718
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.toObject = function(opt_includeInstance) {
|
|
29719
|
+
return proto.cms.UpdateCustomWidgetItemConfigRequest.toObject(opt_includeInstance, this);
|
|
29720
|
+
};
|
|
29721
|
+
|
|
29722
|
+
|
|
29723
|
+
/**
|
|
29724
|
+
* Static version of the {@see toObject} method.
|
|
29725
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
29726
|
+
* the JSPB instance for transitional soy proto support:
|
|
29727
|
+
* http://goto/soy-param-migration
|
|
29728
|
+
* @param {!proto.cms.UpdateCustomWidgetItemConfigRequest} msg The msg instance to transform.
|
|
29729
|
+
* @return {!Object}
|
|
29730
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29731
|
+
*/
|
|
29732
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.toObject = function(includeInstance, msg) {
|
|
29733
|
+
var f, obj = {
|
|
29734
|
+
customWidgetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
29735
|
+
itemKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29736
|
+
config: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
29737
|
+
};
|
|
29738
|
+
|
|
29739
|
+
if (includeInstance) {
|
|
29740
|
+
obj.$jspbMessageInstance = msg;
|
|
29741
|
+
}
|
|
29742
|
+
return obj;
|
|
29743
|
+
};
|
|
29744
|
+
}
|
|
29745
|
+
|
|
29746
|
+
|
|
29747
|
+
/**
|
|
29748
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29749
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29750
|
+
* @return {!proto.cms.UpdateCustomWidgetItemConfigRequest}
|
|
29751
|
+
*/
|
|
29752
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.deserializeBinary = function(bytes) {
|
|
29753
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29754
|
+
var msg = new proto.cms.UpdateCustomWidgetItemConfigRequest;
|
|
29755
|
+
return proto.cms.UpdateCustomWidgetItemConfigRequest.deserializeBinaryFromReader(msg, reader);
|
|
29756
|
+
};
|
|
29757
|
+
|
|
29758
|
+
|
|
29759
|
+
/**
|
|
29760
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29761
|
+
* given reader into the given message object.
|
|
29762
|
+
* @param {!proto.cms.UpdateCustomWidgetItemConfigRequest} msg The message object to deserialize into.
|
|
29763
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29764
|
+
* @return {!proto.cms.UpdateCustomWidgetItemConfigRequest}
|
|
29765
|
+
*/
|
|
29766
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
29767
|
+
while (reader.nextField()) {
|
|
29768
|
+
if (reader.isEndGroup()) {
|
|
29769
|
+
break;
|
|
29770
|
+
}
|
|
29771
|
+
var field = reader.getFieldNumber();
|
|
29772
|
+
switch (field) {
|
|
29773
|
+
case 1:
|
|
29774
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29775
|
+
msg.setCustomWidgetId(value);
|
|
29776
|
+
break;
|
|
29777
|
+
case 2:
|
|
29778
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29779
|
+
msg.setItemKey(value);
|
|
29780
|
+
break;
|
|
29781
|
+
case 3:
|
|
29782
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29783
|
+
msg.setConfig(value);
|
|
29784
|
+
break;
|
|
29785
|
+
default:
|
|
29786
|
+
reader.skipField();
|
|
29787
|
+
break;
|
|
29788
|
+
}
|
|
29789
|
+
}
|
|
29790
|
+
return msg;
|
|
29791
|
+
};
|
|
29792
|
+
|
|
29793
|
+
|
|
29794
|
+
/**
|
|
29795
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29796
|
+
* @return {!Uint8Array}
|
|
29797
|
+
*/
|
|
29798
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.serializeBinary = function() {
|
|
29799
|
+
var writer = new jspb.BinaryWriter();
|
|
29800
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.serializeBinaryToWriter(this, writer);
|
|
29801
|
+
return writer.getResultBuffer();
|
|
29802
|
+
};
|
|
29803
|
+
|
|
29804
|
+
|
|
29805
|
+
/**
|
|
29806
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
29807
|
+
* format), writing to the given BinaryWriter.
|
|
29808
|
+
* @param {!proto.cms.UpdateCustomWidgetItemConfigRequest} message
|
|
29809
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29810
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
29811
|
+
*/
|
|
29812
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.serializeBinaryToWriter = function(message, writer) {
|
|
29813
|
+
var f = undefined;
|
|
29814
|
+
f = message.getCustomWidgetId();
|
|
29815
|
+
if (f !== 0) {
|
|
29816
|
+
writer.writeInt32(
|
|
29817
|
+
1,
|
|
29818
|
+
f
|
|
29819
|
+
);
|
|
29820
|
+
}
|
|
29821
|
+
f = message.getItemKey();
|
|
29822
|
+
if (f.length > 0) {
|
|
29823
|
+
writer.writeString(
|
|
29824
|
+
2,
|
|
29825
|
+
f
|
|
29826
|
+
);
|
|
29827
|
+
}
|
|
29828
|
+
f = message.getConfig();
|
|
29829
|
+
if (f.length > 0) {
|
|
29830
|
+
writer.writeString(
|
|
29831
|
+
3,
|
|
29832
|
+
f
|
|
29833
|
+
);
|
|
29834
|
+
}
|
|
29835
|
+
};
|
|
29836
|
+
|
|
29837
|
+
|
|
29838
|
+
/**
|
|
29839
|
+
* optional int32 custom_widget_id = 1;
|
|
29840
|
+
* @return {number}
|
|
29841
|
+
*/
|
|
29842
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.getCustomWidgetId = function() {
|
|
29843
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
29844
|
+
};
|
|
29845
|
+
|
|
29846
|
+
|
|
29847
|
+
/**
|
|
29848
|
+
* @param {number} value
|
|
29849
|
+
* @return {!proto.cms.UpdateCustomWidgetItemConfigRequest} returns this
|
|
29850
|
+
*/
|
|
29851
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.setCustomWidgetId = function(value) {
|
|
29852
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
29853
|
+
};
|
|
29854
|
+
|
|
29855
|
+
|
|
29856
|
+
/**
|
|
29857
|
+
* optional string item_key = 2;
|
|
29858
|
+
* @return {string}
|
|
29859
|
+
*/
|
|
29860
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.getItemKey = function() {
|
|
29861
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
29862
|
+
};
|
|
29863
|
+
|
|
29864
|
+
|
|
29865
|
+
/**
|
|
29866
|
+
* @param {string} value
|
|
29867
|
+
* @return {!proto.cms.UpdateCustomWidgetItemConfigRequest} returns this
|
|
29868
|
+
*/
|
|
29869
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.setItemKey = function(value) {
|
|
29870
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
29871
|
+
};
|
|
29872
|
+
|
|
29873
|
+
|
|
29874
|
+
/**
|
|
29875
|
+
* optional string config = 3;
|
|
29876
|
+
* @return {string}
|
|
29877
|
+
*/
|
|
29878
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.getConfig = function() {
|
|
29879
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
29880
|
+
};
|
|
29881
|
+
|
|
29882
|
+
|
|
29883
|
+
/**
|
|
29884
|
+
* @param {string} value
|
|
29885
|
+
* @return {!proto.cms.UpdateCustomWidgetItemConfigRequest} returns this
|
|
29886
|
+
*/
|
|
29887
|
+
proto.cms.UpdateCustomWidgetItemConfigRequest.prototype.setConfig = function(value) {
|
|
29888
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
29889
|
+
};
|
|
29890
|
+
|
|
29891
|
+
|
|
29892
|
+
|
|
29893
|
+
|
|
29894
|
+
|
|
29635
29895
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29636
29896
|
/**
|
|
29637
29897
|
* Creates an object representation of this proto.
|