@sniipwebmaster/realtime-message-client-grpcweb 24.12.634 → 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.
@@ -6,8 +6,8 @@
6
6
 
7
7
  // Code generated by protoc-gen-grpc-web. DO NOT EDIT.
8
8
  // versions:
9
- // protoc-gen-grpc-web v1.4.2
10
- // protoc v3.12.4
9
+ // protoc-gen-grpc-web v1.5.0
10
+ // protoc v3.20.1
11
11
  // source: service.proto
12
12
 
13
13
 
@@ -2,15 +2,18 @@
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
5
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
6
7
  * field starts with 'MSG_' and isn't a translatable message.
7
8
  * @public
8
9
  */
9
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
10
13
 
11
14
  var jspb = require('google-protobuf');
12
15
  var goog = jspb;
13
- var global = Function('return this')();
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
14
17
 
15
18
  var google_api_annotations_pb = require('./google/api/annotations_pb.js');
16
19
  goog.object.extend(proto, google_api_annotations_pb);
@@ -40,6 +43,7 @@ goog.exportSymbol('proto.realtimemessageapi.PostRequest', null, global);
40
43
  goog.exportSymbol('proto.realtimemessageapi.ResponseCode', null, global);
41
44
  goog.exportSymbol('proto.realtimemessageapi.SubscribeType', null, global);
42
45
  goog.exportSymbol('proto.realtimemessageapi.TransactionFailed', null, global);
46
+ goog.exportSymbol('proto.realtimemessageapi.UpdateAgentBillCategoryCountsNeeded', null, global);
43
47
  goog.exportSymbol('proto.realtimemessageapi.UploadBatchProcessingEvent', null, global);
44
48
  /**
45
49
  * Generated by JsPbCodeGenerator.
@@ -503,6 +507,27 @@ if (goog.DEBUG && !COMPILED) {
503
507
  */
504
508
  proto.realtimemessageapi.UploadBatchProcessingEvent.displayName = 'proto.realtimemessageapi.UploadBatchProcessingEvent';
505
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
+ }
506
531
 
507
532
 
508
533
 
@@ -5711,6 +5736,222 @@ proto.realtimemessageapi.UploadBatchProcessingEvent.prototype.setStatus = functi
5711
5736
  };
5712
5737
 
5713
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
+
5714
5955
  /**
5715
5956
  * @enum {number}
5716
5957
  */
@@ -5726,7 +5967,8 @@ proto.realtimemessageapi.EventType = {
5726
5967
  BILL_PROCESSED_BY_IMPORT_FAILED: 8,
5727
5968
  BILL_PROCESSED_BY_IMPORT_SUCCESS: 9,
5728
5969
  UPLOAD_BATCH_PROCESSING_EVENT: 10,
5729
- TEST_EVENT: 11
5970
+ TEST_EVENT: 11,
5971
+ UPDATE_AGENT_BILL_CATEGORY_COUNTS_NEEDED: 12
5730
5972
  };
5731
5973
 
5732
5974
  goog.object.extend(exports, proto.realtimemessageapi);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/realtime-message-client-grpcweb",
3
- "version": "24.12.634",
3
+ "version": "24.15.656",
4
4
  "description": "realtime-message-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
- "google-protobuf": "3.12.4",
9
- "grpc-web": "1.4.2"
8
+ "google-protobuf": "3.20.1",
9
+ "grpc-web": "1.5.0"
10
10
  }
11
11
  }