@sniipwebmaster/realtime-message-client-grpcweb 26.2.760 → 26.3.782

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.
@@ -49,6 +49,7 @@ goog.exportSymbol('proto.realtimemessageapi.ImportItemSuccessEvent', null, globa
49
49
  goog.exportSymbol('proto.realtimemessageapi.PayToPaymentMethodUpdated', null, global);
50
50
  goog.exportSymbol('proto.realtimemessageapi.PendingUploadDeliveryUpdate', null, global);
51
51
  goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
52
+ goog.exportSymbol('proto.realtimemessageapi.PushNotificationReceived', null, global);
52
53
  goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
53
54
  goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
54
55
  goog.exportSymbol('proto.realtimemessageapi.TransactionFailed', null, global);
@@ -726,6 +727,27 @@ if (goog.DEBUG && !COMPILED) {
726
727
  */
727
728
  proto.realtimemessageapi.PayToPaymentMethodUpdated.displayName = 'proto.realtimemessageapi.PayToPaymentMethodUpdated';
728
729
  }
730
+ /**
731
+ * Generated by JsPbCodeGenerator.
732
+ * @param {Array=} opt_data Optional initial data array, typically from a
733
+ * server response, or constructed directly in Javascript. The array is used
734
+ * in place and becomes part of the constructed object. It is not cloned.
735
+ * If no data is provided, the constructed object will be empty, but still
736
+ * valid.
737
+ * @extends {jspb.Message}
738
+ * @constructor
739
+ */
740
+ proto.realtimemessageapi.PushNotificationReceived = function(opt_data) {
741
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
742
+ };
743
+ goog.inherits(proto.realtimemessageapi.PushNotificationReceived, jspb.Message);
744
+ if (goog.DEBUG && !COMPILED) {
745
+ /**
746
+ * @public
747
+ * @override
748
+ */
749
+ proto.realtimemessageapi.PushNotificationReceived.displayName = 'proto.realtimemessageapi.PushNotificationReceived';
750
+ }
729
751
 
730
752
 
731
753
 
@@ -7920,6 +7942,229 @@ proto.realtimemessageapi.PayToPaymentMethodUpdated.prototype.setMaxamount = func
7920
7942
  };
7921
7943
 
7922
7944
 
7945
+
7946
+
7947
+
7948
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7949
+ /**
7950
+ * Creates an object representation of this proto.
7951
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7952
+ * Optional fields that are not set will be set to undefined.
7953
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7954
+ * For the list of reserved names please see:
7955
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7956
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7957
+ * JSPB instance for transitional soy proto support:
7958
+ * http://goto/soy-param-migration
7959
+ * @return {!Object}
7960
+ */
7961
+ proto.realtimemessageapi.PushNotificationReceived.prototype.toObject = function(opt_includeInstance) {
7962
+ return proto.realtimemessageapi.PushNotificationReceived.toObject(opt_includeInstance, this);
7963
+ };
7964
+
7965
+
7966
+ /**
7967
+ * Static version of the {@see toObject} method.
7968
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7969
+ * the JSPB instance for transitional soy proto support:
7970
+ * http://goto/soy-param-migration
7971
+ * @param {!proto.realtimemessageapi.PushNotificationReceived} msg The msg instance to transform.
7972
+ * @return {!Object}
7973
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7974
+ */
7975
+ proto.realtimemessageapi.PushNotificationReceived.toObject = function(includeInstance, msg) {
7976
+ var f, obj = {
7977
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
7978
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
7979
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
7980
+ dataMap: (f = msg.getDataMap()) ? f.toObject(includeInstance, undefined) : []
7981
+ };
7982
+
7983
+ if (includeInstance) {
7984
+ obj.$jspbMessageInstance = msg;
7985
+ }
7986
+ return obj;
7987
+ };
7988
+ }
7989
+
7990
+
7991
+ /**
7992
+ * Deserializes binary data (in protobuf wire format).
7993
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7994
+ * @return {!proto.realtimemessageapi.PushNotificationReceived}
7995
+ */
7996
+ proto.realtimemessageapi.PushNotificationReceived.deserializeBinary = function(bytes) {
7997
+ var reader = new jspb.BinaryReader(bytes);
7998
+ var msg = new proto.realtimemessageapi.PushNotificationReceived;
7999
+ return proto.realtimemessageapi.PushNotificationReceived.deserializeBinaryFromReader(msg, reader);
8000
+ };
8001
+
8002
+
8003
+ /**
8004
+ * Deserializes binary data (in protobuf wire format) from the
8005
+ * given reader into the given message object.
8006
+ * @param {!proto.realtimemessageapi.PushNotificationReceived} msg The message object to deserialize into.
8007
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8008
+ * @return {!proto.realtimemessageapi.PushNotificationReceived}
8009
+ */
8010
+ proto.realtimemessageapi.PushNotificationReceived.deserializeBinaryFromReader = function(msg, reader) {
8011
+ while (reader.nextField()) {
8012
+ if (reader.isEndGroup()) {
8013
+ break;
8014
+ }
8015
+ var field = reader.getFieldNumber();
8016
+ switch (field) {
8017
+ case 1:
8018
+ var value = /** @type {number} */ (reader.readInt64());
8019
+ msg.setUserid(value);
8020
+ break;
8021
+ case 2:
8022
+ var value = /** @type {string} */ (reader.readString());
8023
+ msg.setTitle(value);
8024
+ break;
8025
+ case 3:
8026
+ var value = /** @type {string} */ (reader.readString());
8027
+ msg.setMessage(value);
8028
+ break;
8029
+ case 4:
8030
+ var value = msg.getDataMap();
8031
+ reader.readMessage(value, function(message, reader) {
8032
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
8033
+ });
8034
+ break;
8035
+ default:
8036
+ reader.skipField();
8037
+ break;
8038
+ }
8039
+ }
8040
+ return msg;
8041
+ };
8042
+
8043
+
8044
+ /**
8045
+ * Serializes the message to binary data (in protobuf wire format).
8046
+ * @return {!Uint8Array}
8047
+ */
8048
+ proto.realtimemessageapi.PushNotificationReceived.prototype.serializeBinary = function() {
8049
+ var writer = new jspb.BinaryWriter();
8050
+ proto.realtimemessageapi.PushNotificationReceived.serializeBinaryToWriter(this, writer);
8051
+ return writer.getResultBuffer();
8052
+ };
8053
+
8054
+
8055
+ /**
8056
+ * Serializes the given message to binary data (in protobuf wire
8057
+ * format), writing to the given BinaryWriter.
8058
+ * @param {!proto.realtimemessageapi.PushNotificationReceived} message
8059
+ * @param {!jspb.BinaryWriter} writer
8060
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8061
+ */
8062
+ proto.realtimemessageapi.PushNotificationReceived.serializeBinaryToWriter = function(message, writer) {
8063
+ var f = undefined;
8064
+ f = message.getUserid();
8065
+ if (f !== 0) {
8066
+ writer.writeInt64(
8067
+ 1,
8068
+ f
8069
+ );
8070
+ }
8071
+ f = message.getTitle();
8072
+ if (f.length > 0) {
8073
+ writer.writeString(
8074
+ 2,
8075
+ f
8076
+ );
8077
+ }
8078
+ f = message.getMessage();
8079
+ if (f.length > 0) {
8080
+ writer.writeString(
8081
+ 3,
8082
+ f
8083
+ );
8084
+ }
8085
+ f = message.getDataMap(true);
8086
+ if (f && f.getLength() > 0) {
8087
+ f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
8088
+ }
8089
+ };
8090
+
8091
+
8092
+ /**
8093
+ * optional int64 userId = 1;
8094
+ * @return {number}
8095
+ */
8096
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getUserid = function() {
8097
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
8098
+ };
8099
+
8100
+
8101
+ /**
8102
+ * @param {number} value
8103
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8104
+ */
8105
+ proto.realtimemessageapi.PushNotificationReceived.prototype.setUserid = function(value) {
8106
+ return jspb.Message.setProto3IntField(this, 1, value);
8107
+ };
8108
+
8109
+
8110
+ /**
8111
+ * optional string title = 2;
8112
+ * @return {string}
8113
+ */
8114
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getTitle = function() {
8115
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8116
+ };
8117
+
8118
+
8119
+ /**
8120
+ * @param {string} value
8121
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8122
+ */
8123
+ proto.realtimemessageapi.PushNotificationReceived.prototype.setTitle = function(value) {
8124
+ return jspb.Message.setProto3StringField(this, 2, value);
8125
+ };
8126
+
8127
+
8128
+ /**
8129
+ * optional string message = 3;
8130
+ * @return {string}
8131
+ */
8132
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getMessage = function() {
8133
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8134
+ };
8135
+
8136
+
8137
+ /**
8138
+ * @param {string} value
8139
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8140
+ */
8141
+ proto.realtimemessageapi.PushNotificationReceived.prototype.setMessage = function(value) {
8142
+ return jspb.Message.setProto3StringField(this, 3, value);
8143
+ };
8144
+
8145
+
8146
+ /**
8147
+ * map<string, string> data = 4;
8148
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
8149
+ * empty, instead returning `undefined`
8150
+ * @return {!jspb.Map<string,string>}
8151
+ */
8152
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getDataMap = function(opt_noLazyCreate) {
8153
+ return /** @type {!jspb.Map<string,string>} */ (
8154
+ jspb.Message.getMapField(this, 4, opt_noLazyCreate,
8155
+ null));
8156
+ };
8157
+
8158
+
8159
+ /**
8160
+ * Clears values from the map. The map will be non-null.
8161
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8162
+ */
8163
+ proto.realtimemessageapi.PushNotificationReceived.prototype.clearDataMap = function() {
8164
+ this.getDataMap().clear();
8165
+ return this;};
8166
+
8167
+
7923
8168
  /**
7924
8169
  * @enum {number}
7925
8170
  */
@@ -7945,7 +8190,8 @@ proto.realtimemessageapi.EventType = {
7945
8190
  ABA_FILE_REJECTED_EVENT: 18,
7946
8191
  ABA_FILE_PAID_EVENT: 19,
7947
8192
  ABA_FILE_SENT_EVENT: 20,
7948
- PAYTO_PAYMENT_METHOD_UPDATED: 21
8193
+ PAYTO_PAYMENT_METHOD_UPDATED: 21,
8194
+ PUSH_NOTIFICATION_RECEIVED: 22
7949
8195
  };
7950
8196
 
7951
8197
  goog.object.extend(exports, proto.realtimemessageapi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/realtime-message-client-grpcweb",
3
- "version": "26.2.760",
3
+ "version": "26.3.782",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",