@sniipwebmaster/realtime-message-client-grpcweb 26.3.782 → 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,6 +46,7 @@ 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);
@@ -748,6 +749,27 @@ if (goog.DEBUG && !COMPILED) {
748
749
  */
749
750
  proto.realtimemessageapi.PushNotificationReceived.displayName = 'proto.realtimemessageapi.PushNotificationReceived';
750
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
+ }
751
773
 
752
774
 
753
775
 
@@ -8165,6 +8187,166 @@ proto.realtimemessageapi.PushNotificationReceived.prototype.clearDataMap = funct
8165
8187
  return this;};
8166
8188
 
8167
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
+
8168
8350
  /**
8169
8351
  * @enum {number}
8170
8352
  */
@@ -8191,7 +8373,8 @@ proto.realtimemessageapi.EventType = {
8191
8373
  ABA_FILE_PAID_EVENT: 19,
8192
8374
  ABA_FILE_SENT_EVENT: 20,
8193
8375
  PAYTO_PAYMENT_METHOD_UPDATED: 21,
8194
- PUSH_NOTIFICATION_RECEIVED: 22
8376
+ PUSH_NOTIFICATION_RECEIVED: 22,
8377
+ KYC_VERIFICATION_COMPLETED: 23
8195
8378
  };
8196
8379
 
8197
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.3.782",
3
+ "version": "26.4.796",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",