@sniipwebmaster/bill-service-client-grpcweb 24.1.12544 → 24.2.12552

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.
@@ -3982,5 +3982,66 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.createSmeRentAgree
3982
3982
  };
3983
3983
 
3984
3984
 
3985
+ /**
3986
+ * @const
3987
+ * @type {!grpc.web.MethodDescriptor<
3988
+ * !proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest,
3989
+ * !proto.sniipbillapi.ResponseCode>}
3990
+ */
3991
+ const methodDescriptor_SniipBillAPIService_NotifyUserOfNewSmeRentalAgreementBill = new grpc.web.MethodDescriptor(
3992
+ '/sniipbillapi.SniipBillAPIService/NotifyUserOfNewSmeRentalAgreementBill',
3993
+ grpc.web.MethodType.UNARY,
3994
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest,
3995
+ proto.sniipbillapi.ResponseCode,
3996
+ /**
3997
+ * @param {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} request
3998
+ * @return {!Uint8Array}
3999
+ */
4000
+ function(request) {
4001
+ return request.serializeBinary();
4002
+ },
4003
+ proto.sniipbillapi.ResponseCode.deserializeBinary
4004
+ );
4005
+
4006
+
4007
+ /**
4008
+ * @param {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} request The
4009
+ * request proto
4010
+ * @param {?Object<string, string>} metadata User defined
4011
+ * call metadata
4012
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillapi.ResponseCode)}
4013
+ * callback The callback function(error, response)
4014
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
4015
+ * The XHR Node Readable Stream
4016
+ */
4017
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.notifyUserOfNewSmeRentalAgreementBill =
4018
+ function(request, metadata, callback) {
4019
+ return this.client_.rpcCall(this.hostname_ +
4020
+ '/sniipbillapi.SniipBillAPIService/NotifyUserOfNewSmeRentalAgreementBill',
4021
+ request,
4022
+ metadata || {},
4023
+ methodDescriptor_SniipBillAPIService_NotifyUserOfNewSmeRentalAgreementBill,
4024
+ callback);
4025
+ };
4026
+
4027
+
4028
+ /**
4029
+ * @param {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} request The
4030
+ * request proto
4031
+ * @param {?Object<string, string>=} metadata User defined
4032
+ * call metadata
4033
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
4034
+ * Promise that resolves to the response
4035
+ */
4036
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.notifyUserOfNewSmeRentalAgreementBill =
4037
+ function(request, metadata) {
4038
+ return this.client_.unaryCall(this.hostname_ +
4039
+ '/sniipbillapi.SniipBillAPIService/NotifyUserOfNewSmeRentalAgreementBill',
4040
+ request,
4041
+ metadata || {},
4042
+ methodDescriptor_SniipBillAPIService_NotifyUserOfNewSmeRentalAgreementBill);
4043
+ };
4044
+
4045
+
3985
4046
  module.exports = proto.sniipbillapi;
3986
4047
 
@@ -125,6 +125,7 @@ goog.exportSymbol('proto.sniipbillapi.MarkBillAsPaidRequest', null, global);
125
125
  goog.exportSymbol('proto.sniipbillapi.MarkBillAsUnpaidRequest', null, global);
126
126
  goog.exportSymbol('proto.sniipbillapi.Mbill', null, global);
127
127
  goog.exportSymbol('proto.sniipbillapi.MbillBillPair', null, global);
128
+ goog.exportSymbol('proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest', null, global);
128
129
  goog.exportSymbol('proto.sniipbillapi.ObjectType', null, global);
129
130
  goog.exportSymbol('proto.sniipbillapi.PaymentMethodDetails', null, global);
130
131
  goog.exportSymbol('proto.sniipbillapi.ProcessDraftBillNoReviewResult', null, global);
@@ -3170,6 +3171,27 @@ if (goog.DEBUG && !COMPILED) {
3170
3171
  */
3171
3172
  proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.displayName = 'proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest';
3172
3173
  }
3174
+ /**
3175
+ * Generated by JsPbCodeGenerator.
3176
+ * @param {Array=} opt_data Optional initial data array, typically from a
3177
+ * server response, or constructed directly in Javascript. The array is used
3178
+ * in place and becomes part of the constructed object. It is not cloned.
3179
+ * If no data is provided, the constructed object will be empty, but still
3180
+ * valid.
3181
+ * @extends {jspb.Message}
3182
+ * @constructor
3183
+ */
3184
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest = function(opt_data) {
3185
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3186
+ };
3187
+ goog.inherits(proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest, jspb.Message);
3188
+ if (goog.DEBUG && !COMPILED) {
3189
+ /**
3190
+ * @public
3191
+ * @override
3192
+ */
3193
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.displayName = 'proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest';
3194
+ }
3173
3195
 
3174
3196
 
3175
3197
 
@@ -39531,7 +39553,8 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.toObject = function(
39531
39553
  duedate: jspb.Message.getFieldWithDefault(msg, 24, ""),
39532
39554
  attachmentid: jspb.Message.getFieldWithDefault(msg, 25, 0),
39533
39555
  billerrequiresupdate: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
39534
- configrequiresupdate: jspb.Message.getBooleanFieldWithDefault(msg, 27, false)
39556
+ configrequiresupdate: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
39557
+ configisapproved: jspb.Message.getBooleanFieldWithDefault(msg, 28, false)
39535
39558
  };
39536
39559
 
39537
39560
  if (includeInstance) {
@@ -39676,6 +39699,10 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.deserializeBinaryFro
39676
39699
  var value = /** @type {boolean} */ (reader.readBool());
39677
39700
  msg.setConfigrequiresupdate(value);
39678
39701
  break;
39702
+ case 28:
39703
+ var value = /** @type {boolean} */ (reader.readBool());
39704
+ msg.setConfigisapproved(value);
39705
+ break;
39679
39706
  default:
39680
39707
  reader.skipField();
39681
39708
  break;
@@ -39894,6 +39921,13 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.serializeBinaryToWri
39894
39921
  f
39895
39922
  );
39896
39923
  }
39924
+ f = message.getConfigisapproved();
39925
+ if (f) {
39926
+ writer.writeBool(
39927
+ 28,
39928
+ f
39929
+ );
39930
+ }
39897
39931
  };
39898
39932
 
39899
39933
 
@@ -40383,6 +40417,244 @@ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.prototype.setConfigr
40383
40417
  };
40384
40418
 
40385
40419
 
40420
+ /**
40421
+ * optional bool configIsApproved = 28;
40422
+ * @return {boolean}
40423
+ */
40424
+ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.prototype.getConfigisapproved = function() {
40425
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 28, false));
40426
+ };
40427
+
40428
+
40429
+ /**
40430
+ * @param {boolean} value
40431
+ * @return {!proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest} returns this
40432
+ */
40433
+ proto.sniipbillapi.CreateSmeRentAgreementBillForUserRequest.prototype.setConfigisapproved = function(value) {
40434
+ return jspb.Message.setProto3BooleanField(this, 28, value);
40435
+ };
40436
+
40437
+
40438
+
40439
+
40440
+
40441
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40442
+ /**
40443
+ * Creates an object representation of this proto.
40444
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40445
+ * Optional fields that are not set will be set to undefined.
40446
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40447
+ * For the list of reserved names please see:
40448
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40449
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40450
+ * JSPB instance for transitional soy proto support:
40451
+ * http://goto/soy-param-migration
40452
+ * @return {!Object}
40453
+ */
40454
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.toObject = function(opt_includeInstance) {
40455
+ return proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.toObject(opt_includeInstance, this);
40456
+ };
40457
+
40458
+
40459
+ /**
40460
+ * Static version of the {@see toObject} method.
40461
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40462
+ * the JSPB instance for transitional soy proto support:
40463
+ * http://goto/soy-param-migration
40464
+ * @param {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} msg The msg instance to transform.
40465
+ * @return {!Object}
40466
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40467
+ */
40468
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.toObject = function(includeInstance, msg) {
40469
+ var f, obj = {
40470
+ billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
40471
+ subject: jspb.Message.getFieldWithDefault(msg, 2, ""),
40472
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
40473
+ password: jspb.Message.getFieldWithDefault(msg, 4, "")
40474
+ };
40475
+
40476
+ if (includeInstance) {
40477
+ obj.$jspbMessageInstance = msg;
40478
+ }
40479
+ return obj;
40480
+ };
40481
+ }
40482
+
40483
+
40484
+ /**
40485
+ * Deserializes binary data (in protobuf wire format).
40486
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
40487
+ * @return {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest}
40488
+ */
40489
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.deserializeBinary = function(bytes) {
40490
+ var reader = new jspb.BinaryReader(bytes);
40491
+ var msg = new proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest;
40492
+ return proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.deserializeBinaryFromReader(msg, reader);
40493
+ };
40494
+
40495
+
40496
+ /**
40497
+ * Deserializes binary data (in protobuf wire format) from the
40498
+ * given reader into the given message object.
40499
+ * @param {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} msg The message object to deserialize into.
40500
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40501
+ * @return {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest}
40502
+ */
40503
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.deserializeBinaryFromReader = function(msg, reader) {
40504
+ while (reader.nextField()) {
40505
+ if (reader.isEndGroup()) {
40506
+ break;
40507
+ }
40508
+ var field = reader.getFieldNumber();
40509
+ switch (field) {
40510
+ case 1:
40511
+ var value = /** @type {number} */ (reader.readInt64());
40512
+ msg.setBillid(value);
40513
+ break;
40514
+ case 2:
40515
+ var value = /** @type {string} */ (reader.readString());
40516
+ msg.setSubject(value);
40517
+ break;
40518
+ case 3:
40519
+ var value = /** @type {string} */ (reader.readString());
40520
+ msg.setMessage(value);
40521
+ break;
40522
+ case 4:
40523
+ var value = /** @type {string} */ (reader.readString());
40524
+ msg.setPassword(value);
40525
+ break;
40526
+ default:
40527
+ reader.skipField();
40528
+ break;
40529
+ }
40530
+ }
40531
+ return msg;
40532
+ };
40533
+
40534
+
40535
+ /**
40536
+ * Serializes the message to binary data (in protobuf wire format).
40537
+ * @return {!Uint8Array}
40538
+ */
40539
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.serializeBinary = function() {
40540
+ var writer = new jspb.BinaryWriter();
40541
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.serializeBinaryToWriter(this, writer);
40542
+ return writer.getResultBuffer();
40543
+ };
40544
+
40545
+
40546
+ /**
40547
+ * Serializes the given message to binary data (in protobuf wire
40548
+ * format), writing to the given BinaryWriter.
40549
+ * @param {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} message
40550
+ * @param {!jspb.BinaryWriter} writer
40551
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40552
+ */
40553
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.serializeBinaryToWriter = function(message, writer) {
40554
+ var f = undefined;
40555
+ f = message.getBillid();
40556
+ if (f !== 0) {
40557
+ writer.writeInt64(
40558
+ 1,
40559
+ f
40560
+ );
40561
+ }
40562
+ f = message.getSubject();
40563
+ if (f.length > 0) {
40564
+ writer.writeString(
40565
+ 2,
40566
+ f
40567
+ );
40568
+ }
40569
+ f = message.getMessage();
40570
+ if (f.length > 0) {
40571
+ writer.writeString(
40572
+ 3,
40573
+ f
40574
+ );
40575
+ }
40576
+ f = message.getPassword();
40577
+ if (f.length > 0) {
40578
+ writer.writeString(
40579
+ 4,
40580
+ f
40581
+ );
40582
+ }
40583
+ };
40584
+
40585
+
40586
+ /**
40587
+ * optional int64 billId = 1;
40588
+ * @return {number}
40589
+ */
40590
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.getBillid = function() {
40591
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
40592
+ };
40593
+
40594
+
40595
+ /**
40596
+ * @param {number} value
40597
+ * @return {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} returns this
40598
+ */
40599
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.setBillid = function(value) {
40600
+ return jspb.Message.setProto3IntField(this, 1, value);
40601
+ };
40602
+
40603
+
40604
+ /**
40605
+ * optional string subject = 2;
40606
+ * @return {string}
40607
+ */
40608
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.getSubject = function() {
40609
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
40610
+ };
40611
+
40612
+
40613
+ /**
40614
+ * @param {string} value
40615
+ * @return {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} returns this
40616
+ */
40617
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.setSubject = function(value) {
40618
+ return jspb.Message.setProto3StringField(this, 2, value);
40619
+ };
40620
+
40621
+
40622
+ /**
40623
+ * optional string message = 3;
40624
+ * @return {string}
40625
+ */
40626
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.getMessage = function() {
40627
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
40628
+ };
40629
+
40630
+
40631
+ /**
40632
+ * @param {string} value
40633
+ * @return {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} returns this
40634
+ */
40635
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.setMessage = function(value) {
40636
+ return jspb.Message.setProto3StringField(this, 3, value);
40637
+ };
40638
+
40639
+
40640
+ /**
40641
+ * optional string password = 4;
40642
+ * @return {string}
40643
+ */
40644
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.getPassword = function() {
40645
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
40646
+ };
40647
+
40648
+
40649
+ /**
40650
+ * @param {string} value
40651
+ * @return {!proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest} returns this
40652
+ */
40653
+ proto.sniipbillapi.NotifyUserOfNewSmeRentalAgreementBillRequest.prototype.setPassword = function(value) {
40654
+ return jspb.Message.setProto3StringField(this, 4, value);
40655
+ };
40656
+
40657
+
40386
40658
  /**
40387
40659
  * @enum {number}
40388
40660
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "24.1.12544",
3
+ "version": "24.2.12552",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",