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

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.
@@ -46,9 +46,11 @@ goog.exportSymbol('proto.realtimemessageapi.GetBannersData', null, global);
46
46
  goog.exportSymbol('proto.realtimemessageapi.GetBannersRequest', null, global);
47
47
  goog.exportSymbol('proto.realtimemessageapi.ImportItemFailureEvent', null, global);
48
48
  goog.exportSymbol('proto.realtimemessageapi.ImportItemSuccessEvent', null, global);
49
+ goog.exportSymbol('proto.realtimemessageapi.KycVerificationCompletedEvent', null, global);
49
50
  goog.exportSymbol('proto.realtimemessageapi.PayToPaymentMethodUpdated', null, global);
50
51
  goog.exportSymbol('proto.realtimemessageapi.PendingUploadDeliveryUpdate', null, global);
51
52
  goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
53
+ goog.exportSymbol('proto.realtimemessageapi.PushNotificationReceived', null, global);
52
54
  goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
53
55
  goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
54
56
  goog.exportSymbol('proto.realtimemessageapi.TransactionFailed', null, global);
@@ -726,6 +728,48 @@ if (goog.DEBUG && !COMPILED) {
726
728
  */
727
729
  proto.realtimemessageapi.PayToPaymentMethodUpdated.displayName = 'proto.realtimemessageapi.PayToPaymentMethodUpdated';
728
730
  }
731
+ /**
732
+ * Generated by JsPbCodeGenerator.
733
+ * @param {Array=} opt_data Optional initial data array, typically from a
734
+ * server response, or constructed directly in Javascript. The array is used
735
+ * in place and becomes part of the constructed object. It is not cloned.
736
+ * If no data is provided, the constructed object will be empty, but still
737
+ * valid.
738
+ * @extends {jspb.Message}
739
+ * @constructor
740
+ */
741
+ proto.realtimemessageapi.PushNotificationReceived = function(opt_data) {
742
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
743
+ };
744
+ goog.inherits(proto.realtimemessageapi.PushNotificationReceived, jspb.Message);
745
+ if (goog.DEBUG && !COMPILED) {
746
+ /**
747
+ * @public
748
+ * @override
749
+ */
750
+ proto.realtimemessageapi.PushNotificationReceived.displayName = 'proto.realtimemessageapi.PushNotificationReceived';
751
+ }
752
+ /**
753
+ * Generated by JsPbCodeGenerator.
754
+ * @param {Array=} opt_data Optional initial data array, typically from a
755
+ * server response, or constructed directly in Javascript. The array is used
756
+ * in place and becomes part of the constructed object. It is not cloned.
757
+ * If no data is provided, the constructed object will be empty, but still
758
+ * valid.
759
+ * @extends {jspb.Message}
760
+ * @constructor
761
+ */
762
+ proto.realtimemessageapi.KycVerificationCompletedEvent = function(opt_data) {
763
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
764
+ };
765
+ goog.inherits(proto.realtimemessageapi.KycVerificationCompletedEvent, jspb.Message);
766
+ if (goog.DEBUG && !COMPILED) {
767
+ /**
768
+ * @public
769
+ * @override
770
+ */
771
+ proto.realtimemessageapi.KycVerificationCompletedEvent.displayName = 'proto.realtimemessageapi.KycVerificationCompletedEvent';
772
+ }
729
773
 
730
774
 
731
775
 
@@ -7920,6 +7964,389 @@ proto.realtimemessageapi.PayToPaymentMethodUpdated.prototype.setMaxamount = func
7920
7964
  };
7921
7965
 
7922
7966
 
7967
+
7968
+
7969
+
7970
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7971
+ /**
7972
+ * Creates an object representation of this proto.
7973
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7974
+ * Optional fields that are not set will be set to undefined.
7975
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7976
+ * For the list of reserved names please see:
7977
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7978
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7979
+ * JSPB instance for transitional soy proto support:
7980
+ * http://goto/soy-param-migration
7981
+ * @return {!Object}
7982
+ */
7983
+ proto.realtimemessageapi.PushNotificationReceived.prototype.toObject = function(opt_includeInstance) {
7984
+ return proto.realtimemessageapi.PushNotificationReceived.toObject(opt_includeInstance, this);
7985
+ };
7986
+
7987
+
7988
+ /**
7989
+ * Static version of the {@see toObject} method.
7990
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7991
+ * the JSPB instance for transitional soy proto support:
7992
+ * http://goto/soy-param-migration
7993
+ * @param {!proto.realtimemessageapi.PushNotificationReceived} msg The msg instance to transform.
7994
+ * @return {!Object}
7995
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7996
+ */
7997
+ proto.realtimemessageapi.PushNotificationReceived.toObject = function(includeInstance, msg) {
7998
+ var f, obj = {
7999
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
8000
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
8001
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
8002
+ dataMap: (f = msg.getDataMap()) ? f.toObject(includeInstance, undefined) : []
8003
+ };
8004
+
8005
+ if (includeInstance) {
8006
+ obj.$jspbMessageInstance = msg;
8007
+ }
8008
+ return obj;
8009
+ };
8010
+ }
8011
+
8012
+
8013
+ /**
8014
+ * Deserializes binary data (in protobuf wire format).
8015
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8016
+ * @return {!proto.realtimemessageapi.PushNotificationReceived}
8017
+ */
8018
+ proto.realtimemessageapi.PushNotificationReceived.deserializeBinary = function(bytes) {
8019
+ var reader = new jspb.BinaryReader(bytes);
8020
+ var msg = new proto.realtimemessageapi.PushNotificationReceived;
8021
+ return proto.realtimemessageapi.PushNotificationReceived.deserializeBinaryFromReader(msg, reader);
8022
+ };
8023
+
8024
+
8025
+ /**
8026
+ * Deserializes binary data (in protobuf wire format) from the
8027
+ * given reader into the given message object.
8028
+ * @param {!proto.realtimemessageapi.PushNotificationReceived} msg The message object to deserialize into.
8029
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8030
+ * @return {!proto.realtimemessageapi.PushNotificationReceived}
8031
+ */
8032
+ proto.realtimemessageapi.PushNotificationReceived.deserializeBinaryFromReader = function(msg, reader) {
8033
+ while (reader.nextField()) {
8034
+ if (reader.isEndGroup()) {
8035
+ break;
8036
+ }
8037
+ var field = reader.getFieldNumber();
8038
+ switch (field) {
8039
+ case 1:
8040
+ var value = /** @type {number} */ (reader.readInt64());
8041
+ msg.setUserid(value);
8042
+ break;
8043
+ case 2:
8044
+ var value = /** @type {string} */ (reader.readString());
8045
+ msg.setTitle(value);
8046
+ break;
8047
+ case 3:
8048
+ var value = /** @type {string} */ (reader.readString());
8049
+ msg.setMessage(value);
8050
+ break;
8051
+ case 4:
8052
+ var value = msg.getDataMap();
8053
+ reader.readMessage(value, function(message, reader) {
8054
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
8055
+ });
8056
+ break;
8057
+ default:
8058
+ reader.skipField();
8059
+ break;
8060
+ }
8061
+ }
8062
+ return msg;
8063
+ };
8064
+
8065
+
8066
+ /**
8067
+ * Serializes the message to binary data (in protobuf wire format).
8068
+ * @return {!Uint8Array}
8069
+ */
8070
+ proto.realtimemessageapi.PushNotificationReceived.prototype.serializeBinary = function() {
8071
+ var writer = new jspb.BinaryWriter();
8072
+ proto.realtimemessageapi.PushNotificationReceived.serializeBinaryToWriter(this, writer);
8073
+ return writer.getResultBuffer();
8074
+ };
8075
+
8076
+
8077
+ /**
8078
+ * Serializes the given message to binary data (in protobuf wire
8079
+ * format), writing to the given BinaryWriter.
8080
+ * @param {!proto.realtimemessageapi.PushNotificationReceived} message
8081
+ * @param {!jspb.BinaryWriter} writer
8082
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8083
+ */
8084
+ proto.realtimemessageapi.PushNotificationReceived.serializeBinaryToWriter = function(message, writer) {
8085
+ var f = undefined;
8086
+ f = message.getUserid();
8087
+ if (f !== 0) {
8088
+ writer.writeInt64(
8089
+ 1,
8090
+ f
8091
+ );
8092
+ }
8093
+ f = message.getTitle();
8094
+ if (f.length > 0) {
8095
+ writer.writeString(
8096
+ 2,
8097
+ f
8098
+ );
8099
+ }
8100
+ f = message.getMessage();
8101
+ if (f.length > 0) {
8102
+ writer.writeString(
8103
+ 3,
8104
+ f
8105
+ );
8106
+ }
8107
+ f = message.getDataMap(true);
8108
+ if (f && f.getLength() > 0) {
8109
+ f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
8110
+ }
8111
+ };
8112
+
8113
+
8114
+ /**
8115
+ * optional int64 userId = 1;
8116
+ * @return {number}
8117
+ */
8118
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getUserid = function() {
8119
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
8120
+ };
8121
+
8122
+
8123
+ /**
8124
+ * @param {number} value
8125
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8126
+ */
8127
+ proto.realtimemessageapi.PushNotificationReceived.prototype.setUserid = function(value) {
8128
+ return jspb.Message.setProto3IntField(this, 1, value);
8129
+ };
8130
+
8131
+
8132
+ /**
8133
+ * optional string title = 2;
8134
+ * @return {string}
8135
+ */
8136
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getTitle = function() {
8137
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8138
+ };
8139
+
8140
+
8141
+ /**
8142
+ * @param {string} value
8143
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8144
+ */
8145
+ proto.realtimemessageapi.PushNotificationReceived.prototype.setTitle = function(value) {
8146
+ return jspb.Message.setProto3StringField(this, 2, value);
8147
+ };
8148
+
8149
+
8150
+ /**
8151
+ * optional string message = 3;
8152
+ * @return {string}
8153
+ */
8154
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getMessage = function() {
8155
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8156
+ };
8157
+
8158
+
8159
+ /**
8160
+ * @param {string} value
8161
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8162
+ */
8163
+ proto.realtimemessageapi.PushNotificationReceived.prototype.setMessage = function(value) {
8164
+ return jspb.Message.setProto3StringField(this, 3, value);
8165
+ };
8166
+
8167
+
8168
+ /**
8169
+ * map<string, string> data = 4;
8170
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
8171
+ * empty, instead returning `undefined`
8172
+ * @return {!jspb.Map<string,string>}
8173
+ */
8174
+ proto.realtimemessageapi.PushNotificationReceived.prototype.getDataMap = function(opt_noLazyCreate) {
8175
+ return /** @type {!jspb.Map<string,string>} */ (
8176
+ jspb.Message.getMapField(this, 4, opt_noLazyCreate,
8177
+ null));
8178
+ };
8179
+
8180
+
8181
+ /**
8182
+ * Clears values from the map. The map will be non-null.
8183
+ * @return {!proto.realtimemessageapi.PushNotificationReceived} returns this
8184
+ */
8185
+ proto.realtimemessageapi.PushNotificationReceived.prototype.clearDataMap = function() {
8186
+ this.getDataMap().clear();
8187
+ return this;};
8188
+
8189
+
8190
+
8191
+
8192
+
8193
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8194
+ /**
8195
+ * Creates an object representation of this proto.
8196
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8197
+ * Optional fields that are not set will be set to undefined.
8198
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8199
+ * For the list of reserved names please see:
8200
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8201
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8202
+ * JSPB instance for transitional soy proto support:
8203
+ * http://goto/soy-param-migration
8204
+ * @return {!Object}
8205
+ */
8206
+ proto.realtimemessageapi.KycVerificationCompletedEvent.prototype.toObject = function(opt_includeInstance) {
8207
+ return proto.realtimemessageapi.KycVerificationCompletedEvent.toObject(opt_includeInstance, this);
8208
+ };
8209
+
8210
+
8211
+ /**
8212
+ * Static version of the {@see toObject} method.
8213
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8214
+ * the JSPB instance for transitional soy proto support:
8215
+ * http://goto/soy-param-migration
8216
+ * @param {!proto.realtimemessageapi.KycVerificationCompletedEvent} msg The msg instance to transform.
8217
+ * @return {!Object}
8218
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8219
+ */
8220
+ proto.realtimemessageapi.KycVerificationCompletedEvent.toObject = function(includeInstance, msg) {
8221
+ var f, obj = {
8222
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
8223
+ status: jspb.Message.getFieldWithDefault(msg, 2, "")
8224
+ };
8225
+
8226
+ if (includeInstance) {
8227
+ obj.$jspbMessageInstance = msg;
8228
+ }
8229
+ return obj;
8230
+ };
8231
+ }
8232
+
8233
+
8234
+ /**
8235
+ * Deserializes binary data (in protobuf wire format).
8236
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8237
+ * @return {!proto.realtimemessageapi.KycVerificationCompletedEvent}
8238
+ */
8239
+ proto.realtimemessageapi.KycVerificationCompletedEvent.deserializeBinary = function(bytes) {
8240
+ var reader = new jspb.BinaryReader(bytes);
8241
+ var msg = new proto.realtimemessageapi.KycVerificationCompletedEvent;
8242
+ return proto.realtimemessageapi.KycVerificationCompletedEvent.deserializeBinaryFromReader(msg, reader);
8243
+ };
8244
+
8245
+
8246
+ /**
8247
+ * Deserializes binary data (in protobuf wire format) from the
8248
+ * given reader into the given message object.
8249
+ * @param {!proto.realtimemessageapi.KycVerificationCompletedEvent} msg The message object to deserialize into.
8250
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8251
+ * @return {!proto.realtimemessageapi.KycVerificationCompletedEvent}
8252
+ */
8253
+ proto.realtimemessageapi.KycVerificationCompletedEvent.deserializeBinaryFromReader = function(msg, reader) {
8254
+ while (reader.nextField()) {
8255
+ if (reader.isEndGroup()) {
8256
+ break;
8257
+ }
8258
+ var field = reader.getFieldNumber();
8259
+ switch (field) {
8260
+ case 1:
8261
+ var value = /** @type {number} */ (reader.readInt64());
8262
+ msg.setUserid(value);
8263
+ break;
8264
+ case 2:
8265
+ var value = /** @type {string} */ (reader.readString());
8266
+ msg.setStatus(value);
8267
+ break;
8268
+ default:
8269
+ reader.skipField();
8270
+ break;
8271
+ }
8272
+ }
8273
+ return msg;
8274
+ };
8275
+
8276
+
8277
+ /**
8278
+ * Serializes the message to binary data (in protobuf wire format).
8279
+ * @return {!Uint8Array}
8280
+ */
8281
+ proto.realtimemessageapi.KycVerificationCompletedEvent.prototype.serializeBinary = function() {
8282
+ var writer = new jspb.BinaryWriter();
8283
+ proto.realtimemessageapi.KycVerificationCompletedEvent.serializeBinaryToWriter(this, writer);
8284
+ return writer.getResultBuffer();
8285
+ };
8286
+
8287
+
8288
+ /**
8289
+ * Serializes the given message to binary data (in protobuf wire
8290
+ * format), writing to the given BinaryWriter.
8291
+ * @param {!proto.realtimemessageapi.KycVerificationCompletedEvent} message
8292
+ * @param {!jspb.BinaryWriter} writer
8293
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8294
+ */
8295
+ proto.realtimemessageapi.KycVerificationCompletedEvent.serializeBinaryToWriter = function(message, writer) {
8296
+ var f = undefined;
8297
+ f = message.getUserid();
8298
+ if (f !== 0) {
8299
+ writer.writeInt64(
8300
+ 1,
8301
+ f
8302
+ );
8303
+ }
8304
+ f = message.getStatus();
8305
+ if (f.length > 0) {
8306
+ writer.writeString(
8307
+ 2,
8308
+ f
8309
+ );
8310
+ }
8311
+ };
8312
+
8313
+
8314
+ /**
8315
+ * optional int64 userId = 1;
8316
+ * @return {number}
8317
+ */
8318
+ proto.realtimemessageapi.KycVerificationCompletedEvent.prototype.getUserid = function() {
8319
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
8320
+ };
8321
+
8322
+
8323
+ /**
8324
+ * @param {number} value
8325
+ * @return {!proto.realtimemessageapi.KycVerificationCompletedEvent} returns this
8326
+ */
8327
+ proto.realtimemessageapi.KycVerificationCompletedEvent.prototype.setUserid = function(value) {
8328
+ return jspb.Message.setProto3IntField(this, 1, value);
8329
+ };
8330
+
8331
+
8332
+ /**
8333
+ * optional string status = 2;
8334
+ * @return {string}
8335
+ */
8336
+ proto.realtimemessageapi.KycVerificationCompletedEvent.prototype.getStatus = function() {
8337
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8338
+ };
8339
+
8340
+
8341
+ /**
8342
+ * @param {string} value
8343
+ * @return {!proto.realtimemessageapi.KycVerificationCompletedEvent} returns this
8344
+ */
8345
+ proto.realtimemessageapi.KycVerificationCompletedEvent.prototype.setStatus = function(value) {
8346
+ return jspb.Message.setProto3StringField(this, 2, value);
8347
+ };
8348
+
8349
+
7923
8350
  /**
7924
8351
  * @enum {number}
7925
8352
  */
@@ -7945,7 +8372,9 @@ proto.realtimemessageapi.EventType = {
7945
8372
  ABA_FILE_REJECTED_EVENT: 18,
7946
8373
  ABA_FILE_PAID_EVENT: 19,
7947
8374
  ABA_FILE_SENT_EVENT: 20,
7948
- PAYTO_PAYMENT_METHOD_UPDATED: 21
8375
+ PAYTO_PAYMENT_METHOD_UPDATED: 21,
8376
+ PUSH_NOTIFICATION_RECEIVED: 22,
8377
+ KYC_VERIFICATION_COMPLETED: 23
7949
8378
  };
7950
8379
 
7951
8380
  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.4.796",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",