@sniipwebmaster/agent-billing-client-grpcweb 24.10.2885 → 24.10.2906

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.
@@ -3179,5 +3179,61 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
3179
3179
  };
3180
3180
 
3181
3181
 
3182
+ /**
3183
+ * @const
3184
+ * @type {!grpc.web.MethodDescriptor<
3185
+ * !proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest,
3186
+ * !proto.agentbillingserviceapi.FileDownloadChunk>}
3187
+ */
3188
+ const methodDescriptor_AgentBillingServiceAPIService_DownloadReceiptsCsvForClientInPeriod = new grpc.web.MethodDescriptor(
3189
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
3190
+ grpc.web.MethodType.SERVER_STREAMING,
3191
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest,
3192
+ proto.agentbillingserviceapi.FileDownloadChunk,
3193
+ /**
3194
+ * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request
3195
+ * @return {!Uint8Array}
3196
+ */
3197
+ function(request) {
3198
+ return request.serializeBinary();
3199
+ },
3200
+ proto.agentbillingserviceapi.FileDownloadChunk.deserializeBinary
3201
+ );
3202
+
3203
+
3204
+ /**
3205
+ * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request The request proto
3206
+ * @param {?Object<string, string>=} metadata User defined
3207
+ * call metadata
3208
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.FileDownloadChunk>}
3209
+ * The XHR Node Readable Stream
3210
+ */
3211
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.downloadReceiptsCsvForClientInPeriod =
3212
+ function(request, metadata) {
3213
+ return this.client_.serverStreaming(this.hostname_ +
3214
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
3215
+ request,
3216
+ metadata || {},
3217
+ methodDescriptor_AgentBillingServiceAPIService_DownloadReceiptsCsvForClientInPeriod);
3218
+ };
3219
+
3220
+
3221
+ /**
3222
+ * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} request The request proto
3223
+ * @param {?Object<string, string>=} metadata User defined
3224
+ * call metadata
3225
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.FileDownloadChunk>}
3226
+ * The XHR Node Readable Stream
3227
+ */
3228
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.downloadReceiptsCsvForClientInPeriod =
3229
+ function(request, metadata) {
3230
+ return this.client_.serverStreaming(this.hostname_ +
3231
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/DownloadReceiptsCsvForClientInPeriod',
3232
+ request,
3233
+ metadata || {},
3234
+ methodDescriptor_AgentBillingServiceAPIService_DownloadReceiptsCsvForClientInPeriod);
3235
+ };
3236
+
3237
+
3182
3238
  module.exports = proto.agentbillingserviceapi;
3183
3239
 
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
58
58
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
59
59
  goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
60
60
  goog.exportSymbol('proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest', null, global);
61
+ goog.exportSymbol('proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest', null, global);
61
62
  goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadChunk', null, global);
62
63
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
63
64
  goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
@@ -2045,6 +2046,27 @@ if (goog.DEBUG && !COMPILED) {
2045
2046
  */
2046
2047
  proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest.displayName = 'proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest';
2047
2048
  }
2049
+ /**
2050
+ * Generated by JsPbCodeGenerator.
2051
+ * @param {Array=} opt_data Optional initial data array, typically from a
2052
+ * server response, or constructed directly in Javascript. The array is used
2053
+ * in place and becomes part of the constructed object. It is not cloned.
2054
+ * If no data is provided, the constructed object will be empty, but still
2055
+ * valid.
2056
+ * @extends {jspb.Message}
2057
+ * @constructor
2058
+ */
2059
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest = function(opt_data) {
2060
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2061
+ };
2062
+ goog.inherits(proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest, jspb.Message);
2063
+ if (goog.DEBUG && !COMPILED) {
2064
+ /**
2065
+ * @public
2066
+ * @override
2067
+ */
2068
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.displayName = 'proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest';
2069
+ }
2048
2070
 
2049
2071
 
2050
2072
 
@@ -25643,6 +25665,226 @@ proto.agentbillingserviceapi.DownloadFailedImportErrorLogForTextBasedFileRequest
25643
25665
  };
25644
25666
 
25645
25667
 
25668
+
25669
+
25670
+
25671
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25672
+ /**
25673
+ * Creates an object representation of this proto.
25674
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25675
+ * Optional fields that are not set will be set to undefined.
25676
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25677
+ * For the list of reserved names please see:
25678
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25679
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25680
+ * JSPB instance for transitional soy proto support:
25681
+ * http://goto/soy-param-migration
25682
+ * @return {!Object}
25683
+ */
25684
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.toObject = function(opt_includeInstance) {
25685
+ return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject(opt_includeInstance, this);
25686
+ };
25687
+
25688
+
25689
+ /**
25690
+ * Static version of the {@see toObject} method.
25691
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25692
+ * the JSPB instance for transitional soy proto support:
25693
+ * http://goto/soy-param-migration
25694
+ * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The msg instance to transform.
25695
+ * @return {!Object}
25696
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25697
+ */
25698
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.toObject = function(includeInstance, msg) {
25699
+ var f, obj = {
25700
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
25701
+ startdate: jspb.Message.getFieldWithDefault(msg, 2, ""),
25702
+ enddate: jspb.Message.getFieldWithDefault(msg, 3, ""),
25703
+ timezone: jspb.Message.getFieldWithDefault(msg, 4, "")
25704
+ };
25705
+
25706
+ if (includeInstance) {
25707
+ obj.$jspbMessageInstance = msg;
25708
+ }
25709
+ return obj;
25710
+ };
25711
+ }
25712
+
25713
+
25714
+ /**
25715
+ * Deserializes binary data (in protobuf wire format).
25716
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25717
+ * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
25718
+ */
25719
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinary = function(bytes) {
25720
+ var reader = new jspb.BinaryReader(bytes);
25721
+ var msg = new proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest;
25722
+ return proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader(msg, reader);
25723
+ };
25724
+
25725
+
25726
+ /**
25727
+ * Deserializes binary data (in protobuf wire format) from the
25728
+ * given reader into the given message object.
25729
+ * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} msg The message object to deserialize into.
25730
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25731
+ * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest}
25732
+ */
25733
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
25734
+ while (reader.nextField()) {
25735
+ if (reader.isEndGroup()) {
25736
+ break;
25737
+ }
25738
+ var field = reader.getFieldNumber();
25739
+ switch (field) {
25740
+ case 1:
25741
+ var value = /** @type {number} */ (reader.readInt64());
25742
+ msg.setClientuserid(value);
25743
+ break;
25744
+ case 2:
25745
+ var value = /** @type {string} */ (reader.readString());
25746
+ msg.setStartdate(value);
25747
+ break;
25748
+ case 3:
25749
+ var value = /** @type {string} */ (reader.readString());
25750
+ msg.setEnddate(value);
25751
+ break;
25752
+ case 4:
25753
+ var value = /** @type {string} */ (reader.readString());
25754
+ msg.setTimezone(value);
25755
+ break;
25756
+ default:
25757
+ reader.skipField();
25758
+ break;
25759
+ }
25760
+ }
25761
+ return msg;
25762
+ };
25763
+
25764
+
25765
+ /**
25766
+ * Serializes the message to binary data (in protobuf wire format).
25767
+ * @return {!Uint8Array}
25768
+ */
25769
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.serializeBinary = function() {
25770
+ var writer = new jspb.BinaryWriter();
25771
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter(this, writer);
25772
+ return writer.getResultBuffer();
25773
+ };
25774
+
25775
+
25776
+ /**
25777
+ * Serializes the given message to binary data (in protobuf wire
25778
+ * format), writing to the given BinaryWriter.
25779
+ * @param {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} message
25780
+ * @param {!jspb.BinaryWriter} writer
25781
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25782
+ */
25783
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.serializeBinaryToWriter = function(message, writer) {
25784
+ var f = undefined;
25785
+ f = message.getClientuserid();
25786
+ if (f !== 0) {
25787
+ writer.writeInt64(
25788
+ 1,
25789
+ f
25790
+ );
25791
+ }
25792
+ f = message.getStartdate();
25793
+ if (f.length > 0) {
25794
+ writer.writeString(
25795
+ 2,
25796
+ f
25797
+ );
25798
+ }
25799
+ f = message.getEnddate();
25800
+ if (f.length > 0) {
25801
+ writer.writeString(
25802
+ 3,
25803
+ f
25804
+ );
25805
+ }
25806
+ f = message.getTimezone();
25807
+ if (f.length > 0) {
25808
+ writer.writeString(
25809
+ 4,
25810
+ f
25811
+ );
25812
+ }
25813
+ };
25814
+
25815
+
25816
+ /**
25817
+ * optional int64 clientUserId = 1;
25818
+ * @return {number}
25819
+ */
25820
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getClientuserid = function() {
25821
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
25822
+ };
25823
+
25824
+
25825
+ /**
25826
+ * @param {number} value
25827
+ * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25828
+ */
25829
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setClientuserid = function(value) {
25830
+ return jspb.Message.setProto3IntField(this, 1, value);
25831
+ };
25832
+
25833
+
25834
+ /**
25835
+ * optional string startDate = 2;
25836
+ * @return {string}
25837
+ */
25838
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getStartdate = function() {
25839
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
25840
+ };
25841
+
25842
+
25843
+ /**
25844
+ * @param {string} value
25845
+ * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25846
+ */
25847
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setStartdate = function(value) {
25848
+ return jspb.Message.setProto3StringField(this, 2, value);
25849
+ };
25850
+
25851
+
25852
+ /**
25853
+ * optional string endDate = 3;
25854
+ * @return {string}
25855
+ */
25856
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getEnddate = function() {
25857
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
25858
+ };
25859
+
25860
+
25861
+ /**
25862
+ * @param {string} value
25863
+ * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25864
+ */
25865
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setEnddate = function(value) {
25866
+ return jspb.Message.setProto3StringField(this, 3, value);
25867
+ };
25868
+
25869
+
25870
+ /**
25871
+ * optional string timezone = 4;
25872
+ * @return {string}
25873
+ */
25874
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.getTimezone = function() {
25875
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
25876
+ };
25877
+
25878
+
25879
+ /**
25880
+ * @param {string} value
25881
+ * @return {!proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest} returns this
25882
+ */
25883
+ proto.agentbillingserviceapi.DownloadReceiptsCsvForClientInPeriodRequest.prototype.setTimezone = function(value) {
25884
+ return jspb.Message.setProto3StringField(this, 4, value);
25885
+ };
25886
+
25887
+
25646
25888
  /**
25647
25889
  * @enum {number}
25648
25890
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.10.2885",
3
+ "version": "24.10.2906",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",