@sniipwebmaster/bill-service-client-grpcweb 26.2.14852 → 26.3.14885

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.
@@ -4897,5 +4897,66 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.checkUserBillerIds
4897
4897
  };
4898
4898
 
4899
4899
 
4900
+ /**
4901
+ * @const
4902
+ * @type {!grpc.web.MethodDescriptor<
4903
+ * !proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest,
4904
+ * !proto.sniipbillapi.ResponseCode>}
4905
+ */
4906
+ const methodDescriptor_SniipBillAPIService_UpdateSmeRentAgreementBillReference = new grpc.web.MethodDescriptor(
4907
+ '/sniipbillapi.SniipBillAPIService/UpdateSmeRentAgreementBillReference',
4908
+ grpc.web.MethodType.UNARY,
4909
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest,
4910
+ proto.sniipbillapi.ResponseCode,
4911
+ /**
4912
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} request
4913
+ * @return {!Uint8Array}
4914
+ */
4915
+ function(request) {
4916
+ return request.serializeBinary();
4917
+ },
4918
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4919
+ );
4920
+
4921
+
4922
+ /**
4923
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} request The
4924
+ * request proto
4925
+ * @param {?Object<string, string>} metadata User defined
4926
+ * call metadata
4927
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillapi.ResponseCode)}
4928
+ * callback The callback function(error, response)
4929
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
4930
+ * The XHR Node Readable Stream
4931
+ */
4932
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.updateSmeRentAgreementBillReference =
4933
+ function(request, metadata, callback) {
4934
+ return this.client_.rpcCall(this.hostname_ +
4935
+ '/sniipbillapi.SniipBillAPIService/UpdateSmeRentAgreementBillReference',
4936
+ request,
4937
+ metadata || {},
4938
+ methodDescriptor_SniipBillAPIService_UpdateSmeRentAgreementBillReference,
4939
+ callback);
4940
+ };
4941
+
4942
+
4943
+ /**
4944
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} request The
4945
+ * request proto
4946
+ * @param {?Object<string, string>=} metadata User defined
4947
+ * call metadata
4948
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
4949
+ * Promise that resolves to the response
4950
+ */
4951
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.updateSmeRentAgreementBillReference =
4952
+ function(request, metadata) {
4953
+ return this.client_.unaryCall(this.hostname_ +
4954
+ '/sniipbillapi.SniipBillAPIService/UpdateSmeRentAgreementBillReference',
4955
+ request,
4956
+ metadata || {},
4957
+ methodDescriptor_SniipBillAPIService_UpdateSmeRentAgreementBillReference);
4958
+ };
4959
+
4960
+
4900
4961
  module.exports = proto.sniipbillapi;
4901
4962
 
@@ -189,6 +189,7 @@ goog.exportSymbol('proto.sniipbillapi.UpdateBillRemindersConfigRequest', null, g
189
189
  goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountRequest', null, global);
190
190
  goog.exportSymbol('proto.sniipbillapi.UpdateDueAmountResponse', null, global);
191
191
  goog.exportSymbol('proto.sniipbillapi.UpdateDueDateRequest', null, global);
192
+ goog.exportSymbol('proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest', null, global);
192
193
  goog.exportSymbol('proto.sniipbillapi.UpdateUserBillConfigRequest', null, global);
193
194
  goog.exportSymbol('proto.sniipbillapi.UserBillConfig', null, global);
194
195
  goog.exportSymbol('proto.sniipbillapi.UserBillConfigResponse', null, global);
@@ -3566,6 +3567,27 @@ if (goog.DEBUG && !COMPILED) {
3566
3567
  */
3567
3568
  proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.displayName = 'proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest';
3568
3569
  }
3570
+ /**
3571
+ * Generated by JsPbCodeGenerator.
3572
+ * @param {Array=} opt_data Optional initial data array, typically from a
3573
+ * server response, or constructed directly in Javascript. The array is used
3574
+ * in place and becomes part of the constructed object. It is not cloned.
3575
+ * If no data is provided, the constructed object will be empty, but still
3576
+ * valid.
3577
+ * @extends {jspb.Message}
3578
+ * @constructor
3579
+ */
3580
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest = function(opt_data) {
3581
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3582
+ };
3583
+ goog.inherits(proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest, jspb.Message);
3584
+ if (goog.DEBUG && !COMPILED) {
3585
+ /**
3586
+ * @public
3587
+ * @override
3588
+ */
3589
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.displayName = 'proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest';
3590
+ }
3569
3591
  /**
3570
3592
  * Generated by JsPbCodeGenerator.
3571
3593
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -44794,7 +44816,8 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.toObject = function(
44794
44816
  billerrequiresupdate: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
44795
44817
  configrequiresupdate: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
44796
44818
  configisapproved: jspb.Message.getBooleanFieldWithDefault(msg, 28, false),
44797
- bankaccountnameoverride: jspb.Message.getFieldWithDefault(msg, 29, "")
44819
+ bankaccountnameoverride: jspb.Message.getFieldWithDefault(msg, 29, ""),
44820
+ markreferenceasknowninverse: jspb.Message.getBooleanFieldWithDefault(msg, 30, false)
44798
44821
  };
44799
44822
 
44800
44823
  if (includeInstance) {
@@ -44947,6 +44970,10 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.deserializeBinaryFro
44947
44970
  var value = /** @type {string} */ (reader.readString());
44948
44971
  msg.setBankaccountnameoverride(value);
44949
44972
  break;
44973
+ case 30:
44974
+ var value = /** @type {boolean} */ (reader.readBool());
44975
+ msg.setMarkreferenceasknowninverse(value);
44976
+ break;
44950
44977
  default:
44951
44978
  reader.skipField();
44952
44979
  break;
@@ -45179,6 +45206,13 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.serializeBinaryToWri
45179
45206
  f
45180
45207
  );
45181
45208
  }
45209
+ f = message.getMarkreferenceasknowninverse();
45210
+ if (f) {
45211
+ writer.writeBool(
45212
+ 30,
45213
+ f
45214
+ );
45215
+ }
45182
45216
  };
45183
45217
 
45184
45218
 
@@ -45704,6 +45738,24 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.prototype.setBankacc
45704
45738
  };
45705
45739
 
45706
45740
 
45741
+ /**
45742
+ * optional bool markReferenceAsKnownInverse = 30;
45743
+ * @return {boolean}
45744
+ */
45745
+ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.prototype.getMarkreferenceasknowninverse = function() {
45746
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 30, false));
45747
+ };
45748
+
45749
+
45750
+ /**
45751
+ * @param {boolean} value
45752
+ * @return {!proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest} returns this
45753
+ */
45754
+ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.prototype.setMarkreferenceasknowninverse = function(value) {
45755
+ return jspb.Message.setProto3BooleanField(this, 30, value);
45756
+ };
45757
+
45758
+
45707
45759
 
45708
45760
 
45709
45761
 
@@ -45927,6 +45979,226 @@ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.setPas
45927
45979
 
45928
45980
 
45929
45981
 
45982
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45983
+ /**
45984
+ * Creates an object representation of this proto.
45985
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45986
+ * Optional fields that are not set will be set to undefined.
45987
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45988
+ * For the list of reserved names please see:
45989
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45990
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45991
+ * JSPB instance for transitional soy proto support:
45992
+ * http://goto/soy-param-migration
45993
+ * @return {!Object}
45994
+ */
45995
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.toObject = function(opt_includeInstance) {
45996
+ return proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.toObject(opt_includeInstance, this);
45997
+ };
45998
+
45999
+
46000
+ /**
46001
+ * Static version of the {@see toObject} method.
46002
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46003
+ * the JSPB instance for transitional soy proto support:
46004
+ * http://goto/soy-param-migration
46005
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} msg The msg instance to transform.
46006
+ * @return {!Object}
46007
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46008
+ */
46009
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.toObject = function(includeInstance, msg) {
46010
+ var f, obj = {
46011
+ billconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0),
46012
+ newreference: jspb.Message.getFieldWithDefault(msg, 2, ""),
46013
+ comment: jspb.Message.getFieldWithDefault(msg, 3, ""),
46014
+ password: jspb.Message.getFieldWithDefault(msg, 4, "")
46015
+ };
46016
+
46017
+ if (includeInstance) {
46018
+ obj.$jspbMessageInstance = msg;
46019
+ }
46020
+ return obj;
46021
+ };
46022
+ }
46023
+
46024
+
46025
+ /**
46026
+ * Deserializes binary data (in protobuf wire format).
46027
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46028
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest}
46029
+ */
46030
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.deserializeBinary = function(bytes) {
46031
+ var reader = new jspb.BinaryReader(bytes);
46032
+ var msg = new proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest;
46033
+ return proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.deserializeBinaryFromReader(msg, reader);
46034
+ };
46035
+
46036
+
46037
+ /**
46038
+ * Deserializes binary data (in protobuf wire format) from the
46039
+ * given reader into the given message object.
46040
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} msg The message object to deserialize into.
46041
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46042
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest}
46043
+ */
46044
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
46045
+ while (reader.nextField()) {
46046
+ if (reader.isEndGroup()) {
46047
+ break;
46048
+ }
46049
+ var field = reader.getFieldNumber();
46050
+ switch (field) {
46051
+ case 1:
46052
+ var value = /** @type {number} */ (reader.readInt64());
46053
+ msg.setBillconfigid(value);
46054
+ break;
46055
+ case 2:
46056
+ var value = /** @type {string} */ (reader.readString());
46057
+ msg.setNewreference(value);
46058
+ break;
46059
+ case 3:
46060
+ var value = /** @type {string} */ (reader.readString());
46061
+ msg.setComment(value);
46062
+ break;
46063
+ case 4:
46064
+ var value = /** @type {string} */ (reader.readString());
46065
+ msg.setPassword(value);
46066
+ break;
46067
+ default:
46068
+ reader.skipField();
46069
+ break;
46070
+ }
46071
+ }
46072
+ return msg;
46073
+ };
46074
+
46075
+
46076
+ /**
46077
+ * Serializes the message to binary data (in protobuf wire format).
46078
+ * @return {!Uint8Array}
46079
+ */
46080
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.serializeBinary = function() {
46081
+ var writer = new jspb.BinaryWriter();
46082
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.serializeBinaryToWriter(this, writer);
46083
+ return writer.getResultBuffer();
46084
+ };
46085
+
46086
+
46087
+ /**
46088
+ * Serializes the given message to binary data (in protobuf wire
46089
+ * format), writing to the given BinaryWriter.
46090
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} message
46091
+ * @param {!jspb.BinaryWriter} writer
46092
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46093
+ */
46094
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.serializeBinaryToWriter = function(message, writer) {
46095
+ var f = undefined;
46096
+ f = message.getBillconfigid();
46097
+ if (f !== 0) {
46098
+ writer.writeInt64(
46099
+ 1,
46100
+ f
46101
+ );
46102
+ }
46103
+ f = message.getNewreference();
46104
+ if (f.length > 0) {
46105
+ writer.writeString(
46106
+ 2,
46107
+ f
46108
+ );
46109
+ }
46110
+ f = message.getComment();
46111
+ if (f.length > 0) {
46112
+ writer.writeString(
46113
+ 3,
46114
+ f
46115
+ );
46116
+ }
46117
+ f = message.getPassword();
46118
+ if (f.length > 0) {
46119
+ writer.writeString(
46120
+ 4,
46121
+ f
46122
+ );
46123
+ }
46124
+ };
46125
+
46126
+
46127
+ /**
46128
+ * optional int64 billConfigId = 1;
46129
+ * @return {number}
46130
+ */
46131
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.getBillconfigid = function() {
46132
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
46133
+ };
46134
+
46135
+
46136
+ /**
46137
+ * @param {number} value
46138
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} returns this
46139
+ */
46140
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.setBillconfigid = function(value) {
46141
+ return jspb.Message.setProto3IntField(this, 1, value);
46142
+ };
46143
+
46144
+
46145
+ /**
46146
+ * optional string newReference = 2;
46147
+ * @return {string}
46148
+ */
46149
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.getNewreference = function() {
46150
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
46151
+ };
46152
+
46153
+
46154
+ /**
46155
+ * @param {string} value
46156
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} returns this
46157
+ */
46158
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.setNewreference = function(value) {
46159
+ return jspb.Message.setProto3StringField(this, 2, value);
46160
+ };
46161
+
46162
+
46163
+ /**
46164
+ * optional string comment = 3;
46165
+ * @return {string}
46166
+ */
46167
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.getComment = function() {
46168
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
46169
+ };
46170
+
46171
+
46172
+ /**
46173
+ * @param {string} value
46174
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} returns this
46175
+ */
46176
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.setComment = function(value) {
46177
+ return jspb.Message.setProto3StringField(this, 3, value);
46178
+ };
46179
+
46180
+
46181
+ /**
46182
+ * optional string password = 4;
46183
+ * @return {string}
46184
+ */
46185
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.getPassword = function() {
46186
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
46187
+ };
46188
+
46189
+
46190
+ /**
46191
+ * @param {string} value
46192
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} returns this
46193
+ */
46194
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.setPassword = function(value) {
46195
+ return jspb.Message.setProto3StringField(this, 4, value);
46196
+ };
46197
+
46198
+
46199
+
46200
+
46201
+
45930
46202
  if (jspb.Message.GENERATE_TO_OBJECT) {
45931
46203
  /**
45932
46204
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "26.2.14852",
3
+ "version": "26.3.14885",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",