@sniipwebmaster/agent-billing-client-grpcweb 23.13.926 → 23.13.940

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.
@@ -392,6 +392,86 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
392
392
  };
393
393
 
394
394
 
395
+ /**
396
+ * @const
397
+ * @type {!grpc.web.MethodDescriptor<
398
+ * !proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest,
399
+ * !proto.agentbillingserviceapi.ResponseCode>}
400
+ */
401
+ const methodDescriptor_AgentBillingServiceAPIService_CreateAndSendDeliveryBatch = new grpc.web.MethodDescriptor(
402
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndSendDeliveryBatch',
403
+ grpc.web.MethodType.UNARY,
404
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest,
405
+ proto.agentbillingserviceapi.ResponseCode,
406
+ /**
407
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} request
408
+ * @return {!Uint8Array}
409
+ */
410
+ function(request) {
411
+ return request.serializeBinary();
412
+ },
413
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
414
+ );
415
+
416
+
417
+ /**
418
+ * @const
419
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
420
+ * !proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest,
421
+ * !proto.agentbillingserviceapi.ResponseCode>}
422
+ */
423
+ const methodInfo_AgentBillingServiceAPIService_CreateAndSendDeliveryBatch = new grpc.web.AbstractClientBase.MethodInfo(
424
+ proto.agentbillingserviceapi.ResponseCode,
425
+ /**
426
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} request
427
+ * @return {!Uint8Array}
428
+ */
429
+ function(request) {
430
+ return request.serializeBinary();
431
+ },
432
+ proto.agentbillingserviceapi.ResponseCode.deserializeBinary
433
+ );
434
+
435
+
436
+ /**
437
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} request The
438
+ * request proto
439
+ * @param {?Object<string, string>} metadata User defined
440
+ * call metadata
441
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.ResponseCode)}
442
+ * callback The callback function(error, response)
443
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.ResponseCode>|undefined}
444
+ * The XHR Node Readable Stream
445
+ */
446
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.createAndSendDeliveryBatch =
447
+ function(request, metadata, callback) {
448
+ return this.client_.rpcCall(this.hostname_ +
449
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndSendDeliveryBatch',
450
+ request,
451
+ metadata || {},
452
+ methodDescriptor_AgentBillingServiceAPIService_CreateAndSendDeliveryBatch,
453
+ callback);
454
+ };
455
+
456
+
457
+ /**
458
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} request The
459
+ * request proto
460
+ * @param {?Object<string, string>} metadata User defined
461
+ * call metadata
462
+ * @return {!Promise<!proto.agentbillingserviceapi.ResponseCode>}
463
+ * Promise that resolves to the response
464
+ */
465
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.createAndSendDeliveryBatch =
466
+ function(request, metadata) {
467
+ return this.client_.unaryCall(this.hostname_ +
468
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateAndSendDeliveryBatch',
469
+ request,
470
+ metadata || {},
471
+ methodDescriptor_AgentBillingServiceAPIService_CreateAndSendDeliveryBatch);
472
+ };
473
+
474
+
395
475
  /**
396
476
  * @const
397
477
  * @type {!grpc.web.MethodDescriptor<
@@ -1592,6 +1672,86 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
1592
1672
  };
1593
1673
 
1594
1674
 
1675
+ /**
1676
+ * @const
1677
+ * @type {!grpc.web.MethodDescriptor<
1678
+ * !proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest,
1679
+ * !proto.agentbillingserviceapi.GetAgentBillsResponse>}
1680
+ */
1681
+ const methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchContentsToPayOfClient = new grpc.web.MethodDescriptor(
1682
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPayOfClient',
1683
+ grpc.web.MethodType.UNARY,
1684
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest,
1685
+ proto.agentbillingserviceapi.GetAgentBillsResponse,
1686
+ /**
1687
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} request
1688
+ * @return {!Uint8Array}
1689
+ */
1690
+ function(request) {
1691
+ return request.serializeBinary();
1692
+ },
1693
+ proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinary
1694
+ );
1695
+
1696
+
1697
+ /**
1698
+ * @const
1699
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1700
+ * !proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest,
1701
+ * !proto.agentbillingserviceapi.GetAgentBillsResponse>}
1702
+ */
1703
+ const methodInfo_AgentBillingServiceAPIService_GetDeliveryBatchContentsToPayOfClient = new grpc.web.AbstractClientBase.MethodInfo(
1704
+ proto.agentbillingserviceapi.GetAgentBillsResponse,
1705
+ /**
1706
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} request
1707
+ * @return {!Uint8Array}
1708
+ */
1709
+ function(request) {
1710
+ return request.serializeBinary();
1711
+ },
1712
+ proto.agentbillingserviceapi.GetAgentBillsResponse.deserializeBinary
1713
+ );
1714
+
1715
+
1716
+ /**
1717
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} request The
1718
+ * request proto
1719
+ * @param {?Object<string, string>} metadata User defined
1720
+ * call metadata
1721
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.GetAgentBillsResponse)}
1722
+ * callback The callback function(error, response)
1723
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetAgentBillsResponse>|undefined}
1724
+ * The XHR Node Readable Stream
1725
+ */
1726
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getDeliveryBatchContentsToPayOfClient =
1727
+ function(request, metadata, callback) {
1728
+ return this.client_.rpcCall(this.hostname_ +
1729
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPayOfClient',
1730
+ request,
1731
+ metadata || {},
1732
+ methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchContentsToPayOfClient,
1733
+ callback);
1734
+ };
1735
+
1736
+
1737
+ /**
1738
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} request The
1739
+ * request proto
1740
+ * @param {?Object<string, string>} metadata User defined
1741
+ * call metadata
1742
+ * @return {!Promise<!proto.agentbillingserviceapi.GetAgentBillsResponse>}
1743
+ * Promise that resolves to the response
1744
+ */
1745
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getDeliveryBatchContentsToPayOfClient =
1746
+ function(request, metadata) {
1747
+ return this.client_.unaryCall(this.hostname_ +
1748
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchContentsToPayOfClient',
1749
+ request,
1750
+ metadata || {},
1751
+ methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchContentsToPayOfClient);
1752
+ };
1753
+
1754
+
1595
1755
  /**
1596
1756
  * @const
1597
1757
  * @type {!grpc.web.MethodDescriptor<
@@ -1752,6 +1912,86 @@ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototyp
1752
1912
  };
1753
1913
 
1754
1914
 
1915
+ /**
1916
+ * @const
1917
+ * @type {!grpc.web.MethodDescriptor<
1918
+ * !proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest,
1919
+ * !proto.agentbillingserviceapi.GetDeliveryBatchesResponse>}
1920
+ */
1921
+ const methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchesToPayOfClient = new grpc.web.MethodDescriptor(
1922
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayOfClient',
1923
+ grpc.web.MethodType.UNARY,
1924
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest,
1925
+ proto.agentbillingserviceapi.GetDeliveryBatchesResponse,
1926
+ /**
1927
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} request
1928
+ * @return {!Uint8Array}
1929
+ */
1930
+ function(request) {
1931
+ return request.serializeBinary();
1932
+ },
1933
+ proto.agentbillingserviceapi.GetDeliveryBatchesResponse.deserializeBinary
1934
+ );
1935
+
1936
+
1937
+ /**
1938
+ * @const
1939
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1940
+ * !proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest,
1941
+ * !proto.agentbillingserviceapi.GetDeliveryBatchesResponse>}
1942
+ */
1943
+ const methodInfo_AgentBillingServiceAPIService_GetDeliveryBatchesToPayOfClient = new grpc.web.AbstractClientBase.MethodInfo(
1944
+ proto.agentbillingserviceapi.GetDeliveryBatchesResponse,
1945
+ /**
1946
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} request
1947
+ * @return {!Uint8Array}
1948
+ */
1949
+ function(request) {
1950
+ return request.serializeBinary();
1951
+ },
1952
+ proto.agentbillingserviceapi.GetDeliveryBatchesResponse.deserializeBinary
1953
+ );
1954
+
1955
+
1956
+ /**
1957
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} request The
1958
+ * request proto
1959
+ * @param {?Object<string, string>} metadata User defined
1960
+ * call metadata
1961
+ * @param {function(?grpc.web.Error, ?proto.agentbillingserviceapi.GetDeliveryBatchesResponse)}
1962
+ * callback The callback function(error, response)
1963
+ * @return {!grpc.web.ClientReadableStream<!proto.agentbillingserviceapi.GetDeliveryBatchesResponse>|undefined}
1964
+ * The XHR Node Readable Stream
1965
+ */
1966
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServiceClient.prototype.getDeliveryBatchesToPayOfClient =
1967
+ function(request, metadata, callback) {
1968
+ return this.client_.rpcCall(this.hostname_ +
1969
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayOfClient',
1970
+ request,
1971
+ metadata || {},
1972
+ methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchesToPayOfClient,
1973
+ callback);
1974
+ };
1975
+
1976
+
1977
+ /**
1978
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} request The
1979
+ * request proto
1980
+ * @param {?Object<string, string>} metadata User defined
1981
+ * call metadata
1982
+ * @return {!Promise<!proto.agentbillingserviceapi.GetDeliveryBatchesResponse>}
1983
+ * Promise that resolves to the response
1984
+ */
1985
+ proto.agentbillingserviceapi.AgentBillingServiceAPIServicePromiseClient.prototype.getDeliveryBatchesToPayOfClient =
1986
+ function(request, metadata) {
1987
+ return this.client_.unaryCall(this.hostname_ +
1988
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetDeliveryBatchesToPayOfClient',
1989
+ request,
1990
+ metadata || {},
1991
+ methodDescriptor_AgentBillingServiceAPIService_GetDeliveryBatchesToPayOfClient);
1992
+ };
1993
+
1994
+
1755
1995
  /**
1756
1996
  * @const
1757
1997
  * @type {!grpc.web.MethodDescriptor<
@@ -25,6 +25,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null,
25
25
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
26
26
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
27
27
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
28
+ goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
28
29
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
29
30
  goog.exportSymbol('proto.agentbillingserviceapi.DeclineAgentInvitationRequest', null, global);
30
31
  goog.exportSymbol('proto.agentbillingserviceapi.DeleteAgentBillResult', null, global);
@@ -51,10 +52,12 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientResponse', nu
51
52
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsRequest', null, global);
52
53
  goog.exportSymbol('proto.agentbillingserviceapi.GetAssociatedClientsResponse', null, global);
53
54
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse', null, global);
55
+ goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest', null, global);
54
56
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayRequest', null, global);
55
57
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesResponse', null, global);
56
58
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountRequest', null, global);
57
59
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse', null, global);
60
+ goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest', null, global);
58
61
  goog.exportSymbol('proto.agentbillingserviceapi.GetDeliveryBatchesToPayRequest', null, global);
59
62
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftRequest', null, global);
60
63
  goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
@@ -299,6 +302,27 @@ if (goog.DEBUG && !COMPILED) {
299
302
  */
300
303
  proto.agentbillingserviceapi.CreateAgentBillsResponse.displayName = 'proto.agentbillingserviceapi.CreateAgentBillsResponse';
301
304
  }
305
+ /**
306
+ * Generated by JsPbCodeGenerator.
307
+ * @param {Array=} opt_data Optional initial data array, typically from a
308
+ * server response, or constructed directly in Javascript. The array is used
309
+ * in place and becomes part of the constructed object. It is not cloned.
310
+ * If no data is provided, the constructed object will be empty, but still
311
+ * valid.
312
+ * @extends {jspb.Message}
313
+ * @constructor
314
+ */
315
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest = function(opt_data) {
316
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.repeatedFields_, null);
317
+ };
318
+ goog.inherits(proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest, jspb.Message);
319
+ if (goog.DEBUG && !COMPILED) {
320
+ /**
321
+ * @public
322
+ * @override
323
+ */
324
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.displayName = 'proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest';
325
+ }
302
326
  /**
303
327
  * Generated by JsPbCodeGenerator.
304
328
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -845,6 +869,27 @@ if (goog.DEBUG && !COMPILED) {
845
869
  */
846
870
  proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse';
847
871
  }
872
+ /**
873
+ * Generated by JsPbCodeGenerator.
874
+ * @param {Array=} opt_data Optional initial data array, typically from a
875
+ * server response, or constructed directly in Javascript. The array is used
876
+ * in place and becomes part of the constructed object. It is not cloned.
877
+ * If no data is provided, the constructed object will be empty, but still
878
+ * valid.
879
+ * @extends {jspb.Message}
880
+ * @constructor
881
+ */
882
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest = function(opt_data) {
883
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
884
+ };
885
+ goog.inherits(proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest, jspb.Message);
886
+ if (goog.DEBUG && !COMPILED) {
887
+ /**
888
+ * @public
889
+ * @override
890
+ */
891
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest';
892
+ }
848
893
  /**
849
894
  * Generated by JsPbCodeGenerator.
850
895
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -929,6 +974,27 @@ if (goog.DEBUG && !COMPILED) {
929
974
  */
930
975
  proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse';
931
976
  }
977
+ /**
978
+ * Generated by JsPbCodeGenerator.
979
+ * @param {Array=} opt_data Optional initial data array, typically from a
980
+ * server response, or constructed directly in Javascript. The array is used
981
+ * in place and becomes part of the constructed object. It is not cloned.
982
+ * If no data is provided, the constructed object will be empty, but still
983
+ * valid.
984
+ * @extends {jspb.Message}
985
+ * @constructor
986
+ */
987
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest = function(opt_data) {
988
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
989
+ };
990
+ goog.inherits(proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest, jspb.Message);
991
+ if (goog.DEBUG && !COMPILED) {
992
+ /**
993
+ * @public
994
+ * @override
995
+ */
996
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.displayName = 'proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest';
997
+ }
932
998
  /**
933
999
  * Generated by JsPbCodeGenerator.
934
1000
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4017,6 +4083,222 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchna
4017
4083
 
4018
4084
 
4019
4085
 
4086
+ /**
4087
+ * List of repeated fields within this message type.
4088
+ * @private {!Array<number>}
4089
+ * @const
4090
+ */
4091
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.repeatedFields_ = [1];
4092
+
4093
+
4094
+
4095
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4096
+ /**
4097
+ * Creates an object representation of this proto.
4098
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4099
+ * Optional fields that are not set will be set to undefined.
4100
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4101
+ * For the list of reserved names please see:
4102
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4103
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4104
+ * JSPB instance for transitional soy proto support:
4105
+ * http://goto/soy-param-migration
4106
+ * @return {!Object}
4107
+ */
4108
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.toObject = function(opt_includeInstance) {
4109
+ return proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.toObject(opt_includeInstance, this);
4110
+ };
4111
+
4112
+
4113
+ /**
4114
+ * Static version of the {@see toObject} method.
4115
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4116
+ * the JSPB instance for transitional soy proto support:
4117
+ * http://goto/soy-param-migration
4118
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} msg The msg instance to transform.
4119
+ * @return {!Object}
4120
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4121
+ */
4122
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.toObject = function(includeInstance, msg) {
4123
+ var f, obj = {
4124
+ agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
4125
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4126
+ deliverybatchname: jspb.Message.getFieldWithDefault(msg, 3, "")
4127
+ };
4128
+
4129
+ if (includeInstance) {
4130
+ obj.$jspbMessageInstance = msg;
4131
+ }
4132
+ return obj;
4133
+ };
4134
+ }
4135
+
4136
+
4137
+ /**
4138
+ * Deserializes binary data (in protobuf wire format).
4139
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4140
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest}
4141
+ */
4142
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.deserializeBinary = function(bytes) {
4143
+ var reader = new jspb.BinaryReader(bytes);
4144
+ var msg = new proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest;
4145
+ return proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.deserializeBinaryFromReader(msg, reader);
4146
+ };
4147
+
4148
+
4149
+ /**
4150
+ * Deserializes binary data (in protobuf wire format) from the
4151
+ * given reader into the given message object.
4152
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} msg The message object to deserialize into.
4153
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4154
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest}
4155
+ */
4156
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.deserializeBinaryFromReader = function(msg, reader) {
4157
+ while (reader.nextField()) {
4158
+ if (reader.isEndGroup()) {
4159
+ break;
4160
+ }
4161
+ var field = reader.getFieldNumber();
4162
+ switch (field) {
4163
+ case 1:
4164
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
4165
+ msg.setAgentbillidsList(value);
4166
+ break;
4167
+ case 2:
4168
+ var value = /** @type {number} */ (reader.readInt64());
4169
+ msg.setClientuserid(value);
4170
+ break;
4171
+ case 3:
4172
+ var value = /** @type {string} */ (reader.readString());
4173
+ msg.setDeliverybatchname(value);
4174
+ break;
4175
+ default:
4176
+ reader.skipField();
4177
+ break;
4178
+ }
4179
+ }
4180
+ return msg;
4181
+ };
4182
+
4183
+
4184
+ /**
4185
+ * Serializes the message to binary data (in protobuf wire format).
4186
+ * @return {!Uint8Array}
4187
+ */
4188
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.serializeBinary = function() {
4189
+ var writer = new jspb.BinaryWriter();
4190
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.serializeBinaryToWriter(this, writer);
4191
+ return writer.getResultBuffer();
4192
+ };
4193
+
4194
+
4195
+ /**
4196
+ * Serializes the given message to binary data (in protobuf wire
4197
+ * format), writing to the given BinaryWriter.
4198
+ * @param {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} message
4199
+ * @param {!jspb.BinaryWriter} writer
4200
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4201
+ */
4202
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.serializeBinaryToWriter = function(message, writer) {
4203
+ var f = undefined;
4204
+ f = message.getAgentbillidsList();
4205
+ if (f.length > 0) {
4206
+ writer.writePackedInt64(
4207
+ 1,
4208
+ f
4209
+ );
4210
+ }
4211
+ f = message.getClientuserid();
4212
+ if (f !== 0) {
4213
+ writer.writeInt64(
4214
+ 2,
4215
+ f
4216
+ );
4217
+ }
4218
+ f = message.getDeliverybatchname();
4219
+ if (f.length > 0) {
4220
+ writer.writeString(
4221
+ 3,
4222
+ f
4223
+ );
4224
+ }
4225
+ };
4226
+
4227
+
4228
+ /**
4229
+ * repeated int64 agentBillIds = 1;
4230
+ * @return {!Array<number>}
4231
+ */
4232
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.getAgentbillidsList = function() {
4233
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
4234
+ };
4235
+
4236
+
4237
+ /**
4238
+ * @param {!Array<number>} value
4239
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4240
+ */
4241
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setAgentbillidsList = function(value) {
4242
+ return jspb.Message.setField(this, 1, value || []);
4243
+ };
4244
+
4245
+
4246
+ /**
4247
+ * @param {number} value
4248
+ * @param {number=} opt_index
4249
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4250
+ */
4251
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.addAgentbillids = function(value, opt_index) {
4252
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4253
+ };
4254
+
4255
+
4256
+ /**
4257
+ * Clears the list making it empty but non-null.
4258
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4259
+ */
4260
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.clearAgentbillidsList = function() {
4261
+ return this.setAgentbillidsList([]);
4262
+ };
4263
+
4264
+
4265
+ /**
4266
+ * optional int64 clientUserId = 2;
4267
+ * @return {number}
4268
+ */
4269
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.getClientuserid = function() {
4270
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4271
+ };
4272
+
4273
+
4274
+ /**
4275
+ * @param {number} value
4276
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4277
+ */
4278
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setClientuserid = function(value) {
4279
+ return jspb.Message.setProto3IntField(this, 2, value);
4280
+ };
4281
+
4282
+
4283
+ /**
4284
+ * optional string deliveryBatchName = 3;
4285
+ * @return {string}
4286
+ */
4287
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.getDeliverybatchname = function() {
4288
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4289
+ };
4290
+
4291
+
4292
+ /**
4293
+ * @param {string} value
4294
+ * @return {!proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest} returns this
4295
+ */
4296
+ proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest.prototype.setDeliverybatchname = function(value) {
4297
+ return jspb.Message.setProto3StringField(this, 3, value);
4298
+ };
4299
+
4300
+
4301
+
4020
4302
 
4021
4303
 
4022
4304
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -5584,7 +5866,8 @@ proto.agentbillingserviceapi.DeliveryBatch.toObject = function(includeInstance,
5584
5866
  agentuserid: jspb.Message.getFieldWithDefault(msg, 6, 0),
5585
5867
  agentname: jspb.Message.getFieldWithDefault(msg, 7, ""),
5586
5868
  isbatchlocked: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
5587
- requiresattention: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
5869
+ requiresattention: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
5870
+ creationtimestamp: jspb.Message.getFieldWithDefault(msg, 10, "")
5588
5871
  };
5589
5872
 
5590
5873
  if (includeInstance) {
@@ -5657,6 +5940,10 @@ proto.agentbillingserviceapi.DeliveryBatch.deserializeBinaryFromReader = functio
5657
5940
  var value = /** @type {boolean} */ (reader.readBool());
5658
5941
  msg.setRequiresattention(value);
5659
5942
  break;
5943
+ case 10:
5944
+ var value = /** @type {string} */ (reader.readString());
5945
+ msg.setCreationtimestamp(value);
5946
+ break;
5660
5947
  default:
5661
5948
  reader.skipField();
5662
5949
  break;
@@ -5749,6 +6036,13 @@ proto.agentbillingserviceapi.DeliveryBatch.serializeBinaryToWriter = function(me
5749
6036
  f
5750
6037
  );
5751
6038
  }
6039
+ f = message.getCreationtimestamp();
6040
+ if (f.length > 0) {
6041
+ writer.writeString(
6042
+ 10,
6043
+ f
6044
+ );
6045
+ }
5752
6046
  };
5753
6047
 
5754
6048
 
@@ -5914,14 +6208,32 @@ proto.agentbillingserviceapi.DeliveryBatch.prototype.setRequiresattention = func
5914
6208
  };
5915
6209
 
5916
6210
 
6211
+ /**
6212
+ * optional string creationTimestamp = 10;
6213
+ * @return {string}
6214
+ */
6215
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.getCreationtimestamp = function() {
6216
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
6217
+ };
5917
6218
 
5918
6219
 
5919
-
5920
- if (jspb.Message.GENERATE_TO_OBJECT) {
5921
6220
  /**
5922
- * Creates an object representation of this proto.
5923
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
5924
- * Optional fields that are not set will be set to undefined.
6221
+ * @param {string} value
6222
+ * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
6223
+ */
6224
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.setCreationtimestamp = function(value) {
6225
+ return jspb.Message.setProto3StringField(this, 10, value);
6226
+ };
6227
+
6228
+
6229
+
6230
+
6231
+
6232
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6233
+ /**
6234
+ * Creates an object representation of this proto.
6235
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6236
+ * Optional fields that are not set will be set to undefined.
5925
6237
  * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5926
6238
  * For the list of reserved names please see:
5927
6239
  * net/proto2/compiler/js/internal/generator.cc#kKeyword.
@@ -9747,6 +10059,256 @@ proto.agentbillingserviceapi.GetDeliveryBatchContentsResponse.prototype.clearAge
9747
10059
 
9748
10060
 
9749
10061
 
10062
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10063
+ /**
10064
+ * Creates an object representation of this proto.
10065
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10066
+ * Optional fields that are not set will be set to undefined.
10067
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10068
+ * For the list of reserved names please see:
10069
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10070
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10071
+ * JSPB instance for transitional soy proto support:
10072
+ * http://goto/soy-param-migration
10073
+ * @return {!Object}
10074
+ */
10075
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.toObject = function(opt_includeInstance) {
10076
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject(opt_includeInstance, this);
10077
+ };
10078
+
10079
+
10080
+ /**
10081
+ * Static version of the {@see toObject} method.
10082
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10083
+ * the JSPB instance for transitional soy proto support:
10084
+ * http://goto/soy-param-migration
10085
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The msg instance to transform.
10086
+ * @return {!Object}
10087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10088
+ */
10089
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.toObject = function(includeInstance, msg) {
10090
+ var f, obj = {
10091
+ deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0),
10092
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
10093
+ size: jspb.Message.getFieldWithDefault(msg, 3, 0),
10094
+ sortby: jspb.Message.getFieldWithDefault(msg, 4, ""),
10095
+ sortdirection: jspb.Message.getFieldWithDefault(msg, 5, "")
10096
+ };
10097
+
10098
+ if (includeInstance) {
10099
+ obj.$jspbMessageInstance = msg;
10100
+ }
10101
+ return obj;
10102
+ };
10103
+ }
10104
+
10105
+
10106
+ /**
10107
+ * Deserializes binary data (in protobuf wire format).
10108
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10109
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest}
10110
+ */
10111
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinary = function(bytes) {
10112
+ var reader = new jspb.BinaryReader(bytes);
10113
+ var msg = new proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest;
10114
+ return proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinaryFromReader(msg, reader);
10115
+ };
10116
+
10117
+
10118
+ /**
10119
+ * Deserializes binary data (in protobuf wire format) from the
10120
+ * given reader into the given message object.
10121
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} msg The message object to deserialize into.
10122
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10123
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest}
10124
+ */
10125
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.deserializeBinaryFromReader = function(msg, reader) {
10126
+ while (reader.nextField()) {
10127
+ if (reader.isEndGroup()) {
10128
+ break;
10129
+ }
10130
+ var field = reader.getFieldNumber();
10131
+ switch (field) {
10132
+ case 1:
10133
+ var value = /** @type {number} */ (reader.readInt64());
10134
+ msg.setDeliverybatchid(value);
10135
+ break;
10136
+ case 2:
10137
+ var value = /** @type {number} */ (reader.readInt32());
10138
+ msg.setPage(value);
10139
+ break;
10140
+ case 3:
10141
+ var value = /** @type {number} */ (reader.readInt32());
10142
+ msg.setSize(value);
10143
+ break;
10144
+ case 4:
10145
+ var value = /** @type {string} */ (reader.readString());
10146
+ msg.setSortby(value);
10147
+ break;
10148
+ case 5:
10149
+ var value = /** @type {string} */ (reader.readString());
10150
+ msg.setSortdirection(value);
10151
+ break;
10152
+ default:
10153
+ reader.skipField();
10154
+ break;
10155
+ }
10156
+ }
10157
+ return msg;
10158
+ };
10159
+
10160
+
10161
+ /**
10162
+ * Serializes the message to binary data (in protobuf wire format).
10163
+ * @return {!Uint8Array}
10164
+ */
10165
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.serializeBinary = function() {
10166
+ var writer = new jspb.BinaryWriter();
10167
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.serializeBinaryToWriter(this, writer);
10168
+ return writer.getResultBuffer();
10169
+ };
10170
+
10171
+
10172
+ /**
10173
+ * Serializes the given message to binary data (in protobuf wire
10174
+ * format), writing to the given BinaryWriter.
10175
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} message
10176
+ * @param {!jspb.BinaryWriter} writer
10177
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10178
+ */
10179
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.serializeBinaryToWriter = function(message, writer) {
10180
+ var f = undefined;
10181
+ f = message.getDeliverybatchid();
10182
+ if (f !== 0) {
10183
+ writer.writeInt64(
10184
+ 1,
10185
+ f
10186
+ );
10187
+ }
10188
+ f = message.getPage();
10189
+ if (f !== 0) {
10190
+ writer.writeInt32(
10191
+ 2,
10192
+ f
10193
+ );
10194
+ }
10195
+ f = message.getSize();
10196
+ if (f !== 0) {
10197
+ writer.writeInt32(
10198
+ 3,
10199
+ f
10200
+ );
10201
+ }
10202
+ f = message.getSortby();
10203
+ if (f.length > 0) {
10204
+ writer.writeString(
10205
+ 4,
10206
+ f
10207
+ );
10208
+ }
10209
+ f = message.getSortdirection();
10210
+ if (f.length > 0) {
10211
+ writer.writeString(
10212
+ 5,
10213
+ f
10214
+ );
10215
+ }
10216
+ };
10217
+
10218
+
10219
+ /**
10220
+ * optional int64 deliveryBatchId = 1;
10221
+ * @return {number}
10222
+ */
10223
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getDeliverybatchid = function() {
10224
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10225
+ };
10226
+
10227
+
10228
+ /**
10229
+ * @param {number} value
10230
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10231
+ */
10232
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setDeliverybatchid = function(value) {
10233
+ return jspb.Message.setProto3IntField(this, 1, value);
10234
+ };
10235
+
10236
+
10237
+ /**
10238
+ * optional int32 page = 2;
10239
+ * @return {number}
10240
+ */
10241
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getPage = function() {
10242
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10243
+ };
10244
+
10245
+
10246
+ /**
10247
+ * @param {number} value
10248
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10249
+ */
10250
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setPage = function(value) {
10251
+ return jspb.Message.setProto3IntField(this, 2, value);
10252
+ };
10253
+
10254
+
10255
+ /**
10256
+ * optional int32 size = 3;
10257
+ * @return {number}
10258
+ */
10259
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getSize = function() {
10260
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10261
+ };
10262
+
10263
+
10264
+ /**
10265
+ * @param {number} value
10266
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10267
+ */
10268
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setSize = function(value) {
10269
+ return jspb.Message.setProto3IntField(this, 3, value);
10270
+ };
10271
+
10272
+
10273
+ /**
10274
+ * optional string sortBy = 4;
10275
+ * @return {string}
10276
+ */
10277
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getSortby = function() {
10278
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
10279
+ };
10280
+
10281
+
10282
+ /**
10283
+ * @param {string} value
10284
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10285
+ */
10286
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setSortby = function(value) {
10287
+ return jspb.Message.setProto3StringField(this, 4, value);
10288
+ };
10289
+
10290
+
10291
+ /**
10292
+ * optional string sortDirection = 5;
10293
+ * @return {string}
10294
+ */
10295
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.getSortdirection = function() {
10296
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
10297
+ };
10298
+
10299
+
10300
+ /**
10301
+ * @param {string} value
10302
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest} returns this
10303
+ */
10304
+ proto.agentbillingserviceapi.GetDeliveryBatchContentsToPayOfClientRequest.prototype.setSortdirection = function(value) {
10305
+ return jspb.Message.setProto3StringField(this, 5, value);
10306
+ };
10307
+
10308
+
10309
+
10310
+
10311
+
9750
10312
  if (jspb.Message.GENERATE_TO_OBJECT) {
9751
10313
  /**
9752
10314
  * Creates an object representation of this proto.
@@ -10549,6 +11111,226 @@ proto.agentbillingserviceapi.GetDeliveryBatchesToPayCountResponse.prototype.setC
10549
11111
 
10550
11112
 
10551
11113
 
11114
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11115
+ /**
11116
+ * Creates an object representation of this proto.
11117
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11118
+ * Optional fields that are not set will be set to undefined.
11119
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11120
+ * For the list of reserved names please see:
11121
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11122
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11123
+ * JSPB instance for transitional soy proto support:
11124
+ * http://goto/soy-param-migration
11125
+ * @return {!Object}
11126
+ */
11127
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.toObject = function(opt_includeInstance) {
11128
+ return proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.toObject(opt_includeInstance, this);
11129
+ };
11130
+
11131
+
11132
+ /**
11133
+ * Static version of the {@see toObject} method.
11134
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11135
+ * the JSPB instance for transitional soy proto support:
11136
+ * http://goto/soy-param-migration
11137
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} msg The msg instance to transform.
11138
+ * @return {!Object}
11139
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11140
+ */
11141
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.toObject = function(includeInstance, msg) {
11142
+ var f, obj = {
11143
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
11144
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
11145
+ size: jspb.Message.getFieldWithDefault(msg, 3, 0),
11146
+ sortdirection: jspb.Message.getFieldWithDefault(msg, 4, "")
11147
+ };
11148
+
11149
+ if (includeInstance) {
11150
+ obj.$jspbMessageInstance = msg;
11151
+ }
11152
+ return obj;
11153
+ };
11154
+ }
11155
+
11156
+
11157
+ /**
11158
+ * Deserializes binary data (in protobuf wire format).
11159
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11160
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest}
11161
+ */
11162
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.deserializeBinary = function(bytes) {
11163
+ var reader = new jspb.BinaryReader(bytes);
11164
+ var msg = new proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest;
11165
+ return proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.deserializeBinaryFromReader(msg, reader);
11166
+ };
11167
+
11168
+
11169
+ /**
11170
+ * Deserializes binary data (in protobuf wire format) from the
11171
+ * given reader into the given message object.
11172
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} msg The message object to deserialize into.
11173
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11174
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest}
11175
+ */
11176
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.deserializeBinaryFromReader = function(msg, reader) {
11177
+ while (reader.nextField()) {
11178
+ if (reader.isEndGroup()) {
11179
+ break;
11180
+ }
11181
+ var field = reader.getFieldNumber();
11182
+ switch (field) {
11183
+ case 1:
11184
+ var value = /** @type {number} */ (reader.readInt64());
11185
+ msg.setClientuserid(value);
11186
+ break;
11187
+ case 2:
11188
+ var value = /** @type {number} */ (reader.readInt32());
11189
+ msg.setPage(value);
11190
+ break;
11191
+ case 3:
11192
+ var value = /** @type {number} */ (reader.readInt32());
11193
+ msg.setSize(value);
11194
+ break;
11195
+ case 4:
11196
+ var value = /** @type {string} */ (reader.readString());
11197
+ msg.setSortdirection(value);
11198
+ break;
11199
+ default:
11200
+ reader.skipField();
11201
+ break;
11202
+ }
11203
+ }
11204
+ return msg;
11205
+ };
11206
+
11207
+
11208
+ /**
11209
+ * Serializes the message to binary data (in protobuf wire format).
11210
+ * @return {!Uint8Array}
11211
+ */
11212
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.serializeBinary = function() {
11213
+ var writer = new jspb.BinaryWriter();
11214
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.serializeBinaryToWriter(this, writer);
11215
+ return writer.getResultBuffer();
11216
+ };
11217
+
11218
+
11219
+ /**
11220
+ * Serializes the given message to binary data (in protobuf wire
11221
+ * format), writing to the given BinaryWriter.
11222
+ * @param {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} message
11223
+ * @param {!jspb.BinaryWriter} writer
11224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11225
+ */
11226
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.serializeBinaryToWriter = function(message, writer) {
11227
+ var f = undefined;
11228
+ f = message.getClientuserid();
11229
+ if (f !== 0) {
11230
+ writer.writeInt64(
11231
+ 1,
11232
+ f
11233
+ );
11234
+ }
11235
+ f = message.getPage();
11236
+ if (f !== 0) {
11237
+ writer.writeInt32(
11238
+ 2,
11239
+ f
11240
+ );
11241
+ }
11242
+ f = message.getSize();
11243
+ if (f !== 0) {
11244
+ writer.writeInt32(
11245
+ 3,
11246
+ f
11247
+ );
11248
+ }
11249
+ f = message.getSortdirection();
11250
+ if (f.length > 0) {
11251
+ writer.writeString(
11252
+ 4,
11253
+ f
11254
+ );
11255
+ }
11256
+ };
11257
+
11258
+
11259
+ /**
11260
+ * optional int64 clientUserId = 1;
11261
+ * @return {number}
11262
+ */
11263
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getClientuserid = function() {
11264
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11265
+ };
11266
+
11267
+
11268
+ /**
11269
+ * @param {number} value
11270
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11271
+ */
11272
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setClientuserid = function(value) {
11273
+ return jspb.Message.setProto3IntField(this, 1, value);
11274
+ };
11275
+
11276
+
11277
+ /**
11278
+ * optional int32 page = 2;
11279
+ * @return {number}
11280
+ */
11281
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getPage = function() {
11282
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11283
+ };
11284
+
11285
+
11286
+ /**
11287
+ * @param {number} value
11288
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11289
+ */
11290
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setPage = function(value) {
11291
+ return jspb.Message.setProto3IntField(this, 2, value);
11292
+ };
11293
+
11294
+
11295
+ /**
11296
+ * optional int32 size = 3;
11297
+ * @return {number}
11298
+ */
11299
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getSize = function() {
11300
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
11301
+ };
11302
+
11303
+
11304
+ /**
11305
+ * @param {number} value
11306
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11307
+ */
11308
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setSize = function(value) {
11309
+ return jspb.Message.setProto3IntField(this, 3, value);
11310
+ };
11311
+
11312
+
11313
+ /**
11314
+ * optional string sortDirection = 4;
11315
+ * @return {string}
11316
+ */
11317
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.getSortdirection = function() {
11318
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
11319
+ };
11320
+
11321
+
11322
+ /**
11323
+ * @param {string} value
11324
+ * @return {!proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest} returns this
11325
+ */
11326
+ proto.agentbillingserviceapi.GetDeliveryBatchesToPayOfClientRequest.prototype.setSortdirection = function(value) {
11327
+ return jspb.Message.setProto3StringField(this, 4, value);
11328
+ };
11329
+
11330
+
11331
+
11332
+
11333
+
10552
11334
  if (jspb.Message.GENERATE_TO_OBJECT) {
10553
11335
  /**
10554
11336
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "23.13.926",
3
+ "version": "23.13.940",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",