protobuf-platform 1.2.55 → 1.2.57
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/cashback/cashback.proto +5 -0
- package/cashback/cashback_grpc_pb.js +22 -0
- package/cashback/cashback_pb.js +228 -0
- package/game/game.proto +3 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +49 -1
- package/loyalty/loyalty.proto +5 -0
- package/loyalty/loyalty_grpc_pb.js +22 -0
- package/loyalty/loyalty_pb.js +228 -0
- package/notification/notification.proto +5 -0
- package/notification/notification_grpc_pb.js +22 -0
- package/notification/notification_pb.js +228 -0
- package/package.json +1 -1
- package/payment/payment.proto +6 -0
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +228 -0
- package/promocode/promocode.proto +5 -0
- package/promocode/promocode_grpc_pb.js +22 -0
- package/promocode/promocode_pb.js +228 -0
- package/tournament/tournament.proto +5 -0
- package/tournament/tournament_grpc_pb.js +22 -0
- package/tournament/tournament_pb.js +228 -0
|
@@ -26,6 +26,7 @@ goog.exportSymbol('proto.tournament.ContentItem', null, global);
|
|
|
26
26
|
goog.exportSymbol('proto.tournament.File', null, global);
|
|
27
27
|
goog.exportSymbol('proto.tournament.GetFileRequest', null, global);
|
|
28
28
|
goog.exportSymbol('proto.tournament.GetTournamentRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.tournament.ItemsBunchRequest', null, global);
|
|
29
30
|
goog.exportSymbol('proto.tournament.PaginationRequest', null, global);
|
|
30
31
|
goog.exportSymbol('proto.tournament.PingRequest', null, global);
|
|
31
32
|
goog.exportSymbol('proto.tournament.PongResponse', null, global);
|
|
@@ -197,6 +198,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
197
198
|
*/
|
|
198
199
|
proto.tournament.SearchRequest.displayName = 'proto.tournament.SearchRequest';
|
|
199
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* Generated by JsPbCodeGenerator.
|
|
203
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
204
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
205
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
206
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
207
|
+
* valid.
|
|
208
|
+
* @extends {jspb.Message}
|
|
209
|
+
* @constructor
|
|
210
|
+
*/
|
|
211
|
+
proto.tournament.ItemsBunchRequest = function(opt_data) {
|
|
212
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.tournament.ItemsBunchRequest.repeatedFields_, null);
|
|
213
|
+
};
|
|
214
|
+
goog.inherits(proto.tournament.ItemsBunchRequest, jspb.Message);
|
|
215
|
+
if (goog.DEBUG && !COMPILED) {
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
* @override
|
|
219
|
+
*/
|
|
220
|
+
proto.tournament.ItemsBunchRequest.displayName = 'proto.tournament.ItemsBunchRequest';
|
|
221
|
+
}
|
|
200
222
|
/**
|
|
201
223
|
* Generated by JsPbCodeGenerator.
|
|
202
224
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2214,6 +2236,212 @@ proto.tournament.SearchRequest.prototype.clearCurrenciesList = function() {
|
|
|
2214
2236
|
|
|
2215
2237
|
|
|
2216
2238
|
|
|
2239
|
+
/**
|
|
2240
|
+
* List of repeated fields within this message type.
|
|
2241
|
+
* @private {!Array<number>}
|
|
2242
|
+
* @const
|
|
2243
|
+
*/
|
|
2244
|
+
proto.tournament.ItemsBunchRequest.repeatedFields_ = [1];
|
|
2245
|
+
|
|
2246
|
+
|
|
2247
|
+
|
|
2248
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2249
|
+
/**
|
|
2250
|
+
* Creates an object representation of this proto.
|
|
2251
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2252
|
+
* Optional fields that are not set will be set to undefined.
|
|
2253
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2254
|
+
* For the list of reserved names please see:
|
|
2255
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2256
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2257
|
+
* JSPB instance for transitional soy proto support:
|
|
2258
|
+
* http://goto/soy-param-migration
|
|
2259
|
+
* @return {!Object}
|
|
2260
|
+
*/
|
|
2261
|
+
proto.tournament.ItemsBunchRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2262
|
+
return proto.tournament.ItemsBunchRequest.toObject(opt_includeInstance, this);
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* Static version of the {@see toObject} method.
|
|
2268
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2269
|
+
* the JSPB instance for transitional soy proto support:
|
|
2270
|
+
* http://goto/soy-param-migration
|
|
2271
|
+
* @param {!proto.tournament.ItemsBunchRequest} msg The msg instance to transform.
|
|
2272
|
+
* @return {!Object}
|
|
2273
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2274
|
+
*/
|
|
2275
|
+
proto.tournament.ItemsBunchRequest.toObject = function(includeInstance, msg) {
|
|
2276
|
+
var f, obj = {
|
|
2277
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2278
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2279
|
+
};
|
|
2280
|
+
|
|
2281
|
+
if (includeInstance) {
|
|
2282
|
+
obj.$jspbMessageInstance = msg;
|
|
2283
|
+
}
|
|
2284
|
+
return obj;
|
|
2285
|
+
};
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2291
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2292
|
+
* @return {!proto.tournament.ItemsBunchRequest}
|
|
2293
|
+
*/
|
|
2294
|
+
proto.tournament.ItemsBunchRequest.deserializeBinary = function(bytes) {
|
|
2295
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2296
|
+
var msg = new proto.tournament.ItemsBunchRequest;
|
|
2297
|
+
return proto.tournament.ItemsBunchRequest.deserializeBinaryFromReader(msg, reader);
|
|
2298
|
+
};
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2303
|
+
* given reader into the given message object.
|
|
2304
|
+
* @param {!proto.tournament.ItemsBunchRequest} msg The message object to deserialize into.
|
|
2305
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2306
|
+
* @return {!proto.tournament.ItemsBunchRequest}
|
|
2307
|
+
*/
|
|
2308
|
+
proto.tournament.ItemsBunchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2309
|
+
while (reader.nextField()) {
|
|
2310
|
+
if (reader.isEndGroup()) {
|
|
2311
|
+
break;
|
|
2312
|
+
}
|
|
2313
|
+
var field = reader.getFieldNumber();
|
|
2314
|
+
switch (field) {
|
|
2315
|
+
case 1:
|
|
2316
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
2317
|
+
for (var i = 0; i < values.length; i++) {
|
|
2318
|
+
msg.addIds(values[i]);
|
|
2319
|
+
}
|
|
2320
|
+
break;
|
|
2321
|
+
case 2:
|
|
2322
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
2323
|
+
msg.setIsActive(value);
|
|
2324
|
+
break;
|
|
2325
|
+
default:
|
|
2326
|
+
reader.skipField();
|
|
2327
|
+
break;
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
return msg;
|
|
2331
|
+
};
|
|
2332
|
+
|
|
2333
|
+
|
|
2334
|
+
/**
|
|
2335
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2336
|
+
* @return {!Uint8Array}
|
|
2337
|
+
*/
|
|
2338
|
+
proto.tournament.ItemsBunchRequest.prototype.serializeBinary = function() {
|
|
2339
|
+
var writer = new jspb.BinaryWriter();
|
|
2340
|
+
proto.tournament.ItemsBunchRequest.serializeBinaryToWriter(this, writer);
|
|
2341
|
+
return writer.getResultBuffer();
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2347
|
+
* format), writing to the given BinaryWriter.
|
|
2348
|
+
* @param {!proto.tournament.ItemsBunchRequest} message
|
|
2349
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2350
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2351
|
+
*/
|
|
2352
|
+
proto.tournament.ItemsBunchRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2353
|
+
var f = undefined;
|
|
2354
|
+
f = message.getIdsList();
|
|
2355
|
+
if (f.length > 0) {
|
|
2356
|
+
writer.writePackedInt32(
|
|
2357
|
+
1,
|
|
2358
|
+
f
|
|
2359
|
+
);
|
|
2360
|
+
}
|
|
2361
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
2362
|
+
if (f != null) {
|
|
2363
|
+
writer.writeInt32(
|
|
2364
|
+
2,
|
|
2365
|
+
f
|
|
2366
|
+
);
|
|
2367
|
+
}
|
|
2368
|
+
};
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
/**
|
|
2372
|
+
* repeated int32 ids = 1;
|
|
2373
|
+
* @return {!Array<number>}
|
|
2374
|
+
*/
|
|
2375
|
+
proto.tournament.ItemsBunchRequest.prototype.getIdsList = function() {
|
|
2376
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2377
|
+
};
|
|
2378
|
+
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* @param {!Array<number>} value
|
|
2382
|
+
* @return {!proto.tournament.ItemsBunchRequest} returns this
|
|
2383
|
+
*/
|
|
2384
|
+
proto.tournament.ItemsBunchRequest.prototype.setIdsList = function(value) {
|
|
2385
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2386
|
+
};
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* @param {number} value
|
|
2391
|
+
* @param {number=} opt_index
|
|
2392
|
+
* @return {!proto.tournament.ItemsBunchRequest} returns this
|
|
2393
|
+
*/
|
|
2394
|
+
proto.tournament.ItemsBunchRequest.prototype.addIds = function(value, opt_index) {
|
|
2395
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2396
|
+
};
|
|
2397
|
+
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Clears the list making it empty but non-null.
|
|
2401
|
+
* @return {!proto.tournament.ItemsBunchRequest} returns this
|
|
2402
|
+
*/
|
|
2403
|
+
proto.tournament.ItemsBunchRequest.prototype.clearIdsList = function() {
|
|
2404
|
+
return this.setIdsList([]);
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
/**
|
|
2409
|
+
* optional int32 is_active = 2;
|
|
2410
|
+
* @return {number}
|
|
2411
|
+
*/
|
|
2412
|
+
proto.tournament.ItemsBunchRequest.prototype.getIsActive = function() {
|
|
2413
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2414
|
+
};
|
|
2415
|
+
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* @param {number} value
|
|
2419
|
+
* @return {!proto.tournament.ItemsBunchRequest} returns this
|
|
2420
|
+
*/
|
|
2421
|
+
proto.tournament.ItemsBunchRequest.prototype.setIsActive = function(value) {
|
|
2422
|
+
return jspb.Message.setField(this, 2, value);
|
|
2423
|
+
};
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
/**
|
|
2427
|
+
* Clears the field making it undefined.
|
|
2428
|
+
* @return {!proto.tournament.ItemsBunchRequest} returns this
|
|
2429
|
+
*/
|
|
2430
|
+
proto.tournament.ItemsBunchRequest.prototype.clearIsActive = function() {
|
|
2431
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
2432
|
+
};
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Returns whether this field is set.
|
|
2437
|
+
* @return {boolean}
|
|
2438
|
+
*/
|
|
2439
|
+
proto.tournament.ItemsBunchRequest.prototype.hasIsActive = function() {
|
|
2440
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2441
|
+
};
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
|
|
2217
2445
|
/**
|
|
2218
2446
|
* List of repeated fields within this message type.
|
|
2219
2447
|
* @private {!Array<number>}
|