@sniipwebmaster/realtime-message-client-grpcweb 21.21.144 → 21.21.161
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/service_pb.js +353 -1
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
|
13
13
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
14
14
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js');
|
|
15
15
|
goog.exportSymbol('proto.realtimemessageapi.BillPaid', null, global);
|
|
16
|
+
goog.exportSymbol('proto.realtimemessageapi.BulkPaymentTaskUpdate', null, global);
|
|
16
17
|
goog.exportSymbol('proto.realtimemessageapi.EmptyRequest', null, global);
|
|
17
18
|
goog.exportSymbol('proto.realtimemessageapi.Event', null, global);
|
|
18
19
|
goog.exportSymbol('proto.realtimemessageapi.EventType', null, global);
|
|
@@ -1770,6 +1771,356 @@ proto.realtimemessageapi.BillPaid.prototype.setNumberofotheruserswhopaidsamebill
|
|
|
1770
1771
|
|
|
1771
1772
|
|
|
1772
1773
|
|
|
1774
|
+
/**
|
|
1775
|
+
* Generated by JsPbCodeGenerator.
|
|
1776
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1777
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1778
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1779
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1780
|
+
* valid.
|
|
1781
|
+
* @extends {jspb.Message}
|
|
1782
|
+
* @constructor
|
|
1783
|
+
*/
|
|
1784
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate = function(opt_data) {
|
|
1785
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1786
|
+
};
|
|
1787
|
+
goog.inherits(proto.realtimemessageapi.BulkPaymentTaskUpdate, jspb.Message);
|
|
1788
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1789
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.displayName = 'proto.realtimemessageapi.BulkPaymentTaskUpdate';
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1794
|
+
/**
|
|
1795
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
1796
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1797
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1798
|
+
* For the list of reserved names please see:
|
|
1799
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
1800
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
1801
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
1802
|
+
* @return {!Object}
|
|
1803
|
+
*/
|
|
1804
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.toObject = function(opt_includeInstance) {
|
|
1805
|
+
return proto.realtimemessageapi.BulkPaymentTaskUpdate.toObject(opt_includeInstance, this);
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
/**
|
|
1810
|
+
* Static version of the {@see toObject} method.
|
|
1811
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
1812
|
+
* instance for transitional soy proto support:
|
|
1813
|
+
* http://goto/soy-param-migration
|
|
1814
|
+
* @param {!proto.realtimemessageapi.BulkPaymentTaskUpdate} msg The msg instance to transform.
|
|
1815
|
+
* @return {!Object}
|
|
1816
|
+
*/
|
|
1817
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.toObject = function(includeInstance, msg) {
|
|
1818
|
+
var f, obj = {
|
|
1819
|
+
bulkpaymentid: msg.getBulkpaymentid(),
|
|
1820
|
+
taskid: msg.getTaskid(),
|
|
1821
|
+
billid: msg.getBillid(),
|
|
1822
|
+
source: msg.getSource(),
|
|
1823
|
+
sourceid: msg.getSourceid(),
|
|
1824
|
+
status: msg.getStatus(),
|
|
1825
|
+
archivebill: msg.getArchivebill(),
|
|
1826
|
+
billremainingamount: msg.getBillremainingamount()
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
if (includeInstance) {
|
|
1830
|
+
obj.$jspbMessageInstance = msg;
|
|
1831
|
+
}
|
|
1832
|
+
return obj;
|
|
1833
|
+
};
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
/**
|
|
1838
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1839
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1840
|
+
* @return {!proto.realtimemessageapi.BulkPaymentTaskUpdate}
|
|
1841
|
+
*/
|
|
1842
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.deserializeBinary = function(bytes) {
|
|
1843
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1844
|
+
var msg = new proto.realtimemessageapi.BulkPaymentTaskUpdate;
|
|
1845
|
+
return proto.realtimemessageapi.BulkPaymentTaskUpdate.deserializeBinaryFromReader(msg, reader);
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
/**
|
|
1850
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1851
|
+
* given reader into the given message object.
|
|
1852
|
+
* @param {!proto.realtimemessageapi.BulkPaymentTaskUpdate} msg The message object to deserialize into.
|
|
1853
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1854
|
+
* @return {!proto.realtimemessageapi.BulkPaymentTaskUpdate}
|
|
1855
|
+
*/
|
|
1856
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.deserializeBinaryFromReader = function(msg, reader) {
|
|
1857
|
+
while (reader.nextField()) {
|
|
1858
|
+
if (reader.isEndGroup()) {
|
|
1859
|
+
break;
|
|
1860
|
+
}
|
|
1861
|
+
var field = reader.getFieldNumber();
|
|
1862
|
+
switch (field) {
|
|
1863
|
+
case 1:
|
|
1864
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
1865
|
+
msg.setBulkpaymentid(value);
|
|
1866
|
+
break;
|
|
1867
|
+
case 2:
|
|
1868
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
1869
|
+
msg.setTaskid(value);
|
|
1870
|
+
break;
|
|
1871
|
+
case 3:
|
|
1872
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
1873
|
+
msg.setBillid(value);
|
|
1874
|
+
break;
|
|
1875
|
+
case 4:
|
|
1876
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1877
|
+
msg.setSource(value);
|
|
1878
|
+
break;
|
|
1879
|
+
case 5:
|
|
1880
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
1881
|
+
msg.setSourceid(value);
|
|
1882
|
+
break;
|
|
1883
|
+
case 6:
|
|
1884
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1885
|
+
msg.setStatus(value);
|
|
1886
|
+
break;
|
|
1887
|
+
case 7:
|
|
1888
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1889
|
+
msg.setArchivebill(value);
|
|
1890
|
+
break;
|
|
1891
|
+
case 8:
|
|
1892
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
1893
|
+
msg.setBillremainingamount(value);
|
|
1894
|
+
break;
|
|
1895
|
+
default:
|
|
1896
|
+
reader.skipField();
|
|
1897
|
+
break;
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
return msg;
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* Class method variant: serializes the given message to binary data
|
|
1906
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
1907
|
+
* @param {!proto.realtimemessageapi.BulkPaymentTaskUpdate} message
|
|
1908
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1909
|
+
*/
|
|
1910
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.serializeBinaryToWriter = function(message, writer) {
|
|
1911
|
+
message.serializeBinaryToWriter(writer);
|
|
1912
|
+
};
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1917
|
+
* @return {!Uint8Array}
|
|
1918
|
+
*/
|
|
1919
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.serializeBinary = function() {
|
|
1920
|
+
var writer = new jspb.BinaryWriter();
|
|
1921
|
+
this.serializeBinaryToWriter(writer);
|
|
1922
|
+
return writer.getResultBuffer();
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
1928
|
+
* writing to the given BinaryWriter.
|
|
1929
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1930
|
+
*/
|
|
1931
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.serializeBinaryToWriter = function (writer) {
|
|
1932
|
+
var f = undefined;
|
|
1933
|
+
f = this.getBulkpaymentid();
|
|
1934
|
+
if (f !== 0) {
|
|
1935
|
+
writer.writeUint64(
|
|
1936
|
+
1,
|
|
1937
|
+
f
|
|
1938
|
+
);
|
|
1939
|
+
}
|
|
1940
|
+
f = this.getTaskid();
|
|
1941
|
+
if (f !== 0) {
|
|
1942
|
+
writer.writeUint64(
|
|
1943
|
+
2,
|
|
1944
|
+
f
|
|
1945
|
+
);
|
|
1946
|
+
}
|
|
1947
|
+
f = this.getBillid();
|
|
1948
|
+
if (f !== 0) {
|
|
1949
|
+
writer.writeUint64(
|
|
1950
|
+
3,
|
|
1951
|
+
f
|
|
1952
|
+
);
|
|
1953
|
+
}
|
|
1954
|
+
f = this.getSource();
|
|
1955
|
+
if (f.length > 0) {
|
|
1956
|
+
writer.writeString(
|
|
1957
|
+
4,
|
|
1958
|
+
f
|
|
1959
|
+
);
|
|
1960
|
+
}
|
|
1961
|
+
f = this.getSourceid();
|
|
1962
|
+
if (f !== 0) {
|
|
1963
|
+
writer.writeUint64(
|
|
1964
|
+
5,
|
|
1965
|
+
f
|
|
1966
|
+
);
|
|
1967
|
+
}
|
|
1968
|
+
f = this.getStatus();
|
|
1969
|
+
if (f.length > 0) {
|
|
1970
|
+
writer.writeString(
|
|
1971
|
+
6,
|
|
1972
|
+
f
|
|
1973
|
+
);
|
|
1974
|
+
}
|
|
1975
|
+
f = this.getArchivebill();
|
|
1976
|
+
if (f) {
|
|
1977
|
+
writer.writeBool(
|
|
1978
|
+
7,
|
|
1979
|
+
f
|
|
1980
|
+
);
|
|
1981
|
+
}
|
|
1982
|
+
f = this.getBillremainingamount();
|
|
1983
|
+
if (f !== 0.0) {
|
|
1984
|
+
writer.writeDouble(
|
|
1985
|
+
8,
|
|
1986
|
+
f
|
|
1987
|
+
);
|
|
1988
|
+
}
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
1994
|
+
* @return {!proto.realtimemessageapi.BulkPaymentTaskUpdate} The clone.
|
|
1995
|
+
*/
|
|
1996
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.cloneMessage = function() {
|
|
1997
|
+
return /** @type {!proto.realtimemessageapi.BulkPaymentTaskUpdate} */ (jspb.Message.cloneMessage(this));
|
|
1998
|
+
};
|
|
1999
|
+
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* optional uint64 bulkPaymentId = 1;
|
|
2003
|
+
* @return {number}
|
|
2004
|
+
*/
|
|
2005
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getBulkpaymentid = function() {
|
|
2006
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
2007
|
+
};
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
/** @param {number} value */
|
|
2011
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setBulkpaymentid = function(value) {
|
|
2012
|
+
jspb.Message.setField(this, 1, value);
|
|
2013
|
+
};
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
/**
|
|
2017
|
+
* optional uint64 taskId = 2;
|
|
2018
|
+
* @return {number}
|
|
2019
|
+
*/
|
|
2020
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getTaskid = function() {
|
|
2021
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
2022
|
+
};
|
|
2023
|
+
|
|
2024
|
+
|
|
2025
|
+
/** @param {number} value */
|
|
2026
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setTaskid = function(value) {
|
|
2027
|
+
jspb.Message.setField(this, 2, value);
|
|
2028
|
+
};
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* optional uint64 billId = 3;
|
|
2033
|
+
* @return {number}
|
|
2034
|
+
*/
|
|
2035
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getBillid = function() {
|
|
2036
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
|
|
2037
|
+
};
|
|
2038
|
+
|
|
2039
|
+
|
|
2040
|
+
/** @param {number} value */
|
|
2041
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setBillid = function(value) {
|
|
2042
|
+
jspb.Message.setField(this, 3, value);
|
|
2043
|
+
};
|
|
2044
|
+
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* optional string source = 4;
|
|
2048
|
+
* @return {string}
|
|
2049
|
+
*/
|
|
2050
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getSource = function() {
|
|
2051
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
|
|
2055
|
+
/** @param {string} value */
|
|
2056
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setSource = function(value) {
|
|
2057
|
+
jspb.Message.setField(this, 4, value);
|
|
2058
|
+
};
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* optional uint64 sourceId = 5;
|
|
2063
|
+
* @return {number}
|
|
2064
|
+
*/
|
|
2065
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getSourceid = function() {
|
|
2066
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 5, 0));
|
|
2067
|
+
};
|
|
2068
|
+
|
|
2069
|
+
|
|
2070
|
+
/** @param {number} value */
|
|
2071
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setSourceid = function(value) {
|
|
2072
|
+
jspb.Message.setField(this, 5, value);
|
|
2073
|
+
};
|
|
2074
|
+
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* optional string status = 6;
|
|
2078
|
+
* @return {string}
|
|
2079
|
+
*/
|
|
2080
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getStatus = function() {
|
|
2081
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 6, ""));
|
|
2082
|
+
};
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
/** @param {string} value */
|
|
2086
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setStatus = function(value) {
|
|
2087
|
+
jspb.Message.setField(this, 6, value);
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
/**
|
|
2092
|
+
* optional bool archiveBill = 7;
|
|
2093
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
2094
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
2095
|
+
* @return {boolean}
|
|
2096
|
+
*/
|
|
2097
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getArchivebill = function() {
|
|
2098
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
|
|
2099
|
+
};
|
|
2100
|
+
|
|
2101
|
+
|
|
2102
|
+
/** @param {boolean} value */
|
|
2103
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setArchivebill = function(value) {
|
|
2104
|
+
jspb.Message.setField(this, 7, value);
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* optional double billRemainingAmount = 8;
|
|
2110
|
+
* @return {number}
|
|
2111
|
+
*/
|
|
2112
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.getBillremainingamount = function() {
|
|
2113
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
/** @param {number} value */
|
|
2118
|
+
proto.realtimemessageapi.BulkPaymentTaskUpdate.prototype.setBillremainingamount = function(value) {
|
|
2119
|
+
jspb.Message.setField(this, 8, value);
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
|
|
1773
2124
|
/**
|
|
1774
2125
|
* Generated by JsPbCodeGenerator.
|
|
1775
2126
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2303,7 +2654,8 @@ proto.realtimemessageapi.Event.prototype.setUserid = function(value) {
|
|
|
2303
2654
|
*/
|
|
2304
2655
|
proto.realtimemessageapi.EventType = {
|
|
2305
2656
|
BILL_PAID: 0,
|
|
2306
|
-
TRANSACTION_FAILED: 1
|
|
2657
|
+
TRANSACTION_FAILED: 1,
|
|
2658
|
+
BULK_PAYMENT_UPDATED: 2
|
|
2307
2659
|
};
|
|
2308
2660
|
|
|
2309
2661
|
goog.object.extend(exports, proto.realtimemessageapi);
|