protobuf-platform 1.2.374 → 1.2.375

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/game/game.proto CHANGED
@@ -73,6 +73,7 @@ service Game {
73
73
  rpc parseGameImagesForAllInbound(ParseGameImagesForAllInboundRequest) returns (GameImagesParsingTechnicalResponse);
74
74
  rpc syncGameImageUrls(SyncGameImageUrlsRequest) returns (GameImagesParsingTechnicalResponse);
75
75
  rpc syncGameImageUrlsForProvider(SyncGameImageUrlsForProviderRequest) returns (GameImagesParsingTechnicalResponse);
76
+ rpc checkVendorsTechnical(CheckVendorsTechnicalRequest) returns (CheckVendorsTechnicalResponse);
76
77
  rpc searchGames(PaginationRequest) returns (SearchGamesResponse);
77
78
  rpc searchGamesFull(SearchGamesFullRequest) returns (SearchGamesFullResponse);
78
79
  //Vendor
@@ -450,6 +451,22 @@ message GameImagesParsingTechnicalResponse {
450
451
  int32 skipped = 4;
451
452
  int32 failed = 5;
452
453
  }
454
+ message CheckVendorsTechnicalRequest {
455
+ string provider_or_aggregator_name = 1;
456
+ optional string currency = 2;
457
+ optional string display_language = 3;
458
+ }
459
+ message VendorTechnicalCheckItem {
460
+ string name = 1;
461
+ string currency_code = 2;
462
+ string code = 3;
463
+ string category_code = 4;
464
+ }
465
+ message CheckVendorsTechnicalResponse {
466
+ string status = 1;
467
+ int32 total = 2;
468
+ repeated VendorTechnicalCheckItem items = 3;
469
+ }
453
470
  message IntegratorSettingsRequest { string route = 1; }
454
471
  message IntegratorSettingsResponse { string data = 1; }
455
472
  message IntegratorSelfValidationRequest { string vendor = 1; }
@@ -136,6 +136,28 @@ function deserialize_game_CategoryStatusResponse(buffer_arg) {
136
136
  return game_pb.CategoryStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
137
137
  }
138
138
 
139
+ function serialize_game_CheckVendorsTechnicalRequest(arg) {
140
+ if (!(arg instanceof game_pb.CheckVendorsTechnicalRequest)) {
141
+ throw new Error('Expected argument of type game.CheckVendorsTechnicalRequest');
142
+ }
143
+ return Buffer.from(arg.serializeBinary());
144
+ }
145
+
146
+ function deserialize_game_CheckVendorsTechnicalRequest(buffer_arg) {
147
+ return game_pb.CheckVendorsTechnicalRequest.deserializeBinary(new Uint8Array(buffer_arg));
148
+ }
149
+
150
+ function serialize_game_CheckVendorsTechnicalResponse(arg) {
151
+ if (!(arg instanceof game_pb.CheckVendorsTechnicalResponse)) {
152
+ throw new Error('Expected argument of type game.CheckVendorsTechnicalResponse');
153
+ }
154
+ return Buffer.from(arg.serializeBinary());
155
+ }
156
+
157
+ function deserialize_game_CheckVendorsTechnicalResponse(buffer_arg) {
158
+ return game_pb.CheckVendorsTechnicalResponse.deserializeBinary(new Uint8Array(buffer_arg));
159
+ }
160
+
139
161
  function serialize_game_CollectionGamesRequest(arg) {
140
162
  if (!(arg instanceof game_pb.CollectionGamesRequest)) {
141
163
  throw new Error('Expected argument of type game.CollectionGamesRequest');
@@ -1862,6 +1884,17 @@ parseGameImagesForProvider: {
1862
1884
  responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1863
1885
  responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1864
1886
  },
1887
+ checkVendorsTechnical: {
1888
+ path: '/game.Game/checkVendorsTechnical',
1889
+ requestStream: false,
1890
+ responseStream: false,
1891
+ requestType: game_pb.CheckVendorsTechnicalRequest,
1892
+ responseType: game_pb.CheckVendorsTechnicalResponse,
1893
+ requestSerialize: serialize_game_CheckVendorsTechnicalRequest,
1894
+ requestDeserialize: deserialize_game_CheckVendorsTechnicalRequest,
1895
+ responseSerialize: serialize_game_CheckVendorsTechnicalResponse,
1896
+ responseDeserialize: deserialize_game_CheckVendorsTechnicalResponse,
1897
+ },
1865
1898
  searchGames: {
1866
1899
  path: '/game.Game/searchGames',
1867
1900
  requestStream: false,
package/game/game_pb.js CHANGED
@@ -44,6 +44,8 @@ goog.exportSymbol('proto.game.CategoryRequest.RequestCase', null, global);
44
44
  goog.exportSymbol('proto.game.CategoryResponse', null, global);
45
45
  goog.exportSymbol('proto.game.CategorySearchRequest', null, global);
46
46
  goog.exportSymbol('proto.game.CategoryStatusResponse', null, global);
47
+ goog.exportSymbol('proto.game.CheckVendorsTechnicalRequest', null, global);
48
+ goog.exportSymbol('proto.game.CheckVendorsTechnicalResponse', null, global);
47
49
  goog.exportSymbol('proto.game.CollectionGamesRequest', null, global);
48
50
  goog.exportSymbol('proto.game.CollectionItem', null, global);
49
51
  goog.exportSymbol('proto.game.CollectionItemRequest', null, global);
@@ -166,6 +168,7 @@ goog.exportSymbol('proto.game.TournamentSearchRequest', null, global);
166
168
  goog.exportSymbol('proto.game.UserBalanceGameSessionRequest', null, global);
167
169
  goog.exportSymbol('proto.game.VendorActionRequest', null, global);
168
170
  goog.exportSymbol('proto.game.VendorActionResponse', null, global);
171
+ goog.exportSymbol('proto.game.VendorTechnicalCheckItem', null, global);
169
172
  goog.exportSymbol('proto.game.WagerListGamesRequest', null, global);
170
173
  goog.exportSymbol('proto.game.WagerListItem', null, global);
171
174
  goog.exportSymbol('proto.game.WagerListItemsResponse', null, global);
@@ -1390,6 +1393,69 @@ if (goog.DEBUG && !COMPILED) {
1390
1393
  */
1391
1394
  proto.game.GameImagesParsingTechnicalResponse.displayName = 'proto.game.GameImagesParsingTechnicalResponse';
1392
1395
  }
1396
+ /**
1397
+ * Generated by JsPbCodeGenerator.
1398
+ * @param {Array=} opt_data Optional initial data array, typically from a
1399
+ * server response, or constructed directly in Javascript. The array is used
1400
+ * in place and becomes part of the constructed object. It is not cloned.
1401
+ * If no data is provided, the constructed object will be empty, but still
1402
+ * valid.
1403
+ * @extends {jspb.Message}
1404
+ * @constructor
1405
+ */
1406
+ proto.game.CheckVendorsTechnicalRequest = function(opt_data) {
1407
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1408
+ };
1409
+ goog.inherits(proto.game.CheckVendorsTechnicalRequest, jspb.Message);
1410
+ if (goog.DEBUG && !COMPILED) {
1411
+ /**
1412
+ * @public
1413
+ * @override
1414
+ */
1415
+ proto.game.CheckVendorsTechnicalRequest.displayName = 'proto.game.CheckVendorsTechnicalRequest';
1416
+ }
1417
+ /**
1418
+ * Generated by JsPbCodeGenerator.
1419
+ * @param {Array=} opt_data Optional initial data array, typically from a
1420
+ * server response, or constructed directly in Javascript. The array is used
1421
+ * in place and becomes part of the constructed object. It is not cloned.
1422
+ * If no data is provided, the constructed object will be empty, but still
1423
+ * valid.
1424
+ * @extends {jspb.Message}
1425
+ * @constructor
1426
+ */
1427
+ proto.game.VendorTechnicalCheckItem = function(opt_data) {
1428
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1429
+ };
1430
+ goog.inherits(proto.game.VendorTechnicalCheckItem, jspb.Message);
1431
+ if (goog.DEBUG && !COMPILED) {
1432
+ /**
1433
+ * @public
1434
+ * @override
1435
+ */
1436
+ proto.game.VendorTechnicalCheckItem.displayName = 'proto.game.VendorTechnicalCheckItem';
1437
+ }
1438
+ /**
1439
+ * Generated by JsPbCodeGenerator.
1440
+ * @param {Array=} opt_data Optional initial data array, typically from a
1441
+ * server response, or constructed directly in Javascript. The array is used
1442
+ * in place and becomes part of the constructed object. It is not cloned.
1443
+ * If no data is provided, the constructed object will be empty, but still
1444
+ * valid.
1445
+ * @extends {jspb.Message}
1446
+ * @constructor
1447
+ */
1448
+ proto.game.CheckVendorsTechnicalResponse = function(opt_data) {
1449
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.game.CheckVendorsTechnicalResponse.repeatedFields_, null);
1450
+ };
1451
+ goog.inherits(proto.game.CheckVendorsTechnicalResponse, jspb.Message);
1452
+ if (goog.DEBUG && !COMPILED) {
1453
+ /**
1454
+ * @public
1455
+ * @override
1456
+ */
1457
+ proto.game.CheckVendorsTechnicalResponse.displayName = 'proto.game.CheckVendorsTechnicalResponse';
1458
+ }
1393
1459
  /**
1394
1460
  * Generated by JsPbCodeGenerator.
1395
1461
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -18248,6 +18314,672 @@ proto.game.GameImagesParsingTechnicalResponse.prototype.setFailed = function(val
18248
18314
 
18249
18315
 
18250
18316
 
18317
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18318
+ /**
18319
+ * Creates an object representation of this proto.
18320
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18321
+ * Optional fields that are not set will be set to undefined.
18322
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18323
+ * For the list of reserved names please see:
18324
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18325
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18326
+ * JSPB instance for transitional soy proto support:
18327
+ * http://goto/soy-param-migration
18328
+ * @return {!Object}
18329
+ */
18330
+ proto.game.CheckVendorsTechnicalRequest.prototype.toObject = function(opt_includeInstance) {
18331
+ return proto.game.CheckVendorsTechnicalRequest.toObject(opt_includeInstance, this);
18332
+ };
18333
+
18334
+
18335
+ /**
18336
+ * Static version of the {@see toObject} method.
18337
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18338
+ * the JSPB instance for transitional soy proto support:
18339
+ * http://goto/soy-param-migration
18340
+ * @param {!proto.game.CheckVendorsTechnicalRequest} msg The msg instance to transform.
18341
+ * @return {!Object}
18342
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18343
+ */
18344
+ proto.game.CheckVendorsTechnicalRequest.toObject = function(includeInstance, msg) {
18345
+ var f, obj = {
18346
+ providerOrAggregatorName: jspb.Message.getFieldWithDefault(msg, 1, ""),
18347
+ currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
18348
+ displayLanguage: jspb.Message.getFieldWithDefault(msg, 3, "")
18349
+ };
18350
+
18351
+ if (includeInstance) {
18352
+ obj.$jspbMessageInstance = msg;
18353
+ }
18354
+ return obj;
18355
+ };
18356
+ }
18357
+
18358
+
18359
+ /**
18360
+ * Deserializes binary data (in protobuf wire format).
18361
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18362
+ * @return {!proto.game.CheckVendorsTechnicalRequest}
18363
+ */
18364
+ proto.game.CheckVendorsTechnicalRequest.deserializeBinary = function(bytes) {
18365
+ var reader = new jspb.BinaryReader(bytes);
18366
+ var msg = new proto.game.CheckVendorsTechnicalRequest;
18367
+ return proto.game.CheckVendorsTechnicalRequest.deserializeBinaryFromReader(msg, reader);
18368
+ };
18369
+
18370
+
18371
+ /**
18372
+ * Deserializes binary data (in protobuf wire format) from the
18373
+ * given reader into the given message object.
18374
+ * @param {!proto.game.CheckVendorsTechnicalRequest} msg The message object to deserialize into.
18375
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18376
+ * @return {!proto.game.CheckVendorsTechnicalRequest}
18377
+ */
18378
+ proto.game.CheckVendorsTechnicalRequest.deserializeBinaryFromReader = function(msg, reader) {
18379
+ while (reader.nextField()) {
18380
+ if (reader.isEndGroup()) {
18381
+ break;
18382
+ }
18383
+ var field = reader.getFieldNumber();
18384
+ switch (field) {
18385
+ case 1:
18386
+ var value = /** @type {string} */ (reader.readString());
18387
+ msg.setProviderOrAggregatorName(value);
18388
+ break;
18389
+ case 2:
18390
+ var value = /** @type {string} */ (reader.readString());
18391
+ msg.setCurrency(value);
18392
+ break;
18393
+ case 3:
18394
+ var value = /** @type {string} */ (reader.readString());
18395
+ msg.setDisplayLanguage(value);
18396
+ break;
18397
+ default:
18398
+ reader.skipField();
18399
+ break;
18400
+ }
18401
+ }
18402
+ return msg;
18403
+ };
18404
+
18405
+
18406
+ /**
18407
+ * Serializes the message to binary data (in protobuf wire format).
18408
+ * @return {!Uint8Array}
18409
+ */
18410
+ proto.game.CheckVendorsTechnicalRequest.prototype.serializeBinary = function() {
18411
+ var writer = new jspb.BinaryWriter();
18412
+ proto.game.CheckVendorsTechnicalRequest.serializeBinaryToWriter(this, writer);
18413
+ return writer.getResultBuffer();
18414
+ };
18415
+
18416
+
18417
+ /**
18418
+ * Serializes the given message to binary data (in protobuf wire
18419
+ * format), writing to the given BinaryWriter.
18420
+ * @param {!proto.game.CheckVendorsTechnicalRequest} message
18421
+ * @param {!jspb.BinaryWriter} writer
18422
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18423
+ */
18424
+ proto.game.CheckVendorsTechnicalRequest.serializeBinaryToWriter = function(message, writer) {
18425
+ var f = undefined;
18426
+ f = message.getProviderOrAggregatorName();
18427
+ if (f.length > 0) {
18428
+ writer.writeString(
18429
+ 1,
18430
+ f
18431
+ );
18432
+ }
18433
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
18434
+ if (f != null) {
18435
+ writer.writeString(
18436
+ 2,
18437
+ f
18438
+ );
18439
+ }
18440
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
18441
+ if (f != null) {
18442
+ writer.writeString(
18443
+ 3,
18444
+ f
18445
+ );
18446
+ }
18447
+ };
18448
+
18449
+
18450
+ /**
18451
+ * optional string provider_or_aggregator_name = 1;
18452
+ * @return {string}
18453
+ */
18454
+ proto.game.CheckVendorsTechnicalRequest.prototype.getProviderOrAggregatorName = function() {
18455
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18456
+ };
18457
+
18458
+
18459
+ /**
18460
+ * @param {string} value
18461
+ * @return {!proto.game.CheckVendorsTechnicalRequest} returns this
18462
+ */
18463
+ proto.game.CheckVendorsTechnicalRequest.prototype.setProviderOrAggregatorName = function(value) {
18464
+ return jspb.Message.setProto3StringField(this, 1, value);
18465
+ };
18466
+
18467
+
18468
+ /**
18469
+ * optional string currency = 2;
18470
+ * @return {string}
18471
+ */
18472
+ proto.game.CheckVendorsTechnicalRequest.prototype.getCurrency = function() {
18473
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18474
+ };
18475
+
18476
+
18477
+ /**
18478
+ * @param {string} value
18479
+ * @return {!proto.game.CheckVendorsTechnicalRequest} returns this
18480
+ */
18481
+ proto.game.CheckVendorsTechnicalRequest.prototype.setCurrency = function(value) {
18482
+ return jspb.Message.setField(this, 2, value);
18483
+ };
18484
+
18485
+
18486
+ /**
18487
+ * Clears the field making it undefined.
18488
+ * @return {!proto.game.CheckVendorsTechnicalRequest} returns this
18489
+ */
18490
+ proto.game.CheckVendorsTechnicalRequest.prototype.clearCurrency = function() {
18491
+ return jspb.Message.setField(this, 2, undefined);
18492
+ };
18493
+
18494
+
18495
+ /**
18496
+ * Returns whether this field is set.
18497
+ * @return {boolean}
18498
+ */
18499
+ proto.game.CheckVendorsTechnicalRequest.prototype.hasCurrency = function() {
18500
+ return jspb.Message.getField(this, 2) != null;
18501
+ };
18502
+
18503
+
18504
+ /**
18505
+ * optional string display_language = 3;
18506
+ * @return {string}
18507
+ */
18508
+ proto.game.CheckVendorsTechnicalRequest.prototype.getDisplayLanguage = function() {
18509
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18510
+ };
18511
+
18512
+
18513
+ /**
18514
+ * @param {string} value
18515
+ * @return {!proto.game.CheckVendorsTechnicalRequest} returns this
18516
+ */
18517
+ proto.game.CheckVendorsTechnicalRequest.prototype.setDisplayLanguage = function(value) {
18518
+ return jspb.Message.setField(this, 3, value);
18519
+ };
18520
+
18521
+
18522
+ /**
18523
+ * Clears the field making it undefined.
18524
+ * @return {!proto.game.CheckVendorsTechnicalRequest} returns this
18525
+ */
18526
+ proto.game.CheckVendorsTechnicalRequest.prototype.clearDisplayLanguage = function() {
18527
+ return jspb.Message.setField(this, 3, undefined);
18528
+ };
18529
+
18530
+
18531
+ /**
18532
+ * Returns whether this field is set.
18533
+ * @return {boolean}
18534
+ */
18535
+ proto.game.CheckVendorsTechnicalRequest.prototype.hasDisplayLanguage = function() {
18536
+ return jspb.Message.getField(this, 3) != null;
18537
+ };
18538
+
18539
+
18540
+
18541
+
18542
+
18543
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18544
+ /**
18545
+ * Creates an object representation of this proto.
18546
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18547
+ * Optional fields that are not set will be set to undefined.
18548
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18549
+ * For the list of reserved names please see:
18550
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18551
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18552
+ * JSPB instance for transitional soy proto support:
18553
+ * http://goto/soy-param-migration
18554
+ * @return {!Object}
18555
+ */
18556
+ proto.game.VendorTechnicalCheckItem.prototype.toObject = function(opt_includeInstance) {
18557
+ return proto.game.VendorTechnicalCheckItem.toObject(opt_includeInstance, this);
18558
+ };
18559
+
18560
+
18561
+ /**
18562
+ * Static version of the {@see toObject} method.
18563
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18564
+ * the JSPB instance for transitional soy proto support:
18565
+ * http://goto/soy-param-migration
18566
+ * @param {!proto.game.VendorTechnicalCheckItem} msg The msg instance to transform.
18567
+ * @return {!Object}
18568
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18569
+ */
18570
+ proto.game.VendorTechnicalCheckItem.toObject = function(includeInstance, msg) {
18571
+ var f, obj = {
18572
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
18573
+ currencyCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
18574
+ code: jspb.Message.getFieldWithDefault(msg, 3, ""),
18575
+ categoryCode: jspb.Message.getFieldWithDefault(msg, 4, "")
18576
+ };
18577
+
18578
+ if (includeInstance) {
18579
+ obj.$jspbMessageInstance = msg;
18580
+ }
18581
+ return obj;
18582
+ };
18583
+ }
18584
+
18585
+
18586
+ /**
18587
+ * Deserializes binary data (in protobuf wire format).
18588
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18589
+ * @return {!proto.game.VendorTechnicalCheckItem}
18590
+ */
18591
+ proto.game.VendorTechnicalCheckItem.deserializeBinary = function(bytes) {
18592
+ var reader = new jspb.BinaryReader(bytes);
18593
+ var msg = new proto.game.VendorTechnicalCheckItem;
18594
+ return proto.game.VendorTechnicalCheckItem.deserializeBinaryFromReader(msg, reader);
18595
+ };
18596
+
18597
+
18598
+ /**
18599
+ * Deserializes binary data (in protobuf wire format) from the
18600
+ * given reader into the given message object.
18601
+ * @param {!proto.game.VendorTechnicalCheckItem} msg The message object to deserialize into.
18602
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18603
+ * @return {!proto.game.VendorTechnicalCheckItem}
18604
+ */
18605
+ proto.game.VendorTechnicalCheckItem.deserializeBinaryFromReader = function(msg, reader) {
18606
+ while (reader.nextField()) {
18607
+ if (reader.isEndGroup()) {
18608
+ break;
18609
+ }
18610
+ var field = reader.getFieldNumber();
18611
+ switch (field) {
18612
+ case 1:
18613
+ var value = /** @type {string} */ (reader.readString());
18614
+ msg.setName(value);
18615
+ break;
18616
+ case 2:
18617
+ var value = /** @type {string} */ (reader.readString());
18618
+ msg.setCurrencyCode(value);
18619
+ break;
18620
+ case 3:
18621
+ var value = /** @type {string} */ (reader.readString());
18622
+ msg.setCode(value);
18623
+ break;
18624
+ case 4:
18625
+ var value = /** @type {string} */ (reader.readString());
18626
+ msg.setCategoryCode(value);
18627
+ break;
18628
+ default:
18629
+ reader.skipField();
18630
+ break;
18631
+ }
18632
+ }
18633
+ return msg;
18634
+ };
18635
+
18636
+
18637
+ /**
18638
+ * Serializes the message to binary data (in protobuf wire format).
18639
+ * @return {!Uint8Array}
18640
+ */
18641
+ proto.game.VendorTechnicalCheckItem.prototype.serializeBinary = function() {
18642
+ var writer = new jspb.BinaryWriter();
18643
+ proto.game.VendorTechnicalCheckItem.serializeBinaryToWriter(this, writer);
18644
+ return writer.getResultBuffer();
18645
+ };
18646
+
18647
+
18648
+ /**
18649
+ * Serializes the given message to binary data (in protobuf wire
18650
+ * format), writing to the given BinaryWriter.
18651
+ * @param {!proto.game.VendorTechnicalCheckItem} message
18652
+ * @param {!jspb.BinaryWriter} writer
18653
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18654
+ */
18655
+ proto.game.VendorTechnicalCheckItem.serializeBinaryToWriter = function(message, writer) {
18656
+ var f = undefined;
18657
+ f = message.getName();
18658
+ if (f.length > 0) {
18659
+ writer.writeString(
18660
+ 1,
18661
+ f
18662
+ );
18663
+ }
18664
+ f = message.getCurrencyCode();
18665
+ if (f.length > 0) {
18666
+ writer.writeString(
18667
+ 2,
18668
+ f
18669
+ );
18670
+ }
18671
+ f = message.getCode();
18672
+ if (f.length > 0) {
18673
+ writer.writeString(
18674
+ 3,
18675
+ f
18676
+ );
18677
+ }
18678
+ f = message.getCategoryCode();
18679
+ if (f.length > 0) {
18680
+ writer.writeString(
18681
+ 4,
18682
+ f
18683
+ );
18684
+ }
18685
+ };
18686
+
18687
+
18688
+ /**
18689
+ * optional string name = 1;
18690
+ * @return {string}
18691
+ */
18692
+ proto.game.VendorTechnicalCheckItem.prototype.getName = function() {
18693
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18694
+ };
18695
+
18696
+
18697
+ /**
18698
+ * @param {string} value
18699
+ * @return {!proto.game.VendorTechnicalCheckItem} returns this
18700
+ */
18701
+ proto.game.VendorTechnicalCheckItem.prototype.setName = function(value) {
18702
+ return jspb.Message.setProto3StringField(this, 1, value);
18703
+ };
18704
+
18705
+
18706
+ /**
18707
+ * optional string currency_code = 2;
18708
+ * @return {string}
18709
+ */
18710
+ proto.game.VendorTechnicalCheckItem.prototype.getCurrencyCode = function() {
18711
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18712
+ };
18713
+
18714
+
18715
+ /**
18716
+ * @param {string} value
18717
+ * @return {!proto.game.VendorTechnicalCheckItem} returns this
18718
+ */
18719
+ proto.game.VendorTechnicalCheckItem.prototype.setCurrencyCode = function(value) {
18720
+ return jspb.Message.setProto3StringField(this, 2, value);
18721
+ };
18722
+
18723
+
18724
+ /**
18725
+ * optional string code = 3;
18726
+ * @return {string}
18727
+ */
18728
+ proto.game.VendorTechnicalCheckItem.prototype.getCode = function() {
18729
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18730
+ };
18731
+
18732
+
18733
+ /**
18734
+ * @param {string} value
18735
+ * @return {!proto.game.VendorTechnicalCheckItem} returns this
18736
+ */
18737
+ proto.game.VendorTechnicalCheckItem.prototype.setCode = function(value) {
18738
+ return jspb.Message.setProto3StringField(this, 3, value);
18739
+ };
18740
+
18741
+
18742
+ /**
18743
+ * optional string category_code = 4;
18744
+ * @return {string}
18745
+ */
18746
+ proto.game.VendorTechnicalCheckItem.prototype.getCategoryCode = function() {
18747
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
18748
+ };
18749
+
18750
+
18751
+ /**
18752
+ * @param {string} value
18753
+ * @return {!proto.game.VendorTechnicalCheckItem} returns this
18754
+ */
18755
+ proto.game.VendorTechnicalCheckItem.prototype.setCategoryCode = function(value) {
18756
+ return jspb.Message.setProto3StringField(this, 4, value);
18757
+ };
18758
+
18759
+
18760
+
18761
+ /**
18762
+ * List of repeated fields within this message type.
18763
+ * @private {!Array<number>}
18764
+ * @const
18765
+ */
18766
+ proto.game.CheckVendorsTechnicalResponse.repeatedFields_ = [3];
18767
+
18768
+
18769
+
18770
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18771
+ /**
18772
+ * Creates an object representation of this proto.
18773
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18774
+ * Optional fields that are not set will be set to undefined.
18775
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18776
+ * For the list of reserved names please see:
18777
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18778
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18779
+ * JSPB instance for transitional soy proto support:
18780
+ * http://goto/soy-param-migration
18781
+ * @return {!Object}
18782
+ */
18783
+ proto.game.CheckVendorsTechnicalResponse.prototype.toObject = function(opt_includeInstance) {
18784
+ return proto.game.CheckVendorsTechnicalResponse.toObject(opt_includeInstance, this);
18785
+ };
18786
+
18787
+
18788
+ /**
18789
+ * Static version of the {@see toObject} method.
18790
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18791
+ * the JSPB instance for transitional soy proto support:
18792
+ * http://goto/soy-param-migration
18793
+ * @param {!proto.game.CheckVendorsTechnicalResponse} msg The msg instance to transform.
18794
+ * @return {!Object}
18795
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18796
+ */
18797
+ proto.game.CheckVendorsTechnicalResponse.toObject = function(includeInstance, msg) {
18798
+ var f, obj = {
18799
+ status: jspb.Message.getFieldWithDefault(msg, 1, ""),
18800
+ total: jspb.Message.getFieldWithDefault(msg, 2, 0),
18801
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
18802
+ proto.game.VendorTechnicalCheckItem.toObject, includeInstance)
18803
+ };
18804
+
18805
+ if (includeInstance) {
18806
+ obj.$jspbMessageInstance = msg;
18807
+ }
18808
+ return obj;
18809
+ };
18810
+ }
18811
+
18812
+
18813
+ /**
18814
+ * Deserializes binary data (in protobuf wire format).
18815
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18816
+ * @return {!proto.game.CheckVendorsTechnicalResponse}
18817
+ */
18818
+ proto.game.CheckVendorsTechnicalResponse.deserializeBinary = function(bytes) {
18819
+ var reader = new jspb.BinaryReader(bytes);
18820
+ var msg = new proto.game.CheckVendorsTechnicalResponse;
18821
+ return proto.game.CheckVendorsTechnicalResponse.deserializeBinaryFromReader(msg, reader);
18822
+ };
18823
+
18824
+
18825
+ /**
18826
+ * Deserializes binary data (in protobuf wire format) from the
18827
+ * given reader into the given message object.
18828
+ * @param {!proto.game.CheckVendorsTechnicalResponse} msg The message object to deserialize into.
18829
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18830
+ * @return {!proto.game.CheckVendorsTechnicalResponse}
18831
+ */
18832
+ proto.game.CheckVendorsTechnicalResponse.deserializeBinaryFromReader = function(msg, reader) {
18833
+ while (reader.nextField()) {
18834
+ if (reader.isEndGroup()) {
18835
+ break;
18836
+ }
18837
+ var field = reader.getFieldNumber();
18838
+ switch (field) {
18839
+ case 1:
18840
+ var value = /** @type {string} */ (reader.readString());
18841
+ msg.setStatus(value);
18842
+ break;
18843
+ case 2:
18844
+ var value = /** @type {number} */ (reader.readInt32());
18845
+ msg.setTotal(value);
18846
+ break;
18847
+ case 3:
18848
+ var value = new proto.game.VendorTechnicalCheckItem;
18849
+ reader.readMessage(value,proto.game.VendorTechnicalCheckItem.deserializeBinaryFromReader);
18850
+ msg.addItems(value);
18851
+ break;
18852
+ default:
18853
+ reader.skipField();
18854
+ break;
18855
+ }
18856
+ }
18857
+ return msg;
18858
+ };
18859
+
18860
+
18861
+ /**
18862
+ * Serializes the message to binary data (in protobuf wire format).
18863
+ * @return {!Uint8Array}
18864
+ */
18865
+ proto.game.CheckVendorsTechnicalResponse.prototype.serializeBinary = function() {
18866
+ var writer = new jspb.BinaryWriter();
18867
+ proto.game.CheckVendorsTechnicalResponse.serializeBinaryToWriter(this, writer);
18868
+ return writer.getResultBuffer();
18869
+ };
18870
+
18871
+
18872
+ /**
18873
+ * Serializes the given message to binary data (in protobuf wire
18874
+ * format), writing to the given BinaryWriter.
18875
+ * @param {!proto.game.CheckVendorsTechnicalResponse} message
18876
+ * @param {!jspb.BinaryWriter} writer
18877
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18878
+ */
18879
+ proto.game.CheckVendorsTechnicalResponse.serializeBinaryToWriter = function(message, writer) {
18880
+ var f = undefined;
18881
+ f = message.getStatus();
18882
+ if (f.length > 0) {
18883
+ writer.writeString(
18884
+ 1,
18885
+ f
18886
+ );
18887
+ }
18888
+ f = message.getTotal();
18889
+ if (f !== 0) {
18890
+ writer.writeInt32(
18891
+ 2,
18892
+ f
18893
+ );
18894
+ }
18895
+ f = message.getItemsList();
18896
+ if (f.length > 0) {
18897
+ writer.writeRepeatedMessage(
18898
+ 3,
18899
+ f,
18900
+ proto.game.VendorTechnicalCheckItem.serializeBinaryToWriter
18901
+ );
18902
+ }
18903
+ };
18904
+
18905
+
18906
+ /**
18907
+ * optional string status = 1;
18908
+ * @return {string}
18909
+ */
18910
+ proto.game.CheckVendorsTechnicalResponse.prototype.getStatus = function() {
18911
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18912
+ };
18913
+
18914
+
18915
+ /**
18916
+ * @param {string} value
18917
+ * @return {!proto.game.CheckVendorsTechnicalResponse} returns this
18918
+ */
18919
+ proto.game.CheckVendorsTechnicalResponse.prototype.setStatus = function(value) {
18920
+ return jspb.Message.setProto3StringField(this, 1, value);
18921
+ };
18922
+
18923
+
18924
+ /**
18925
+ * optional int32 total = 2;
18926
+ * @return {number}
18927
+ */
18928
+ proto.game.CheckVendorsTechnicalResponse.prototype.getTotal = function() {
18929
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
18930
+ };
18931
+
18932
+
18933
+ /**
18934
+ * @param {number} value
18935
+ * @return {!proto.game.CheckVendorsTechnicalResponse} returns this
18936
+ */
18937
+ proto.game.CheckVendorsTechnicalResponse.prototype.setTotal = function(value) {
18938
+ return jspb.Message.setProto3IntField(this, 2, value);
18939
+ };
18940
+
18941
+
18942
+ /**
18943
+ * repeated VendorTechnicalCheckItem items = 3;
18944
+ * @return {!Array<!proto.game.VendorTechnicalCheckItem>}
18945
+ */
18946
+ proto.game.CheckVendorsTechnicalResponse.prototype.getItemsList = function() {
18947
+ return /** @type{!Array<!proto.game.VendorTechnicalCheckItem>} */ (
18948
+ jspb.Message.getRepeatedWrapperField(this, proto.game.VendorTechnicalCheckItem, 3));
18949
+ };
18950
+
18951
+
18952
+ /**
18953
+ * @param {!Array<!proto.game.VendorTechnicalCheckItem>} value
18954
+ * @return {!proto.game.CheckVendorsTechnicalResponse} returns this
18955
+ */
18956
+ proto.game.CheckVendorsTechnicalResponse.prototype.setItemsList = function(value) {
18957
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
18958
+ };
18959
+
18960
+
18961
+ /**
18962
+ * @param {!proto.game.VendorTechnicalCheckItem=} opt_value
18963
+ * @param {number=} opt_index
18964
+ * @return {!proto.game.VendorTechnicalCheckItem}
18965
+ */
18966
+ proto.game.CheckVendorsTechnicalResponse.prototype.addItems = function(opt_value, opt_index) {
18967
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.game.VendorTechnicalCheckItem, opt_index);
18968
+ };
18969
+
18970
+
18971
+ /**
18972
+ * Clears the list making it empty but non-null.
18973
+ * @return {!proto.game.CheckVendorsTechnicalResponse} returns this
18974
+ */
18975
+ proto.game.CheckVendorsTechnicalResponse.prototype.clearItemsList = function() {
18976
+ return this.setItemsList([]);
18977
+ };
18978
+
18979
+
18980
+
18981
+
18982
+
18251
18983
  if (jspb.Message.GENERATE_TO_OBJECT) {
18252
18984
  /**
18253
18985
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.374",
3
+ "version": "1.2.375",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {