@sniipwebmaster/realtime-message-client-grpcweb 24.15.648 → 25.5.670

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.
@@ -22,6 +22,7 @@ goog.object.extend(proto, google_protobuf_empty_pb);
22
22
  var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
23
23
  goog.object.extend(proto, protoc$gen$openapiv2_options_annotations_pb);
24
24
  goog.exportSymbol('proto.realtimemessageapi.AllBillsProcessedByImport', null, global);
25
+ goog.exportSymbol('proto.realtimemessageapi.AttachmentImportFailedEvent', null, global);
25
26
  goog.exportSymbol('proto.realtimemessageapi.AttachmentInfo', null, global);
26
27
  goog.exportSymbol('proto.realtimemessageapi.BannersResponse', null, global);
27
28
  goog.exportSymbol('proto.realtimemessageapi.BillPaid', null, global);
@@ -43,6 +44,7 @@ goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
43
44
  goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
44
45
  goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
45
46
  goog.exportSymbol('proto.realtimemessageapi.TransactionFailed', null, global);
47
+ goog.exportSymbol('proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded', null, global);
46
48
  goog.exportSymbol('proto.realtimemessageapi.UploadBatchProcessingEvent', null, global);
47
49
  /**
48
50
  * Generated by JsPbCodeGenerator.
@@ -506,6 +508,48 @@ if (goog.DEBUG && !COMPILED) {
506
508
  */
507
509
  proto.realtimemessageapi.UploadBatchProcessingEvent.displayName = 'proto.realtimemessageapi.UploadBatchProcessingEvent';
508
510
  }
511
+ /**
512
+ * Generated by JsPbCodeGenerator.
513
+ * @param {Array=} opt_data Optional initial data array, typically from a
514
+ * server response, or constructed directly in Javascript. The array is used
515
+ * in place and becomes part of the constructed object. It is not cloned.
516
+ * If no data is provided, the constructed object will be empty, but still
517
+ * valid.
518
+ * @extends {jspb.Message}
519
+ * @constructor
520
+ */
521
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded = function(opt_data) {
522
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.repeatedFields_, null);
523
+ };
524
+ goog.inherits(proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded, jspb.Message);
525
+ if (goog.DEBUG && !COMPILED) {
526
+ /**
527
+ * @public
528
+ * @override
529
+ */
530
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.displayName = 'proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded';
531
+ }
532
+ /**
533
+ * Generated by JsPbCodeGenerator.
534
+ * @param {Array=} opt_data Optional initial data array, typically from a
535
+ * server response, or constructed directly in Javascript. The array is used
536
+ * in place and becomes part of the constructed object. It is not cloned.
537
+ * If no data is provided, the constructed object will be empty, but still
538
+ * valid.
539
+ * @extends {jspb.Message}
540
+ * @constructor
541
+ */
542
+ proto.realtimemessageapi.AttachmentImportFailedEvent = function(opt_data) {
543
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
544
+ };
545
+ goog.inherits(proto.realtimemessageapi.AttachmentImportFailedEvent, jspb.Message);
546
+ if (goog.DEBUG && !COMPILED) {
547
+ /**
548
+ * @public
549
+ * @override
550
+ */
551
+ proto.realtimemessageapi.AttachmentImportFailedEvent.displayName = 'proto.realtimemessageapi.AttachmentImportFailedEvent';
552
+ }
509
553
 
510
554
 
511
555
 
@@ -5714,6 +5758,352 @@ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.setStatus = functi
5714
5758
  };
5715
5759
 
5716
5760
 
5761
+
5762
+ /**
5763
+ * List of repeated fields within this message type.
5764
+ * @private {!Array<number>}
5765
+ * @const
5766
+ */
5767
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.repeatedFields_ = [3];
5768
+
5769
+
5770
+
5771
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5772
+ /**
5773
+ * Creates an object representation of this proto.
5774
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5775
+ * Optional fields that are not set will be set to undefined.
5776
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5777
+ * For the list of reserved names please see:
5778
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5779
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5780
+ * JSPB instance for transitional soy proto support:
5781
+ * http://goto/soy-param-migration
5782
+ * @return {!Object}
5783
+ */
5784
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.toObject = function(opt_includeInstance) {
5785
+ return proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.toObject(opt_includeInstance, this);
5786
+ };
5787
+
5788
+
5789
+ /**
5790
+ * Static version of the {@see toObject} method.
5791
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5792
+ * the JSPB instance for transitional soy proto support:
5793
+ * http://goto/soy-param-migration
5794
+ * @param {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} msg The msg instance to transform.
5795
+ * @return {!Object}
5796
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5797
+ */
5798
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.toObject = function(includeInstance, msg) {
5799
+ var f, obj = {
5800
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
5801
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
5802
+ triggeringcategoriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
5803
+ };
5804
+
5805
+ if (includeInstance) {
5806
+ obj.$jspbMessageInstance = msg;
5807
+ }
5808
+ return obj;
5809
+ };
5810
+ }
5811
+
5812
+
5813
+ /**
5814
+ * Deserializes binary data (in protobuf wire format).
5815
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5816
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded}
5817
+ */
5818
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.deserializeBinary = function(bytes) {
5819
+ var reader = new jspb.BinaryReader(bytes);
5820
+ var msg = new proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded;
5821
+ return proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.deserializeBinaryFromReader(msg, reader);
5822
+ };
5823
+
5824
+
5825
+ /**
5826
+ * Deserializes binary data (in protobuf wire format) from the
5827
+ * given reader into the given message object.
5828
+ * @param {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} msg The message object to deserialize into.
5829
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5830
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded}
5831
+ */
5832
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.deserializeBinaryFromReader = function(msg, reader) {
5833
+ while (reader.nextField()) {
5834
+ if (reader.isEndGroup()) {
5835
+ break;
5836
+ }
5837
+ var field = reader.getFieldNumber();
5838
+ switch (field) {
5839
+ case 1:
5840
+ var value = /** @type {number} */ (reader.readInt64());
5841
+ msg.setAgentuserid(value);
5842
+ break;
5843
+ case 2:
5844
+ var value = /** @type {number} */ (reader.readInt64());
5845
+ msg.setClientuserid(value);
5846
+ break;
5847
+ case 3:
5848
+ var value = /** @type {string} */ (reader.readString());
5849
+ msg.addTriggeringcategories(value);
5850
+ break;
5851
+ default:
5852
+ reader.skipField();
5853
+ break;
5854
+ }
5855
+ }
5856
+ return msg;
5857
+ };
5858
+
5859
+
5860
+ /**
5861
+ * Serializes the message to binary data (in protobuf wire format).
5862
+ * @return {!Uint8Array}
5863
+ */
5864
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.serializeBinary = function() {
5865
+ var writer = new jspb.BinaryWriter();
5866
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.serializeBinaryToWriter(this, writer);
5867
+ return writer.getResultBuffer();
5868
+ };
5869
+
5870
+
5871
+ /**
5872
+ * Serializes the given message to binary data (in protobuf wire
5873
+ * format), writing to the given BinaryWriter.
5874
+ * @param {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} message
5875
+ * @param {!jspb.BinaryWriter} writer
5876
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5877
+ */
5878
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.serializeBinaryToWriter = function(message, writer) {
5879
+ var f = undefined;
5880
+ f = message.getAgentuserid();
5881
+ if (f !== 0) {
5882
+ writer.writeInt64(
5883
+ 1,
5884
+ f
5885
+ );
5886
+ }
5887
+ f = message.getClientuserid();
5888
+ if (f !== 0) {
5889
+ writer.writeInt64(
5890
+ 2,
5891
+ f
5892
+ );
5893
+ }
5894
+ f = message.getTriggeringcategoriesList();
5895
+ if (f.length > 0) {
5896
+ writer.writeRepeatedString(
5897
+ 3,
5898
+ f
5899
+ );
5900
+ }
5901
+ };
5902
+
5903
+
5904
+ /**
5905
+ * optional int64 agentUserId = 1;
5906
+ * @return {number}
5907
+ */
5908
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.getAgentuserid = function() {
5909
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5910
+ };
5911
+
5912
+
5913
+ /**
5914
+ * @param {number} value
5915
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5916
+ */
5917
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.setAgentuserid = function(value) {
5918
+ return jspb.Message.setProto3IntField(this, 1, value);
5919
+ };
5920
+
5921
+
5922
+ /**
5923
+ * optional int64 clientUserId = 2;
5924
+ * @return {number}
5925
+ */
5926
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.getClientuserid = function() {
5927
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5928
+ };
5929
+
5930
+
5931
+ /**
5932
+ * @param {number} value
5933
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5934
+ */
5935
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.setClientuserid = function(value) {
5936
+ return jspb.Message.setProto3IntField(this, 2, value);
5937
+ };
5938
+
5939
+
5940
+ /**
5941
+ * repeated string triggeringCategories = 3;
5942
+ * @return {!Array<string>}
5943
+ */
5944
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.getTriggeringcategoriesList = function() {
5945
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
5946
+ };
5947
+
5948
+
5949
+ /**
5950
+ * @param {!Array<string>} value
5951
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5952
+ */
5953
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.setTriggeringcategoriesList = function(value) {
5954
+ return jspb.Message.setField(this, 3, value || []);
5955
+ };
5956
+
5957
+
5958
+ /**
5959
+ * @param {string} value
5960
+ * @param {number=} opt_index
5961
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5962
+ */
5963
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.addTriggeringcategories = function(value, opt_index) {
5964
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
5965
+ };
5966
+
5967
+
5968
+ /**
5969
+ * Clears the list making it empty but non-null.
5970
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5971
+ */
5972
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.clearTriggeringcategoriesList = function() {
5973
+ return this.setTriggeringcategoriesList([]);
5974
+ };
5975
+
5976
+
5977
+
5978
+
5979
+
5980
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5981
+ /**
5982
+ * Creates an object representation of this proto.
5983
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5984
+ * Optional fields that are not set will be set to undefined.
5985
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5986
+ * For the list of reserved names please see:
5987
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5988
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5989
+ * JSPB instance for transitional soy proto support:
5990
+ * http://goto/soy-param-migration
5991
+ * @return {!Object}
5992
+ */
5993
+ proto.realtimemessageapi.AttachmentImportFailedEvent.prototype.toObject = function(opt_includeInstance) {
5994
+ return proto.realtimemessageapi.AttachmentImportFailedEvent.toObject(opt_includeInstance, this);
5995
+ };
5996
+
5997
+
5998
+ /**
5999
+ * Static version of the {@see toObject} method.
6000
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6001
+ * the JSPB instance for transitional soy proto support:
6002
+ * http://goto/soy-param-migration
6003
+ * @param {!proto.realtimemessageapi.AttachmentImportFailedEvent} msg The msg instance to transform.
6004
+ * @return {!Object}
6005
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6006
+ */
6007
+ proto.realtimemessageapi.AttachmentImportFailedEvent.toObject = function(includeInstance, msg) {
6008
+ var f, obj = {
6009
+ attachmentid: jspb.Message.getFieldWithDefault(msg, 1, 0)
6010
+ };
6011
+
6012
+ if (includeInstance) {
6013
+ obj.$jspbMessageInstance = msg;
6014
+ }
6015
+ return obj;
6016
+ };
6017
+ }
6018
+
6019
+
6020
+ /**
6021
+ * Deserializes binary data (in protobuf wire format).
6022
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6023
+ * @return {!proto.realtimemessageapi.AttachmentImportFailedEvent}
6024
+ */
6025
+ proto.realtimemessageapi.AttachmentImportFailedEvent.deserializeBinary = function(bytes) {
6026
+ var reader = new jspb.BinaryReader(bytes);
6027
+ var msg = new proto.realtimemessageapi.AttachmentImportFailedEvent;
6028
+ return proto.realtimemessageapi.AttachmentImportFailedEvent.deserializeBinaryFromReader(msg, reader);
6029
+ };
6030
+
6031
+
6032
+ /**
6033
+ * Deserializes binary data (in protobuf wire format) from the
6034
+ * given reader into the given message object.
6035
+ * @param {!proto.realtimemessageapi.AttachmentImportFailedEvent} msg The message object to deserialize into.
6036
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6037
+ * @return {!proto.realtimemessageapi.AttachmentImportFailedEvent}
6038
+ */
6039
+ proto.realtimemessageapi.AttachmentImportFailedEvent.deserializeBinaryFromReader = function(msg, reader) {
6040
+ while (reader.nextField()) {
6041
+ if (reader.isEndGroup()) {
6042
+ break;
6043
+ }
6044
+ var field = reader.getFieldNumber();
6045
+ switch (field) {
6046
+ case 1:
6047
+ var value = /** @type {number} */ (reader.readInt64());
6048
+ msg.setAttachmentid(value);
6049
+ break;
6050
+ default:
6051
+ reader.skipField();
6052
+ break;
6053
+ }
6054
+ }
6055
+ return msg;
6056
+ };
6057
+
6058
+
6059
+ /**
6060
+ * Serializes the message to binary data (in protobuf wire format).
6061
+ * @return {!Uint8Array}
6062
+ */
6063
+ proto.realtimemessageapi.AttachmentImportFailedEvent.prototype.serializeBinary = function() {
6064
+ var writer = new jspb.BinaryWriter();
6065
+ proto.realtimemessageapi.AttachmentImportFailedEvent.serializeBinaryToWriter(this, writer);
6066
+ return writer.getResultBuffer();
6067
+ };
6068
+
6069
+
6070
+ /**
6071
+ * Serializes the given message to binary data (in protobuf wire
6072
+ * format), writing to the given BinaryWriter.
6073
+ * @param {!proto.realtimemessageapi.AttachmentImportFailedEvent} message
6074
+ * @param {!jspb.BinaryWriter} writer
6075
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6076
+ */
6077
+ proto.realtimemessageapi.AttachmentImportFailedEvent.serializeBinaryToWriter = function(message, writer) {
6078
+ var f = undefined;
6079
+ f = message.getAttachmentid();
6080
+ if (f !== 0) {
6081
+ writer.writeInt64(
6082
+ 1,
6083
+ f
6084
+ );
6085
+ }
6086
+ };
6087
+
6088
+
6089
+ /**
6090
+ * optional int64 attachmentId = 1;
6091
+ * @return {number}
6092
+ */
6093
+ proto.realtimemessageapi.AttachmentImportFailedEvent.prototype.getAttachmentid = function() {
6094
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6095
+ };
6096
+
6097
+
6098
+ /**
6099
+ * @param {number} value
6100
+ * @return {!proto.realtimemessageapi.AttachmentImportFailedEvent} returns this
6101
+ */
6102
+ proto.realtimemessageapi.AttachmentImportFailedEvent.prototype.setAttachmentid = function(value) {
6103
+ return jspb.Message.setProto3IntField(this, 1, value);
6104
+ };
6105
+
6106
+
5717
6107
  /**
5718
6108
  * @enum {number}
5719
6109
  */
@@ -5729,7 +6119,9 @@ proto.realtimemessageapi.EventType = {
5729
6119
  BILL_PROCESSED_BY_IMPORT_FAILED: 8,
5730
6120
  BILL_PROCESSED_BY_IMPORT_SUCCESS: 9,
5731
6121
  UPLOAD_BATCH_PROCESSING_EVENT: 10,
5732
- TEST_EVENT: 11
6122
+ TEST_EVENT: 11,
6123
+ UPDATE_AGENT_BILL_CATEGORY_COUNTS_NEEDED: 12,
6124
+ ATTACHMENT_IMPORT_FAILED: 13
5733
6125
  };
5734
6126
 
5735
6127
  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": "24.15.648",
3
+ "version": "25.5.670",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",