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

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.
@@ -43,6 +43,7 @@ goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
43
43
  goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
44
44
  goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
45
45
  goog.exportSymbol('proto.realtimemessageapi.TransactionFailed', null, global);
46
+ goog.exportSymbol('proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded', null, global);
46
47
  goog.exportSymbol('proto.realtimemessageapi.UploadBatchProcessingEvent', null, global);
47
48
  /**
48
49
  * Generated by JsPbCodeGenerator.
@@ -506,6 +507,27 @@ if (goog.DEBUG && !COMPILED) {
506
507
  */
507
508
  proto.realtimemessageapi.UploadBatchProcessingEvent.displayName = 'proto.realtimemessageapi.UploadBatchProcessingEvent';
508
509
  }
510
+ /**
511
+ * Generated by JsPbCodeGenerator.
512
+ * @param {Array=} opt_data Optional initial data array, typically from a
513
+ * server response, or constructed directly in Javascript. The array is used
514
+ * in place and becomes part of the constructed object. It is not cloned.
515
+ * If no data is provided, the constructed object will be empty, but still
516
+ * valid.
517
+ * @extends {jspb.Message}
518
+ * @constructor
519
+ */
520
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded = function(opt_data) {
521
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.repeatedFields_, null);
522
+ };
523
+ goog.inherits(proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded, jspb.Message);
524
+ if (goog.DEBUG && !COMPILED) {
525
+ /**
526
+ * @public
527
+ * @override
528
+ */
529
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.displayName = 'proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded';
530
+ }
509
531
 
510
532
 
511
533
 
@@ -5714,6 +5736,222 @@ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.setStatus = functi
5714
5736
  };
5715
5737
 
5716
5738
 
5739
+
5740
+ /**
5741
+ * List of repeated fields within this message type.
5742
+ * @private {!Array<number>}
5743
+ * @const
5744
+ */
5745
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.repeatedFields_ = [3];
5746
+
5747
+
5748
+
5749
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5750
+ /**
5751
+ * Creates an object representation of this proto.
5752
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5753
+ * Optional fields that are not set will be set to undefined.
5754
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5755
+ * For the list of reserved names please see:
5756
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5757
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5758
+ * JSPB instance for transitional soy proto support:
5759
+ * http://goto/soy-param-migration
5760
+ * @return {!Object}
5761
+ */
5762
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.toObject = function(opt_includeInstance) {
5763
+ return proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.toObject(opt_includeInstance, this);
5764
+ };
5765
+
5766
+
5767
+ /**
5768
+ * Static version of the {@see toObject} method.
5769
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5770
+ * the JSPB instance for transitional soy proto support:
5771
+ * http://goto/soy-param-migration
5772
+ * @param {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} msg The msg instance to transform.
5773
+ * @return {!Object}
5774
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5775
+ */
5776
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.toObject = function(includeInstance, msg) {
5777
+ var f, obj = {
5778
+ agentuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
5779
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
5780
+ triggeringcategoriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
5781
+ };
5782
+
5783
+ if (includeInstance) {
5784
+ obj.$jspbMessageInstance = msg;
5785
+ }
5786
+ return obj;
5787
+ };
5788
+ }
5789
+
5790
+
5791
+ /**
5792
+ * Deserializes binary data (in protobuf wire format).
5793
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5794
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded}
5795
+ */
5796
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.deserializeBinary = function(bytes) {
5797
+ var reader = new jspb.BinaryReader(bytes);
5798
+ var msg = new proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded;
5799
+ return proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.deserializeBinaryFromReader(msg, reader);
5800
+ };
5801
+
5802
+
5803
+ /**
5804
+ * Deserializes binary data (in protobuf wire format) from the
5805
+ * given reader into the given message object.
5806
+ * @param {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} msg The message object to deserialize into.
5807
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5808
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded}
5809
+ */
5810
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.deserializeBinaryFromReader = function(msg, reader) {
5811
+ while (reader.nextField()) {
5812
+ if (reader.isEndGroup()) {
5813
+ break;
5814
+ }
5815
+ var field = reader.getFieldNumber();
5816
+ switch (field) {
5817
+ case 1:
5818
+ var value = /** @type {number} */ (reader.readInt64());
5819
+ msg.setAgentuserid(value);
5820
+ break;
5821
+ case 2:
5822
+ var value = /** @type {number} */ (reader.readInt64());
5823
+ msg.setClientuserid(value);
5824
+ break;
5825
+ case 3:
5826
+ var value = /** @type {string} */ (reader.readString());
5827
+ msg.addTriggeringcategories(value);
5828
+ break;
5829
+ default:
5830
+ reader.skipField();
5831
+ break;
5832
+ }
5833
+ }
5834
+ return msg;
5835
+ };
5836
+
5837
+
5838
+ /**
5839
+ * Serializes the message to binary data (in protobuf wire format).
5840
+ * @return {!Uint8Array}
5841
+ */
5842
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.serializeBinary = function() {
5843
+ var writer = new jspb.BinaryWriter();
5844
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.serializeBinaryToWriter(this, writer);
5845
+ return writer.getResultBuffer();
5846
+ };
5847
+
5848
+
5849
+ /**
5850
+ * Serializes the given message to binary data (in protobuf wire
5851
+ * format), writing to the given BinaryWriter.
5852
+ * @param {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} message
5853
+ * @param {!jspb.BinaryWriter} writer
5854
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5855
+ */
5856
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.serializeBinaryToWriter = function(message, writer) {
5857
+ var f = undefined;
5858
+ f = message.getAgentuserid();
5859
+ if (f !== 0) {
5860
+ writer.writeInt64(
5861
+ 1,
5862
+ f
5863
+ );
5864
+ }
5865
+ f = message.getClientuserid();
5866
+ if (f !== 0) {
5867
+ writer.writeInt64(
5868
+ 2,
5869
+ f
5870
+ );
5871
+ }
5872
+ f = message.getTriggeringcategoriesList();
5873
+ if (f.length > 0) {
5874
+ writer.writeRepeatedString(
5875
+ 3,
5876
+ f
5877
+ );
5878
+ }
5879
+ };
5880
+
5881
+
5882
+ /**
5883
+ * optional int64 agentUserId = 1;
5884
+ * @return {number}
5885
+ */
5886
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.getAgentuserid = function() {
5887
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5888
+ };
5889
+
5890
+
5891
+ /**
5892
+ * @param {number} value
5893
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5894
+ */
5895
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.setAgentuserid = function(value) {
5896
+ return jspb.Message.setProto3IntField(this, 1, value);
5897
+ };
5898
+
5899
+
5900
+ /**
5901
+ * optional int64 clientUserId = 2;
5902
+ * @return {number}
5903
+ */
5904
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.getClientuserid = function() {
5905
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5906
+ };
5907
+
5908
+
5909
+ /**
5910
+ * @param {number} value
5911
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5912
+ */
5913
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.setClientuserid = function(value) {
5914
+ return jspb.Message.setProto3IntField(this, 2, value);
5915
+ };
5916
+
5917
+
5918
+ /**
5919
+ * repeated string triggeringCategories = 3;
5920
+ * @return {!Array<string>}
5921
+ */
5922
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.getTriggeringcategoriesList = function() {
5923
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
5924
+ };
5925
+
5926
+
5927
+ /**
5928
+ * @param {!Array<string>} value
5929
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5930
+ */
5931
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.setTriggeringcategoriesList = function(value) {
5932
+ return jspb.Message.setField(this, 3, value || []);
5933
+ };
5934
+
5935
+
5936
+ /**
5937
+ * @param {string} value
5938
+ * @param {number=} opt_index
5939
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5940
+ */
5941
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.addTriggeringcategories = function(value, opt_index) {
5942
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
5943
+ };
5944
+
5945
+
5946
+ /**
5947
+ * Clears the list making it empty but non-null.
5948
+ * @return {!proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded} returns this
5949
+ */
5950
+ proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded.prototype.clearTriggeringcategoriesList = function() {
5951
+ return this.setTriggeringcategoriesList([]);
5952
+ };
5953
+
5954
+
5717
5955
  /**
5718
5956
  * @enum {number}
5719
5957
  */
@@ -5729,7 +5967,8 @@ proto.realtimemessageapi.EventType = {
5729
5967
  BILL_PROCESSED_BY_IMPORT_FAILED: 8,
5730
5968
  BILL_PROCESSED_BY_IMPORT_SUCCESS: 9,
5731
5969
  UPLOAD_BATCH_PROCESSING_EVENT: 10,
5732
- TEST_EVENT: 11
5970
+ TEST_EVENT: 11,
5971
+ UPDATE_AGENT_BILL_CATEGORY_COUNTS_NEEDED: 12
5733
5972
  };
5734
5973
 
5735
5974
  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": "24.15.656",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",