protobuf-platform 1.2.604 → 1.2.605

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.
@@ -38,6 +38,9 @@ service Notification {
38
38
  rpc readAllUserNotifications(ReadAllUserNotificationsRequest) returns (UserNotificationsCountResponse);
39
39
  rpc deleteAllUserNotifications(DeleteAllUserNotificationsRequest) returns (NotificationStatusResponse);
40
40
  rpc deleteUserNotificationById(DeleteUserNotificationByIdRequest) returns (NotificationStatusResponse);
41
+ // === Gamixter (internal) ===
42
+ rpc fireGamixterTrigger(FireGamixterTriggerRequest) returns (NotificationStatusResponse);
43
+ rpc processGamixterBonusAwardedWebhook(ProcessGamixterBonusAwardedWebhookRequest) returns (NotificationStatusResponse);
41
44
  }
42
45
 
43
46
  message PingRequest { string ping = 1; }
@@ -313,3 +316,18 @@ message MailTemplateTranslationResponse {
313
316
  optional int32 is_active = 3;
314
317
  optional string locale = 4;
315
318
  }
319
+
320
+ /* ===== Gamixter (internal) ===== */
321
+
322
+ message FireGamixterTriggerRequest {
323
+ string user_public_id = 1;
324
+ int32 trigger_id = 2;
325
+ }
326
+
327
+ message ProcessGamixterBonusAwardedWebhookRequest {
328
+ // Internal webhook processing only; not for public client APIs.
329
+ string raw_body = 1;
330
+ string x_request_sign = 2;
331
+ optional string x_signature = 3;
332
+ optional string correlation_id = 4;
333
+ }
@@ -48,6 +48,17 @@ function deserialize_notification_File(buffer_arg) {
48
48
  return notification_pb.File.deserializeBinary(new Uint8Array(buffer_arg));
49
49
  }
50
50
 
51
+ function serialize_notification_FireGamixterTriggerRequest(arg) {
52
+ if (!(arg instanceof notification_pb.FireGamixterTriggerRequest)) {
53
+ throw new Error('Expected argument of type notification.FireGamixterTriggerRequest');
54
+ }
55
+ return Buffer.from(arg.serializeBinary());
56
+ }
57
+
58
+ function deserialize_notification_FireGamixterTriggerRequest(buffer_arg) {
59
+ return notification_pb.FireGamixterTriggerRequest.deserializeBinary(new Uint8Array(buffer_arg));
60
+ }
61
+
51
62
  function serialize_notification_GetFileRequest(arg) {
52
63
  if (!(arg instanceof notification_pb.GetFileRequest)) {
53
64
  throw new Error('Expected argument of type notification.GetFileRequest');
@@ -323,6 +334,17 @@ function deserialize_notification_PongResponse(buffer_arg) {
323
334
  return notification_pb.PongResponse.deserializeBinary(new Uint8Array(buffer_arg));
324
335
  }
325
336
 
337
+ function serialize_notification_ProcessGamixterBonusAwardedWebhookRequest(arg) {
338
+ if (!(arg instanceof notification_pb.ProcessGamixterBonusAwardedWebhookRequest)) {
339
+ throw new Error('Expected argument of type notification.ProcessGamixterBonusAwardedWebhookRequest');
340
+ }
341
+ return Buffer.from(arg.serializeBinary());
342
+ }
343
+
344
+ function deserialize_notification_ProcessGamixterBonusAwardedWebhookRequest(buffer_arg) {
345
+ return notification_pb.ProcessGamixterBonusAwardedWebhookRequest.deserializeBinary(new Uint8Array(buffer_arg));
346
+ }
347
+
326
348
  function serialize_notification_ReadAllUserNotificationsRequest(arg) {
327
349
  if (!(arg instanceof notification_pb.ReadAllUserNotificationsRequest)) {
328
350
  throw new Error('Expected argument of type notification.ReadAllUserNotificationsRequest');
@@ -746,6 +768,29 @@ sendNotificationToUsers: {
746
768
  responseSerialize: serialize_notification_NotificationStatusResponse,
747
769
  responseDeserialize: deserialize_notification_NotificationStatusResponse,
748
770
  },
771
+ // === Gamixter (internal) ===
772
+ fireGamixterTrigger: {
773
+ path: '/notification.Notification/fireGamixterTrigger',
774
+ requestStream: false,
775
+ responseStream: false,
776
+ requestType: notification_pb.FireGamixterTriggerRequest,
777
+ responseType: notification_pb.NotificationStatusResponse,
778
+ requestSerialize: serialize_notification_FireGamixterTriggerRequest,
779
+ requestDeserialize: deserialize_notification_FireGamixterTriggerRequest,
780
+ responseSerialize: serialize_notification_NotificationStatusResponse,
781
+ responseDeserialize: deserialize_notification_NotificationStatusResponse,
782
+ },
783
+ processGamixterBonusAwardedWebhook: {
784
+ path: '/notification.Notification/processGamixterBonusAwardedWebhook',
785
+ requestStream: false,
786
+ responseStream: false,
787
+ requestType: notification_pb.ProcessGamixterBonusAwardedWebhookRequest,
788
+ responseType: notification_pb.NotificationStatusResponse,
789
+ requestSerialize: serialize_notification_ProcessGamixterBonusAwardedWebhookRequest,
790
+ requestDeserialize: deserialize_notification_ProcessGamixterBonusAwardedWebhookRequest,
791
+ responseSerialize: serialize_notification_NotificationStatusResponse,
792
+ responseDeserialize: deserialize_notification_NotificationStatusResponse,
793
+ },
749
794
  };
750
795
 
751
796
  exports.NotificationClient = grpc.makeGenericClientConstructor(NotificationService, 'Notification');
@@ -25,6 +25,7 @@ goog.exportSymbol('proto.notification.DeleteAllUserNotificationsRequest', null,
25
25
  goog.exportSymbol('proto.notification.DeleteUserNotificationByIdRequest', null, global);
26
26
  goog.exportSymbol('proto.notification.DispatchManualNotificationRequest', null, global);
27
27
  goog.exportSymbol('proto.notification.File', null, global);
28
+ goog.exportSymbol('proto.notification.FireGamixterTriggerRequest', null, global);
28
29
  goog.exportSymbol('proto.notification.GetFileRequest', null, global);
29
30
  goog.exportSymbol('proto.notification.GetMailTemplateRequest', null, global);
30
31
  goog.exportSymbol('proto.notification.GetMailTemplateTranslationRequest', null, global);
@@ -59,6 +60,7 @@ goog.exportSymbol('proto.notification.NotificationTranslationResponse', null, gl
59
60
  goog.exportSymbol('proto.notification.PaginationRequest', null, global);
60
61
  goog.exportSymbol('proto.notification.PingRequest', null, global);
61
62
  goog.exportSymbol('proto.notification.PongResponse', null, global);
63
+ goog.exportSymbol('proto.notification.ProcessGamixterBonusAwardedWebhookRequest', null, global);
62
64
  goog.exportSymbol('proto.notification.ReadAllUserNotificationsRequest', null, global);
63
65
  goog.exportSymbol('proto.notification.SendNotificationRequest', null, global);
64
66
  goog.exportSymbol('proto.notification.SendSmsRequest', null, global);
@@ -991,6 +993,48 @@ if (goog.DEBUG && !COMPILED) {
991
993
  */
992
994
  proto.notification.MailTemplateTranslationResponse.displayName = 'proto.notification.MailTemplateTranslationResponse';
993
995
  }
996
+ /**
997
+ * Generated by JsPbCodeGenerator.
998
+ * @param {Array=} opt_data Optional initial data array, typically from a
999
+ * server response, or constructed directly in Javascript. The array is used
1000
+ * in place and becomes part of the constructed object. It is not cloned.
1001
+ * If no data is provided, the constructed object will be empty, but still
1002
+ * valid.
1003
+ * @extends {jspb.Message}
1004
+ * @constructor
1005
+ */
1006
+ proto.notification.FireGamixterTriggerRequest = function(opt_data) {
1007
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1008
+ };
1009
+ goog.inherits(proto.notification.FireGamixterTriggerRequest, jspb.Message);
1010
+ if (goog.DEBUG && !COMPILED) {
1011
+ /**
1012
+ * @public
1013
+ * @override
1014
+ */
1015
+ proto.notification.FireGamixterTriggerRequest.displayName = 'proto.notification.FireGamixterTriggerRequest';
1016
+ }
1017
+ /**
1018
+ * Generated by JsPbCodeGenerator.
1019
+ * @param {Array=} opt_data Optional initial data array, typically from a
1020
+ * server response, or constructed directly in Javascript. The array is used
1021
+ * in place and becomes part of the constructed object. It is not cloned.
1022
+ * If no data is provided, the constructed object will be empty, but still
1023
+ * valid.
1024
+ * @extends {jspb.Message}
1025
+ * @constructor
1026
+ */
1027
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest = function(opt_data) {
1028
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1029
+ };
1030
+ goog.inherits(proto.notification.ProcessGamixterBonusAwardedWebhookRequest, jspb.Message);
1031
+ if (goog.DEBUG && !COMPILED) {
1032
+ /**
1033
+ * @public
1034
+ * @override
1035
+ */
1036
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.displayName = 'proto.notification.ProcessGamixterBonusAwardedWebhookRequest';
1037
+ }
994
1038
 
995
1039
 
996
1040
 
@@ -13275,4 +13319,420 @@ proto.notification.MailTemplateTranslationResponse.prototype.hasLocale = functio
13275
13319
  };
13276
13320
 
13277
13321
 
13322
+
13323
+
13324
+
13325
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13326
+ /**
13327
+ * Creates an object representation of this proto.
13328
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13329
+ * Optional fields that are not set will be set to undefined.
13330
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13331
+ * For the list of reserved names please see:
13332
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13333
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13334
+ * JSPB instance for transitional soy proto support:
13335
+ * http://goto/soy-param-migration
13336
+ * @return {!Object}
13337
+ */
13338
+ proto.notification.FireGamixterTriggerRequest.prototype.toObject = function(opt_includeInstance) {
13339
+ return proto.notification.FireGamixterTriggerRequest.toObject(opt_includeInstance, this);
13340
+ };
13341
+
13342
+
13343
+ /**
13344
+ * Static version of the {@see toObject} method.
13345
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13346
+ * the JSPB instance for transitional soy proto support:
13347
+ * http://goto/soy-param-migration
13348
+ * @param {!proto.notification.FireGamixterTriggerRequest} msg The msg instance to transform.
13349
+ * @return {!Object}
13350
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13351
+ */
13352
+ proto.notification.FireGamixterTriggerRequest.toObject = function(includeInstance, msg) {
13353
+ var f, obj = {
13354
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 1, ""),
13355
+ triggerId: jspb.Message.getFieldWithDefault(msg, 2, 0)
13356
+ };
13357
+
13358
+ if (includeInstance) {
13359
+ obj.$jspbMessageInstance = msg;
13360
+ }
13361
+ return obj;
13362
+ };
13363
+ }
13364
+
13365
+
13366
+ /**
13367
+ * Deserializes binary data (in protobuf wire format).
13368
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13369
+ * @return {!proto.notification.FireGamixterTriggerRequest}
13370
+ */
13371
+ proto.notification.FireGamixterTriggerRequest.deserializeBinary = function(bytes) {
13372
+ var reader = new jspb.BinaryReader(bytes);
13373
+ var msg = new proto.notification.FireGamixterTriggerRequest;
13374
+ return proto.notification.FireGamixterTriggerRequest.deserializeBinaryFromReader(msg, reader);
13375
+ };
13376
+
13377
+
13378
+ /**
13379
+ * Deserializes binary data (in protobuf wire format) from the
13380
+ * given reader into the given message object.
13381
+ * @param {!proto.notification.FireGamixterTriggerRequest} msg The message object to deserialize into.
13382
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13383
+ * @return {!proto.notification.FireGamixterTriggerRequest}
13384
+ */
13385
+ proto.notification.FireGamixterTriggerRequest.deserializeBinaryFromReader = function(msg, reader) {
13386
+ while (reader.nextField()) {
13387
+ if (reader.isEndGroup()) {
13388
+ break;
13389
+ }
13390
+ var field = reader.getFieldNumber();
13391
+ switch (field) {
13392
+ case 1:
13393
+ var value = /** @type {string} */ (reader.readString());
13394
+ msg.setUserPublicId(value);
13395
+ break;
13396
+ case 2:
13397
+ var value = /** @type {number} */ (reader.readInt32());
13398
+ msg.setTriggerId(value);
13399
+ break;
13400
+ default:
13401
+ reader.skipField();
13402
+ break;
13403
+ }
13404
+ }
13405
+ return msg;
13406
+ };
13407
+
13408
+
13409
+ /**
13410
+ * Serializes the message to binary data (in protobuf wire format).
13411
+ * @return {!Uint8Array}
13412
+ */
13413
+ proto.notification.FireGamixterTriggerRequest.prototype.serializeBinary = function() {
13414
+ var writer = new jspb.BinaryWriter();
13415
+ proto.notification.FireGamixterTriggerRequest.serializeBinaryToWriter(this, writer);
13416
+ return writer.getResultBuffer();
13417
+ };
13418
+
13419
+
13420
+ /**
13421
+ * Serializes the given message to binary data (in protobuf wire
13422
+ * format), writing to the given BinaryWriter.
13423
+ * @param {!proto.notification.FireGamixterTriggerRequest} message
13424
+ * @param {!jspb.BinaryWriter} writer
13425
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13426
+ */
13427
+ proto.notification.FireGamixterTriggerRequest.serializeBinaryToWriter = function(message, writer) {
13428
+ var f = undefined;
13429
+ f = message.getUserPublicId();
13430
+ if (f.length > 0) {
13431
+ writer.writeString(
13432
+ 1,
13433
+ f
13434
+ );
13435
+ }
13436
+ f = message.getTriggerId();
13437
+ if (f !== 0) {
13438
+ writer.writeInt32(
13439
+ 2,
13440
+ f
13441
+ );
13442
+ }
13443
+ };
13444
+
13445
+
13446
+ /**
13447
+ * optional string user_public_id = 1;
13448
+ * @return {string}
13449
+ */
13450
+ proto.notification.FireGamixterTriggerRequest.prototype.getUserPublicId = function() {
13451
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13452
+ };
13453
+
13454
+
13455
+ /**
13456
+ * @param {string} value
13457
+ * @return {!proto.notification.FireGamixterTriggerRequest} returns this
13458
+ */
13459
+ proto.notification.FireGamixterTriggerRequest.prototype.setUserPublicId = function(value) {
13460
+ return jspb.Message.setProto3StringField(this, 1, value);
13461
+ };
13462
+
13463
+
13464
+ /**
13465
+ * optional int32 trigger_id = 2;
13466
+ * @return {number}
13467
+ */
13468
+ proto.notification.FireGamixterTriggerRequest.prototype.getTriggerId = function() {
13469
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
13470
+ };
13471
+
13472
+
13473
+ /**
13474
+ * @param {number} value
13475
+ * @return {!proto.notification.FireGamixterTriggerRequest} returns this
13476
+ */
13477
+ proto.notification.FireGamixterTriggerRequest.prototype.setTriggerId = function(value) {
13478
+ return jspb.Message.setProto3IntField(this, 2, value);
13479
+ };
13480
+
13481
+
13482
+
13483
+
13484
+
13485
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13486
+ /**
13487
+ * Creates an object representation of this proto.
13488
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13489
+ * Optional fields that are not set will be set to undefined.
13490
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13491
+ * For the list of reserved names please see:
13492
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13493
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13494
+ * JSPB instance for transitional soy proto support:
13495
+ * http://goto/soy-param-migration
13496
+ * @return {!Object}
13497
+ */
13498
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.toObject = function(opt_includeInstance) {
13499
+ return proto.notification.ProcessGamixterBonusAwardedWebhookRequest.toObject(opt_includeInstance, this);
13500
+ };
13501
+
13502
+
13503
+ /**
13504
+ * Static version of the {@see toObject} method.
13505
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13506
+ * the JSPB instance for transitional soy proto support:
13507
+ * http://goto/soy-param-migration
13508
+ * @param {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} msg The msg instance to transform.
13509
+ * @return {!Object}
13510
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13511
+ */
13512
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.toObject = function(includeInstance, msg) {
13513
+ var f, obj = {
13514
+ rawBody: jspb.Message.getFieldWithDefault(msg, 1, ""),
13515
+ xRequestSign: jspb.Message.getFieldWithDefault(msg, 2, ""),
13516
+ xSignature: jspb.Message.getFieldWithDefault(msg, 3, ""),
13517
+ correlationId: jspb.Message.getFieldWithDefault(msg, 4, "")
13518
+ };
13519
+
13520
+ if (includeInstance) {
13521
+ obj.$jspbMessageInstance = msg;
13522
+ }
13523
+ return obj;
13524
+ };
13525
+ }
13526
+
13527
+
13528
+ /**
13529
+ * Deserializes binary data (in protobuf wire format).
13530
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13531
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest}
13532
+ */
13533
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.deserializeBinary = function(bytes) {
13534
+ var reader = new jspb.BinaryReader(bytes);
13535
+ var msg = new proto.notification.ProcessGamixterBonusAwardedWebhookRequest;
13536
+ return proto.notification.ProcessGamixterBonusAwardedWebhookRequest.deserializeBinaryFromReader(msg, reader);
13537
+ };
13538
+
13539
+
13540
+ /**
13541
+ * Deserializes binary data (in protobuf wire format) from the
13542
+ * given reader into the given message object.
13543
+ * @param {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} msg The message object to deserialize into.
13544
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13545
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest}
13546
+ */
13547
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.deserializeBinaryFromReader = function(msg, reader) {
13548
+ while (reader.nextField()) {
13549
+ if (reader.isEndGroup()) {
13550
+ break;
13551
+ }
13552
+ var field = reader.getFieldNumber();
13553
+ switch (field) {
13554
+ case 1:
13555
+ var value = /** @type {string} */ (reader.readString());
13556
+ msg.setRawBody(value);
13557
+ break;
13558
+ case 2:
13559
+ var value = /** @type {string} */ (reader.readString());
13560
+ msg.setXRequestSign(value);
13561
+ break;
13562
+ case 3:
13563
+ var value = /** @type {string} */ (reader.readString());
13564
+ msg.setXSignature(value);
13565
+ break;
13566
+ case 4:
13567
+ var value = /** @type {string} */ (reader.readString());
13568
+ msg.setCorrelationId(value);
13569
+ break;
13570
+ default:
13571
+ reader.skipField();
13572
+ break;
13573
+ }
13574
+ }
13575
+ return msg;
13576
+ };
13577
+
13578
+
13579
+ /**
13580
+ * Serializes the message to binary data (in protobuf wire format).
13581
+ * @return {!Uint8Array}
13582
+ */
13583
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.serializeBinary = function() {
13584
+ var writer = new jspb.BinaryWriter();
13585
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.serializeBinaryToWriter(this, writer);
13586
+ return writer.getResultBuffer();
13587
+ };
13588
+
13589
+
13590
+ /**
13591
+ * Serializes the given message to binary data (in protobuf wire
13592
+ * format), writing to the given BinaryWriter.
13593
+ * @param {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} message
13594
+ * @param {!jspb.BinaryWriter} writer
13595
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13596
+ */
13597
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.serializeBinaryToWriter = function(message, writer) {
13598
+ var f = undefined;
13599
+ f = message.getRawBody();
13600
+ if (f.length > 0) {
13601
+ writer.writeString(
13602
+ 1,
13603
+ f
13604
+ );
13605
+ }
13606
+ f = message.getXRequestSign();
13607
+ if (f.length > 0) {
13608
+ writer.writeString(
13609
+ 2,
13610
+ f
13611
+ );
13612
+ }
13613
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
13614
+ if (f != null) {
13615
+ writer.writeString(
13616
+ 3,
13617
+ f
13618
+ );
13619
+ }
13620
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
13621
+ if (f != null) {
13622
+ writer.writeString(
13623
+ 4,
13624
+ f
13625
+ );
13626
+ }
13627
+ };
13628
+
13629
+
13630
+ /**
13631
+ * optional string raw_body = 1;
13632
+ * @return {string}
13633
+ */
13634
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.getRawBody = function() {
13635
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13636
+ };
13637
+
13638
+
13639
+ /**
13640
+ * @param {string} value
13641
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} returns this
13642
+ */
13643
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.setRawBody = function(value) {
13644
+ return jspb.Message.setProto3StringField(this, 1, value);
13645
+ };
13646
+
13647
+
13648
+ /**
13649
+ * optional string x_request_sign = 2;
13650
+ * @return {string}
13651
+ */
13652
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.getXRequestSign = function() {
13653
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
13654
+ };
13655
+
13656
+
13657
+ /**
13658
+ * @param {string} value
13659
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} returns this
13660
+ */
13661
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.setXRequestSign = function(value) {
13662
+ return jspb.Message.setProto3StringField(this, 2, value);
13663
+ };
13664
+
13665
+
13666
+ /**
13667
+ * optional string x_signature = 3;
13668
+ * @return {string}
13669
+ */
13670
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.getXSignature = function() {
13671
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
13672
+ };
13673
+
13674
+
13675
+ /**
13676
+ * @param {string} value
13677
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} returns this
13678
+ */
13679
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.setXSignature = function(value) {
13680
+ return jspb.Message.setField(this, 3, value);
13681
+ };
13682
+
13683
+
13684
+ /**
13685
+ * Clears the field making it undefined.
13686
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} returns this
13687
+ */
13688
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.clearXSignature = function() {
13689
+ return jspb.Message.setField(this, 3, undefined);
13690
+ };
13691
+
13692
+
13693
+ /**
13694
+ * Returns whether this field is set.
13695
+ * @return {boolean}
13696
+ */
13697
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.hasXSignature = function() {
13698
+ return jspb.Message.getField(this, 3) != null;
13699
+ };
13700
+
13701
+
13702
+ /**
13703
+ * optional string correlation_id = 4;
13704
+ * @return {string}
13705
+ */
13706
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.getCorrelationId = function() {
13707
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
13708
+ };
13709
+
13710
+
13711
+ /**
13712
+ * @param {string} value
13713
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} returns this
13714
+ */
13715
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.setCorrelationId = function(value) {
13716
+ return jspb.Message.setField(this, 4, value);
13717
+ };
13718
+
13719
+
13720
+ /**
13721
+ * Clears the field making it undefined.
13722
+ * @return {!proto.notification.ProcessGamixterBonusAwardedWebhookRequest} returns this
13723
+ */
13724
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.clearCorrelationId = function() {
13725
+ return jspb.Message.setField(this, 4, undefined);
13726
+ };
13727
+
13728
+
13729
+ /**
13730
+ * Returns whether this field is set.
13731
+ * @return {boolean}
13732
+ */
13733
+ proto.notification.ProcessGamixterBonusAwardedWebhookRequest.prototype.hasCorrelationId = function() {
13734
+ return jspb.Message.getField(this, 4) != null;
13735
+ };
13736
+
13737
+
13278
13738
  goog.object.extend(exports, proto.notification);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.604",
3
+ "version": "1.2.605",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {