@sniipwebmaster/bill-service-client-grpcweb-ts 26.2.14852 → 26.3.14876

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.
@@ -3437,5 +3437,48 @@ export class SniipBillAPIServiceClient {
3437
3437
  this.methodDescriptorCheckUserBillerIds);
3438
3438
  }
3439
3439
 
3440
+ methodDescriptorUpdateSmeRentAgreementBillReference = new grpcWeb.MethodDescriptor(
3441
+ '/sniipbillapi.SniipBillAPIService/UpdateSmeRentAgreementBillReference',
3442
+ grpcWeb.MethodType.UNARY,
3443
+ service_pb.UpdateSmeRentAgreementBillReferenceRequest,
3444
+ service_pb.ResponseCode,
3445
+ (request: service_pb.UpdateSmeRentAgreementBillReferenceRequest) => {
3446
+ return request.serializeBinary();
3447
+ },
3448
+ service_pb.ResponseCode.deserializeBinary
3449
+ );
3450
+
3451
+ updateSmeRentAgreementBillReference(
3452
+ request: service_pb.UpdateSmeRentAgreementBillReferenceRequest,
3453
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
3454
+
3455
+ updateSmeRentAgreementBillReference(
3456
+ request: service_pb.UpdateSmeRentAgreementBillReferenceRequest,
3457
+ metadata: grpcWeb.Metadata | null,
3458
+ callback: (err: grpcWeb.RpcError,
3459
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
3460
+
3461
+ updateSmeRentAgreementBillReference(
3462
+ request: service_pb.UpdateSmeRentAgreementBillReferenceRequest,
3463
+ metadata?: grpcWeb.Metadata | null,
3464
+ callback?: (err: grpcWeb.RpcError,
3465
+ response: service_pb.ResponseCode) => void) {
3466
+ if (callback !== undefined) {
3467
+ return this.client_.rpcCall(
3468
+ this.hostname_ +
3469
+ '/sniipbillapi.SniipBillAPIService/UpdateSmeRentAgreementBillReference',
3470
+ request,
3471
+ metadata || {},
3472
+ this.methodDescriptorUpdateSmeRentAgreementBillReference,
3473
+ callback);
3474
+ }
3475
+ return this.client_.unaryCall(
3476
+ this.hostname_ +
3477
+ '/sniipbillapi.SniipBillAPIService/UpdateSmeRentAgreementBillReference',
3478
+ request,
3479
+ metadata || {},
3480
+ this.methodDescriptorUpdateSmeRentAgreementBillReference);
3481
+ }
3482
+
3440
3483
  }
3441
3484
 
@@ -5526,6 +5526,9 @@ export class CreateSmeRentAgreementBillForUserRequest extends jspb.Message {
5526
5526
  getBankaccountnameoverride(): string;
5527
5527
  setBankaccountnameoverride(value: string): CreateSmeRentAgreementBillForUserRequest;
5528
5528
 
5529
+ getMarkreferenceasknowninverse(): boolean;
5530
+ setMarkreferenceasknowninverse(value: boolean): CreateSmeRentAgreementBillForUserRequest;
5531
+
5529
5532
  serializeBinary(): Uint8Array;
5530
5533
  toObject(includeInstance?: boolean): CreateSmeRentAgreementBillForUserRequest.AsObject;
5531
5534
  static toObject(includeInstance: boolean, msg: CreateSmeRentAgreementBillForUserRequest): CreateSmeRentAgreementBillForUserRequest.AsObject;
@@ -5565,6 +5568,7 @@ export namespace CreateSmeRentAgreementBillForUserRequest {
5565
5568
  configrequiresupdate: boolean,
5566
5569
  configisapproved: boolean,
5567
5570
  bankaccountnameoverride: string,
5571
+ markreferenceasknowninverse: boolean,
5568
5572
  }
5569
5573
  }
5570
5574
 
@@ -5598,6 +5602,32 @@ export namespace NotifyUserOfNewSmeRentalAgreementBillRequest {
5598
5602
  }
5599
5603
  }
5600
5604
 
5605
+ export class UpdateSmeRentAgreementBillReferenceRequest extends jspb.Message {
5606
+ getBillconfigid(): number;
5607
+ setBillconfigid(value: number): UpdateSmeRentAgreementBillReferenceRequest;
5608
+
5609
+ getNewreference(): string;
5610
+ setNewreference(value: string): UpdateSmeRentAgreementBillReferenceRequest;
5611
+
5612
+ getComment(): string;
5613
+ setComment(value: string): UpdateSmeRentAgreementBillReferenceRequest;
5614
+
5615
+ serializeBinary(): Uint8Array;
5616
+ toObject(includeInstance?: boolean): UpdateSmeRentAgreementBillReferenceRequest.AsObject;
5617
+ static toObject(includeInstance: boolean, msg: UpdateSmeRentAgreementBillReferenceRequest): UpdateSmeRentAgreementBillReferenceRequest.AsObject;
5618
+ static serializeBinaryToWriter(message: UpdateSmeRentAgreementBillReferenceRequest, writer: jspb.BinaryWriter): void;
5619
+ static deserializeBinary(bytes: Uint8Array): UpdateSmeRentAgreementBillReferenceRequest;
5620
+ static deserializeBinaryFromReader(message: UpdateSmeRentAgreementBillReferenceRequest, reader: jspb.BinaryReader): UpdateSmeRentAgreementBillReferenceRequest;
5621
+ }
5622
+
5623
+ export namespace UpdateSmeRentAgreementBillReferenceRequest {
5624
+ export type AsObject = {
5625
+ billconfigid: number,
5626
+ newreference: string,
5627
+ comment: string,
5628
+ }
5629
+ }
5630
+
5601
5631
  export class GetSmeBillerReviewBillDetailsRequest extends jspb.Message {
5602
5632
  getBillerconfigid(): number;
5603
5633
  setBillerconfigid(value: number): GetSmeBillerReviewBillDetailsRequest;
@@ -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,196 @@ 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
+ };
46015
+
46016
+ if (includeInstance) {
46017
+ obj.$jspbMessageInstance = msg;
46018
+ }
46019
+ return obj;
46020
+ };
46021
+ }
46022
+
46023
+
46024
+ /**
46025
+ * Deserializes binary data (in protobuf wire format).
46026
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46027
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest}
46028
+ */
46029
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.deserializeBinary = function(bytes) {
46030
+ var reader = new jspb.BinaryReader(bytes);
46031
+ var msg = new proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest;
46032
+ return proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.deserializeBinaryFromReader(msg, reader);
46033
+ };
46034
+
46035
+
46036
+ /**
46037
+ * Deserializes binary data (in protobuf wire format) from the
46038
+ * given reader into the given message object.
46039
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} msg The message object to deserialize into.
46040
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46041
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest}
46042
+ */
46043
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.deserializeBinaryFromReader = function(msg, reader) {
46044
+ while (reader.nextField()) {
46045
+ if (reader.isEndGroup()) {
46046
+ break;
46047
+ }
46048
+ var field = reader.getFieldNumber();
46049
+ switch (field) {
46050
+ case 1:
46051
+ var value = /** @type {number} */ (reader.readInt64());
46052
+ msg.setBillconfigid(value);
46053
+ break;
46054
+ case 2:
46055
+ var value = /** @type {string} */ (reader.readString());
46056
+ msg.setNewreference(value);
46057
+ break;
46058
+ case 3:
46059
+ var value = /** @type {string} */ (reader.readString());
46060
+ msg.setComment(value);
46061
+ break;
46062
+ default:
46063
+ reader.skipField();
46064
+ break;
46065
+ }
46066
+ }
46067
+ return msg;
46068
+ };
46069
+
46070
+
46071
+ /**
46072
+ * Serializes the message to binary data (in protobuf wire format).
46073
+ * @return {!Uint8Array}
46074
+ */
46075
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.serializeBinary = function() {
46076
+ var writer = new jspb.BinaryWriter();
46077
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.serializeBinaryToWriter(this, writer);
46078
+ return writer.getResultBuffer();
46079
+ };
46080
+
46081
+
46082
+ /**
46083
+ * Serializes the given message to binary data (in protobuf wire
46084
+ * format), writing to the given BinaryWriter.
46085
+ * @param {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} message
46086
+ * @param {!jspb.BinaryWriter} writer
46087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46088
+ */
46089
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.serializeBinaryToWriter = function(message, writer) {
46090
+ var f = undefined;
46091
+ f = message.getBillconfigid();
46092
+ if (f !== 0) {
46093
+ writer.writeInt64(
46094
+ 1,
46095
+ f
46096
+ );
46097
+ }
46098
+ f = message.getNewreference();
46099
+ if (f.length > 0) {
46100
+ writer.writeString(
46101
+ 2,
46102
+ f
46103
+ );
46104
+ }
46105
+ f = message.getComment();
46106
+ if (f.length > 0) {
46107
+ writer.writeString(
46108
+ 3,
46109
+ f
46110
+ );
46111
+ }
46112
+ };
46113
+
46114
+
46115
+ /**
46116
+ * optional int64 billConfigId = 1;
46117
+ * @return {number}
46118
+ */
46119
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.getBillconfigid = function() {
46120
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
46121
+ };
46122
+
46123
+
46124
+ /**
46125
+ * @param {number} value
46126
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} returns this
46127
+ */
46128
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.setBillconfigid = function(value) {
46129
+ return jspb.Message.setProto3IntField(this, 1, value);
46130
+ };
46131
+
46132
+
46133
+ /**
46134
+ * optional string newReference = 2;
46135
+ * @return {string}
46136
+ */
46137
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.getNewreference = function() {
46138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
46139
+ };
46140
+
46141
+
46142
+ /**
46143
+ * @param {string} value
46144
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} returns this
46145
+ */
46146
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.setNewreference = function(value) {
46147
+ return jspb.Message.setProto3StringField(this, 2, value);
46148
+ };
46149
+
46150
+
46151
+ /**
46152
+ * optional string comment = 3;
46153
+ * @return {string}
46154
+ */
46155
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.getComment = function() {
46156
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
46157
+ };
46158
+
46159
+
46160
+ /**
46161
+ * @param {string} value
46162
+ * @return {!proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest} returns this
46163
+ */
46164
+ proto.sniipbillapi.UpdateSmeRentAgreementBillReferenceRequest.prototype.setComment = function(value) {
46165
+ return jspb.Message.setProto3StringField(this, 3, value);
46166
+ };
46167
+
46168
+
46169
+
46170
+
46171
+
45930
46172
  if (jspb.Message.GENERATE_TO_OBJECT) {
45931
46173
  /**
45932
46174
  * 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-ts",
3
- "version": "26.2.14852",
3
+ "version": "26.3.14876",
4
4
  "description": "bill-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",