@sniipwebmaster/agent-billing-client-grpcweb 24.3.1701 → 24.4.1725

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.
@@ -2701,5 +2701,61 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
2701
2701
  };
2702
2702
 
2703
2703
 
2704
+ /**
2705
+ * @const
2706
+ * @type {!grpc.web.MethodDescriptor<
2707
+ * !proto.google.protobuf.Empty,
2708
+ * !proto.agentbillingserviceapi.FileDownloadChunk>}
2709
+ */
2710
+ const methodDescriptor_AgentBillingServiceAPIService_DownloadSampleCsv = new grpc.web.MethodDescriptor(
2711
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadSampleCsv',
2712
+ grpc.web.MethodType.SERVER_STREAMING,
2713
+ google_protobuf_empty_pb.Empty,
2714
+ proto.agentbillingserviceapi.FileDownloadChunk,
2715
+ /**
2716
+ * @param {!proto.google.protobuf.Empty} request
2717
+ * @return {!Uint8Array}
2718
+ */
2719
+ function(request) {
2720
+ return request.serializeBinary();
2721
+ },
2722
+ proto.agentbillingserviceapi.FileDownloadChunk.deserializeBinary
2723
+ );
2724
+
2725
+
2726
+ /**
2727
+ * @param {!proto.google.protobuf.Empty} request The request proto
2728
+ * @param {?Object<string, string>=} metadata User defined
2729
+ * call metadata
2730
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.FileDownloadChunk>}
2731
+ * The XHR Node Readable Stream
2732
+ */
2733
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.downloadSampleCsv =
2734
+ function(request, metadata) {
2735
+ return this.client_.serverStreaming(this.hostname_ +
2736
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadSampleCsv',
2737
+ request,
2738
+ metadata || {},
2739
+ methodDescriptor_AgentBillingServiceAPIService_DownloadSampleCsv);
2740
+ };
2741
+
2742
+
2743
+ /**
2744
+ * @param {!proto.google.protobuf.Empty} request The request proto
2745
+ * @param {?Object<string, string>=} metadata User defined
2746
+ * call metadata
2747
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.FileDownloadChunk>}
2748
+ * The XHR Node Readable Stream
2749
+ */
2750
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.downloadSampleCsv =
2751
+ function(request, metadata) {
2752
+ return this.client_.serverStreaming(this.hostname_ +
2753
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadSampleCsv',
2754
+ request,
2755
+ metadata || {},
2756
+ methodDescriptor_AgentBillingServiceAPIService_DownloadSampleCsv);
2757
+ };
2758
+
2759
+
2704
2760
  module.exports = proto.agentbillingserviceapi;
2705
2761
 
@@ -50,6 +50,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeleteDeliveryBatchRequest', nul
50
50
  goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
51
51
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
52
52
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
53
+ goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadChunk', null, global);
53
54
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
54
55
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
55
56
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsResponse', null, global);
@@ -1758,6 +1759,27 @@ if (goog.DEBUG && !COMPILED) {
1758
1759
  */
1759
1760
  proto.agentbillingserviceapi.BillConfig.displayName = 'proto.agentbillingserviceapi.BillConfig';
1760
1761
  }
1762
+ /**
1763
+ * Generated by JsPbCodeGenerator.
1764
+ * @param {Array=} opt_data Optional initial data array, typically from a
1765
+ * server response, or constructed directly in Javascript. The array is used
1766
+ * in place and becomes part of the constructed object. It is not cloned.
1767
+ * If no data is provided, the constructed object will be empty, but still
1768
+ * valid.
1769
+ * @extends {jspb.Message}
1770
+ * @constructor
1771
+ */
1772
+ proto.agentbillingserviceapi.FileDownloadChunk = function(opt_data) {
1773
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1774
+ };
1775
+ goog.inherits(proto.agentbillingserviceapi.FileDownloadChunk, jspb.Message);
1776
+ if (goog.DEBUG && !COMPILED) {
1777
+ /**
1778
+ * @public
1779
+ * @override
1780
+ */
1781
+ proto.agentbillingserviceapi.FileDownloadChunk.displayName = 'proto.agentbillingserviceapi.FileDownloadChunk';
1782
+ }
1761
1783
 
1762
1784
 
1763
1785
 
@@ -18811,7 +18833,8 @@ proto.agentbillingserviceapi.ReviewAgentBillRequest.toObject = function(includeI
18811
18833
  bsb: jspb.Message.getFieldWithDefault(msg, 8, ""),
18812
18834
  accountnumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
18813
18835
  accountname: jspb.Message.getFieldWithDefault(msg, 10, ""),
18814
- smereference: jspb.Message.getFieldWithDefault(msg, 11, "")
18836
+ smereference: jspb.Message.getFieldWithDefault(msg, 11, ""),
18837
+ isdraft: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
18815
18838
  };
18816
18839
 
18817
18840
  if (includeInstance) {
@@ -18892,6 +18915,10 @@ proto.agentbillingserviceapi.ReviewAgentBillRequest.deserializeBinaryFromReader
18892
18915
  var value = /** @type {string} */ (reader.readString());
18893
18916
  msg.setSmereference(value);
18894
18917
  break;
18918
+ case 12:
18919
+ var value = /** @type {boolean} */ (reader.readBool());
18920
+ msg.setIsdraft(value);
18921
+ break;
18895
18922
  default:
18896
18923
  reader.skipField();
18897
18924
  break;
@@ -18998,6 +19025,13 @@ proto.agentbillingserviceapi.ReviewAgentBillRequest.serializeBinaryToWriter = fu
18998
19025
  f
18999
19026
  );
19000
19027
  }
19028
+ f = message.getIsdraft();
19029
+ if (f) {
19030
+ writer.writeBool(
19031
+ 12,
19032
+ f
19033
+ );
19034
+ }
19001
19035
  };
19002
19036
 
19003
19037
 
@@ -19199,6 +19233,24 @@ proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setSmereference =
19199
19233
  };
19200
19234
 
19201
19235
 
19236
+ /**
19237
+ * optional bool isDraft = 12;
19238
+ * @return {boolean}
19239
+ */
19240
+ proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.getIsdraft = function() {
19241
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
19242
+ };
19243
+
19244
+
19245
+ /**
19246
+ * @param {boolean} value
19247
+ * @return {!proto.agentbillingserviceapi.ReviewAgentBillRequest} returns this
19248
+ */
19249
+ proto.agentbillingserviceapi.ReviewAgentBillRequest.prototype.setIsdraft = function(value) {
19250
+ return jspb.Message.setProto3BooleanField(this, 12, value);
19251
+ };
19252
+
19253
+
19202
19254
 
19203
19255
 
19204
19256
 
@@ -21801,6 +21853,160 @@ proto.agentbillingserviceapi.BillConfig.prototype.setAttachmentid = function(val
21801
21853
  };
21802
21854
 
21803
21855
 
21856
+
21857
+
21858
+
21859
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21860
+ /**
21861
+ * Creates an object representation of this proto.
21862
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21863
+ * Optional fields that are not set will be set to undefined.
21864
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21865
+ * For the list of reserved names please see:
21866
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21867
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21868
+ * JSPB instance for transitional soy proto support:
21869
+ * http://goto/soy-param-migration
21870
+ * @return {!Object}
21871
+ */
21872
+ proto.agentbillingserviceapi.FileDownloadChunk.prototype.toObject = function(opt_includeInstance) {
21873
+ return proto.agentbillingserviceapi.FileDownloadChunk.toObject(opt_includeInstance, this);
21874
+ };
21875
+
21876
+
21877
+ /**
21878
+ * Static version of the {@see toObject} method.
21879
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21880
+ * the JSPB instance for transitional soy proto support:
21881
+ * http://goto/soy-param-migration
21882
+ * @param {!proto.agentbillingserviceapi.FileDownloadChunk} msg The msg instance to transform.
21883
+ * @return {!Object}
21884
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21885
+ */
21886
+ proto.agentbillingserviceapi.FileDownloadChunk.toObject = function(includeInstance, msg) {
21887
+ var f, obj = {
21888
+ data: msg.getData_asB64()
21889
+ };
21890
+
21891
+ if (includeInstance) {
21892
+ obj.$jspbMessageInstance = msg;
21893
+ }
21894
+ return obj;
21895
+ };
21896
+ }
21897
+
21898
+
21899
+ /**
21900
+ * Deserializes binary data (in protobuf wire format).
21901
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21902
+ * @return {!proto.agentbillingserviceapi.FileDownloadChunk}
21903
+ */
21904
+ proto.agentbillingserviceapi.FileDownloadChunk.deserializeBinary = function(bytes) {
21905
+ var reader = new jspb.BinaryReader(bytes);
21906
+ var msg = new proto.agentbillingserviceapi.FileDownloadChunk;
21907
+ return proto.agentbillingserviceapi.FileDownloadChunk.deserializeBinaryFromReader(msg, reader);
21908
+ };
21909
+
21910
+
21911
+ /**
21912
+ * Deserializes binary data (in protobuf wire format) from the
21913
+ * given reader into the given message object.
21914
+ * @param {!proto.agentbillingserviceapi.FileDownloadChunk} msg The message object to deserialize into.
21915
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21916
+ * @return {!proto.agentbillingserviceapi.FileDownloadChunk}
21917
+ */
21918
+ proto.agentbillingserviceapi.FileDownloadChunk.deserializeBinaryFromReader = function(msg, reader) {
21919
+ while (reader.nextField()) {
21920
+ if (reader.isEndGroup()) {
21921
+ break;
21922
+ }
21923
+ var field = reader.getFieldNumber();
21924
+ switch (field) {
21925
+ case 1:
21926
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
21927
+ msg.setData(value);
21928
+ break;
21929
+ default:
21930
+ reader.skipField();
21931
+ break;
21932
+ }
21933
+ }
21934
+ return msg;
21935
+ };
21936
+
21937
+
21938
+ /**
21939
+ * Serializes the message to binary data (in protobuf wire format).
21940
+ * @return {!Uint8Array}
21941
+ */
21942
+ proto.agentbillingserviceapi.FileDownloadChunk.prototype.serializeBinary = function() {
21943
+ var writer = new jspb.BinaryWriter();
21944
+ proto.agentbillingserviceapi.FileDownloadChunk.serializeBinaryToWriter(this, writer);
21945
+ return writer.getResultBuffer();
21946
+ };
21947
+
21948
+
21949
+ /**
21950
+ * Serializes the given message to binary data (in protobuf wire
21951
+ * format), writing to the given BinaryWriter.
21952
+ * @param {!proto.agentbillingserviceapi.FileDownloadChunk} message
21953
+ * @param {!jspb.BinaryWriter} writer
21954
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21955
+ */
21956
+ proto.agentbillingserviceapi.FileDownloadChunk.serializeBinaryToWriter = function(message, writer) {
21957
+ var f = undefined;
21958
+ f = message.getData_asU8();
21959
+ if (f.length > 0) {
21960
+ writer.writeBytes(
21961
+ 1,
21962
+ f
21963
+ );
21964
+ }
21965
+ };
21966
+
21967
+
21968
+ /**
21969
+ * optional bytes data = 1;
21970
+ * @return {!(string|Uint8Array)}
21971
+ */
21972
+ proto.agentbillingserviceapi.FileDownloadChunk.prototype.getData = function() {
21973
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
21974
+ };
21975
+
21976
+
21977
+ /**
21978
+ * optional bytes data = 1;
21979
+ * This is a type-conversion wrapper around `getData()`
21980
+ * @return {string}
21981
+ */
21982
+ proto.agentbillingserviceapi.FileDownloadChunk.prototype.getData_asB64 = function() {
21983
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
21984
+ this.getData()));
21985
+ };
21986
+
21987
+
21988
+ /**
21989
+ * optional bytes data = 1;
21990
+ * Note that Uint8Array is not supported on all browsers.
21991
+ * @see http://caniuse.com/Uint8Array
21992
+ * This is a type-conversion wrapper around `getData()`
21993
+ * @return {!Uint8Array}
21994
+ */
21995
+ proto.agentbillingserviceapi.FileDownloadChunk.prototype.getData_asU8 = function() {
21996
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
21997
+ this.getData()));
21998
+ };
21999
+
22000
+
22001
+ /**
22002
+ * @param {!(string|Uint8Array)} value
22003
+ * @return {!proto.agentbillingserviceapi.FileDownloadChunk} returns this
22004
+ */
22005
+ proto.agentbillingserviceapi.FileDownloadChunk.prototype.setData = function(value) {
22006
+ return jspb.Message.setProto3BytesField(this, 1, value);
22007
+ };
22008
+
22009
+
21804
22010
  /**
21805
22011
  * @enum {number}
21806
22012
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.3.1701",
3
+ "version": "24.4.1725",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",