@sniipwebmaster/agent-billing-client-grpcweb-ts 23.12.786 → 23.12.808

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.
@@ -16,6 +16,10 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
16
16
  goog.object.extend(proto, google_api_annotations_pb);
17
17
  goog.exportSymbol('proto.agentbillingserviceapi.Agent', null, global);
18
18
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
19
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, global);
20
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
21
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
22
+ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsResponse', null, global);
19
23
  goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
20
24
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
21
25
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
@@ -103,6 +107,90 @@ if (goog.DEBUG && !COMPILED) {
103
107
  */
104
108
  proto.agentbillingserviceapi.AgentBill.displayName = 'proto.agentbillingserviceapi.AgentBill';
105
109
  }
110
+ /**
111
+ * Generated by JsPbCodeGenerator.
112
+ * @param {Array=} opt_data Optional initial data array, typically from a
113
+ * server response, or constructed directly in Javascript. The array is used
114
+ * in place and becomes part of the constructed object. It is not cloned.
115
+ * If no data is provided, the constructed object will be empty, but still
116
+ * valid.
117
+ * @extends {jspb.Message}
118
+ * @constructor
119
+ */
120
+ proto.agentbillingserviceapi.ArchiveAgentBillResult = function(opt_data) {
121
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
122
+ };
123
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillResult, jspb.Message);
124
+ if (goog.DEBUG && !COMPILED) {
125
+ /**
126
+ * @public
127
+ * @override
128
+ */
129
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillResult';
130
+ }
131
+ /**
132
+ * Generated by JsPbCodeGenerator.
133
+ * @param {Array=} opt_data Optional initial data array, typically from a
134
+ * server response, or constructed directly in Javascript. The array is used
135
+ * in place and becomes part of the constructed object. It is not cloned.
136
+ * If no data is provided, the constructed object will be empty, but still
137
+ * valid.
138
+ * @extends {jspb.Message}
139
+ * @constructor
140
+ */
141
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest = function(opt_data) {
142
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.repeatedFields_, null);
143
+ };
144
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest, jspb.Message);
145
+ if (goog.DEBUG && !COMPILED) {
146
+ /**
147
+ * @public
148
+ * @override
149
+ */
150
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest';
151
+ }
152
+ /**
153
+ * Generated by JsPbCodeGenerator.
154
+ * @param {Array=} opt_data Optional initial data array, typically from a
155
+ * server response, or constructed directly in Javascript. The array is used
156
+ * in place and becomes part of the constructed object. It is not cloned.
157
+ * If no data is provided, the constructed object will be empty, but still
158
+ * valid.
159
+ * @extends {jspb.Message}
160
+ * @constructor
161
+ */
162
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest = function(opt_data) {
163
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
164
+ };
165
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest, jspb.Message);
166
+ if (goog.DEBUG && !COMPILED) {
167
+ /**
168
+ * @public
169
+ * @override
170
+ */
171
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest';
172
+ }
173
+ /**
174
+ * Generated by JsPbCodeGenerator.
175
+ * @param {Array=} opt_data Optional initial data array, typically from a
176
+ * server response, or constructed directly in Javascript. The array is used
177
+ * in place and becomes part of the constructed object. It is not cloned.
178
+ * If no data is provided, the constructed object will be empty, but still
179
+ * valid.
180
+ * @extends {jspb.Message}
181
+ * @constructor
182
+ */
183
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse = function(opt_data) {
184
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.ArchiveAgentBillsResponse.repeatedFields_, null);
185
+ };
186
+ goog.inherits(proto.agentbillingserviceapi.ArchiveAgentBillsResponse, jspb.Message);
187
+ if (goog.DEBUG && !COMPILED) {
188
+ /**
189
+ * @public
190
+ * @override
191
+ */
192
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.displayName = 'proto.agentbillingserviceapi.ArchiveAgentBillsResponse';
193
+ }
106
194
  /**
107
195
  * Generated by JsPbCodeGenerator.
108
196
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1628,219 +1716,996 @@ proto.agentbillingserviceapi.AgentBill.serializeBinaryToWriter = function(messag
1628
1716
 
1629
1717
 
1630
1718
  /**
1631
- * optional int64 agentBillId = 1;
1719
+ * optional int64 agentBillId = 1;
1720
+ * @return {number}
1721
+ */
1722
+ proto.agentbillingserviceapi.AgentBill.prototype.getAgentbillid = function() {
1723
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1724
+ };
1725
+
1726
+
1727
+ /**
1728
+ * @param {number} value
1729
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1730
+ */
1731
+ proto.agentbillingserviceapi.AgentBill.prototype.setAgentbillid = function(value) {
1732
+ return jspb.Message.setProto3IntField(this, 1, value);
1733
+ };
1734
+
1735
+
1736
+ /**
1737
+ * optional int64 billId = 2;
1738
+ * @return {number}
1739
+ */
1740
+ proto.agentbillingserviceapi.AgentBill.prototype.getBillid = function() {
1741
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1742
+ };
1743
+
1744
+
1745
+ /**
1746
+ * @param {number} value
1747
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1748
+ */
1749
+ proto.agentbillingserviceapi.AgentBill.prototype.setBillid = function(value) {
1750
+ return jspb.Message.setProto3IntField(this, 2, value);
1751
+ };
1752
+
1753
+
1754
+ /**
1755
+ * optional string billerName = 3;
1756
+ * @return {string}
1757
+ */
1758
+ proto.agentbillingserviceapi.AgentBill.prototype.getBillername = function() {
1759
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1760
+ };
1761
+
1762
+
1763
+ /**
1764
+ * @param {string} value
1765
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1766
+ */
1767
+ proto.agentbillingserviceapi.AgentBill.prototype.setBillername = function(value) {
1768
+ return jspb.Message.setProto3StringField(this, 3, value);
1769
+ };
1770
+
1771
+
1772
+ /**
1773
+ * optional string billerLogo = 4;
1774
+ * @return {string}
1775
+ */
1776
+ proto.agentbillingserviceapi.AgentBill.prototype.getBillerlogo = function() {
1777
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1778
+ };
1779
+
1780
+
1781
+ /**
1782
+ * @param {string} value
1783
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1784
+ */
1785
+ proto.agentbillingserviceapi.AgentBill.prototype.setBillerlogo = function(value) {
1786
+ return jspb.Message.setProto3StringField(this, 4, value);
1787
+ };
1788
+
1789
+
1790
+ /**
1791
+ * optional string dueDate = 5;
1792
+ * @return {string}
1793
+ */
1794
+ proto.agentbillingserviceapi.AgentBill.prototype.getDuedate = function() {
1795
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1796
+ };
1797
+
1798
+
1799
+ /**
1800
+ * @param {string} value
1801
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1802
+ */
1803
+ proto.agentbillingserviceapi.AgentBill.prototype.setDuedate = function(value) {
1804
+ return jspb.Message.setProto3StringField(this, 5, value);
1805
+ };
1806
+
1807
+
1808
+ /**
1809
+ * repeated string tags = 6;
1810
+ * @return {!Array<string>}
1811
+ */
1812
+ proto.agentbillingserviceapi.AgentBill.prototype.getTagsList = function() {
1813
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
1814
+ };
1815
+
1816
+
1817
+ /**
1818
+ * @param {!Array<string>} value
1819
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1820
+ */
1821
+ proto.agentbillingserviceapi.AgentBill.prototype.setTagsList = function(value) {
1822
+ return jspb.Message.setField(this, 6, value || []);
1823
+ };
1824
+
1825
+
1826
+ /**
1827
+ * @param {string} value
1828
+ * @param {number=} opt_index
1829
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1830
+ */
1831
+ proto.agentbillingserviceapi.AgentBill.prototype.addTags = function(value, opt_index) {
1832
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
1833
+ };
1834
+
1835
+
1836
+ /**
1837
+ * Clears the list making it empty but non-null.
1838
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1839
+ */
1840
+ proto.agentbillingserviceapi.AgentBill.prototype.clearTagsList = function() {
1841
+ return this.setTagsList([]);
1842
+ };
1843
+
1844
+
1845
+ /**
1846
+ * optional double balance = 7;
1847
+ * @return {number}
1848
+ */
1849
+ proto.agentbillingserviceapi.AgentBill.prototype.getBalance = function() {
1850
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
1851
+ };
1852
+
1853
+
1854
+ /**
1855
+ * @param {number} value
1856
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1857
+ */
1858
+ proto.agentbillingserviceapi.AgentBill.prototype.setBalance = function(value) {
1859
+ return jspb.Message.setProto3FloatField(this, 7, value);
1860
+ };
1861
+
1862
+
1863
+ /**
1864
+ * optional string description = 8;
1865
+ * @return {string}
1866
+ */
1867
+ proto.agentbillingserviceapi.AgentBill.prototype.getDescription = function() {
1868
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1869
+ };
1870
+
1871
+
1872
+ /**
1873
+ * @param {string} value
1874
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1875
+ */
1876
+ proto.agentbillingserviceapi.AgentBill.prototype.setDescription = function(value) {
1877
+ return jspb.Message.setProto3StringField(this, 8, value);
1878
+ };
1879
+
1880
+
1881
+ /**
1882
+ * optional string reference = 9;
1883
+ * @return {string}
1884
+ */
1885
+ proto.agentbillingserviceapi.AgentBill.prototype.getReference = function() {
1886
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1887
+ };
1888
+
1889
+
1890
+ /**
1891
+ * @param {string} value
1892
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1893
+ */
1894
+ proto.agentbillingserviceapi.AgentBill.prototype.setReference = function(value) {
1895
+ return jspb.Message.setProto3StringField(this, 9, value);
1896
+ };
1897
+
1898
+
1899
+ /**
1900
+ * optional string formattedReference = 10;
1901
+ * @return {string}
1902
+ */
1903
+ proto.agentbillingserviceapi.AgentBill.prototype.getFormattedreference = function() {
1904
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1905
+ };
1906
+
1907
+
1908
+ /**
1909
+ * @param {string} value
1910
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1911
+ */
1912
+ proto.agentbillingserviceapi.AgentBill.prototype.setFormattedreference = function(value) {
1913
+ return jspb.Message.setProto3StringField(this, 10, value);
1914
+ };
1915
+
1916
+
1917
+ /**
1918
+ * optional string invoiceNumber = 11;
1919
+ * @return {string}
1920
+ */
1921
+ proto.agentbillingserviceapi.AgentBill.prototype.getInvoicenumber = function() {
1922
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1923
+ };
1924
+
1925
+
1926
+ /**
1927
+ * @param {string} value
1928
+ * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1929
+ */
1930
+ proto.agentbillingserviceapi.AgentBill.prototype.setInvoicenumber = function(value) {
1931
+ return jspb.Message.setProto3StringField(this, 11, value);
1932
+ };
1933
+
1934
+
1935
+
1936
+
1937
+
1938
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1939
+ /**
1940
+ * Creates an object representation of this proto.
1941
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1942
+ * Optional fields that are not set will be set to undefined.
1943
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1944
+ * For the list of reserved names please see:
1945
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1946
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1947
+ * JSPB instance for transitional soy proto support:
1948
+ * http://goto/soy-param-migration
1949
+ * @return {!Object}
1950
+ */
1951
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.toObject = function(opt_includeInstance) {
1952
+ return proto.agentbillingserviceapi.ArchiveAgentBillResult.toObject(opt_includeInstance, this);
1953
+ };
1954
+
1955
+
1956
+ /**
1957
+ * Static version of the {@see toObject} method.
1958
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1959
+ * the JSPB instance for transitional soy proto support:
1960
+ * http://goto/soy-param-migration
1961
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult} msg The msg instance to transform.
1962
+ * @return {!Object}
1963
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1964
+ */
1965
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.toObject = function(includeInstance, msg) {
1966
+ var f, obj = {
1967
+ agentbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
1968
+ billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
1969
+ wassuccessfullyarchived: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
1970
+ message: jspb.Message.getFieldWithDefault(msg, 4, "")
1971
+ };
1972
+
1973
+ if (includeInstance) {
1974
+ obj.$jspbMessageInstance = msg;
1975
+ }
1976
+ return obj;
1977
+ };
1978
+ }
1979
+
1980
+
1981
+ /**
1982
+ * Deserializes binary data (in protobuf wire format).
1983
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1984
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult}
1985
+ */
1986
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinary = function(bytes) {
1987
+ var reader = new jspb.BinaryReader(bytes);
1988
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillResult;
1989
+ return proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinaryFromReader(msg, reader);
1990
+ };
1991
+
1992
+
1993
+ /**
1994
+ * Deserializes binary data (in protobuf wire format) from the
1995
+ * given reader into the given message object.
1996
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult} msg The message object to deserialize into.
1997
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1998
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult}
1999
+ */
2000
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinaryFromReader = function(msg, reader) {
2001
+ while (reader.nextField()) {
2002
+ if (reader.isEndGroup()) {
2003
+ break;
2004
+ }
2005
+ var field = reader.getFieldNumber();
2006
+ switch (field) {
2007
+ case 1:
2008
+ var value = /** @type {number} */ (reader.readInt64());
2009
+ msg.setAgentbillid(value);
2010
+ break;
2011
+ case 2:
2012
+ var value = /** @type {number} */ (reader.readInt64());
2013
+ msg.setBillid(value);
2014
+ break;
2015
+ case 3:
2016
+ var value = /** @type {boolean} */ (reader.readBool());
2017
+ msg.setWassuccessfullyarchived(value);
2018
+ break;
2019
+ case 4:
2020
+ var value = /** @type {string} */ (reader.readString());
2021
+ msg.setMessage(value);
2022
+ break;
2023
+ default:
2024
+ reader.skipField();
2025
+ break;
2026
+ }
2027
+ }
2028
+ return msg;
2029
+ };
2030
+
2031
+
2032
+ /**
2033
+ * Serializes the message to binary data (in protobuf wire format).
2034
+ * @return {!Uint8Array}
2035
+ */
2036
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.serializeBinary = function() {
2037
+ var writer = new jspb.BinaryWriter();
2038
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.serializeBinaryToWriter(this, writer);
2039
+ return writer.getResultBuffer();
2040
+ };
2041
+
2042
+
2043
+ /**
2044
+ * Serializes the given message to binary data (in protobuf wire
2045
+ * format), writing to the given BinaryWriter.
2046
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult} message
2047
+ * @param {!jspb.BinaryWriter} writer
2048
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2049
+ */
2050
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.serializeBinaryToWriter = function(message, writer) {
2051
+ var f = undefined;
2052
+ f = message.getAgentbillid();
2053
+ if (f !== 0) {
2054
+ writer.writeInt64(
2055
+ 1,
2056
+ f
2057
+ );
2058
+ }
2059
+ f = message.getBillid();
2060
+ if (f !== 0) {
2061
+ writer.writeInt64(
2062
+ 2,
2063
+ f
2064
+ );
2065
+ }
2066
+ f = message.getWassuccessfullyarchived();
2067
+ if (f) {
2068
+ writer.writeBool(
2069
+ 3,
2070
+ f
2071
+ );
2072
+ }
2073
+ f = message.getMessage();
2074
+ if (f.length > 0) {
2075
+ writer.writeString(
2076
+ 4,
2077
+ f
2078
+ );
2079
+ }
2080
+ };
2081
+
2082
+
2083
+ /**
2084
+ * optional int64 agentBillId = 1;
2085
+ * @return {number}
2086
+ */
2087
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getAgentbillid = function() {
2088
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2089
+ };
2090
+
2091
+
2092
+ /**
2093
+ * @param {number} value
2094
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
2095
+ */
2096
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setAgentbillid = function(value) {
2097
+ return jspb.Message.setProto3IntField(this, 1, value);
2098
+ };
2099
+
2100
+
2101
+ /**
2102
+ * optional int64 billId = 2;
2103
+ * @return {number}
2104
+ */
2105
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getBillid = function() {
2106
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2107
+ };
2108
+
2109
+
2110
+ /**
2111
+ * @param {number} value
2112
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
2113
+ */
2114
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setBillid = function(value) {
2115
+ return jspb.Message.setProto3IntField(this, 2, value);
2116
+ };
2117
+
2118
+
2119
+ /**
2120
+ * optional bool wasSuccessfullyArchived = 3;
2121
+ * @return {boolean}
2122
+ */
2123
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getWassuccessfullyarchived = function() {
2124
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
2125
+ };
2126
+
2127
+
2128
+ /**
2129
+ * @param {boolean} value
2130
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
2131
+ */
2132
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setWassuccessfullyarchived = function(value) {
2133
+ return jspb.Message.setProto3BooleanField(this, 3, value);
2134
+ };
2135
+
2136
+
2137
+ /**
2138
+ * optional string message = 4;
2139
+ * @return {string}
2140
+ */
2141
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.getMessage = function() {
2142
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2143
+ };
2144
+
2145
+
2146
+ /**
2147
+ * @param {string} value
2148
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult} returns this
2149
+ */
2150
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.prototype.setMessage = function(value) {
2151
+ return jspb.Message.setProto3StringField(this, 4, value);
2152
+ };
2153
+
2154
+
2155
+
2156
+ /**
2157
+ * List of repeated fields within this message type.
2158
+ * @private {!Array<number>}
2159
+ * @const
2160
+ */
2161
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.repeatedFields_ = [1];
2162
+
2163
+
2164
+
2165
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2166
+ /**
2167
+ * Creates an object representation of this proto.
2168
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2169
+ * Optional fields that are not set will be set to undefined.
2170
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2171
+ * For the list of reserved names please see:
2172
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2173
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2174
+ * JSPB instance for transitional soy proto support:
2175
+ * http://goto/soy-param-migration
2176
+ * @return {!Object}
2177
+ */
2178
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.toObject = function(opt_includeInstance) {
2179
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.toObject(opt_includeInstance, this);
2180
+ };
2181
+
2182
+
2183
+ /**
2184
+ * Static version of the {@see toObject} method.
2185
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2186
+ * the JSPB instance for transitional soy proto support:
2187
+ * http://goto/soy-param-migration
2188
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} msg The msg instance to transform.
2189
+ * @return {!Object}
2190
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2191
+ */
2192
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.toObject = function(includeInstance, msg) {
2193
+ var f, obj = {
2194
+ agentbillidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2195
+ };
2196
+
2197
+ if (includeInstance) {
2198
+ obj.$jspbMessageInstance = msg;
2199
+ }
2200
+ return obj;
2201
+ };
2202
+ }
2203
+
2204
+
2205
+ /**
2206
+ * Deserializes binary data (in protobuf wire format).
2207
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2208
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest}
2209
+ */
2210
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.deserializeBinary = function(bytes) {
2211
+ var reader = new jspb.BinaryReader(bytes);
2212
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest;
2213
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader(msg, reader);
2214
+ };
2215
+
2216
+
2217
+ /**
2218
+ * Deserializes binary data (in protobuf wire format) from the
2219
+ * given reader into the given message object.
2220
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} msg The message object to deserialize into.
2221
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2222
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest}
2223
+ */
2224
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
2225
+ while (reader.nextField()) {
2226
+ if (reader.isEndGroup()) {
2227
+ break;
2228
+ }
2229
+ var field = reader.getFieldNumber();
2230
+ switch (field) {
2231
+ case 1:
2232
+ var value = /** @type {!Array<number>} */ (reader.readPackedInt64());
2233
+ msg.setAgentbillidsList(value);
2234
+ break;
2235
+ default:
2236
+ reader.skipField();
2237
+ break;
2238
+ }
2239
+ }
2240
+ return msg;
2241
+ };
2242
+
2243
+
2244
+ /**
2245
+ * Serializes the message to binary data (in protobuf wire format).
2246
+ * @return {!Uint8Array}
2247
+ */
2248
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.serializeBinary = function() {
2249
+ var writer = new jspb.BinaryWriter();
2250
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter(this, writer);
2251
+ return writer.getResultBuffer();
2252
+ };
2253
+
2254
+
2255
+ /**
2256
+ * Serializes the given message to binary data (in protobuf wire
2257
+ * format), writing to the given BinaryWriter.
2258
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} message
2259
+ * @param {!jspb.BinaryWriter} writer
2260
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2261
+ */
2262
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.serializeBinaryToWriter = function(message, writer) {
2263
+ var f = undefined;
2264
+ f = message.getAgentbillidsList();
2265
+ if (f.length > 0) {
2266
+ writer.writePackedInt64(
2267
+ 1,
2268
+ f
2269
+ );
2270
+ }
2271
+ };
2272
+
2273
+
2274
+ /**
2275
+ * repeated int64 agentBillIds = 1;
2276
+ * @return {!Array<number>}
2277
+ */
2278
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.getAgentbillidsList = function() {
2279
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
2280
+ };
2281
+
2282
+
2283
+ /**
2284
+ * @param {!Array<number>} value
2285
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} returns this
2286
+ */
2287
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.setAgentbillidsList = function(value) {
2288
+ return jspb.Message.setField(this, 1, value || []);
2289
+ };
2290
+
2291
+
2292
+ /**
2293
+ * @param {number} value
2294
+ * @param {number=} opt_index
2295
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} returns this
2296
+ */
2297
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.addAgentbillids = function(value, opt_index) {
2298
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2299
+ };
2300
+
2301
+
2302
+ /**
2303
+ * Clears the list making it empty but non-null.
2304
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest} returns this
2305
+ */
2306
+ proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest.prototype.clearAgentbillidsList = function() {
2307
+ return this.setAgentbillidsList([]);
2308
+ };
2309
+
2310
+
2311
+
2312
+
2313
+
2314
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2315
+ /**
2316
+ * Creates an object representation of this proto.
2317
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2318
+ * Optional fields that are not set will be set to undefined.
2319
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2320
+ * For the list of reserved names please see:
2321
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2322
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2323
+ * JSPB instance for transitional soy proto support:
2324
+ * http://goto/soy-param-migration
2325
+ * @return {!Object}
2326
+ */
2327
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.toObject = function(opt_includeInstance) {
2328
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.toObject(opt_includeInstance, this);
2329
+ };
2330
+
2331
+
2332
+ /**
2333
+ * Static version of the {@see toObject} method.
2334
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2335
+ * the JSPB instance for transitional soy proto support:
2336
+ * http://goto/soy-param-migration
2337
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} msg The msg instance to transform.
2338
+ * @return {!Object}
2339
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2340
+ */
2341
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.toObject = function(includeInstance, msg) {
2342
+ var f, obj = {
2343
+ deliverybatchid: jspb.Message.getFieldWithDefault(msg, 1, 0)
2344
+ };
2345
+
2346
+ if (includeInstance) {
2347
+ obj.$jspbMessageInstance = msg;
2348
+ }
2349
+ return obj;
2350
+ };
2351
+ }
2352
+
2353
+
2354
+ /**
2355
+ * Deserializes binary data (in protobuf wire format).
2356
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2357
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest}
2358
+ */
2359
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.deserializeBinary = function(bytes) {
2360
+ var reader = new jspb.BinaryReader(bytes);
2361
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest;
2362
+ return proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.deserializeBinaryFromReader(msg, reader);
2363
+ };
2364
+
2365
+
2366
+ /**
2367
+ * Deserializes binary data (in protobuf wire format) from the
2368
+ * given reader into the given message object.
2369
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} msg The message object to deserialize into.
2370
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2371
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest}
2372
+ */
2373
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.deserializeBinaryFromReader = function(msg, reader) {
2374
+ while (reader.nextField()) {
2375
+ if (reader.isEndGroup()) {
2376
+ break;
2377
+ }
2378
+ var field = reader.getFieldNumber();
2379
+ switch (field) {
2380
+ case 1:
2381
+ var value = /** @type {number} */ (reader.readInt64());
2382
+ msg.setDeliverybatchid(value);
2383
+ break;
2384
+ default:
2385
+ reader.skipField();
2386
+ break;
2387
+ }
2388
+ }
2389
+ return msg;
2390
+ };
2391
+
2392
+
2393
+ /**
2394
+ * Serializes the message to binary data (in protobuf wire format).
2395
+ * @return {!Uint8Array}
2396
+ */
2397
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.serializeBinary = function() {
2398
+ var writer = new jspb.BinaryWriter();
2399
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.serializeBinaryToWriter(this, writer);
2400
+ return writer.getResultBuffer();
2401
+ };
2402
+
2403
+
2404
+ /**
2405
+ * Serializes the given message to binary data (in protobuf wire
2406
+ * format), writing to the given BinaryWriter.
2407
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} message
2408
+ * @param {!jspb.BinaryWriter} writer
2409
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2410
+ */
2411
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.serializeBinaryToWriter = function(message, writer) {
2412
+ var f = undefined;
2413
+ f = message.getDeliverybatchid();
2414
+ if (f !== 0) {
2415
+ writer.writeInt64(
2416
+ 1,
2417
+ f
2418
+ );
2419
+ }
2420
+ };
2421
+
2422
+
2423
+ /**
2424
+ * optional int64 deliveryBatchId = 1;
1632
2425
  * @return {number}
1633
2426
  */
1634
- proto.agentbillingserviceapi.AgentBill.prototype.getAgentbillid = function() {
2427
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.getDeliverybatchid = function() {
1635
2428
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1636
2429
  };
1637
2430
 
1638
2431
 
1639
2432
  /**
1640
2433
  * @param {number} value
1641
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2434
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest} returns this
1642
2435
  */
1643
- proto.agentbillingserviceapi.AgentBill.prototype.setAgentbillid = function(value) {
2436
+ proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest.prototype.setDeliverybatchid = function(value) {
1644
2437
  return jspb.Message.setProto3IntField(this, 1, value);
1645
2438
  };
1646
2439
 
1647
2440
 
1648
- /**
1649
- * optional int64 billId = 2;
1650
- * @return {number}
1651
- */
1652
- proto.agentbillingserviceapi.AgentBill.prototype.getBillid = function() {
1653
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1654
- };
1655
-
1656
2441
 
1657
2442
  /**
1658
- * @param {number} value
1659
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2443
+ * List of repeated fields within this message type.
2444
+ * @private {!Array<number>}
2445
+ * @const
1660
2446
  */
1661
- proto.agentbillingserviceapi.AgentBill.prototype.setBillid = function(value) {
1662
- return jspb.Message.setProto3IntField(this, 2, value);
1663
- };
2447
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.repeatedFields_ = [4];
1664
2448
 
1665
2449
 
1666
- /**
1667
- * optional string billerName = 3;
1668
- * @return {string}
1669
- */
1670
- proto.agentbillingserviceapi.AgentBill.prototype.getBillername = function() {
1671
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1672
- };
1673
-
1674
2450
 
2451
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1675
2452
  /**
1676
- * @param {string} value
1677
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2453
+ * Creates an object representation of this proto.
2454
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2455
+ * Optional fields that are not set will be set to undefined.
2456
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2457
+ * For the list of reserved names please see:
2458
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2459
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2460
+ * JSPB instance for transitional soy proto support:
2461
+ * http://goto/soy-param-migration
2462
+ * @return {!Object}
1678
2463
  */
1679
- proto.agentbillingserviceapi.AgentBill.prototype.setBillername = function(value) {
1680
- return jspb.Message.setProto3StringField(this, 3, value);
2464
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.toObject = function(opt_includeInstance) {
2465
+ return proto.agentbillingserviceapi.ArchiveAgentBillsResponse.toObject(opt_includeInstance, this);
1681
2466
  };
1682
2467
 
1683
2468
 
1684
2469
  /**
1685
- * optional string billerLogo = 4;
1686
- * @return {string}
2470
+ * Static version of the {@see toObject} method.
2471
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2472
+ * the JSPB instance for transitional soy proto support:
2473
+ * http://goto/soy-param-migration
2474
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} msg The msg instance to transform.
2475
+ * @return {!Object}
2476
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1687
2477
  */
1688
- proto.agentbillingserviceapi.AgentBill.prototype.getBillerlogo = function() {
1689
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1690
- };
1691
-
2478
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.toObject = function(includeInstance, msg) {
2479
+ var f, obj = {
2480
+ responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
2481
+ archivedcount: jspb.Message.getFieldWithDefault(msg, 2, 0),
2482
+ notarchivedcount: jspb.Message.getFieldWithDefault(msg, 3, 0),
2483
+ archiveagentbillsresultsList: jspb.Message.toObjectList(msg.getArchiveagentbillsresultsList(),
2484
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.toObject, includeInstance)
2485
+ };
1692
2486
 
1693
- /**
1694
- * @param {string} value
1695
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1696
- */
1697
- proto.agentbillingserviceapi.AgentBill.prototype.setBillerlogo = function(value) {
1698
- return jspb.Message.setProto3StringField(this, 4, value);
2487
+ if (includeInstance) {
2488
+ obj.$jspbMessageInstance = msg;
2489
+ }
2490
+ return obj;
1699
2491
  };
2492
+ }
1700
2493
 
1701
2494
 
1702
2495
  /**
1703
- * optional string dueDate = 5;
1704
- * @return {string}
2496
+ * Deserializes binary data (in protobuf wire format).
2497
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2498
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse}
1705
2499
  */
1706
- proto.agentbillingserviceapi.AgentBill.prototype.getDuedate = function() {
1707
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2500
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.deserializeBinary = function(bytes) {
2501
+ var reader = new jspb.BinaryReader(bytes);
2502
+ var msg = new proto.agentbillingserviceapi.ArchiveAgentBillsResponse;
2503
+ return proto.agentbillingserviceapi.ArchiveAgentBillsResponse.deserializeBinaryFromReader(msg, reader);
1708
2504
  };
1709
2505
 
1710
2506
 
1711
2507
  /**
1712
- * @param {string} value
1713
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2508
+ * Deserializes binary data (in protobuf wire format) from the
2509
+ * given reader into the given message object.
2510
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} msg The message object to deserialize into.
2511
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2512
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse}
1714
2513
  */
1715
- proto.agentbillingserviceapi.AgentBill.prototype.setDuedate = function(value) {
1716
- return jspb.Message.setProto3StringField(this, 5, value);
2514
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.deserializeBinaryFromReader = function(msg, reader) {
2515
+ while (reader.nextField()) {
2516
+ if (reader.isEndGroup()) {
2517
+ break;
2518
+ }
2519
+ var field = reader.getFieldNumber();
2520
+ switch (field) {
2521
+ case 1:
2522
+ var value = new proto.agentbillingserviceapi.ResponseCode;
2523
+ reader.readMessage(value,proto.agentbillingserviceapi.ResponseCode.deserializeBinaryFromReader);
2524
+ msg.setResponsecode(value);
2525
+ break;
2526
+ case 2:
2527
+ var value = /** @type {number} */ (reader.readInt32());
2528
+ msg.setArchivedcount(value);
2529
+ break;
2530
+ case 3:
2531
+ var value = /** @type {number} */ (reader.readInt32());
2532
+ msg.setNotarchivedcount(value);
2533
+ break;
2534
+ case 4:
2535
+ var value = new proto.agentbillingserviceapi.ArchiveAgentBillResult;
2536
+ reader.readMessage(value,proto.agentbillingserviceapi.ArchiveAgentBillResult.deserializeBinaryFromReader);
2537
+ msg.addArchiveagentbillsresults(value);
2538
+ break;
2539
+ default:
2540
+ reader.skipField();
2541
+ break;
2542
+ }
2543
+ }
2544
+ return msg;
1717
2545
  };
1718
2546
 
1719
2547
 
1720
2548
  /**
1721
- * repeated string tags = 6;
1722
- * @return {!Array<string>}
2549
+ * Serializes the message to binary data (in protobuf wire format).
2550
+ * @return {!Uint8Array}
1723
2551
  */
1724
- proto.agentbillingserviceapi.AgentBill.prototype.getTagsList = function() {
1725
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
2552
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.serializeBinary = function() {
2553
+ var writer = new jspb.BinaryWriter();
2554
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.serializeBinaryToWriter(this, writer);
2555
+ return writer.getResultBuffer();
1726
2556
  };
1727
2557
 
1728
2558
 
1729
2559
  /**
1730
- * @param {!Array<string>} value
1731
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2560
+ * Serializes the given message to binary data (in protobuf wire
2561
+ * format), writing to the given BinaryWriter.
2562
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} message
2563
+ * @param {!jspb.BinaryWriter} writer
2564
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1732
2565
  */
1733
- proto.agentbillingserviceapi.AgentBill.prototype.setTagsList = function(value) {
1734
- return jspb.Message.setField(this, 6, value || []);
2566
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.serializeBinaryToWriter = function(message, writer) {
2567
+ var f = undefined;
2568
+ f = message.getResponsecode();
2569
+ if (f != null) {
2570
+ writer.writeMessage(
2571
+ 1,
2572
+ f,
2573
+ proto.agentbillingserviceapi.ResponseCode.serializeBinaryToWriter
2574
+ );
2575
+ }
2576
+ f = message.getArchivedcount();
2577
+ if (f !== 0) {
2578
+ writer.writeInt32(
2579
+ 2,
2580
+ f
2581
+ );
2582
+ }
2583
+ f = message.getNotarchivedcount();
2584
+ if (f !== 0) {
2585
+ writer.writeInt32(
2586
+ 3,
2587
+ f
2588
+ );
2589
+ }
2590
+ f = message.getArchiveagentbillsresultsList();
2591
+ if (f.length > 0) {
2592
+ writer.writeRepeatedMessage(
2593
+ 4,
2594
+ f,
2595
+ proto.agentbillingserviceapi.ArchiveAgentBillResult.serializeBinaryToWriter
2596
+ );
2597
+ }
1735
2598
  };
1736
2599
 
1737
2600
 
1738
2601
  /**
1739
- * @param {string} value
1740
- * @param {number=} opt_index
1741
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2602
+ * optional ResponseCode responseCode = 1;
2603
+ * @return {?proto.agentbillingserviceapi.ResponseCode}
1742
2604
  */
1743
- proto.agentbillingserviceapi.AgentBill.prototype.addTags = function(value, opt_index) {
1744
- return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
2605
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getResponsecode = function() {
2606
+ return /** @type{?proto.agentbillingserviceapi.ResponseCode} */ (
2607
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.ResponseCode, 1));
1745
2608
  };
1746
2609
 
1747
2610
 
1748
2611
  /**
1749
- * Clears the list making it empty but non-null.
1750
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1751
- */
1752
- proto.agentbillingserviceapi.AgentBill.prototype.clearTagsList = function() {
1753
- return this.setTagsList([]);
2612
+ * @param {?proto.agentbillingserviceapi.ResponseCode|undefined} value
2613
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2614
+ */
2615
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setResponsecode = function(value) {
2616
+ return jspb.Message.setWrapperField(this, 1, value);
1754
2617
  };
1755
2618
 
1756
2619
 
1757
2620
  /**
1758
- * optional double balance = 7;
1759
- * @return {number}
2621
+ * Clears the message field making it undefined.
2622
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
1760
2623
  */
1761
- proto.agentbillingserviceapi.AgentBill.prototype.getBalance = function() {
1762
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
2624
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.clearResponsecode = function() {
2625
+ return this.setResponsecode(undefined);
1763
2626
  };
1764
2627
 
1765
2628
 
1766
2629
  /**
1767
- * @param {number} value
1768
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2630
+ * Returns whether this field is set.
2631
+ * @return {boolean}
1769
2632
  */
1770
- proto.agentbillingserviceapi.AgentBill.prototype.setBalance = function(value) {
1771
- return jspb.Message.setProto3FloatField(this, 7, value);
2633
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.hasResponsecode = function() {
2634
+ return jspb.Message.getField(this, 1) != null;
1772
2635
  };
1773
2636
 
1774
2637
 
1775
2638
  /**
1776
- * optional string description = 8;
1777
- * @return {string}
2639
+ * optional int32 archivedCount = 2;
2640
+ * @return {number}
1778
2641
  */
1779
- proto.agentbillingserviceapi.AgentBill.prototype.getDescription = function() {
1780
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2642
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getArchivedcount = function() {
2643
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1781
2644
  };
1782
2645
 
1783
2646
 
1784
2647
  /**
1785
- * @param {string} value
1786
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2648
+ * @param {number} value
2649
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
1787
2650
  */
1788
- proto.agentbillingserviceapi.AgentBill.prototype.setDescription = function(value) {
1789
- return jspb.Message.setProto3StringField(this, 8, value);
2651
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setArchivedcount = function(value) {
2652
+ return jspb.Message.setProto3IntField(this, 2, value);
1790
2653
  };
1791
2654
 
1792
2655
 
1793
2656
  /**
1794
- * optional string reference = 9;
1795
- * @return {string}
2657
+ * optional int32 notArchivedCount = 3;
2658
+ * @return {number}
1796
2659
  */
1797
- proto.agentbillingserviceapi.AgentBill.prototype.getReference = function() {
1798
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2660
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getNotarchivedcount = function() {
2661
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1799
2662
  };
1800
2663
 
1801
2664
 
1802
2665
  /**
1803
- * @param {string} value
1804
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2666
+ * @param {number} value
2667
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
1805
2668
  */
1806
- proto.agentbillingserviceapi.AgentBill.prototype.setReference = function(value) {
1807
- return jspb.Message.setProto3StringField(this, 9, value);
2669
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setNotarchivedcount = function(value) {
2670
+ return jspb.Message.setProto3IntField(this, 3, value);
1808
2671
  };
1809
2672
 
1810
2673
 
1811
2674
  /**
1812
- * optional string formattedReference = 10;
1813
- * @return {string}
2675
+ * repeated ArchiveAgentBillResult archiveAgentBillsResults = 4;
2676
+ * @return {!Array<!proto.agentbillingserviceapi.ArchiveAgentBillResult>}
1814
2677
  */
1815
- proto.agentbillingserviceapi.AgentBill.prototype.getFormattedreference = function() {
1816
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2678
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.getArchiveagentbillsresultsList = function() {
2679
+ return /** @type{!Array<!proto.agentbillingserviceapi.ArchiveAgentBillResult>} */ (
2680
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.ArchiveAgentBillResult, 4));
1817
2681
  };
1818
2682
 
1819
2683
 
1820
2684
  /**
1821
- * @param {string} value
1822
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
1823
- */
1824
- proto.agentbillingserviceapi.AgentBill.prototype.setFormattedreference = function(value) {
1825
- return jspb.Message.setProto3StringField(this, 10, value);
2685
+ * @param {!Array<!proto.agentbillingserviceapi.ArchiveAgentBillResult>} value
2686
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
2687
+ */
2688
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.setArchiveagentbillsresultsList = function(value) {
2689
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
1826
2690
  };
1827
2691
 
1828
2692
 
1829
2693
  /**
1830
- * optional string invoiceNumber = 11;
1831
- * @return {string}
2694
+ * @param {!proto.agentbillingserviceapi.ArchiveAgentBillResult=} opt_value
2695
+ * @param {number=} opt_index
2696
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillResult}
1832
2697
  */
1833
- proto.agentbillingserviceapi.AgentBill.prototype.getInvoicenumber = function() {
1834
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2698
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.addArchiveagentbillsresults = function(opt_value, opt_index) {
2699
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.agentbillingserviceapi.ArchiveAgentBillResult, opt_index);
1835
2700
  };
1836
2701
 
1837
2702
 
1838
2703
  /**
1839
- * @param {string} value
1840
- * @return {!proto.agentbillingserviceapi.AgentBill} returns this
2704
+ * Clears the list making it empty but non-null.
2705
+ * @return {!proto.agentbillingserviceapi.ArchiveAgentBillsResponse} returns this
1841
2706
  */
1842
- proto.agentbillingserviceapi.AgentBill.prototype.setInvoicenumber = function(value) {
1843
- return jspb.Message.setProto3StringField(this, 11, value);
2707
+ proto.agentbillingserviceapi.ArchiveAgentBillsResponse.prototype.clearArchiveagentbillsresultsList = function() {
2708
+ return this.setArchiveagentbillsresultsList([]);
1844
2709
  };
1845
2710
 
1846
2711
 
@@ -4341,7 +5206,8 @@ proto.agentbillingserviceapi.DeliveryBatch.toObject = function(includeInstance,
4341
5206
  unpaidbillscount: jspb.Message.getFieldWithDefault(msg, 4, 0),
4342
5207
  dueamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
4343
5208
  agentuserid: jspb.Message.getFieldWithDefault(msg, 6, 0),
4344
- agentname: jspb.Message.getFieldWithDefault(msg, 7, "")
5209
+ agentname: jspb.Message.getFieldWithDefault(msg, 7, ""),
5210
+ isbatchlocked: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
4345
5211
  };
4346
5212
 
4347
5213
  if (includeInstance) {
@@ -4406,6 +5272,10 @@ proto.agentbillingserviceapi.DeliveryBatch.deserializeBinaryFromReader = functio
4406
5272
  var value = /** @type {string} */ (reader.readString());
4407
5273
  msg.setAgentname(value);
4408
5274
  break;
5275
+ case 8:
5276
+ var value = /** @type {boolean} */ (reader.readBool());
5277
+ msg.setIsbatchlocked(value);
5278
+ break;
4409
5279
  default:
4410
5280
  reader.skipField();
4411
5281
  break;
@@ -4484,6 +5354,13 @@ proto.agentbillingserviceapi.DeliveryBatch.serializeBinaryToWriter = function(me
4484
5354
  f
4485
5355
  );
4486
5356
  }
5357
+ f = message.getIsbatchlocked();
5358
+ if (f) {
5359
+ writer.writeBool(
5360
+ 8,
5361
+ f
5362
+ );
5363
+ }
4487
5364
  };
4488
5365
 
4489
5366
 
@@ -4613,6 +5490,24 @@ proto.agentbillingserviceapi.DeliveryBatch.prototype.setAgentname = function(val
4613
5490
  };
4614
5491
 
4615
5492
 
5493
+ /**
5494
+ * optional bool isBatchLocked = 8;
5495
+ * @return {boolean}
5496
+ */
5497
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.getIsbatchlocked = function() {
5498
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
5499
+ };
5500
+
5501
+
5502
+ /**
5503
+ * @param {boolean} value
5504
+ * @return {!proto.agentbillingserviceapi.DeliveryBatch} returns this
5505
+ */
5506
+ proto.agentbillingserviceapi.DeliveryBatch.prototype.setIsbatchlocked = function(value) {
5507
+ return jspb.Message.setProto3BooleanField(this, 8, value);
5508
+ };
5509
+
5510
+
4616
5511
 
4617
5512
 
4618
5513