@sniipwebmaster/realtime-message-client-grpcweb 26.5.807 → 26.5.818

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.KybComplianceDecisionEvent', null, global);
49
50
  goog.exportSymbol('proto.realtimemessageapi.KybDirectorStatusChangedEvent', null, global);
50
51
  goog.exportSymbol('proto.realtimemessageapi.KycVerificationCompletedEvent', null, global);
51
52
  goog.exportSymbol('proto.realtimemessageapi.PayToPaymentMethodUpdated', null, global);
@@ -792,6 +793,27 @@ if (goog.DEBUG && !COMPILED) {
792
793
  */
793
794
  proto.realtimemessageapi.KybDirectorStatusChangedEvent.displayName = 'proto.realtimemessageapi.KybDirectorStatusChangedEvent';
794
795
  }
796
+ /**
797
+ * Generated by JsPbCodeGenerator.
798
+ * @param {Array=} opt_data Optional initial data array, typically from a
799
+ * server response, or constructed directly in Javascript. The array is used
800
+ * in place and becomes part of the constructed object. It is not cloned.
801
+ * If no data is provided, the constructed object will be empty, but still
802
+ * valid.
803
+ * @extends {jspb.Message}
804
+ * @constructor
805
+ */
806
+ proto.realtimemessageapi.KybComplianceDecisionEvent = function(opt_data) {
807
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
808
+ };
809
+ goog.inherits(proto.realtimemessageapi.KybComplianceDecisionEvent, jspb.Message);
810
+ if (goog.DEBUG && !COMPILED) {
811
+ /**
812
+ * @public
813
+ * @override
814
+ */
815
+ proto.realtimemessageapi.KybComplianceDecisionEvent.displayName = 'proto.realtimemessageapi.KybComplianceDecisionEvent';
816
+ }
795
817
 
796
818
 
797
819
 
@@ -8589,6 +8611,256 @@ proto.realtimemessageapi.KybDirectorStatusChangedEvent.prototype.setAt = functio
8589
8611
  };
8590
8612
 
8591
8613
 
8614
+
8615
+
8616
+
8617
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8618
+ /**
8619
+ * Creates an object representation of this proto.
8620
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8621
+ * Optional fields that are not set will be set to undefined.
8622
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8623
+ * For the list of reserved names please see:
8624
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8625
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8626
+ * JSPB instance for transitional soy proto support:
8627
+ * http://goto/soy-param-migration
8628
+ * @return {!Object}
8629
+ */
8630
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.toObject = function(opt_includeInstance) {
8631
+ return proto.realtimemessageapi.KybComplianceDecisionEvent.toObject(opt_includeInstance, this);
8632
+ };
8633
+
8634
+
8635
+ /**
8636
+ * Static version of the {@see toObject} method.
8637
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8638
+ * the JSPB instance for transitional soy proto support:
8639
+ * http://goto/soy-param-migration
8640
+ * @param {!proto.realtimemessageapi.KybComplianceDecisionEvent} msg The msg instance to transform.
8641
+ * @return {!Object}
8642
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8643
+ */
8644
+ proto.realtimemessageapi.KybComplianceDecisionEvent.toObject = function(includeInstance, msg) {
8645
+ var f, obj = {
8646
+ kybbusinessid: jspb.Message.getFieldWithDefault(msg, 1, 0),
8647
+ businessname: jspb.Message.getFieldWithDefault(msg, 2, ""),
8648
+ decision: jspb.Message.getFieldWithDefault(msg, 3, ""),
8649
+ reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
8650
+ decidedat: jspb.Message.getFieldWithDefault(msg, 5, "")
8651
+ };
8652
+
8653
+ if (includeInstance) {
8654
+ obj.$jspbMessageInstance = msg;
8655
+ }
8656
+ return obj;
8657
+ };
8658
+ }
8659
+
8660
+
8661
+ /**
8662
+ * Deserializes binary data (in protobuf wire format).
8663
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8664
+ * @return {!proto.realtimemessageapi.KybComplianceDecisionEvent}
8665
+ */
8666
+ proto.realtimemessageapi.KybComplianceDecisionEvent.deserializeBinary = function(bytes) {
8667
+ var reader = new jspb.BinaryReader(bytes);
8668
+ var msg = new proto.realtimemessageapi.KybComplianceDecisionEvent;
8669
+ return proto.realtimemessageapi.KybComplianceDecisionEvent.deserializeBinaryFromReader(msg, reader);
8670
+ };
8671
+
8672
+
8673
+ /**
8674
+ * Deserializes binary data (in protobuf wire format) from the
8675
+ * given reader into the given message object.
8676
+ * @param {!proto.realtimemessageapi.KybComplianceDecisionEvent} msg The message object to deserialize into.
8677
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8678
+ * @return {!proto.realtimemessageapi.KybComplianceDecisionEvent}
8679
+ */
8680
+ proto.realtimemessageapi.KybComplianceDecisionEvent.deserializeBinaryFromReader = function(msg, reader) {
8681
+ while (reader.nextField()) {
8682
+ if (reader.isEndGroup()) {
8683
+ break;
8684
+ }
8685
+ var field = reader.getFieldNumber();
8686
+ switch (field) {
8687
+ case 1:
8688
+ var value = /** @type {number} */ (reader.readInt64());
8689
+ msg.setKybbusinessid(value);
8690
+ break;
8691
+ case 2:
8692
+ var value = /** @type {string} */ (reader.readString());
8693
+ msg.setBusinessname(value);
8694
+ break;
8695
+ case 3:
8696
+ var value = /** @type {string} */ (reader.readString());
8697
+ msg.setDecision(value);
8698
+ break;
8699
+ case 4:
8700
+ var value = /** @type {string} */ (reader.readString());
8701
+ msg.setReason(value);
8702
+ break;
8703
+ case 5:
8704
+ var value = /** @type {string} */ (reader.readString());
8705
+ msg.setDecidedat(value);
8706
+ break;
8707
+ default:
8708
+ reader.skipField();
8709
+ break;
8710
+ }
8711
+ }
8712
+ return msg;
8713
+ };
8714
+
8715
+
8716
+ /**
8717
+ * Serializes the message to binary data (in protobuf wire format).
8718
+ * @return {!Uint8Array}
8719
+ */
8720
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.serializeBinary = function() {
8721
+ var writer = new jspb.BinaryWriter();
8722
+ proto.realtimemessageapi.KybComplianceDecisionEvent.serializeBinaryToWriter(this, writer);
8723
+ return writer.getResultBuffer();
8724
+ };
8725
+
8726
+
8727
+ /**
8728
+ * Serializes the given message to binary data (in protobuf wire
8729
+ * format), writing to the given BinaryWriter.
8730
+ * @param {!proto.realtimemessageapi.KybComplianceDecisionEvent} message
8731
+ * @param {!jspb.BinaryWriter} writer
8732
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8733
+ */
8734
+ proto.realtimemessageapi.KybComplianceDecisionEvent.serializeBinaryToWriter = function(message, writer) {
8735
+ var f = undefined;
8736
+ f = message.getKybbusinessid();
8737
+ if (f !== 0) {
8738
+ writer.writeInt64(
8739
+ 1,
8740
+ f
8741
+ );
8742
+ }
8743
+ f = message.getBusinessname();
8744
+ if (f.length > 0) {
8745
+ writer.writeString(
8746
+ 2,
8747
+ f
8748
+ );
8749
+ }
8750
+ f = message.getDecision();
8751
+ if (f.length > 0) {
8752
+ writer.writeString(
8753
+ 3,
8754
+ f
8755
+ );
8756
+ }
8757
+ f = message.getReason();
8758
+ if (f.length > 0) {
8759
+ writer.writeString(
8760
+ 4,
8761
+ f
8762
+ );
8763
+ }
8764
+ f = message.getDecidedat();
8765
+ if (f.length > 0) {
8766
+ writer.writeString(
8767
+ 5,
8768
+ f
8769
+ );
8770
+ }
8771
+ };
8772
+
8773
+
8774
+ /**
8775
+ * optional int64 kybBusinessId = 1;
8776
+ * @return {number}
8777
+ */
8778
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.getKybbusinessid = function() {
8779
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
8780
+ };
8781
+
8782
+
8783
+ /**
8784
+ * @param {number} value
8785
+ * @return {!proto.realtimemessageapi.KybComplianceDecisionEvent} returns this
8786
+ */
8787
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.setKybbusinessid = function(value) {
8788
+ return jspb.Message.setProto3IntField(this, 1, value);
8789
+ };
8790
+
8791
+
8792
+ /**
8793
+ * optional string businessName = 2;
8794
+ * @return {string}
8795
+ */
8796
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.getBusinessname = function() {
8797
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
8798
+ };
8799
+
8800
+
8801
+ /**
8802
+ * @param {string} value
8803
+ * @return {!proto.realtimemessageapi.KybComplianceDecisionEvent} returns this
8804
+ */
8805
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.setBusinessname = function(value) {
8806
+ return jspb.Message.setProto3StringField(this, 2, value);
8807
+ };
8808
+
8809
+
8810
+ /**
8811
+ * optional string decision = 3;
8812
+ * @return {string}
8813
+ */
8814
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.getDecision = function() {
8815
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8816
+ };
8817
+
8818
+
8819
+ /**
8820
+ * @param {string} value
8821
+ * @return {!proto.realtimemessageapi.KybComplianceDecisionEvent} returns this
8822
+ */
8823
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.setDecision = function(value) {
8824
+ return jspb.Message.setProto3StringField(this, 3, value);
8825
+ };
8826
+
8827
+
8828
+ /**
8829
+ * optional string reason = 4;
8830
+ * @return {string}
8831
+ */
8832
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.getReason = function() {
8833
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8834
+ };
8835
+
8836
+
8837
+ /**
8838
+ * @param {string} value
8839
+ * @return {!proto.realtimemessageapi.KybComplianceDecisionEvent} returns this
8840
+ */
8841
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.setReason = function(value) {
8842
+ return jspb.Message.setProto3StringField(this, 4, value);
8843
+ };
8844
+
8845
+
8846
+ /**
8847
+ * optional string decidedAt = 5;
8848
+ * @return {string}
8849
+ */
8850
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.getDecidedat = function() {
8851
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
8852
+ };
8853
+
8854
+
8855
+ /**
8856
+ * @param {string} value
8857
+ * @return {!proto.realtimemessageapi.KybComplianceDecisionEvent} returns this
8858
+ */
8859
+ proto.realtimemessageapi.KybComplianceDecisionEvent.prototype.setDecidedat = function(value) {
8860
+ return jspb.Message.setProto3StringField(this, 5, value);
8861
+ };
8862
+
8863
+
8592
8864
  /**
8593
8865
  * @enum {number}
8594
8866
  */
@@ -8617,7 +8889,8 @@ proto.realtimemessageapi.EventType = {
8617
8889
  PAYTO_PAYMENT_METHOD_UPDATED: 21,
8618
8890
  PUSH_NOTIFICATION_RECEIVED: 22,
8619
8891
  KYC_VERIFICATION_COMPLETED: 23,
8620
- KYB_DIRECTOR_STATUS_CHANGED: 24
8892
+ KYB_DIRECTOR_STATUS_CHANGED: 24,
8893
+ KYB_COMPLIANCE_DECISION: 25
8621
8894
  };
8622
8895
 
8623
8896
  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.5.807",
3
+ "version": "26.5.818",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",