@sniipwebmaster/agent-billing-client-grpcweb-ts 24.4.1860 → 24.4.1871
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.
- package/dependancies/ServiceServiceClientPb.ts +41 -19
- package/dependancies/service_pb.d.ts +119 -47
- package/dependancies/service_pb.js +1087 -536
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null,
|
|
|
34
34
|
goog.exportSymbol('proto.agentbillingserviceapi.CheckConnectionRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
|
|
36
36
|
goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillRequest', null, global);
|
|
38
39
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
|
|
39
40
|
goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
|
|
@@ -50,6 +51,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.DeleteDeliveryBatchRequest', nul
|
|
|
50
51
|
goog.exportSymbol('proto.agentbillingserviceapi.DeliveryBatch', null, global);
|
|
51
52
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectAgentRequest', null, global);
|
|
52
53
|
goog.exportSymbol('proto.agentbillingserviceapi.DisconnectClientRequest', null, global);
|
|
54
|
+
goog.exportSymbol('proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest', null, global);
|
|
53
55
|
goog.exportSymbol('proto.agentbillingserviceapi.FileDownloadChunk', null, global);
|
|
54
56
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentAttachmentsRequest', null, global);
|
|
55
57
|
goog.exportSymbol('proto.agentbillingserviceapi.GetAgentBillCategoryCountsRequest', null, global);
|
|
@@ -86,14 +88,14 @@ goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchContentsInDraftReq
|
|
|
86
88
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesInDraftRequest', null, global);
|
|
87
89
|
goog.exportSymbol('proto.agentbillingserviceapi.GetUploadBatchesResponse', null, global);
|
|
88
90
|
goog.exportSymbol('proto.agentbillingserviceapi.ImportAgentBillRequest', null, global);
|
|
89
|
-
goog.exportSymbol('proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest', null, global);
|
|
90
|
-
goog.exportSymbol('proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse', null, global);
|
|
91
91
|
goog.exportSymbol('proto.agentbillingserviceapi.ImportedBatchInfo', null, global);
|
|
92
92
|
goog.exportSymbol('proto.agentbillingserviceapi.InviteAgentRequest', null, global);
|
|
93
93
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillResult', null, global);
|
|
94
94
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillsByAgentBillIdsRequest', null, global);
|
|
95
95
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillsByUploadBatchIdRequest', null, global);
|
|
96
96
|
goog.exportSymbol('proto.agentbillingserviceapi.ProcessAgentBillsResponse', null, global);
|
|
97
|
+
goog.exportSymbol('proto.agentbillingserviceapi.ProcessCsvRequest', null, global);
|
|
98
|
+
goog.exportSymbol('proto.agentbillingserviceapi.ProcessCsvResponse', null, global);
|
|
97
99
|
goog.exportSymbol('proto.agentbillingserviceapi.RenameUploadBatchRequest', null, global);
|
|
98
100
|
goog.exportSymbol('proto.agentbillingserviceapi.ResendAgentInvitationRequest', null, global);
|
|
99
101
|
goog.exportSymbol('proto.agentbillingserviceapi.ResponseCode', null, global);
|
|
@@ -102,7 +104,6 @@ goog.exportSymbol('proto.agentbillingserviceapi.SendDeliveryBatchReminderRequest
|
|
|
102
104
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatch', null, global);
|
|
103
105
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatchStatus', null, global);
|
|
104
106
|
goog.exportSymbol('proto.agentbillingserviceapi.UploadBatchType', null, global);
|
|
105
|
-
goog.exportSymbol('proto.agentbillingserviceapi.UploadCsvResponse', null, global);
|
|
106
107
|
/**
|
|
107
108
|
* Generated by JsPbCodeGenerator.
|
|
108
109
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -418,6 +419,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
418
419
|
*/
|
|
419
420
|
proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest';
|
|
420
421
|
}
|
|
422
|
+
/**
|
|
423
|
+
* Generated by JsPbCodeGenerator.
|
|
424
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
425
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
426
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
427
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
428
|
+
* valid.
|
|
429
|
+
* @extends {jspb.Message}
|
|
430
|
+
* @constructor
|
|
431
|
+
*/
|
|
432
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest = function(opt_data) {
|
|
433
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
434
|
+
};
|
|
435
|
+
goog.inherits(proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest, jspb.Message);
|
|
436
|
+
if (goog.DEBUG && !COMPILED) {
|
|
437
|
+
/**
|
|
438
|
+
* @public
|
|
439
|
+
* @override
|
|
440
|
+
*/
|
|
441
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.displayName = 'proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest';
|
|
442
|
+
}
|
|
421
443
|
/**
|
|
422
444
|
* Generated by JsPbCodeGenerator.
|
|
423
445
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1457,16 +1479,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1457
1479
|
* @extends {jspb.Message}
|
|
1458
1480
|
* @constructor
|
|
1459
1481
|
*/
|
|
1460
|
-
proto.agentbillingserviceapi.
|
|
1482
|
+
proto.agentbillingserviceapi.ProcessCsvRequest = function(opt_data) {
|
|
1461
1483
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1462
1484
|
};
|
|
1463
|
-
goog.inherits(proto.agentbillingserviceapi.
|
|
1485
|
+
goog.inherits(proto.agentbillingserviceapi.ProcessCsvRequest, jspb.Message);
|
|
1464
1486
|
if (goog.DEBUG && !COMPILED) {
|
|
1465
1487
|
/**
|
|
1466
1488
|
* @public
|
|
1467
1489
|
* @override
|
|
1468
1490
|
*/
|
|
1469
|
-
proto.agentbillingserviceapi.
|
|
1491
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.displayName = 'proto.agentbillingserviceapi.ProcessCsvRequest';
|
|
1470
1492
|
}
|
|
1471
1493
|
/**
|
|
1472
1494
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1478,16 +1500,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1478
1500
|
* @extends {jspb.Message}
|
|
1479
1501
|
* @constructor
|
|
1480
1502
|
*/
|
|
1481
|
-
proto.agentbillingserviceapi.
|
|
1503
|
+
proto.agentbillingserviceapi.ProcessCsvResponse = function(opt_data) {
|
|
1482
1504
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1483
1505
|
};
|
|
1484
|
-
goog.inherits(proto.agentbillingserviceapi.
|
|
1506
|
+
goog.inherits(proto.agentbillingserviceapi.ProcessCsvResponse, jspb.Message);
|
|
1485
1507
|
if (goog.DEBUG && !COMPILED) {
|
|
1486
1508
|
/**
|
|
1487
1509
|
* @public
|
|
1488
1510
|
* @override
|
|
1489
1511
|
*/
|
|
1490
|
-
proto.agentbillingserviceapi.
|
|
1512
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.displayName = 'proto.agentbillingserviceapi.ProcessCsvResponse';
|
|
1491
1513
|
}
|
|
1492
1514
|
/**
|
|
1493
1515
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1720,27 +1742,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1720
1742
|
*/
|
|
1721
1743
|
proto.agentbillingserviceapi.UploadBatch.displayName = 'proto.agentbillingserviceapi.UploadBatch';
|
|
1722
1744
|
}
|
|
1723
|
-
/**
|
|
1724
|
-
* Generated by JsPbCodeGenerator.
|
|
1725
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1726
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1727
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1728
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1729
|
-
* valid.
|
|
1730
|
-
* @extends {jspb.Message}
|
|
1731
|
-
* @constructor
|
|
1732
|
-
*/
|
|
1733
|
-
proto.agentbillingserviceapi.UploadCsvResponse = function(opt_data) {
|
|
1734
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1735
|
-
};
|
|
1736
|
-
goog.inherits(proto.agentbillingserviceapi.UploadCsvResponse, jspb.Message);
|
|
1737
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1738
|
-
/**
|
|
1739
|
-
* @public
|
|
1740
|
-
* @override
|
|
1741
|
-
*/
|
|
1742
|
-
proto.agentbillingserviceapi.UploadCsvResponse.displayName = 'proto.agentbillingserviceapi.UploadCsvResponse';
|
|
1743
|
-
}
|
|
1744
1745
|
/**
|
|
1745
1746
|
* Generated by JsPbCodeGenerator.
|
|
1746
1747
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1846,6 +1847,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1846
1847
|
*/
|
|
1847
1848
|
proto.agentbillingserviceapi.FileDownloadChunk.displayName = 'proto.agentbillingserviceapi.FileDownloadChunk';
|
|
1848
1849
|
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Generated by JsPbCodeGenerator.
|
|
1852
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1853
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1854
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1855
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1856
|
+
* valid.
|
|
1857
|
+
* @extends {jspb.Message}
|
|
1858
|
+
* @constructor
|
|
1859
|
+
*/
|
|
1860
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest = function(opt_data) {
|
|
1861
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1862
|
+
};
|
|
1863
|
+
goog.inherits(proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest, jspb.Message);
|
|
1864
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1865
|
+
/**
|
|
1866
|
+
* @public
|
|
1867
|
+
* @override
|
|
1868
|
+
*/
|
|
1869
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.displayName = 'proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest';
|
|
1870
|
+
}
|
|
1849
1871
|
|
|
1850
1872
|
|
|
1851
1873
|
|
|
@@ -5731,13 +5753,6 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDe
|
|
|
5731
5753
|
|
|
5732
5754
|
|
|
5733
5755
|
|
|
5734
|
-
/**
|
|
5735
|
-
* List of repeated fields within this message type.
|
|
5736
|
-
* @private {!Array<number>}
|
|
5737
|
-
* @const
|
|
5738
|
-
*/
|
|
5739
|
-
proto.agentbillingserviceapi.CreateAgentBillRequest.repeatedFields_ = [15];
|
|
5740
|
-
|
|
5741
5756
|
|
|
5742
5757
|
|
|
5743
5758
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5753,8 +5768,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5753
5768
|
* http://goto/soy-param-migration
|
|
5754
5769
|
* @return {!Object}
|
|
5755
5770
|
*/
|
|
5756
|
-
proto.agentbillingserviceapi.
|
|
5757
|
-
return proto.agentbillingserviceapi.
|
|
5771
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5772
|
+
return proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.toObject(opt_includeInstance, this);
|
|
5758
5773
|
};
|
|
5759
5774
|
|
|
5760
5775
|
|
|
@@ -5763,25 +5778,21 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.toObject = functio
|
|
|
5763
5778
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5764
5779
|
* the JSPB instance for transitional soy proto support:
|
|
5765
5780
|
* http://goto/soy-param-migration
|
|
5766
|
-
* @param {!proto.agentbillingserviceapi.
|
|
5781
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} msg The msg instance to transform.
|
|
5767
5782
|
* @return {!Object}
|
|
5768
5783
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5769
5784
|
*/
|
|
5770
|
-
proto.agentbillingserviceapi.
|
|
5785
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.toObject = function(includeInstance, msg) {
|
|
5771
5786
|
var f, obj = {
|
|
5772
5787
|
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5773
5788
|
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5789
|
+
billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5790
|
+
reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5774
5791
|
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
5775
5792
|
duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
isdraft: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
5780
|
-
requiresreview: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
5781
|
-
hasbeenimported: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
5782
|
-
agentbillid: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
5783
|
-
billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
|
|
5784
|
-
proto.agentbillingserviceapi.BillConfigRequest.toObject, includeInstance)
|
|
5793
|
+
invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5794
|
+
agentuserid: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
5795
|
+
attachmentid: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
5785
5796
|
};
|
|
5786
5797
|
|
|
5787
5798
|
if (includeInstance) {
|
|
@@ -5795,23 +5806,23 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.toObject = function(includeI
|
|
|
5795
5806
|
/**
|
|
5796
5807
|
* Deserializes binary data (in protobuf wire format).
|
|
5797
5808
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5798
|
-
* @return {!proto.agentbillingserviceapi.
|
|
5809
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest}
|
|
5799
5810
|
*/
|
|
5800
|
-
proto.agentbillingserviceapi.
|
|
5811
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.deserializeBinary = function(bytes) {
|
|
5801
5812
|
var reader = new jspb.BinaryReader(bytes);
|
|
5802
|
-
var msg = new proto.agentbillingserviceapi.
|
|
5803
|
-
return proto.agentbillingserviceapi.
|
|
5813
|
+
var msg = new proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest;
|
|
5814
|
+
return proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.deserializeBinaryFromReader(msg, reader);
|
|
5804
5815
|
};
|
|
5805
5816
|
|
|
5806
5817
|
|
|
5807
5818
|
/**
|
|
5808
5819
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5809
5820
|
* given reader into the given message object.
|
|
5810
|
-
* @param {!proto.agentbillingserviceapi.
|
|
5821
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} msg The message object to deserialize into.
|
|
5811
5822
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5812
|
-
* @return {!proto.agentbillingserviceapi.
|
|
5823
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest}
|
|
5813
5824
|
*/
|
|
5814
|
-
proto.agentbillingserviceapi.
|
|
5825
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5815
5826
|
while (reader.nextField()) {
|
|
5816
5827
|
if (reader.isEndGroup()) {
|
|
5817
5828
|
break;
|
|
@@ -5826,6 +5837,14 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader
|
|
|
5826
5837
|
var value = /** @type {number} */ (reader.readInt64());
|
|
5827
5838
|
msg.setUploadbatchid(value);
|
|
5828
5839
|
break;
|
|
5840
|
+
case 3:
|
|
5841
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5842
|
+
msg.setBillercode(value);
|
|
5843
|
+
break;
|
|
5844
|
+
case 4:
|
|
5845
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5846
|
+
msg.setReference(value);
|
|
5847
|
+
break;
|
|
5829
5848
|
case 5:
|
|
5830
5849
|
var value = /** @type {number} */ (reader.readDouble());
|
|
5831
5850
|
msg.setAmount(value);
|
|
@@ -5834,38 +5853,17 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader
|
|
|
5834
5853
|
var value = /** @type {string} */ (reader.readString());
|
|
5835
5854
|
msg.setDuedate(value);
|
|
5836
5855
|
break;
|
|
5837
|
-
case
|
|
5838
|
-
var value = /** @type {string} */ (reader.readString());
|
|
5839
|
-
msg.setDescription(value);
|
|
5840
|
-
break;
|
|
5841
|
-
case 9:
|
|
5856
|
+
case 7:
|
|
5842
5857
|
var value = /** @type {string} */ (reader.readString());
|
|
5843
|
-
msg.
|
|
5858
|
+
msg.setInvoicenumber(value);
|
|
5844
5859
|
break;
|
|
5845
|
-
case
|
|
5860
|
+
case 8:
|
|
5846
5861
|
var value = /** @type {number} */ (reader.readInt64());
|
|
5847
|
-
msg.
|
|
5848
|
-
break;
|
|
5849
|
-
case 11:
|
|
5850
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
5851
|
-
msg.setIsdraft(value);
|
|
5852
|
-
break;
|
|
5853
|
-
case 12:
|
|
5854
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
5855
|
-
msg.setRequiresreview(value);
|
|
5856
|
-
break;
|
|
5857
|
-
case 13:
|
|
5858
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
5859
|
-
msg.setHasbeenimported(value);
|
|
5862
|
+
msg.setAgentuserid(value);
|
|
5860
5863
|
break;
|
|
5861
|
-
case
|
|
5864
|
+
case 9:
|
|
5862
5865
|
var value = /** @type {number} */ (reader.readInt64());
|
|
5863
|
-
msg.
|
|
5864
|
-
break;
|
|
5865
|
-
case 15:
|
|
5866
|
-
var value = new proto.agentbillingserviceapi.BillConfigRequest;
|
|
5867
|
-
reader.readMessage(value,proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader);
|
|
5868
|
-
msg.addBillconfigs(value);
|
|
5866
|
+
msg.setAttachmentid(value);
|
|
5869
5867
|
break;
|
|
5870
5868
|
default:
|
|
5871
5869
|
reader.skipField();
|
|
@@ -5880,9 +5878,9 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader
|
|
|
5880
5878
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5881
5879
|
* @return {!Uint8Array}
|
|
5882
5880
|
*/
|
|
5883
|
-
proto.agentbillingserviceapi.
|
|
5881
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.serializeBinary = function() {
|
|
5884
5882
|
var writer = new jspb.BinaryWriter();
|
|
5885
|
-
proto.agentbillingserviceapi.
|
|
5883
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.serializeBinaryToWriter(this, writer);
|
|
5886
5884
|
return writer.getResultBuffer();
|
|
5887
5885
|
};
|
|
5888
5886
|
|
|
@@ -5890,11 +5888,11 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.serializeBinary =
|
|
|
5890
5888
|
/**
|
|
5891
5889
|
* Serializes the given message to binary data (in protobuf wire
|
|
5892
5890
|
* format), writing to the given BinaryWriter.
|
|
5893
|
-
* @param {!proto.agentbillingserviceapi.
|
|
5891
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} message
|
|
5894
5892
|
* @param {!jspb.BinaryWriter} writer
|
|
5895
5893
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5896
5894
|
*/
|
|
5897
|
-
proto.agentbillingserviceapi.
|
|
5895
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5898
5896
|
var f = undefined;
|
|
5899
5897
|
f = message.getClientuserid();
|
|
5900
5898
|
if (f !== 0) {
|
|
@@ -5910,6 +5908,20 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter = fu
|
|
|
5910
5908
|
f
|
|
5911
5909
|
);
|
|
5912
5910
|
}
|
|
5911
|
+
f = message.getBillercode();
|
|
5912
|
+
if (f.length > 0) {
|
|
5913
|
+
writer.writeString(
|
|
5914
|
+
3,
|
|
5915
|
+
f
|
|
5916
|
+
);
|
|
5917
|
+
}
|
|
5918
|
+
f = message.getReference();
|
|
5919
|
+
if (f.length > 0) {
|
|
5920
|
+
writer.writeString(
|
|
5921
|
+
4,
|
|
5922
|
+
f
|
|
5923
|
+
);
|
|
5924
|
+
}
|
|
5913
5925
|
f = message.getAmount();
|
|
5914
5926
|
if (f !== 0.0) {
|
|
5915
5927
|
writer.writeDouble(
|
|
@@ -5924,63 +5936,27 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter = fu
|
|
|
5924
5936
|
f
|
|
5925
5937
|
);
|
|
5926
5938
|
}
|
|
5927
|
-
f = message.
|
|
5928
|
-
if (f.length > 0) {
|
|
5929
|
-
writer.writeString(
|
|
5930
|
-
8,
|
|
5931
|
-
f
|
|
5932
|
-
);
|
|
5933
|
-
}
|
|
5934
|
-
f = message.getAbn();
|
|
5939
|
+
f = message.getInvoicenumber();
|
|
5935
5940
|
if (f.length > 0) {
|
|
5936
5941
|
writer.writeString(
|
|
5937
|
-
|
|
5942
|
+
7,
|
|
5938
5943
|
f
|
|
5939
5944
|
);
|
|
5940
5945
|
}
|
|
5941
|
-
f = message.
|
|
5946
|
+
f = message.getAgentuserid();
|
|
5942
5947
|
if (f !== 0) {
|
|
5943
5948
|
writer.writeInt64(
|
|
5944
|
-
|
|
5945
|
-
f
|
|
5946
|
-
);
|
|
5947
|
-
}
|
|
5948
|
-
f = message.getIsdraft();
|
|
5949
|
-
if (f) {
|
|
5950
|
-
writer.writeBool(
|
|
5951
|
-
11,
|
|
5952
|
-
f
|
|
5953
|
-
);
|
|
5954
|
-
}
|
|
5955
|
-
f = message.getRequiresreview();
|
|
5956
|
-
if (f) {
|
|
5957
|
-
writer.writeBool(
|
|
5958
|
-
12,
|
|
5959
|
-
f
|
|
5960
|
-
);
|
|
5961
|
-
}
|
|
5962
|
-
f = message.getHasbeenimported();
|
|
5963
|
-
if (f) {
|
|
5964
|
-
writer.writeBool(
|
|
5965
|
-
13,
|
|
5949
|
+
8,
|
|
5966
5950
|
f
|
|
5967
5951
|
);
|
|
5968
5952
|
}
|
|
5969
|
-
f = message.
|
|
5953
|
+
f = message.getAttachmentid();
|
|
5970
5954
|
if (f !== 0) {
|
|
5971
5955
|
writer.writeInt64(
|
|
5972
|
-
|
|
5956
|
+
9,
|
|
5973
5957
|
f
|
|
5974
5958
|
);
|
|
5975
5959
|
}
|
|
5976
|
-
f = message.getBillconfigsList();
|
|
5977
|
-
if (f.length > 0) {
|
|
5978
|
-
writer.writeRepeatedMessage(
|
|
5979
|
-
15,
|
|
5980
|
-
f,
|
|
5981
|
-
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter
|
|
5982
|
-
);
|
|
5983
|
-
}
|
|
5984
5960
|
};
|
|
5985
5961
|
|
|
5986
5962
|
|
|
@@ -5988,16 +5964,16 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter = fu
|
|
|
5988
5964
|
* optional int64 clientUserId = 1;
|
|
5989
5965
|
* @return {number}
|
|
5990
5966
|
*/
|
|
5991
|
-
proto.agentbillingserviceapi.
|
|
5967
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getClientuserid = function() {
|
|
5992
5968
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5993
5969
|
};
|
|
5994
5970
|
|
|
5995
5971
|
|
|
5996
5972
|
/**
|
|
5997
5973
|
* @param {number} value
|
|
5998
|
-
* @return {!proto.agentbillingserviceapi.
|
|
5974
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
5999
5975
|
*/
|
|
6000
|
-
proto.agentbillingserviceapi.
|
|
5976
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setClientuserid = function(value) {
|
|
6001
5977
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6002
5978
|
};
|
|
6003
5979
|
|
|
@@ -6006,113 +5982,529 @@ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setClientuserid =
|
|
|
6006
5982
|
* optional int64 uploadBatchId = 2;
|
|
6007
5983
|
* @return {number}
|
|
6008
5984
|
*/
|
|
6009
|
-
proto.agentbillingserviceapi.
|
|
5985
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getUploadbatchid = function() {
|
|
6010
5986
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6011
5987
|
};
|
|
6012
5988
|
|
|
6013
5989
|
|
|
6014
5990
|
/**
|
|
6015
5991
|
* @param {number} value
|
|
6016
|
-
* @return {!proto.agentbillingserviceapi.
|
|
5992
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6017
5993
|
*/
|
|
6018
|
-
proto.agentbillingserviceapi.
|
|
5994
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setUploadbatchid = function(value) {
|
|
6019
5995
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6020
5996
|
};
|
|
6021
5997
|
|
|
6022
5998
|
|
|
6023
5999
|
/**
|
|
6024
|
-
* optional
|
|
6025
|
-
* @return {
|
|
6000
|
+
* optional string billerCode = 3;
|
|
6001
|
+
* @return {string}
|
|
6026
6002
|
*/
|
|
6027
|
-
proto.agentbillingserviceapi.
|
|
6028
|
-
return /** @type {
|
|
6003
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getBillercode = function() {
|
|
6004
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
6029
6005
|
};
|
|
6030
6006
|
|
|
6031
6007
|
|
|
6032
6008
|
/**
|
|
6033
|
-
* @param {
|
|
6034
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6009
|
+
* @param {string} value
|
|
6010
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6035
6011
|
*/
|
|
6036
|
-
proto.agentbillingserviceapi.
|
|
6037
|
-
return jspb.Message.
|
|
6012
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setBillercode = function(value) {
|
|
6013
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
6038
6014
|
};
|
|
6039
6015
|
|
|
6040
6016
|
|
|
6041
6017
|
/**
|
|
6042
|
-
* optional string
|
|
6018
|
+
* optional string reference = 4;
|
|
6043
6019
|
* @return {string}
|
|
6044
6020
|
*/
|
|
6045
|
-
proto.agentbillingserviceapi.
|
|
6046
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6021
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getReference = function() {
|
|
6022
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6047
6023
|
};
|
|
6048
6024
|
|
|
6049
6025
|
|
|
6050
6026
|
/**
|
|
6051
6027
|
* @param {string} value
|
|
6052
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6028
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6053
6029
|
*/
|
|
6054
|
-
proto.agentbillingserviceapi.
|
|
6055
|
-
return jspb.Message.setProto3StringField(this,
|
|
6030
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setReference = function(value) {
|
|
6031
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
6056
6032
|
};
|
|
6057
6033
|
|
|
6058
6034
|
|
|
6059
6035
|
/**
|
|
6060
|
-
* optional
|
|
6061
|
-
* @return {
|
|
6036
|
+
* optional double amount = 5;
|
|
6037
|
+
* @return {number}
|
|
6062
6038
|
*/
|
|
6063
|
-
proto.agentbillingserviceapi.
|
|
6064
|
-
return /** @type {
|
|
6039
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getAmount = function() {
|
|
6040
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
6065
6041
|
};
|
|
6066
6042
|
|
|
6067
6043
|
|
|
6068
6044
|
/**
|
|
6069
|
-
* @param {
|
|
6070
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6045
|
+
* @param {number} value
|
|
6046
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6071
6047
|
*/
|
|
6072
|
-
proto.agentbillingserviceapi.
|
|
6073
|
-
return jspb.Message.
|
|
6048
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setAmount = function(value) {
|
|
6049
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
6074
6050
|
};
|
|
6075
6051
|
|
|
6076
6052
|
|
|
6077
6053
|
/**
|
|
6078
|
-
* optional string
|
|
6054
|
+
* optional string dueDate = 6;
|
|
6079
6055
|
* @return {string}
|
|
6080
6056
|
*/
|
|
6081
|
-
proto.agentbillingserviceapi.
|
|
6082
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
6057
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getDuedate = function() {
|
|
6058
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6083
6059
|
};
|
|
6084
6060
|
|
|
6085
6061
|
|
|
6086
6062
|
/**
|
|
6087
6063
|
* @param {string} value
|
|
6088
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6064
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6089
6065
|
*/
|
|
6090
|
-
proto.agentbillingserviceapi.
|
|
6091
|
-
return jspb.Message.setProto3StringField(this,
|
|
6066
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setDuedate = function(value) {
|
|
6067
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
6092
6068
|
};
|
|
6093
6069
|
|
|
6094
6070
|
|
|
6095
6071
|
/**
|
|
6096
|
-
* optional
|
|
6097
|
-
* @return {
|
|
6072
|
+
* optional string invoiceNumber = 7;
|
|
6073
|
+
* @return {string}
|
|
6098
6074
|
*/
|
|
6099
|
-
proto.agentbillingserviceapi.
|
|
6100
|
-
return /** @type {
|
|
6075
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getInvoicenumber = function() {
|
|
6076
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
6101
6077
|
};
|
|
6102
6078
|
|
|
6103
6079
|
|
|
6104
6080
|
/**
|
|
6105
|
-
* @param {
|
|
6106
|
-
* @return {!proto.agentbillingserviceapi.
|
|
6081
|
+
* @param {string} value
|
|
6082
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6107
6083
|
*/
|
|
6108
|
-
proto.agentbillingserviceapi.
|
|
6109
|
-
return jspb.Message.
|
|
6084
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setInvoicenumber = function(value) {
|
|
6085
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
6110
6086
|
};
|
|
6111
6087
|
|
|
6112
6088
|
|
|
6113
6089
|
/**
|
|
6114
|
-
* optional
|
|
6115
|
-
* @return {
|
|
6090
|
+
* optional int64 agentUserId = 8;
|
|
6091
|
+
* @return {number}
|
|
6092
|
+
*/
|
|
6093
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getAgentuserid = function() {
|
|
6094
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
6095
|
+
};
|
|
6096
|
+
|
|
6097
|
+
|
|
6098
|
+
/**
|
|
6099
|
+
* @param {number} value
|
|
6100
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6101
|
+
*/
|
|
6102
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setAgentuserid = function(value) {
|
|
6103
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
6104
|
+
};
|
|
6105
|
+
|
|
6106
|
+
|
|
6107
|
+
/**
|
|
6108
|
+
* optional int64 attachmentId = 9;
|
|
6109
|
+
* @return {number}
|
|
6110
|
+
*/
|
|
6111
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.getAttachmentid = function() {
|
|
6112
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
6113
|
+
};
|
|
6114
|
+
|
|
6115
|
+
|
|
6116
|
+
/**
|
|
6117
|
+
* @param {number} value
|
|
6118
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest} returns this
|
|
6119
|
+
*/
|
|
6120
|
+
proto.agentbillingserviceapi.CreateAgentBillFromProcessedCsvRowRequest.prototype.setAttachmentid = function(value) {
|
|
6121
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
6122
|
+
};
|
|
6123
|
+
|
|
6124
|
+
|
|
6125
|
+
|
|
6126
|
+
/**
|
|
6127
|
+
* List of repeated fields within this message type.
|
|
6128
|
+
* @private {!Array<number>}
|
|
6129
|
+
* @const
|
|
6130
|
+
*/
|
|
6131
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.repeatedFields_ = [15];
|
|
6132
|
+
|
|
6133
|
+
|
|
6134
|
+
|
|
6135
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6136
|
+
/**
|
|
6137
|
+
* Creates an object representation of this proto.
|
|
6138
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6139
|
+
* Optional fields that are not set will be set to undefined.
|
|
6140
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6141
|
+
* For the list of reserved names please see:
|
|
6142
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6143
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6144
|
+
* JSPB instance for transitional soy proto support:
|
|
6145
|
+
* http://goto/soy-param-migration
|
|
6146
|
+
* @return {!Object}
|
|
6147
|
+
*/
|
|
6148
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6149
|
+
return proto.agentbillingserviceapi.CreateAgentBillRequest.toObject(opt_includeInstance, this);
|
|
6150
|
+
};
|
|
6151
|
+
|
|
6152
|
+
|
|
6153
|
+
/**
|
|
6154
|
+
* Static version of the {@see toObject} method.
|
|
6155
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6156
|
+
* the JSPB instance for transitional soy proto support:
|
|
6157
|
+
* http://goto/soy-param-migration
|
|
6158
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} msg The msg instance to transform.
|
|
6159
|
+
* @return {!Object}
|
|
6160
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6161
|
+
*/
|
|
6162
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.toObject = function(includeInstance, msg) {
|
|
6163
|
+
var f, obj = {
|
|
6164
|
+
clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6165
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6166
|
+
amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
6167
|
+
duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6168
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6169
|
+
abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6170
|
+
billid: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
6171
|
+
isdraft: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
6172
|
+
requiresreview: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
6173
|
+
hasbeenimported: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
6174
|
+
agentbillid: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
6175
|
+
billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
|
|
6176
|
+
proto.agentbillingserviceapi.BillConfigRequest.toObject, includeInstance)
|
|
6177
|
+
};
|
|
6178
|
+
|
|
6179
|
+
if (includeInstance) {
|
|
6180
|
+
obj.$jspbMessageInstance = msg;
|
|
6181
|
+
}
|
|
6182
|
+
return obj;
|
|
6183
|
+
};
|
|
6184
|
+
}
|
|
6185
|
+
|
|
6186
|
+
|
|
6187
|
+
/**
|
|
6188
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6189
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6190
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest}
|
|
6191
|
+
*/
|
|
6192
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinary = function(bytes) {
|
|
6193
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6194
|
+
var msg = new proto.agentbillingserviceapi.CreateAgentBillRequest;
|
|
6195
|
+
return proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader(msg, reader);
|
|
6196
|
+
};
|
|
6197
|
+
|
|
6198
|
+
|
|
6199
|
+
/**
|
|
6200
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6201
|
+
* given reader into the given message object.
|
|
6202
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} msg The message object to deserialize into.
|
|
6203
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6204
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest}
|
|
6205
|
+
*/
|
|
6206
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6207
|
+
while (reader.nextField()) {
|
|
6208
|
+
if (reader.isEndGroup()) {
|
|
6209
|
+
break;
|
|
6210
|
+
}
|
|
6211
|
+
var field = reader.getFieldNumber();
|
|
6212
|
+
switch (field) {
|
|
6213
|
+
case 1:
|
|
6214
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6215
|
+
msg.setClientuserid(value);
|
|
6216
|
+
break;
|
|
6217
|
+
case 2:
|
|
6218
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6219
|
+
msg.setUploadbatchid(value);
|
|
6220
|
+
break;
|
|
6221
|
+
case 5:
|
|
6222
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
6223
|
+
msg.setAmount(value);
|
|
6224
|
+
break;
|
|
6225
|
+
case 6:
|
|
6226
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6227
|
+
msg.setDuedate(value);
|
|
6228
|
+
break;
|
|
6229
|
+
case 8:
|
|
6230
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6231
|
+
msg.setDescription(value);
|
|
6232
|
+
break;
|
|
6233
|
+
case 9:
|
|
6234
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6235
|
+
msg.setAbn(value);
|
|
6236
|
+
break;
|
|
6237
|
+
case 10:
|
|
6238
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6239
|
+
msg.setBillid(value);
|
|
6240
|
+
break;
|
|
6241
|
+
case 11:
|
|
6242
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6243
|
+
msg.setIsdraft(value);
|
|
6244
|
+
break;
|
|
6245
|
+
case 12:
|
|
6246
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6247
|
+
msg.setRequiresreview(value);
|
|
6248
|
+
break;
|
|
6249
|
+
case 13:
|
|
6250
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6251
|
+
msg.setHasbeenimported(value);
|
|
6252
|
+
break;
|
|
6253
|
+
case 14:
|
|
6254
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6255
|
+
msg.setAgentbillid(value);
|
|
6256
|
+
break;
|
|
6257
|
+
case 15:
|
|
6258
|
+
var value = new proto.agentbillingserviceapi.BillConfigRequest;
|
|
6259
|
+
reader.readMessage(value,proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader);
|
|
6260
|
+
msg.addBillconfigs(value);
|
|
6261
|
+
break;
|
|
6262
|
+
default:
|
|
6263
|
+
reader.skipField();
|
|
6264
|
+
break;
|
|
6265
|
+
}
|
|
6266
|
+
}
|
|
6267
|
+
return msg;
|
|
6268
|
+
};
|
|
6269
|
+
|
|
6270
|
+
|
|
6271
|
+
/**
|
|
6272
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6273
|
+
* @return {!Uint8Array}
|
|
6274
|
+
*/
|
|
6275
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.serializeBinary = function() {
|
|
6276
|
+
var writer = new jspb.BinaryWriter();
|
|
6277
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter(this, writer);
|
|
6278
|
+
return writer.getResultBuffer();
|
|
6279
|
+
};
|
|
6280
|
+
|
|
6281
|
+
|
|
6282
|
+
/**
|
|
6283
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6284
|
+
* format), writing to the given BinaryWriter.
|
|
6285
|
+
* @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} message
|
|
6286
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6287
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6288
|
+
*/
|
|
6289
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6290
|
+
var f = undefined;
|
|
6291
|
+
f = message.getClientuserid();
|
|
6292
|
+
if (f !== 0) {
|
|
6293
|
+
writer.writeInt64(
|
|
6294
|
+
1,
|
|
6295
|
+
f
|
|
6296
|
+
);
|
|
6297
|
+
}
|
|
6298
|
+
f = message.getUploadbatchid();
|
|
6299
|
+
if (f !== 0) {
|
|
6300
|
+
writer.writeInt64(
|
|
6301
|
+
2,
|
|
6302
|
+
f
|
|
6303
|
+
);
|
|
6304
|
+
}
|
|
6305
|
+
f = message.getAmount();
|
|
6306
|
+
if (f !== 0.0) {
|
|
6307
|
+
writer.writeDouble(
|
|
6308
|
+
5,
|
|
6309
|
+
f
|
|
6310
|
+
);
|
|
6311
|
+
}
|
|
6312
|
+
f = message.getDuedate();
|
|
6313
|
+
if (f.length > 0) {
|
|
6314
|
+
writer.writeString(
|
|
6315
|
+
6,
|
|
6316
|
+
f
|
|
6317
|
+
);
|
|
6318
|
+
}
|
|
6319
|
+
f = message.getDescription();
|
|
6320
|
+
if (f.length > 0) {
|
|
6321
|
+
writer.writeString(
|
|
6322
|
+
8,
|
|
6323
|
+
f
|
|
6324
|
+
);
|
|
6325
|
+
}
|
|
6326
|
+
f = message.getAbn();
|
|
6327
|
+
if (f.length > 0) {
|
|
6328
|
+
writer.writeString(
|
|
6329
|
+
9,
|
|
6330
|
+
f
|
|
6331
|
+
);
|
|
6332
|
+
}
|
|
6333
|
+
f = message.getBillid();
|
|
6334
|
+
if (f !== 0) {
|
|
6335
|
+
writer.writeInt64(
|
|
6336
|
+
10,
|
|
6337
|
+
f
|
|
6338
|
+
);
|
|
6339
|
+
}
|
|
6340
|
+
f = message.getIsdraft();
|
|
6341
|
+
if (f) {
|
|
6342
|
+
writer.writeBool(
|
|
6343
|
+
11,
|
|
6344
|
+
f
|
|
6345
|
+
);
|
|
6346
|
+
}
|
|
6347
|
+
f = message.getRequiresreview();
|
|
6348
|
+
if (f) {
|
|
6349
|
+
writer.writeBool(
|
|
6350
|
+
12,
|
|
6351
|
+
f
|
|
6352
|
+
);
|
|
6353
|
+
}
|
|
6354
|
+
f = message.getHasbeenimported();
|
|
6355
|
+
if (f) {
|
|
6356
|
+
writer.writeBool(
|
|
6357
|
+
13,
|
|
6358
|
+
f
|
|
6359
|
+
);
|
|
6360
|
+
}
|
|
6361
|
+
f = message.getAgentbillid();
|
|
6362
|
+
if (f !== 0) {
|
|
6363
|
+
writer.writeInt64(
|
|
6364
|
+
14,
|
|
6365
|
+
f
|
|
6366
|
+
);
|
|
6367
|
+
}
|
|
6368
|
+
f = message.getBillconfigsList();
|
|
6369
|
+
if (f.length > 0) {
|
|
6370
|
+
writer.writeRepeatedMessage(
|
|
6371
|
+
15,
|
|
6372
|
+
f,
|
|
6373
|
+
proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter
|
|
6374
|
+
);
|
|
6375
|
+
}
|
|
6376
|
+
};
|
|
6377
|
+
|
|
6378
|
+
|
|
6379
|
+
/**
|
|
6380
|
+
* optional int64 clientUserId = 1;
|
|
6381
|
+
* @return {number}
|
|
6382
|
+
*/
|
|
6383
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getClientuserid = function() {
|
|
6384
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6385
|
+
};
|
|
6386
|
+
|
|
6387
|
+
|
|
6388
|
+
/**
|
|
6389
|
+
* @param {number} value
|
|
6390
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6391
|
+
*/
|
|
6392
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setClientuserid = function(value) {
|
|
6393
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
6394
|
+
};
|
|
6395
|
+
|
|
6396
|
+
|
|
6397
|
+
/**
|
|
6398
|
+
* optional int64 uploadBatchId = 2;
|
|
6399
|
+
* @return {number}
|
|
6400
|
+
*/
|
|
6401
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getUploadbatchid = function() {
|
|
6402
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6403
|
+
};
|
|
6404
|
+
|
|
6405
|
+
|
|
6406
|
+
/**
|
|
6407
|
+
* @param {number} value
|
|
6408
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6409
|
+
*/
|
|
6410
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setUploadbatchid = function(value) {
|
|
6411
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6412
|
+
};
|
|
6413
|
+
|
|
6414
|
+
|
|
6415
|
+
/**
|
|
6416
|
+
* optional double amount = 5;
|
|
6417
|
+
* @return {number}
|
|
6418
|
+
*/
|
|
6419
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAmount = function() {
|
|
6420
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
6421
|
+
};
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
/**
|
|
6425
|
+
* @param {number} value
|
|
6426
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6427
|
+
*/
|
|
6428
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAmount = function(value) {
|
|
6429
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
6430
|
+
};
|
|
6431
|
+
|
|
6432
|
+
|
|
6433
|
+
/**
|
|
6434
|
+
* optional string dueDate = 6;
|
|
6435
|
+
* @return {string}
|
|
6436
|
+
*/
|
|
6437
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getDuedate = function() {
|
|
6438
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
6439
|
+
};
|
|
6440
|
+
|
|
6441
|
+
|
|
6442
|
+
/**
|
|
6443
|
+
* @param {string} value
|
|
6444
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6445
|
+
*/
|
|
6446
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setDuedate = function(value) {
|
|
6447
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
6448
|
+
};
|
|
6449
|
+
|
|
6450
|
+
|
|
6451
|
+
/**
|
|
6452
|
+
* optional string description = 8;
|
|
6453
|
+
* @return {string}
|
|
6454
|
+
*/
|
|
6455
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getDescription = function() {
|
|
6456
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
6457
|
+
};
|
|
6458
|
+
|
|
6459
|
+
|
|
6460
|
+
/**
|
|
6461
|
+
* @param {string} value
|
|
6462
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6463
|
+
*/
|
|
6464
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setDescription = function(value) {
|
|
6465
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
6466
|
+
};
|
|
6467
|
+
|
|
6468
|
+
|
|
6469
|
+
/**
|
|
6470
|
+
* optional string abn = 9;
|
|
6471
|
+
* @return {string}
|
|
6472
|
+
*/
|
|
6473
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAbn = function() {
|
|
6474
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
6475
|
+
};
|
|
6476
|
+
|
|
6477
|
+
|
|
6478
|
+
/**
|
|
6479
|
+
* @param {string} value
|
|
6480
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6481
|
+
*/
|
|
6482
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAbn = function(value) {
|
|
6483
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
6484
|
+
};
|
|
6485
|
+
|
|
6486
|
+
|
|
6487
|
+
/**
|
|
6488
|
+
* optional int64 billId = 10;
|
|
6489
|
+
* @return {number}
|
|
6490
|
+
*/
|
|
6491
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getBillid = function() {
|
|
6492
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
6493
|
+
};
|
|
6494
|
+
|
|
6495
|
+
|
|
6496
|
+
/**
|
|
6497
|
+
* @param {number} value
|
|
6498
|
+
* @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
|
|
6499
|
+
*/
|
|
6500
|
+
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setBillid = function(value) {
|
|
6501
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
6502
|
+
};
|
|
6503
|
+
|
|
6504
|
+
|
|
6505
|
+
/**
|
|
6506
|
+
* optional bool isDraft = 11;
|
|
6507
|
+
* @return {boolean}
|
|
6116
6508
|
*/
|
|
6117
6509
|
proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getIsdraft = function() {
|
|
6118
6510
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
@@ -17575,158 +17967,308 @@ proto.agentbillingserviceapi.GetUploadBatchesResponse.prototype.getTotalpages =
|
|
|
17575
17967
|
|
|
17576
17968
|
/**
|
|
17577
17969
|
* @param {number} value
|
|
17578
|
-
* @return {!proto.agentbillingserviceapi.GetUploadBatchesResponse} returns this
|
|
17970
|
+
* @return {!proto.agentbillingserviceapi.GetUploadBatchesResponse} returns this
|
|
17971
|
+
*/
|
|
17972
|
+
proto.agentbillingserviceapi.GetUploadBatchesResponse.prototype.setTotalpages = function(value) {
|
|
17973
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
17974
|
+
};
|
|
17975
|
+
|
|
17976
|
+
|
|
17977
|
+
/**
|
|
17978
|
+
* optional int64 totalSize = 6;
|
|
17979
|
+
* @return {number}
|
|
17980
|
+
*/
|
|
17981
|
+
proto.agentbillingserviceapi.GetUploadBatchesResponse.prototype.getTotalsize = function() {
|
|
17982
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
17983
|
+
};
|
|
17984
|
+
|
|
17985
|
+
|
|
17986
|
+
/**
|
|
17987
|
+
* @param {number} value
|
|
17988
|
+
* @return {!proto.agentbillingserviceapi.GetUploadBatchesResponse} returns this
|
|
17989
|
+
*/
|
|
17990
|
+
proto.agentbillingserviceapi.GetUploadBatchesResponse.prototype.setTotalsize = function(value) {
|
|
17991
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
17992
|
+
};
|
|
17993
|
+
|
|
17994
|
+
|
|
17995
|
+
|
|
17996
|
+
|
|
17997
|
+
|
|
17998
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17999
|
+
/**
|
|
18000
|
+
* Creates an object representation of this proto.
|
|
18001
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
18002
|
+
* Optional fields that are not set will be set to undefined.
|
|
18003
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
18004
|
+
* For the list of reserved names please see:
|
|
18005
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
18006
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
18007
|
+
* JSPB instance for transitional soy proto support:
|
|
18008
|
+
* http://goto/soy-param-migration
|
|
18009
|
+
* @return {!Object}
|
|
18010
|
+
*/
|
|
18011
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.toObject = function(opt_includeInstance) {
|
|
18012
|
+
return proto.agentbillingserviceapi.ProcessCsvRequest.toObject(opt_includeInstance, this);
|
|
18013
|
+
};
|
|
18014
|
+
|
|
18015
|
+
|
|
18016
|
+
/**
|
|
18017
|
+
* Static version of the {@see toObject} method.
|
|
18018
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
18019
|
+
* the JSPB instance for transitional soy proto support:
|
|
18020
|
+
* http://goto/soy-param-migration
|
|
18021
|
+
* @param {!proto.agentbillingserviceapi.ProcessCsvRequest} msg The msg instance to transform.
|
|
18022
|
+
* @return {!Object}
|
|
18023
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18024
|
+
*/
|
|
18025
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.toObject = function(includeInstance, msg) {
|
|
18026
|
+
var f, obj = {
|
|
18027
|
+
attachmentid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18028
|
+
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18029
|
+
bucket: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18030
|
+
objectname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18031
|
+
userid: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
18032
|
+
agentid: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
18033
|
+
};
|
|
18034
|
+
|
|
18035
|
+
if (includeInstance) {
|
|
18036
|
+
obj.$jspbMessageInstance = msg;
|
|
18037
|
+
}
|
|
18038
|
+
return obj;
|
|
18039
|
+
};
|
|
18040
|
+
}
|
|
18041
|
+
|
|
18042
|
+
|
|
18043
|
+
/**
|
|
18044
|
+
* Deserializes binary data (in protobuf wire format).
|
|
18045
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
18046
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest}
|
|
18047
|
+
*/
|
|
18048
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.deserializeBinary = function(bytes) {
|
|
18049
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
18050
|
+
var msg = new proto.agentbillingserviceapi.ProcessCsvRequest;
|
|
18051
|
+
return proto.agentbillingserviceapi.ProcessCsvRequest.deserializeBinaryFromReader(msg, reader);
|
|
18052
|
+
};
|
|
18053
|
+
|
|
18054
|
+
|
|
18055
|
+
/**
|
|
18056
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
18057
|
+
* given reader into the given message object.
|
|
18058
|
+
* @param {!proto.agentbillingserviceapi.ProcessCsvRequest} msg The message object to deserialize into.
|
|
18059
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
18060
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest}
|
|
18061
|
+
*/
|
|
18062
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
18063
|
+
while (reader.nextField()) {
|
|
18064
|
+
if (reader.isEndGroup()) {
|
|
18065
|
+
break;
|
|
18066
|
+
}
|
|
18067
|
+
var field = reader.getFieldNumber();
|
|
18068
|
+
switch (field) {
|
|
18069
|
+
case 1:
|
|
18070
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18071
|
+
msg.setAttachmentid(value);
|
|
18072
|
+
break;
|
|
18073
|
+
case 2:
|
|
18074
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18075
|
+
msg.setUploadbatchid(value);
|
|
18076
|
+
break;
|
|
18077
|
+
case 3:
|
|
18078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18079
|
+
msg.setBucket(value);
|
|
18080
|
+
break;
|
|
18081
|
+
case 4:
|
|
18082
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18083
|
+
msg.setObjectname(value);
|
|
18084
|
+
break;
|
|
18085
|
+
case 5:
|
|
18086
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18087
|
+
msg.setUserid(value);
|
|
18088
|
+
break;
|
|
18089
|
+
case 6:
|
|
18090
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
18091
|
+
msg.setAgentid(value);
|
|
18092
|
+
break;
|
|
18093
|
+
default:
|
|
18094
|
+
reader.skipField();
|
|
18095
|
+
break;
|
|
18096
|
+
}
|
|
18097
|
+
}
|
|
18098
|
+
return msg;
|
|
18099
|
+
};
|
|
18100
|
+
|
|
18101
|
+
|
|
18102
|
+
/**
|
|
18103
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
18104
|
+
* @return {!Uint8Array}
|
|
18105
|
+
*/
|
|
18106
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.serializeBinary = function() {
|
|
18107
|
+
var writer = new jspb.BinaryWriter();
|
|
18108
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.serializeBinaryToWriter(this, writer);
|
|
18109
|
+
return writer.getResultBuffer();
|
|
18110
|
+
};
|
|
18111
|
+
|
|
18112
|
+
|
|
18113
|
+
/**
|
|
18114
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
18115
|
+
* format), writing to the given BinaryWriter.
|
|
18116
|
+
* @param {!proto.agentbillingserviceapi.ProcessCsvRequest} message
|
|
18117
|
+
* @param {!jspb.BinaryWriter} writer
|
|
18118
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18119
|
+
*/
|
|
18120
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.serializeBinaryToWriter = function(message, writer) {
|
|
18121
|
+
var f = undefined;
|
|
18122
|
+
f = message.getAttachmentid();
|
|
18123
|
+
if (f !== 0) {
|
|
18124
|
+
writer.writeInt64(
|
|
18125
|
+
1,
|
|
18126
|
+
f
|
|
18127
|
+
);
|
|
18128
|
+
}
|
|
18129
|
+
f = message.getUploadbatchid();
|
|
18130
|
+
if (f !== 0) {
|
|
18131
|
+
writer.writeInt64(
|
|
18132
|
+
2,
|
|
18133
|
+
f
|
|
18134
|
+
);
|
|
18135
|
+
}
|
|
18136
|
+
f = message.getBucket();
|
|
18137
|
+
if (f.length > 0) {
|
|
18138
|
+
writer.writeString(
|
|
18139
|
+
3,
|
|
18140
|
+
f
|
|
18141
|
+
);
|
|
18142
|
+
}
|
|
18143
|
+
f = message.getObjectname();
|
|
18144
|
+
if (f.length > 0) {
|
|
18145
|
+
writer.writeString(
|
|
18146
|
+
4,
|
|
18147
|
+
f
|
|
18148
|
+
);
|
|
18149
|
+
}
|
|
18150
|
+
f = message.getUserid();
|
|
18151
|
+
if (f !== 0) {
|
|
18152
|
+
writer.writeInt64(
|
|
18153
|
+
5,
|
|
18154
|
+
f
|
|
18155
|
+
);
|
|
18156
|
+
}
|
|
18157
|
+
f = message.getAgentid();
|
|
18158
|
+
if (f !== 0) {
|
|
18159
|
+
writer.writeInt64(
|
|
18160
|
+
6,
|
|
18161
|
+
f
|
|
18162
|
+
);
|
|
18163
|
+
}
|
|
18164
|
+
};
|
|
18165
|
+
|
|
18166
|
+
|
|
18167
|
+
/**
|
|
18168
|
+
* optional int64 attachmentId = 1;
|
|
18169
|
+
* @return {number}
|
|
18170
|
+
*/
|
|
18171
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.getAttachmentid = function() {
|
|
18172
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
18173
|
+
};
|
|
18174
|
+
|
|
18175
|
+
|
|
18176
|
+
/**
|
|
18177
|
+
* @param {number} value
|
|
18178
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest} returns this
|
|
17579
18179
|
*/
|
|
17580
|
-
proto.agentbillingserviceapi.
|
|
17581
|
-
return jspb.Message.setProto3IntField(this,
|
|
18180
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.setAttachmentid = function(value) {
|
|
18181
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
17582
18182
|
};
|
|
17583
18183
|
|
|
17584
18184
|
|
|
17585
18185
|
/**
|
|
17586
|
-
* optional int64
|
|
18186
|
+
* optional int64 uploadBatchId = 2;
|
|
17587
18187
|
* @return {number}
|
|
17588
18188
|
*/
|
|
17589
|
-
proto.agentbillingserviceapi.
|
|
17590
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
18189
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.getUploadbatchid = function() {
|
|
18190
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
17591
18191
|
};
|
|
17592
18192
|
|
|
17593
18193
|
|
|
17594
18194
|
/**
|
|
17595
18195
|
* @param {number} value
|
|
17596
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18196
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest} returns this
|
|
17597
18197
|
*/
|
|
17598
|
-
proto.agentbillingserviceapi.
|
|
17599
|
-
return jspb.Message.setProto3IntField(this,
|
|
18198
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.setUploadbatchid = function(value) {
|
|
18199
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
17600
18200
|
};
|
|
17601
18201
|
|
|
17602
18202
|
|
|
17603
|
-
|
|
17604
|
-
|
|
17605
|
-
|
|
17606
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
17607
18203
|
/**
|
|
17608
|
-
*
|
|
17609
|
-
*
|
|
17610
|
-
* Optional fields that are not set will be set to undefined.
|
|
17611
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
17612
|
-
* For the list of reserved names please see:
|
|
17613
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
17614
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
17615
|
-
* JSPB instance for transitional soy proto support:
|
|
17616
|
-
* http://goto/soy-param-migration
|
|
17617
|
-
* @return {!Object}
|
|
18204
|
+
* optional string bucket = 3;
|
|
18205
|
+
* @return {string}
|
|
17618
18206
|
*/
|
|
17619
|
-
proto.agentbillingserviceapi.
|
|
17620
|
-
return
|
|
18207
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.getBucket = function() {
|
|
18208
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
17621
18209
|
};
|
|
17622
18210
|
|
|
17623
18211
|
|
|
17624
18212
|
/**
|
|
17625
|
-
*
|
|
17626
|
-
* @
|
|
17627
|
-
* the JSPB instance for transitional soy proto support:
|
|
17628
|
-
* http://goto/soy-param-migration
|
|
17629
|
-
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest} msg The msg instance to transform.
|
|
17630
|
-
* @return {!Object}
|
|
17631
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18213
|
+
* @param {string} value
|
|
18214
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest} returns this
|
|
17632
18215
|
*/
|
|
17633
|
-
proto.agentbillingserviceapi.
|
|
17634
|
-
|
|
17635
|
-
csvid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
17636
|
-
};
|
|
17637
|
-
|
|
17638
|
-
if (includeInstance) {
|
|
17639
|
-
obj.$jspbMessageInstance = msg;
|
|
17640
|
-
}
|
|
17641
|
-
return obj;
|
|
18216
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.setBucket = function(value) {
|
|
18217
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
17642
18218
|
};
|
|
17643
|
-
}
|
|
17644
18219
|
|
|
17645
18220
|
|
|
17646
18221
|
/**
|
|
17647
|
-
*
|
|
17648
|
-
* @
|
|
17649
|
-
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest}
|
|
18222
|
+
* optional string objectName = 4;
|
|
18223
|
+
* @return {string}
|
|
17650
18224
|
*/
|
|
17651
|
-
proto.agentbillingserviceapi.
|
|
17652
|
-
|
|
17653
|
-
var msg = new proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest;
|
|
17654
|
-
return proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.deserializeBinaryFromReader(msg, reader);
|
|
18225
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.getObjectname = function() {
|
|
18226
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
17655
18227
|
};
|
|
17656
18228
|
|
|
17657
18229
|
|
|
17658
18230
|
/**
|
|
17659
|
-
*
|
|
17660
|
-
*
|
|
17661
|
-
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest} msg The message object to deserialize into.
|
|
17662
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17663
|
-
* @return {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest}
|
|
18231
|
+
* @param {string} value
|
|
18232
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest} returns this
|
|
17664
18233
|
*/
|
|
17665
|
-
proto.agentbillingserviceapi.
|
|
17666
|
-
|
|
17667
|
-
if (reader.isEndGroup()) {
|
|
17668
|
-
break;
|
|
17669
|
-
}
|
|
17670
|
-
var field = reader.getFieldNumber();
|
|
17671
|
-
switch (field) {
|
|
17672
|
-
case 1:
|
|
17673
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
17674
|
-
msg.setCsvid(value);
|
|
17675
|
-
break;
|
|
17676
|
-
default:
|
|
17677
|
-
reader.skipField();
|
|
17678
|
-
break;
|
|
17679
|
-
}
|
|
17680
|
-
}
|
|
17681
|
-
return msg;
|
|
18234
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.setObjectname = function(value) {
|
|
18235
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
17682
18236
|
};
|
|
17683
18237
|
|
|
17684
18238
|
|
|
17685
18239
|
/**
|
|
17686
|
-
*
|
|
17687
|
-
* @return {
|
|
18240
|
+
* optional int64 userId = 5;
|
|
18241
|
+
* @return {number}
|
|
17688
18242
|
*/
|
|
17689
|
-
proto.agentbillingserviceapi.
|
|
17690
|
-
|
|
17691
|
-
proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest.serializeBinaryToWriter(this, writer);
|
|
17692
|
-
return writer.getResultBuffer();
|
|
18243
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.getUserid = function() {
|
|
18244
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
17693
18245
|
};
|
|
17694
18246
|
|
|
17695
18247
|
|
|
17696
18248
|
/**
|
|
17697
|
-
*
|
|
17698
|
-
*
|
|
17699
|
-
* @param {!proto.agentbillingserviceapi.ImportCsvAsUploadBatchRequest} message
|
|
17700
|
-
* @param {!jspb.BinaryWriter} writer
|
|
17701
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
18249
|
+
* @param {number} value
|
|
18250
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest} returns this
|
|
17702
18251
|
*/
|
|
17703
|
-
proto.agentbillingserviceapi.
|
|
17704
|
-
|
|
17705
|
-
f = message.getCsvid();
|
|
17706
|
-
if (f !== 0) {
|
|
17707
|
-
writer.writeInt64(
|
|
17708
|
-
1,
|
|
17709
|
-
f
|
|
17710
|
-
);
|
|
17711
|
-
}
|
|
18252
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.setUserid = function(value) {
|
|
18253
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
17712
18254
|
};
|
|
17713
18255
|
|
|
17714
18256
|
|
|
17715
18257
|
/**
|
|
17716
|
-
* optional int64
|
|
18258
|
+
* optional int64 agentId = 6;
|
|
17717
18259
|
* @return {number}
|
|
17718
18260
|
*/
|
|
17719
|
-
proto.agentbillingserviceapi.
|
|
17720
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
18261
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.getAgentid = function() {
|
|
18262
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
17721
18263
|
};
|
|
17722
18264
|
|
|
17723
18265
|
|
|
17724
18266
|
/**
|
|
17725
18267
|
* @param {number} value
|
|
17726
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18268
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvRequest} returns this
|
|
17727
18269
|
*/
|
|
17728
|
-
proto.agentbillingserviceapi.
|
|
17729
|
-
return jspb.Message.setProto3IntField(this,
|
|
18270
|
+
proto.agentbillingserviceapi.ProcessCsvRequest.prototype.setAgentid = function(value) {
|
|
18271
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
17730
18272
|
};
|
|
17731
18273
|
|
|
17732
18274
|
|
|
@@ -17746,8 +18288,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
17746
18288
|
* http://goto/soy-param-migration
|
|
17747
18289
|
* @return {!Object}
|
|
17748
18290
|
*/
|
|
17749
|
-
proto.agentbillingserviceapi.
|
|
17750
|
-
return proto.agentbillingserviceapi.
|
|
18291
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.toObject = function(opt_includeInstance) {
|
|
18292
|
+
return proto.agentbillingserviceapi.ProcessCsvResponse.toObject(opt_includeInstance, this);
|
|
17751
18293
|
};
|
|
17752
18294
|
|
|
17753
18295
|
|
|
@@ -17756,17 +18298,19 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.toObject =
|
|
|
17756
18298
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
17757
18299
|
* the JSPB instance for transitional soy proto support:
|
|
17758
18300
|
* http://goto/soy-param-migration
|
|
17759
|
-
* @param {!proto.agentbillingserviceapi.
|
|
18301
|
+
* @param {!proto.agentbillingserviceapi.ProcessCsvResponse} msg The msg instance to transform.
|
|
17760
18302
|
* @return {!Object}
|
|
17761
18303
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17762
18304
|
*/
|
|
17763
|
-
proto.agentbillingserviceapi.
|
|
18305
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.toObject = function(includeInstance, msg) {
|
|
17764
18306
|
var f, obj = {
|
|
17765
18307
|
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
17766
18308
|
uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
17767
18309
|
addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
17768
18310
|
uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
17769
|
-
csvid: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
18311
|
+
csvid: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
18312
|
+
errorfileurl: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
18313
|
+
errorfilecontents: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
17770
18314
|
};
|
|
17771
18315
|
|
|
17772
18316
|
if (includeInstance) {
|
|
@@ -17780,23 +18324,23 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.toObject = function(
|
|
|
17780
18324
|
/**
|
|
17781
18325
|
* Deserializes binary data (in protobuf wire format).
|
|
17782
18326
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
17783
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18327
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse}
|
|
17784
18328
|
*/
|
|
17785
|
-
proto.agentbillingserviceapi.
|
|
18329
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.deserializeBinary = function(bytes) {
|
|
17786
18330
|
var reader = new jspb.BinaryReader(bytes);
|
|
17787
|
-
var msg = new proto.agentbillingserviceapi.
|
|
17788
|
-
return proto.agentbillingserviceapi.
|
|
18331
|
+
var msg = new proto.agentbillingserviceapi.ProcessCsvResponse;
|
|
18332
|
+
return proto.agentbillingserviceapi.ProcessCsvResponse.deserializeBinaryFromReader(msg, reader);
|
|
17789
18333
|
};
|
|
17790
18334
|
|
|
17791
18335
|
|
|
17792
18336
|
/**
|
|
17793
18337
|
* Deserializes binary data (in protobuf wire format) from the
|
|
17794
18338
|
* given reader into the given message object.
|
|
17795
|
-
* @param {!proto.agentbillingserviceapi.
|
|
18339
|
+
* @param {!proto.agentbillingserviceapi.ProcessCsvResponse} msg The message object to deserialize into.
|
|
17796
18340
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
17797
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18341
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse}
|
|
17798
18342
|
*/
|
|
17799
|
-
proto.agentbillingserviceapi.
|
|
18343
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
17800
18344
|
while (reader.nextField()) {
|
|
17801
18345
|
if (reader.isEndGroup()) {
|
|
17802
18346
|
break;
|
|
@@ -17824,6 +18368,14 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.deserializeBinaryFro
|
|
|
17824
18368
|
var value = /** @type {number} */ (reader.readInt64());
|
|
17825
18369
|
msg.setCsvid(value);
|
|
17826
18370
|
break;
|
|
18371
|
+
case 6:
|
|
18372
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18373
|
+
msg.setErrorfileurl(value);
|
|
18374
|
+
break;
|
|
18375
|
+
case 7:
|
|
18376
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18377
|
+
msg.setErrorfilecontents(value);
|
|
18378
|
+
break;
|
|
17827
18379
|
default:
|
|
17828
18380
|
reader.skipField();
|
|
17829
18381
|
break;
|
|
@@ -17837,9 +18389,9 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.deserializeBinaryFro
|
|
|
17837
18389
|
* Serializes the message to binary data (in protobuf wire format).
|
|
17838
18390
|
* @return {!Uint8Array}
|
|
17839
18391
|
*/
|
|
17840
|
-
proto.agentbillingserviceapi.
|
|
18392
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.serializeBinary = function() {
|
|
17841
18393
|
var writer = new jspb.BinaryWriter();
|
|
17842
|
-
proto.agentbillingserviceapi.
|
|
18394
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.serializeBinaryToWriter(this, writer);
|
|
17843
18395
|
return writer.getResultBuffer();
|
|
17844
18396
|
};
|
|
17845
18397
|
|
|
@@ -17847,11 +18399,11 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.serializeB
|
|
|
17847
18399
|
/**
|
|
17848
18400
|
* Serializes the given message to binary data (in protobuf wire
|
|
17849
18401
|
* format), writing to the given BinaryWriter.
|
|
17850
|
-
* @param {!proto.agentbillingserviceapi.
|
|
18402
|
+
* @param {!proto.agentbillingserviceapi.ProcessCsvResponse} message
|
|
17851
18403
|
* @param {!jspb.BinaryWriter} writer
|
|
17852
18404
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
17853
18405
|
*/
|
|
17854
|
-
proto.agentbillingserviceapi.
|
|
18406
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.serializeBinaryToWriter = function(message, writer) {
|
|
17855
18407
|
var f = undefined;
|
|
17856
18408
|
f = message.getResponsecode();
|
|
17857
18409
|
if (f != null) {
|
|
@@ -17889,6 +18441,20 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.serializeBinaryToWri
|
|
|
17889
18441
|
f
|
|
17890
18442
|
);
|
|
17891
18443
|
}
|
|
18444
|
+
f = message.getErrorfileurl();
|
|
18445
|
+
if (f.length > 0) {
|
|
18446
|
+
writer.writeString(
|
|
18447
|
+
6,
|
|
18448
|
+
f
|
|
18449
|
+
);
|
|
18450
|
+
}
|
|
18451
|
+
f = message.getErrorfilecontents();
|
|
18452
|
+
if (f.length > 0) {
|
|
18453
|
+
writer.writeString(
|
|
18454
|
+
7,
|
|
18455
|
+
f
|
|
18456
|
+
);
|
|
18457
|
+
}
|
|
17892
18458
|
};
|
|
17893
18459
|
|
|
17894
18460
|
|
|
@@ -17896,7 +18462,7 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.serializeBinaryToWri
|
|
|
17896
18462
|
* optional ResponseCode responseCode = 1;
|
|
17897
18463
|
* @return {?proto.agentbillingserviceapi.ResponseCode}
|
|
17898
18464
|
*/
|
|
17899
|
-
proto.agentbillingserviceapi.
|
|
18465
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.getResponsecode = function() {
|
|
17900
18466
|
return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
|
|
17901
18467
|
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
17902
18468
|
};
|
|
@@ -17904,18 +18470,18 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.getRespons
|
|
|
17904
18470
|
|
|
17905
18471
|
/**
|
|
17906
18472
|
* @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
|
|
17907
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18473
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
17908
18474
|
*/
|
|
17909
|
-
proto.agentbillingserviceapi.
|
|
18475
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.setResponsecode = function(value) {
|
|
17910
18476
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
17911
18477
|
};
|
|
17912
18478
|
|
|
17913
18479
|
|
|
17914
18480
|
/**
|
|
17915
18481
|
* Clears the message field making it undefined.
|
|
17916
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18482
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
17917
18483
|
*/
|
|
17918
|
-
proto.agentbillingserviceapi.
|
|
18484
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.clearResponsecode = function() {
|
|
17919
18485
|
return this.setResponsecode(undefined);
|
|
17920
18486
|
};
|
|
17921
18487
|
|
|
@@ -17924,7 +18490,7 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.clearRespo
|
|
|
17924
18490
|
* Returns whether this field is set.
|
|
17925
18491
|
* @return {boolean}
|
|
17926
18492
|
*/
|
|
17927
|
-
proto.agentbillingserviceapi.
|
|
18493
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.hasResponsecode = function() {
|
|
17928
18494
|
return jspb.Message.getField(this, 1) != null;
|
|
17929
18495
|
};
|
|
17930
18496
|
|
|
@@ -17933,16 +18499,16 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.hasRespons
|
|
|
17933
18499
|
* optional int64 uploadBatchId = 2;
|
|
17934
18500
|
* @return {number}
|
|
17935
18501
|
*/
|
|
17936
|
-
proto.agentbillingserviceapi.
|
|
18502
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.getUploadbatchid = function() {
|
|
17937
18503
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
17938
18504
|
};
|
|
17939
18505
|
|
|
17940
18506
|
|
|
17941
18507
|
/**
|
|
17942
18508
|
* @param {number} value
|
|
17943
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18509
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
17944
18510
|
*/
|
|
17945
|
-
proto.agentbillingserviceapi.
|
|
18511
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.setUploadbatchid = function(value) {
|
|
17946
18512
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
17947
18513
|
};
|
|
17948
18514
|
|
|
@@ -17951,16 +18517,16 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setUploadb
|
|
|
17951
18517
|
* optional int32 addedBillsCount = 3;
|
|
17952
18518
|
* @return {number}
|
|
17953
18519
|
*/
|
|
17954
|
-
proto.agentbillingserviceapi.
|
|
18520
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.getAddedbillscount = function() {
|
|
17955
18521
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17956
18522
|
};
|
|
17957
18523
|
|
|
17958
18524
|
|
|
17959
18525
|
/**
|
|
17960
18526
|
* @param {number} value
|
|
17961
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18527
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
17962
18528
|
*/
|
|
17963
|
-
proto.agentbillingserviceapi.
|
|
18529
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.setAddedbillscount = function(value) {
|
|
17964
18530
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
17965
18531
|
};
|
|
17966
18532
|
|
|
@@ -17969,16 +18535,16 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setAddedbi
|
|
|
17969
18535
|
* optional string uploadBatchName = 4;
|
|
17970
18536
|
* @return {string}
|
|
17971
18537
|
*/
|
|
17972
|
-
proto.agentbillingserviceapi.
|
|
18538
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.getUploadbatchname = function() {
|
|
17973
18539
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
17974
18540
|
};
|
|
17975
18541
|
|
|
17976
18542
|
|
|
17977
18543
|
/**
|
|
17978
18544
|
* @param {string} value
|
|
17979
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18545
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
17980
18546
|
*/
|
|
17981
|
-
proto.agentbillingserviceapi.
|
|
18547
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.setUploadbatchname = function(value) {
|
|
17982
18548
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
17983
18549
|
};
|
|
17984
18550
|
|
|
@@ -17987,20 +18553,56 @@ proto.agentbillingserviceapi.ImportCsvAsUploadBatchResponse.prototype.setUploadb
|
|
|
17987
18553
|
* optional int64 csvId = 5;
|
|
17988
18554
|
* @return {number}
|
|
17989
18555
|
*/
|
|
17990
|
-
proto.agentbillingserviceapi.
|
|
18556
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.getCsvid = function() {
|
|
17991
18557
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
17992
18558
|
};
|
|
17993
18559
|
|
|
17994
18560
|
|
|
17995
18561
|
/**
|
|
17996
18562
|
* @param {number} value
|
|
17997
|
-
* @return {!proto.agentbillingserviceapi.
|
|
18563
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
17998
18564
|
*/
|
|
17999
|
-
proto.agentbillingserviceapi.
|
|
18565
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.setCsvid = function(value) {
|
|
18000
18566
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
18001
18567
|
};
|
|
18002
18568
|
|
|
18003
18569
|
|
|
18570
|
+
/**
|
|
18571
|
+
* optional string errorFileUrl = 6;
|
|
18572
|
+
* @return {string}
|
|
18573
|
+
*/
|
|
18574
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.getErrorfileurl = function() {
|
|
18575
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
18576
|
+
};
|
|
18577
|
+
|
|
18578
|
+
|
|
18579
|
+
/**
|
|
18580
|
+
* @param {string} value
|
|
18581
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
18582
|
+
*/
|
|
18583
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.setErrorfileurl = function(value) {
|
|
18584
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
18585
|
+
};
|
|
18586
|
+
|
|
18587
|
+
|
|
18588
|
+
/**
|
|
18589
|
+
* optional string errorFileContents = 7;
|
|
18590
|
+
* @return {string}
|
|
18591
|
+
*/
|
|
18592
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.getErrorfilecontents = function() {
|
|
18593
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
18594
|
+
};
|
|
18595
|
+
|
|
18596
|
+
|
|
18597
|
+
/**
|
|
18598
|
+
* @param {string} value
|
|
18599
|
+
* @return {!proto.agentbillingserviceapi.ProcessCsvResponse} returns this
|
|
18600
|
+
*/
|
|
18601
|
+
proto.agentbillingserviceapi.ProcessCsvResponse.prototype.setErrorfilecontents = function(value) {
|
|
18602
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
18603
|
+
};
|
|
18604
|
+
|
|
18605
|
+
|
|
18004
18606
|
|
|
18005
18607
|
|
|
18006
18608
|
|
|
@@ -20294,298 +20896,117 @@ proto.agentbillingserviceapi.UploadBatch.prototype.getDraftbillscount = function
|
|
|
20294
20896
|
/**
|
|
20295
20897
|
* @param {number} value
|
|
20296
20898
|
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20297
|
-
*/
|
|
20298
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.setDraftbillscount = function(value) {
|
|
20299
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
20300
|
-
};
|
|
20301
|
-
|
|
20302
|
-
|
|
20303
|
-
/**
|
|
20304
|
-
* optional double dueAmount = 4;
|
|
20305
|
-
* @return {number}
|
|
20306
|
-
*/
|
|
20307
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.getDueamount = function() {
|
|
20308
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
20309
|
-
};
|
|
20310
|
-
|
|
20311
|
-
|
|
20312
|
-
/**
|
|
20313
|
-
* @param {number} value
|
|
20314
|
-
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20315
|
-
*/
|
|
20316
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.setDueamount = function(value) {
|
|
20317
|
-
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
20318
|
-
};
|
|
20319
|
-
|
|
20320
|
-
|
|
20321
|
-
/**
|
|
20322
|
-
* optional string creationTime = 5;
|
|
20323
|
-
* @return {string}
|
|
20324
|
-
*/
|
|
20325
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.getCreationtime = function() {
|
|
20326
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
20327
|
-
};
|
|
20328
|
-
|
|
20329
|
-
|
|
20330
|
-
/**
|
|
20331
|
-
* @param {string} value
|
|
20332
|
-
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20333
|
-
*/
|
|
20334
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.setCreationtime = function(value) {
|
|
20335
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
20336
|
-
};
|
|
20337
|
-
|
|
20338
|
-
|
|
20339
|
-
/**
|
|
20340
|
-
* optional UploadBatchStatus status = 6;
|
|
20341
|
-
* @return {!proto.agentbillingserviceapi.UploadBatchStatus}
|
|
20342
|
-
*/
|
|
20343
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.getStatus = function() {
|
|
20344
|
-
return /** @type {!proto.agentbillingserviceapi.UploadBatchStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
20345
|
-
};
|
|
20346
|
-
|
|
20347
|
-
|
|
20348
|
-
/**
|
|
20349
|
-
* @param {!proto.agentbillingserviceapi.UploadBatchStatus} value
|
|
20350
|
-
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20351
|
-
*/
|
|
20352
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.setStatus = function(value) {
|
|
20353
|
-
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
20354
|
-
};
|
|
20355
|
-
|
|
20356
|
-
|
|
20357
|
-
/**
|
|
20358
|
-
* optional UploadBatchType type = 7;
|
|
20359
|
-
* @return {!proto.agentbillingserviceapi.UploadBatchType}
|
|
20360
|
-
*/
|
|
20361
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.getType = function() {
|
|
20362
|
-
return /** @type {!proto.agentbillingserviceapi.UploadBatchType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
20363
|
-
};
|
|
20364
|
-
|
|
20365
|
-
|
|
20366
|
-
/**
|
|
20367
|
-
* @param {!proto.agentbillingserviceapi.UploadBatchType} value
|
|
20368
|
-
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20369
|
-
*/
|
|
20370
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.setType = function(value) {
|
|
20371
|
-
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
20372
|
-
};
|
|
20373
|
-
|
|
20374
|
-
|
|
20375
|
-
/**
|
|
20376
|
-
* optional int32 totalEntriesCount = 8;
|
|
20377
|
-
* @return {number}
|
|
20378
|
-
*/
|
|
20379
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.getTotalentriescount = function() {
|
|
20380
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
20381
|
-
};
|
|
20382
|
-
|
|
20383
|
-
|
|
20384
|
-
/**
|
|
20385
|
-
* @param {number} value
|
|
20386
|
-
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20387
|
-
*/
|
|
20388
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.setTotalentriescount = function(value) {
|
|
20389
|
-
return jspb.Message.setProto3IntField(this, 8, value);
|
|
20390
|
-
};
|
|
20391
|
-
|
|
20392
|
-
|
|
20393
|
-
/**
|
|
20394
|
-
* optional int32 totalBillsCount = 9;
|
|
20395
|
-
* @return {number}
|
|
20396
|
-
*/
|
|
20397
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.getTotalbillscount = function() {
|
|
20398
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
20399
|
-
};
|
|
20400
|
-
|
|
20401
|
-
|
|
20402
|
-
/**
|
|
20403
|
-
* @param {number} value
|
|
20404
|
-
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20405
|
-
*/
|
|
20406
|
-
proto.agentbillingserviceapi.UploadBatch.prototype.setTotalbillscount = function(value) {
|
|
20407
|
-
return jspb.Message.setProto3IntField(this, 9, value);
|
|
20899
|
+
*/
|
|
20900
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setDraftbillscount = function(value) {
|
|
20901
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
20408
20902
|
};
|
|
20409
20903
|
|
|
20410
20904
|
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
20415
20905
|
/**
|
|
20416
|
-
*
|
|
20417
|
-
*
|
|
20418
|
-
* Optional fields that are not set will be set to undefined.
|
|
20419
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
20420
|
-
* For the list of reserved names please see:
|
|
20421
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
20422
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
20423
|
-
* JSPB instance for transitional soy proto support:
|
|
20424
|
-
* http://goto/soy-param-migration
|
|
20425
|
-
* @return {!Object}
|
|
20906
|
+
* optional double dueAmount = 4;
|
|
20907
|
+
* @return {number}
|
|
20426
20908
|
*/
|
|
20427
|
-
proto.agentbillingserviceapi.
|
|
20428
|
-
return
|
|
20909
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getDueamount = function() {
|
|
20910
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
20429
20911
|
};
|
|
20430
20912
|
|
|
20431
20913
|
|
|
20432
20914
|
/**
|
|
20433
|
-
*
|
|
20434
|
-
* @
|
|
20435
|
-
* the JSPB instance for transitional soy proto support:
|
|
20436
|
-
* http://goto/soy-param-migration
|
|
20437
|
-
* @param {!proto.agentbillingserviceapi.UploadCsvResponse} msg The msg instance to transform.
|
|
20438
|
-
* @return {!Object}
|
|
20439
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20915
|
+
* @param {number} value
|
|
20916
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20440
20917
|
*/
|
|
20441
|
-
proto.agentbillingserviceapi.
|
|
20442
|
-
|
|
20443
|
-
responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
|
|
20444
|
-
csvid: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
20445
|
-
};
|
|
20446
|
-
|
|
20447
|
-
if (includeInstance) {
|
|
20448
|
-
obj.$jspbMessageInstance = msg;
|
|
20449
|
-
}
|
|
20450
|
-
return obj;
|
|
20918
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setDueamount = function(value) {
|
|
20919
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
20451
20920
|
};
|
|
20452
|
-
}
|
|
20453
20921
|
|
|
20454
20922
|
|
|
20455
20923
|
/**
|
|
20456
|
-
*
|
|
20457
|
-
* @
|
|
20458
|
-
* @return {!proto.agentbillingserviceapi.UploadCsvResponse}
|
|
20924
|
+
* optional string creationTime = 5;
|
|
20925
|
+
* @return {string}
|
|
20459
20926
|
*/
|
|
20460
|
-
proto.agentbillingserviceapi.
|
|
20461
|
-
|
|
20462
|
-
var msg = new proto.agentbillingserviceapi.UploadCsvResponse;
|
|
20463
|
-
return proto.agentbillingserviceapi.UploadCsvResponse.deserializeBinaryFromReader(msg, reader);
|
|
20927
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getCreationtime = function() {
|
|
20928
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
20464
20929
|
};
|
|
20465
20930
|
|
|
20466
20931
|
|
|
20467
20932
|
/**
|
|
20468
|
-
*
|
|
20469
|
-
*
|
|
20470
|
-
* @param {!proto.agentbillingserviceapi.UploadCsvResponse} msg The message object to deserialize into.
|
|
20471
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
20472
|
-
* @return {!proto.agentbillingserviceapi.UploadCsvResponse}
|
|
20933
|
+
* @param {string} value
|
|
20934
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20473
20935
|
*/
|
|
20474
|
-
proto.agentbillingserviceapi.
|
|
20475
|
-
|
|
20476
|
-
if (reader.isEndGroup()) {
|
|
20477
|
-
break;
|
|
20478
|
-
}
|
|
20479
|
-
var field = reader.getFieldNumber();
|
|
20480
|
-
switch (field) {
|
|
20481
|
-
case 1:
|
|
20482
|
-
var value = new proto.agentbillingserviceapi.ResponseCode;
|
|
20483
|
-
reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
|
|
20484
|
-
msg.setResponsecode(value);
|
|
20485
|
-
break;
|
|
20486
|
-
case 2:
|
|
20487
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
20488
|
-
msg.setCsvid(value);
|
|
20489
|
-
break;
|
|
20490
|
-
default:
|
|
20491
|
-
reader.skipField();
|
|
20492
|
-
break;
|
|
20493
|
-
}
|
|
20494
|
-
}
|
|
20495
|
-
return msg;
|
|
20936
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setCreationtime = function(value) {
|
|
20937
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
20496
20938
|
};
|
|
20497
20939
|
|
|
20498
20940
|
|
|
20499
20941
|
/**
|
|
20500
|
-
*
|
|
20501
|
-
* @return {!
|
|
20942
|
+
* optional UploadBatchStatus status = 6;
|
|
20943
|
+
* @return {!proto.agentbillingserviceapi.UploadBatchStatus}
|
|
20502
20944
|
*/
|
|
20503
|
-
proto.agentbillingserviceapi.
|
|
20504
|
-
|
|
20505
|
-
proto.agentbillingserviceapi.UploadCsvResponse.serializeBinaryToWriter(this, writer);
|
|
20506
|
-
return writer.getResultBuffer();
|
|
20945
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getStatus = function() {
|
|
20946
|
+
return /** @type {!proto.agentbillingserviceapi.UploadBatchStatus} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
20507
20947
|
};
|
|
20508
20948
|
|
|
20509
20949
|
|
|
20510
20950
|
/**
|
|
20511
|
-
*
|
|
20512
|
-
*
|
|
20513
|
-
* @param {!proto.agentbillingserviceapi.UploadCsvResponse} message
|
|
20514
|
-
* @param {!jspb.BinaryWriter} writer
|
|
20515
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
20951
|
+
* @param {!proto.agentbillingserviceapi.UploadBatchStatus} value
|
|
20952
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20516
20953
|
*/
|
|
20517
|
-
proto.agentbillingserviceapi.
|
|
20518
|
-
|
|
20519
|
-
f = message.getResponsecode();
|
|
20520
|
-
if (f != null) {
|
|
20521
|
-
writer.writeMessage(
|
|
20522
|
-
1,
|
|
20523
|
-
f,
|
|
20524
|
-
proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
|
|
20525
|
-
);
|
|
20526
|
-
}
|
|
20527
|
-
f = message.getCsvid();
|
|
20528
|
-
if (f !== 0) {
|
|
20529
|
-
writer.writeInt64(
|
|
20530
|
-
2,
|
|
20531
|
-
f
|
|
20532
|
-
);
|
|
20533
|
-
}
|
|
20954
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setStatus = function(value) {
|
|
20955
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
20534
20956
|
};
|
|
20535
20957
|
|
|
20536
20958
|
|
|
20537
20959
|
/**
|
|
20538
|
-
* optional
|
|
20539
|
-
* @return {
|
|
20960
|
+
* optional UploadBatchType type = 7;
|
|
20961
|
+
* @return {!proto.agentbillingserviceapi.UploadBatchType}
|
|
20540
20962
|
*/
|
|
20541
|
-
proto.agentbillingserviceapi.
|
|
20542
|
-
return /** @type{
|
|
20543
|
-
jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
|
|
20963
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getType = function() {
|
|
20964
|
+
return /** @type {!proto.agentbillingserviceapi.UploadBatchType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
20544
20965
|
};
|
|
20545
20966
|
|
|
20546
20967
|
|
|
20547
20968
|
/**
|
|
20548
|
-
* @param {
|
|
20549
|
-
* @return {!proto.agentbillingserviceapi.
|
|
20550
|
-
*/
|
|
20551
|
-
proto.agentbillingserviceapi.
|
|
20552
|
-
return jspb.Message.
|
|
20969
|
+
* @param {!proto.agentbillingserviceapi.UploadBatchType} value
|
|
20970
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20971
|
+
*/
|
|
20972
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setType = function(value) {
|
|
20973
|
+
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
20553
20974
|
};
|
|
20554
20975
|
|
|
20555
20976
|
|
|
20556
20977
|
/**
|
|
20557
|
-
*
|
|
20558
|
-
* @return {
|
|
20978
|
+
* optional int32 totalEntriesCount = 8;
|
|
20979
|
+
* @return {number}
|
|
20559
20980
|
*/
|
|
20560
|
-
proto.agentbillingserviceapi.
|
|
20561
|
-
return
|
|
20981
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getTotalentriescount = function() {
|
|
20982
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
20562
20983
|
};
|
|
20563
20984
|
|
|
20564
20985
|
|
|
20565
20986
|
/**
|
|
20566
|
-
*
|
|
20567
|
-
* @return {
|
|
20987
|
+
* @param {number} value
|
|
20988
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20568
20989
|
*/
|
|
20569
|
-
proto.agentbillingserviceapi.
|
|
20570
|
-
return jspb.Message.
|
|
20990
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setTotalentriescount = function(value) {
|
|
20991
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
20571
20992
|
};
|
|
20572
20993
|
|
|
20573
20994
|
|
|
20574
20995
|
/**
|
|
20575
|
-
* optional
|
|
20996
|
+
* optional int32 totalBillsCount = 9;
|
|
20576
20997
|
* @return {number}
|
|
20577
20998
|
*/
|
|
20578
|
-
proto.agentbillingserviceapi.
|
|
20579
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
20999
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.getTotalbillscount = function() {
|
|
21000
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
20580
21001
|
};
|
|
20581
21002
|
|
|
20582
21003
|
|
|
20583
21004
|
/**
|
|
20584
21005
|
* @param {number} value
|
|
20585
|
-
* @return {!proto.agentbillingserviceapi.
|
|
21006
|
+
* @return {!proto.agentbillingserviceapi.UploadBatch} returns this
|
|
20586
21007
|
*/
|
|
20587
|
-
proto.agentbillingserviceapi.
|
|
20588
|
-
return jspb.Message.setProto3IntField(this,
|
|
21008
|
+
proto.agentbillingserviceapi.UploadBatch.prototype.setTotalbillscount = function(value) {
|
|
21009
|
+
return jspb.Message.setProto3IntField(this, 9, value);
|
|
20589
21010
|
};
|
|
20590
21011
|
|
|
20591
21012
|
|
|
@@ -22664,6 +23085,136 @@ proto.agentbillingserviceapi.FileDownloadChunk.prototype.setData = function(valu
|
|
|
22664
23085
|
};
|
|
22665
23086
|
|
|
22666
23087
|
|
|
23088
|
+
|
|
23089
|
+
|
|
23090
|
+
|
|
23091
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23092
|
+
/**
|
|
23093
|
+
* Creates an object representation of this proto.
|
|
23094
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23095
|
+
* Optional fields that are not set will be set to undefined.
|
|
23096
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23097
|
+
* For the list of reserved names please see:
|
|
23098
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23099
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23100
|
+
* JSPB instance for transitional soy proto support:
|
|
23101
|
+
* http://goto/soy-param-migration
|
|
23102
|
+
* @return {!Object}
|
|
23103
|
+
*/
|
|
23104
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23105
|
+
return proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.toObject(opt_includeInstance, this);
|
|
23106
|
+
};
|
|
23107
|
+
|
|
23108
|
+
|
|
23109
|
+
/**
|
|
23110
|
+
* Static version of the {@see toObject} method.
|
|
23111
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23112
|
+
* the JSPB instance for transitional soy proto support:
|
|
23113
|
+
* http://goto/soy-param-migration
|
|
23114
|
+
* @param {!proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest} msg The msg instance to transform.
|
|
23115
|
+
* @return {!Object}
|
|
23116
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23117
|
+
*/
|
|
23118
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.toObject = function(includeInstance, msg) {
|
|
23119
|
+
var f, obj = {
|
|
23120
|
+
csvid: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
23121
|
+
};
|
|
23122
|
+
|
|
23123
|
+
if (includeInstance) {
|
|
23124
|
+
obj.$jspbMessageInstance = msg;
|
|
23125
|
+
}
|
|
23126
|
+
return obj;
|
|
23127
|
+
};
|
|
23128
|
+
}
|
|
23129
|
+
|
|
23130
|
+
|
|
23131
|
+
/**
|
|
23132
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23133
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23134
|
+
* @return {!proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest}
|
|
23135
|
+
*/
|
|
23136
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.deserializeBinary = function(bytes) {
|
|
23137
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23138
|
+
var msg = new proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest;
|
|
23139
|
+
return proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.deserializeBinaryFromReader(msg, reader);
|
|
23140
|
+
};
|
|
23141
|
+
|
|
23142
|
+
|
|
23143
|
+
/**
|
|
23144
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23145
|
+
* given reader into the given message object.
|
|
23146
|
+
* @param {!proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest} msg The message object to deserialize into.
|
|
23147
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23148
|
+
* @return {!proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest}
|
|
23149
|
+
*/
|
|
23150
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23151
|
+
while (reader.nextField()) {
|
|
23152
|
+
if (reader.isEndGroup()) {
|
|
23153
|
+
break;
|
|
23154
|
+
}
|
|
23155
|
+
var field = reader.getFieldNumber();
|
|
23156
|
+
switch (field) {
|
|
23157
|
+
case 1:
|
|
23158
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
23159
|
+
msg.setCsvid(value);
|
|
23160
|
+
break;
|
|
23161
|
+
default:
|
|
23162
|
+
reader.skipField();
|
|
23163
|
+
break;
|
|
23164
|
+
}
|
|
23165
|
+
}
|
|
23166
|
+
return msg;
|
|
23167
|
+
};
|
|
23168
|
+
|
|
23169
|
+
|
|
23170
|
+
/**
|
|
23171
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23172
|
+
* @return {!Uint8Array}
|
|
23173
|
+
*/
|
|
23174
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.prototype.serializeBinary = function() {
|
|
23175
|
+
var writer = new jspb.BinaryWriter();
|
|
23176
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.serializeBinaryToWriter(this, writer);
|
|
23177
|
+
return writer.getResultBuffer();
|
|
23178
|
+
};
|
|
23179
|
+
|
|
23180
|
+
|
|
23181
|
+
/**
|
|
23182
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23183
|
+
* format), writing to the given BinaryWriter.
|
|
23184
|
+
* @param {!proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest} message
|
|
23185
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23187
|
+
*/
|
|
23188
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23189
|
+
var f = undefined;
|
|
23190
|
+
f = message.getCsvid();
|
|
23191
|
+
if (f !== 0) {
|
|
23192
|
+
writer.writeInt64(
|
|
23193
|
+
1,
|
|
23194
|
+
f
|
|
23195
|
+
);
|
|
23196
|
+
}
|
|
23197
|
+
};
|
|
23198
|
+
|
|
23199
|
+
|
|
23200
|
+
/**
|
|
23201
|
+
* optional int64 csvId = 1;
|
|
23202
|
+
* @return {number}
|
|
23203
|
+
*/
|
|
23204
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.prototype.getCsvid = function() {
|
|
23205
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23206
|
+
};
|
|
23207
|
+
|
|
23208
|
+
|
|
23209
|
+
/**
|
|
23210
|
+
* @param {number} value
|
|
23211
|
+
* @return {!proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest} returns this
|
|
23212
|
+
*/
|
|
23213
|
+
proto.agentbillingserviceapi.DownloadFailedImportErrorLogForCsvRequest.prototype.setCsvid = function(value) {
|
|
23214
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
23215
|
+
};
|
|
23216
|
+
|
|
23217
|
+
|
|
22667
23218
|
/**
|
|
22668
23219
|
* @enum {number}
|
|
22669
23220
|
*/
|