@sniipwebmaster/bill-service-client-grpcweb 0.2.4936 → 0.2.4951

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.
@@ -1740,6 +1740,61 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getUnpaidMbills =
1740
1740
  };
1741
1741
 
1742
1742
 
1743
+ /**
1744
+ * @const
1745
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1746
+ * !proto.google.protobuf.Empty,
1747
+ * !proto.sniipbillapi.UserBillConfigResponse>}
1748
+ */
1749
+ const methodInfo_SniipBillAPIService_GetUserBillConfig = new grpc.web.AbstractClientBase.MethodInfo(
1750
+ proto.sniipbillapi.UserBillConfigResponse,
1751
+ /** @param {!proto.google.protobuf.Empty} request */
1752
+ function(request) {
1753
+ return request.serializeBinary();
1754
+ },
1755
+ proto.sniipbillapi.UserBillConfigResponse.deserializeBinary
1756
+ );
1757
+
1758
+
1759
+ /**
1760
+ * @param {!proto.google.protobuf.Empty} request The
1761
+ * request proto
1762
+ * @param {?Object<string, string>} metadata User defined
1763
+ * call metadata
1764
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.UserBillConfigResponse)}
1765
+ * callback The callback function(error, response)
1766
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.UserBillConfigResponse>|undefined}
1767
+ * The XHR Node Readable Stream
1768
+ */
1769
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getUserBillConfig =
1770
+ function(request, metadata, callback) {
1771
+ return this.client_.rpcCall(this.hostname_ +
1772
+ '/sniipbillapi.SniipBillAPIService/GetUserBillConfig',
1773
+ request,
1774
+ metadata || {},
1775
+ methodInfo_SniipBillAPIService_GetUserBillConfig,
1776
+ callback);
1777
+ };
1778
+
1779
+
1780
+ /**
1781
+ * @param {!proto.google.protobuf.Empty} request The
1782
+ * request proto
1783
+ * @param {?Object<string, string>} metadata User defined
1784
+ * call metadata
1785
+ * @return {!Promise<!proto.sniipbillapi.UserBillConfigResponse>}
1786
+ * A native promise that resolves to the response
1787
+ */
1788
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getUserBillConfig =
1789
+ function(request, metadata) {
1790
+ return this.client_.unaryCall(this.hostname_ +
1791
+ '/sniipbillapi.SniipBillAPIService/GetUserBillConfig',
1792
+ request,
1793
+ metadata || {},
1794
+ methodInfo_SniipBillAPIService_GetUserBillConfig);
1795
+ };
1796
+
1797
+
1743
1798
  /**
1744
1799
  * @const
1745
1800
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -2510,6 +2565,61 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.updateDueDate =
2510
2565
  };
2511
2566
 
2512
2567
 
2568
+ /**
2569
+ * @const
2570
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2571
+ * !proto.sniipbillapi.UpdateUserBillConfigRequest,
2572
+ * !proto.sniipbillapi.UserBillConfigResponse>}
2573
+ */
2574
+ const methodInfo_SniipBillAPIService_UpdateUserBillConfig = new grpc.web.AbstractClientBase.MethodInfo(
2575
+ proto.sniipbillapi.UserBillConfigResponse,
2576
+ /** @param {!proto.sniipbillapi.UpdateUserBillConfigRequest} request */
2577
+ function(request) {
2578
+ return request.serializeBinary();
2579
+ },
2580
+ proto.sniipbillapi.UserBillConfigResponse.deserializeBinary
2581
+ );
2582
+
2583
+
2584
+ /**
2585
+ * @param {!proto.sniipbillapi.UpdateUserBillConfigRequest} request The
2586
+ * request proto
2587
+ * @param {?Object<string, string>} metadata User defined
2588
+ * call metadata
2589
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.UserBillConfigResponse)}
2590
+ * callback The callback function(error, response)
2591
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.UserBillConfigResponse>|undefined}
2592
+ * The XHR Node Readable Stream
2593
+ */
2594
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.updateUserBillConfig =
2595
+ function(request, metadata, callback) {
2596
+ return this.client_.rpcCall(this.hostname_ +
2597
+ '/sniipbillapi.SniipBillAPIService/UpdateUserBillConfig',
2598
+ request,
2599
+ metadata || {},
2600
+ methodInfo_SniipBillAPIService_UpdateUserBillConfig,
2601
+ callback);
2602
+ };
2603
+
2604
+
2605
+ /**
2606
+ * @param {!proto.sniipbillapi.UpdateUserBillConfigRequest} request The
2607
+ * request proto
2608
+ * @param {?Object<string, string>} metadata User defined
2609
+ * call metadata
2610
+ * @return {!Promise<!proto.sniipbillapi.UserBillConfigResponse>}
2611
+ * A native promise that resolves to the response
2612
+ */
2613
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.updateUserBillConfig =
2614
+ function(request, metadata) {
2615
+ return this.client_.unaryCall(this.hostname_ +
2616
+ '/sniipbillapi.SniipBillAPIService/UpdateUserBillConfig',
2617
+ request,
2618
+ metadata || {},
2619
+ methodInfo_SniipBillAPIService_UpdateUserBillConfig);
2620
+ };
2621
+
2622
+
2513
2623
  /**
2514
2624
  * @const
2515
2625
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -112,6 +112,9 @@ goog.exportSymbol('proto.sniipbillapi.UnpaidMbill', null, global);
112
112
  goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountRequest', null, global);
113
113
  goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountResponse', null, global);
114
114
  goog.exportSymbol('proto.sniipbillapi.UpdateDueDateRequest', null, global);
115
+ goog.exportSymbol('proto.sniipbillapi.UpdateUserBillConfigRequest', null, global);
116
+ goog.exportSymbol('proto.sniipbillapi.UserBillConfig', null, global);
117
+ goog.exportSymbol('proto.sniipbillapi.UserBillConfigResponse', null, global);
115
118
  goog.exportSymbol('proto.sniipbillapi.ValidateBillOwnerRequest', null, global);
116
119
  goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
117
120
  goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceResponse', null, global);
@@ -25881,6 +25884,619 @@ proto.sniipbillapi.UpdateDueDateRequest.prototype.setDuedate = function(value) {
25881
25884
 
25882
25885
 
25883
25886
 
25887
+ /**
25888
+ * Generated by JsPbCodeGenerator.
25889
+ * @param {Array=} opt_data Optional initial data array, typically from a
25890
+ * server response, or constructed directly in Javascript. The array is used
25891
+ * in place and becomes part of the constructed object. It is not cloned.
25892
+ * If no data is provided, the constructed object will be empty, but still
25893
+ * valid.
25894
+ * @extends {jspb.Message}
25895
+ * @constructor
25896
+ */
25897
+ proto.sniipbillapi.UpdateUserBillConfigRequest = function(opt_data) {
25898
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
25899
+ };
25900
+ goog.inherits(proto.sniipbillapi.UpdateUserBillConfigRequest, jspb.Message);
25901
+ if (goog.DEBUG && !COMPILED) {
25902
+ proto.sniipbillapi.UpdateUserBillConfigRequest.displayName = 'proto.sniipbillapi.UpdateUserBillConfigRequest';
25903
+ }
25904
+
25905
+
25906
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25907
+ /**
25908
+ * Creates an object representation of this proto suitable for use in Soy templates.
25909
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25910
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25911
+ * For the list of reserved names please see:
25912
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
25913
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
25914
+ * for transitional soy proto support: http://goto/soy-param-migration
25915
+ * @return {!Object}
25916
+ */
25917
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.toObject = function(opt_includeInstance) {
25918
+ return proto.sniipbillapi.UpdateUserBillConfigRequest.toObject(opt_includeInstance, this);
25919
+ };
25920
+
25921
+
25922
+ /**
25923
+ * Static version of the {@see toObject} method.
25924
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
25925
+ * instance for transitional soy proto support:
25926
+ * http://goto/soy-param-migration
25927
+ * @param {!proto.sniipbillapi.UpdateUserBillConfigRequest} msg The msg instance to transform.
25928
+ * @return {!Object}
25929
+ */
25930
+ proto.sniipbillapi.UpdateUserBillConfigRequest.toObject = function(includeInstance, msg) {
25931
+ var f, obj = {
25932
+ data: (f = msg.getData()) && proto.sniipbillapi.UserBillConfig.toObject(includeInstance, f)
25933
+ };
25934
+
25935
+ if (includeInstance) {
25936
+ obj.$jspbMessageInstance = msg;
25937
+ }
25938
+ return obj;
25939
+ };
25940
+ }
25941
+
25942
+
25943
+ /**
25944
+ * Deserializes binary data (in protobuf wire format).
25945
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25946
+ * @return {!proto.sniipbillapi.UpdateUserBillConfigRequest}
25947
+ */
25948
+ proto.sniipbillapi.UpdateUserBillConfigRequest.deserializeBinary = function(bytes) {
25949
+ var reader = new jspb.BinaryReader(bytes);
25950
+ var msg = new proto.sniipbillapi.UpdateUserBillConfigRequest;
25951
+ return proto.sniipbillapi.UpdateUserBillConfigRequest.deserializeBinaryFromReader(msg, reader);
25952
+ };
25953
+
25954
+
25955
+ /**
25956
+ * Deserializes binary data (in protobuf wire format) from the
25957
+ * given reader into the given message object.
25958
+ * @param {!proto.sniipbillapi.UpdateUserBillConfigRequest} msg The message object to deserialize into.
25959
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25960
+ * @return {!proto.sniipbillapi.UpdateUserBillConfigRequest}
25961
+ */
25962
+ proto.sniipbillapi.UpdateUserBillConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
25963
+ while (reader.nextField()) {
25964
+ if (reader.isEndGroup()) {
25965
+ break;
25966
+ }
25967
+ var field = reader.getFieldNumber();
25968
+ switch (field) {
25969
+ case 1:
25970
+ var value = new proto.sniipbillapi.UserBillConfig;
25971
+ reader.readMessage(value,proto.sniipbillapi.UserBillConfig.deserializeBinaryFromReader);
25972
+ msg.setData(value);
25973
+ break;
25974
+ default:
25975
+ reader.skipField();
25976
+ break;
25977
+ }
25978
+ }
25979
+ return msg;
25980
+ };
25981
+
25982
+
25983
+ /**
25984
+ * Class method variant: serializes the given message to binary data
25985
+ * (in protobuf wire format), writing to the given BinaryWriter.
25986
+ * @param {!proto.sniipbillapi.UpdateUserBillConfigRequest} message
25987
+ * @param {!jspb.BinaryWriter} writer
25988
+ */
25989
+ proto.sniipbillapi.UpdateUserBillConfigRequest.serializeBinaryToWriter = function(message, writer) {
25990
+ message.serializeBinaryToWriter(writer);
25991
+ };
25992
+
25993
+
25994
+ /**
25995
+ * Serializes the message to binary data (in protobuf wire format).
25996
+ * @return {!Uint8Array}
25997
+ */
25998
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.serializeBinary = function() {
25999
+ var writer = new jspb.BinaryWriter();
26000
+ this.serializeBinaryToWriter(writer);
26001
+ return writer.getResultBuffer();
26002
+ };
26003
+
26004
+
26005
+ /**
26006
+ * Serializes the message to binary data (in protobuf wire format),
26007
+ * writing to the given BinaryWriter.
26008
+ * @param {!jspb.BinaryWriter} writer
26009
+ */
26010
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.serializeBinaryToWriter = function (writer) {
26011
+ var f = undefined;
26012
+ f = this.getData();
26013
+ if (f != null) {
26014
+ writer.writeMessage(
26015
+ 1,
26016
+ f,
26017
+ proto.sniipbillapi.UserBillConfig.serializeBinaryToWriter
26018
+ );
26019
+ }
26020
+ };
26021
+
26022
+
26023
+ /**
26024
+ * Creates a deep clone of this proto. No data is shared with the original.
26025
+ * @return {!proto.sniipbillapi.UpdateUserBillConfigRequest} The clone.
26026
+ */
26027
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.cloneMessage = function() {
26028
+ return /** @type {!proto.sniipbillapi.UpdateUserBillConfigRequest} */ (jspb.Message.cloneMessage(this));
26029
+ };
26030
+
26031
+
26032
+ /**
26033
+ * optional UserBillConfig data = 1;
26034
+ * @return {proto.sniipbillapi.UserBillConfig}
26035
+ */
26036
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.getData = function() {
26037
+ return /** @type{proto.sniipbillapi.UserBillConfig} */ (
26038
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillConfig, 1));
26039
+ };
26040
+
26041
+
26042
+ /** @param {proto.sniipbillapi.UserBillConfig|undefined} value */
26043
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.setData = function(value) {
26044
+ jspb.Message.setWrapperField(this, 1, value);
26045
+ };
26046
+
26047
+
26048
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.clearData = function() {
26049
+ this.setData(undefined);
26050
+ };
26051
+
26052
+
26053
+ /**
26054
+ * Returns whether this field is set.
26055
+ * @return{!boolean}
26056
+ */
26057
+ proto.sniipbillapi.UpdateUserBillConfigRequest.prototype.hasData = function() {
26058
+ return jspb.Message.getField(this, 1) != null;
26059
+ };
26060
+
26061
+
26062
+
26063
+ /**
26064
+ * Generated by JsPbCodeGenerator.
26065
+ * @param {Array=} opt_data Optional initial data array, typically from a
26066
+ * server response, or constructed directly in Javascript. The array is used
26067
+ * in place and becomes part of the constructed object. It is not cloned.
26068
+ * If no data is provided, the constructed object will be empty, but still
26069
+ * valid.
26070
+ * @extends {jspb.Message}
26071
+ * @constructor
26072
+ */
26073
+ proto.sniipbillapi.UserBillConfig = function(opt_data) {
26074
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
26075
+ };
26076
+ goog.inherits(proto.sniipbillapi.UserBillConfig, jspb.Message);
26077
+ if (goog.DEBUG && !COMPILED) {
26078
+ proto.sniipbillapi.UserBillConfig.displayName = 'proto.sniipbillapi.UserBillConfig';
26079
+ }
26080
+
26081
+
26082
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26083
+ /**
26084
+ * Creates an object representation of this proto suitable for use in Soy templates.
26085
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26086
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26087
+ * For the list of reserved names please see:
26088
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
26089
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
26090
+ * for transitional soy proto support: http://goto/soy-param-migration
26091
+ * @return {!Object}
26092
+ */
26093
+ proto.sniipbillapi.UserBillConfig.prototype.toObject = function(opt_includeInstance) {
26094
+ return proto.sniipbillapi.UserBillConfig.toObject(opt_includeInstance, this);
26095
+ };
26096
+
26097
+
26098
+ /**
26099
+ * Static version of the {@see toObject} method.
26100
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
26101
+ * instance for transitional soy proto support:
26102
+ * http://goto/soy-param-migration
26103
+ * @param {!proto.sniipbillapi.UserBillConfig} msg The msg instance to transform.
26104
+ * @return {!Object}
26105
+ */
26106
+ proto.sniipbillapi.UserBillConfig.toObject = function(includeInstance, msg) {
26107
+ var f, obj = {
26108
+ userbillconfigid: msg.getUserbillconfigid(),
26109
+ autoarchivefullypaidbills: msg.getAutoarchivefullypaidbills(),
26110
+ autoarchivefullyscheduledbills: msg.getAutoarchivefullyscheduledbills()
26111
+ };
26112
+
26113
+ if (includeInstance) {
26114
+ obj.$jspbMessageInstance = msg;
26115
+ }
26116
+ return obj;
26117
+ };
26118
+ }
26119
+
26120
+
26121
+ /**
26122
+ * Deserializes binary data (in protobuf wire format).
26123
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26124
+ * @return {!proto.sniipbillapi.UserBillConfig}
26125
+ */
26126
+ proto.sniipbillapi.UserBillConfig.deserializeBinary = function(bytes) {
26127
+ var reader = new jspb.BinaryReader(bytes);
26128
+ var msg = new proto.sniipbillapi.UserBillConfig;
26129
+ return proto.sniipbillapi.UserBillConfig.deserializeBinaryFromReader(msg, reader);
26130
+ };
26131
+
26132
+
26133
+ /**
26134
+ * Deserializes binary data (in protobuf wire format) from the
26135
+ * given reader into the given message object.
26136
+ * @param {!proto.sniipbillapi.UserBillConfig} msg The message object to deserialize into.
26137
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26138
+ * @return {!proto.sniipbillapi.UserBillConfig}
26139
+ */
26140
+ proto.sniipbillapi.UserBillConfig.deserializeBinaryFromReader = function(msg, reader) {
26141
+ while (reader.nextField()) {
26142
+ if (reader.isEndGroup()) {
26143
+ break;
26144
+ }
26145
+ var field = reader.getFieldNumber();
26146
+ switch (field) {
26147
+ case 1:
26148
+ var value = /** @type {number} */ (reader.readInt64());
26149
+ msg.setUserbillconfigid(value);
26150
+ break;
26151
+ case 2:
26152
+ var value = /** @type {boolean} */ (reader.readBool());
26153
+ msg.setAutoarchivefullypaidbills(value);
26154
+ break;
26155
+ case 3:
26156
+ var value = /** @type {boolean} */ (reader.readBool());
26157
+ msg.setAutoarchivefullyscheduledbills(value);
26158
+ break;
26159
+ default:
26160
+ reader.skipField();
26161
+ break;
26162
+ }
26163
+ }
26164
+ return msg;
26165
+ };
26166
+
26167
+
26168
+ /**
26169
+ * Class method variant: serializes the given message to binary data
26170
+ * (in protobuf wire format), writing to the given BinaryWriter.
26171
+ * @param {!proto.sniipbillapi.UserBillConfig} message
26172
+ * @param {!jspb.BinaryWriter} writer
26173
+ */
26174
+ proto.sniipbillapi.UserBillConfig.serializeBinaryToWriter = function(message, writer) {
26175
+ message.serializeBinaryToWriter(writer);
26176
+ };
26177
+
26178
+
26179
+ /**
26180
+ * Serializes the message to binary data (in protobuf wire format).
26181
+ * @return {!Uint8Array}
26182
+ */
26183
+ proto.sniipbillapi.UserBillConfig.prototype.serializeBinary = function() {
26184
+ var writer = new jspb.BinaryWriter();
26185
+ this.serializeBinaryToWriter(writer);
26186
+ return writer.getResultBuffer();
26187
+ };
26188
+
26189
+
26190
+ /**
26191
+ * Serializes the message to binary data (in protobuf wire format),
26192
+ * writing to the given BinaryWriter.
26193
+ * @param {!jspb.BinaryWriter} writer
26194
+ */
26195
+ proto.sniipbillapi.UserBillConfig.prototype.serializeBinaryToWriter = function (writer) {
26196
+ var f = undefined;
26197
+ f = this.getUserbillconfigid();
26198
+ if (f !== 0) {
26199
+ writer.writeInt64(
26200
+ 1,
26201
+ f
26202
+ );
26203
+ }
26204
+ f = this.getAutoarchivefullypaidbills();
26205
+ if (f) {
26206
+ writer.writeBool(
26207
+ 2,
26208
+ f
26209
+ );
26210
+ }
26211
+ f = this.getAutoarchivefullyscheduledbills();
26212
+ if (f) {
26213
+ writer.writeBool(
26214
+ 3,
26215
+ f
26216
+ );
26217
+ }
26218
+ };
26219
+
26220
+
26221
+ /**
26222
+ * Creates a deep clone of this proto. No data is shared with the original.
26223
+ * @return {!proto.sniipbillapi.UserBillConfig} The clone.
26224
+ */
26225
+ proto.sniipbillapi.UserBillConfig.prototype.cloneMessage = function() {
26226
+ return /** @type {!proto.sniipbillapi.UserBillConfig} */ (jspb.Message.cloneMessage(this));
26227
+ };
26228
+
26229
+
26230
+ /**
26231
+ * optional int64 userBillConfigId = 1;
26232
+ * @return {number}
26233
+ */
26234
+ proto.sniipbillapi.UserBillConfig.prototype.getUserbillconfigid = function() {
26235
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
26236
+ };
26237
+
26238
+
26239
+ /** @param {number} value */
26240
+ proto.sniipbillapi.UserBillConfig.prototype.setUserbillconfigid = function(value) {
26241
+ jspb.Message.setField(this, 1, value);
26242
+ };
26243
+
26244
+
26245
+ /**
26246
+ * optional bool autoArchiveFullyPaidBills = 2;
26247
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
26248
+ * You should avoid comparisons like {@code val === true/false} in those cases.
26249
+ * @return {boolean}
26250
+ */
26251
+ proto.sniipbillapi.UserBillConfig.prototype.getAutoarchivefullypaidbills = function() {
26252
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 2, false));
26253
+ };
26254
+
26255
+
26256
+ /** @param {boolean} value */
26257
+ proto.sniipbillapi.UserBillConfig.prototype.setAutoarchivefullypaidbills = function(value) {
26258
+ jspb.Message.setField(this, 2, value);
26259
+ };
26260
+
26261
+
26262
+ /**
26263
+ * optional bool autoArchiveFullyScheduledBills = 3;
26264
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
26265
+ * You should avoid comparisons like {@code val === true/false} in those cases.
26266
+ * @return {boolean}
26267
+ */
26268
+ proto.sniipbillapi.UserBillConfig.prototype.getAutoarchivefullyscheduledbills = function() {
26269
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 3, false));
26270
+ };
26271
+
26272
+
26273
+ /** @param {boolean} value */
26274
+ proto.sniipbillapi.UserBillConfig.prototype.setAutoarchivefullyscheduledbills = function(value) {
26275
+ jspb.Message.setField(this, 3, value);
26276
+ };
26277
+
26278
+
26279
+
26280
+ /**
26281
+ * Generated by JsPbCodeGenerator.
26282
+ * @param {Array=} opt_data Optional initial data array, typically from a
26283
+ * server response, or constructed directly in Javascript. The array is used
26284
+ * in place and becomes part of the constructed object. It is not cloned.
26285
+ * If no data is provided, the constructed object will be empty, but still
26286
+ * valid.
26287
+ * @extends {jspb.Message}
26288
+ * @constructor
26289
+ */
26290
+ proto.sniipbillapi.UserBillConfigResponse = function(opt_data) {
26291
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
26292
+ };
26293
+ goog.inherits(proto.sniipbillapi.UserBillConfigResponse, jspb.Message);
26294
+ if (goog.DEBUG && !COMPILED) {
26295
+ proto.sniipbillapi.UserBillConfigResponse.displayName = 'proto.sniipbillapi.UserBillConfigResponse';
26296
+ }
26297
+
26298
+
26299
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26300
+ /**
26301
+ * Creates an object representation of this proto suitable for use in Soy templates.
26302
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26303
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26304
+ * For the list of reserved names please see:
26305
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
26306
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
26307
+ * for transitional soy proto support: http://goto/soy-param-migration
26308
+ * @return {!Object}
26309
+ */
26310
+ proto.sniipbillapi.UserBillConfigResponse.prototype.toObject = function(opt_includeInstance) {
26311
+ return proto.sniipbillapi.UserBillConfigResponse.toObject(opt_includeInstance, this);
26312
+ };
26313
+
26314
+
26315
+ /**
26316
+ * Static version of the {@see toObject} method.
26317
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
26318
+ * instance for transitional soy proto support:
26319
+ * http://goto/soy-param-migration
26320
+ * @param {!proto.sniipbillapi.UserBillConfigResponse} msg The msg instance to transform.
26321
+ * @return {!Object}
26322
+ */
26323
+ proto.sniipbillapi.UserBillConfigResponse.toObject = function(includeInstance, msg) {
26324
+ var f, obj = {
26325
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
26326
+ userbillconfig: (f = msg.getUserbillconfig()) && proto.sniipbillapi.UserBillConfig.toObject(includeInstance, f)
26327
+ };
26328
+
26329
+ if (includeInstance) {
26330
+ obj.$jspbMessageInstance = msg;
26331
+ }
26332
+ return obj;
26333
+ };
26334
+ }
26335
+
26336
+
26337
+ /**
26338
+ * Deserializes binary data (in protobuf wire format).
26339
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26340
+ * @return {!proto.sniipbillapi.UserBillConfigResponse}
26341
+ */
26342
+ proto.sniipbillapi.UserBillConfigResponse.deserializeBinary = function(bytes) {
26343
+ var reader = new jspb.BinaryReader(bytes);
26344
+ var msg = new proto.sniipbillapi.UserBillConfigResponse;
26345
+ return proto.sniipbillapi.UserBillConfigResponse.deserializeBinaryFromReader(msg, reader);
26346
+ };
26347
+
26348
+
26349
+ /**
26350
+ * Deserializes binary data (in protobuf wire format) from the
26351
+ * given reader into the given message object.
26352
+ * @param {!proto.sniipbillapi.UserBillConfigResponse} msg The message object to deserialize into.
26353
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26354
+ * @return {!proto.sniipbillapi.UserBillConfigResponse}
26355
+ */
26356
+ proto.sniipbillapi.UserBillConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
26357
+ while (reader.nextField()) {
26358
+ if (reader.isEndGroup()) {
26359
+ break;
26360
+ }
26361
+ var field = reader.getFieldNumber();
26362
+ switch (field) {
26363
+ case 1:
26364
+ var value = new proto.sniipbillapi.ResponseCode;
26365
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
26366
+ msg.setResponsecode(value);
26367
+ break;
26368
+ case 2:
26369
+ var value = new proto.sniipbillapi.UserBillConfig;
26370
+ reader.readMessage(value,proto.sniipbillapi.UserBillConfig.deserializeBinaryFromReader);
26371
+ msg.setUserbillconfig(value);
26372
+ break;
26373
+ default:
26374
+ reader.skipField();
26375
+ break;
26376
+ }
26377
+ }
26378
+ return msg;
26379
+ };
26380
+
26381
+
26382
+ /**
26383
+ * Class method variant: serializes the given message to binary data
26384
+ * (in protobuf wire format), writing to the given BinaryWriter.
26385
+ * @param {!proto.sniipbillapi.UserBillConfigResponse} message
26386
+ * @param {!jspb.BinaryWriter} writer
26387
+ */
26388
+ proto.sniipbillapi.UserBillConfigResponse.serializeBinaryToWriter = function(message, writer) {
26389
+ message.serializeBinaryToWriter(writer);
26390
+ };
26391
+
26392
+
26393
+ /**
26394
+ * Serializes the message to binary data (in protobuf wire format).
26395
+ * @return {!Uint8Array}
26396
+ */
26397
+ proto.sniipbillapi.UserBillConfigResponse.prototype.serializeBinary = function() {
26398
+ var writer = new jspb.BinaryWriter();
26399
+ this.serializeBinaryToWriter(writer);
26400
+ return writer.getResultBuffer();
26401
+ };
26402
+
26403
+
26404
+ /**
26405
+ * Serializes the message to binary data (in protobuf wire format),
26406
+ * writing to the given BinaryWriter.
26407
+ * @param {!jspb.BinaryWriter} writer
26408
+ */
26409
+ proto.sniipbillapi.UserBillConfigResponse.prototype.serializeBinaryToWriter = function (writer) {
26410
+ var f = undefined;
26411
+ f = this.getResponsecode();
26412
+ if (f != null) {
26413
+ writer.writeMessage(
26414
+ 1,
26415
+ f,
26416
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
26417
+ );
26418
+ }
26419
+ f = this.getUserbillconfig();
26420
+ if (f != null) {
26421
+ writer.writeMessage(
26422
+ 2,
26423
+ f,
26424
+ proto.sniipbillapi.UserBillConfig.serializeBinaryToWriter
26425
+ );
26426
+ }
26427
+ };
26428
+
26429
+
26430
+ /**
26431
+ * Creates a deep clone of this proto. No data is shared with the original.
26432
+ * @return {!proto.sniipbillapi.UserBillConfigResponse} The clone.
26433
+ */
26434
+ proto.sniipbillapi.UserBillConfigResponse.prototype.cloneMessage = function() {
26435
+ return /** @type {!proto.sniipbillapi.UserBillConfigResponse} */ (jspb.Message.cloneMessage(this));
26436
+ };
26437
+
26438
+
26439
+ /**
26440
+ * optional ResponseCode responseCode = 1;
26441
+ * @return {proto.sniipbillapi.ResponseCode}
26442
+ */
26443
+ proto.sniipbillapi.UserBillConfigResponse.prototype.getResponsecode = function() {
26444
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
26445
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
26446
+ };
26447
+
26448
+
26449
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
26450
+ proto.sniipbillapi.UserBillConfigResponse.prototype.setResponsecode = function(value) {
26451
+ jspb.Message.setWrapperField(this, 1, value);
26452
+ };
26453
+
26454
+
26455
+ proto.sniipbillapi.UserBillConfigResponse.prototype.clearResponsecode = function() {
26456
+ this.setResponsecode(undefined);
26457
+ };
26458
+
26459
+
26460
+ /**
26461
+ * Returns whether this field is set.
26462
+ * @return{!boolean}
26463
+ */
26464
+ proto.sniipbillapi.UserBillConfigResponse.prototype.hasResponsecode = function() {
26465
+ return jspb.Message.getField(this, 1) != null;
26466
+ };
26467
+
26468
+
26469
+ /**
26470
+ * optional UserBillConfig userBillConfig = 2;
26471
+ * @return {proto.sniipbillapi.UserBillConfig}
26472
+ */
26473
+ proto.sniipbillapi.UserBillConfigResponse.prototype.getUserbillconfig = function() {
26474
+ return /** @type{proto.sniipbillapi.UserBillConfig} */ (
26475
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillConfig, 2));
26476
+ };
26477
+
26478
+
26479
+ /** @param {proto.sniipbillapi.UserBillConfig|undefined} value */
26480
+ proto.sniipbillapi.UserBillConfigResponse.prototype.setUserbillconfig = function(value) {
26481
+ jspb.Message.setWrapperField(this, 2, value);
26482
+ };
26483
+
26484
+
26485
+ proto.sniipbillapi.UserBillConfigResponse.prototype.clearUserbillconfig = function() {
26486
+ this.setUserbillconfig(undefined);
26487
+ };
26488
+
26489
+
26490
+ /**
26491
+ * Returns whether this field is set.
26492
+ * @return{!boolean}
26493
+ */
26494
+ proto.sniipbillapi.UserBillConfigResponse.prototype.hasUserbillconfig = function() {
26495
+ return jspb.Message.getField(this, 2) != null;
26496
+ };
26497
+
26498
+
26499
+
25884
26500
  /**
25885
26501
  * Generated by JsPbCodeGenerator.
25886
26502
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "0.2.4936",
3
+ "version": "0.2.4951",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",