@sniipwebmaster/bill-service-client-grpcweb-ts 25.2.13955 → 25.2.13971

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.
@@ -2061,6 +2061,49 @@ export class SniipBillAPIServiceClient {
2061
2061
  this.methodDescriptorSetBillRequiresAttention);
2062
2062
  }
2063
2063
 
2064
+ methodDescriptorSetBillRequiresDraftReview = new grpcWeb.MethodDescriptor(
2065
+ '/sniipbillapi.SniipBillAPIService/SetBillRequiresDraftReview',
2066
+ grpcWeb.MethodType.UNARY,
2067
+ service_pb.SetBillRequiresDraftReviewRequest,
2068
+ service_pb.ResponseCode,
2069
+ (request: service_pb.SetBillRequiresDraftReviewRequest) => {
2070
+ return request.serializeBinary();
2071
+ },
2072
+ service_pb.ResponseCode.deserializeBinary
2073
+ );
2074
+
2075
+ setBillRequiresDraftReview(
2076
+ request: service_pb.SetBillRequiresDraftReviewRequest,
2077
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
2078
+
2079
+ setBillRequiresDraftReview(
2080
+ request: service_pb.SetBillRequiresDraftReviewRequest,
2081
+ metadata: grpcWeb.Metadata | null,
2082
+ callback: (err: grpcWeb.RpcError,
2083
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
2084
+
2085
+ setBillRequiresDraftReview(
2086
+ request: service_pb.SetBillRequiresDraftReviewRequest,
2087
+ metadata?: grpcWeb.Metadata | null,
2088
+ callback?: (err: grpcWeb.RpcError,
2089
+ response: service_pb.ResponseCode) => void) {
2090
+ if (callback !== undefined) {
2091
+ return this.client_.rpcCall(
2092
+ this.hostname_ +
2093
+ '/sniipbillapi.SniipBillAPIService/SetBillRequiresDraftReview',
2094
+ request,
2095
+ metadata || {},
2096
+ this.methodDescriptorSetBillRequiresDraftReview,
2097
+ callback);
2098
+ }
2099
+ return this.client_.unaryCall(
2100
+ this.hostname_ +
2101
+ '/sniipbillapi.SniipBillAPIService/SetBillRequiresDraftReview',
2102
+ request,
2103
+ metadata || {},
2104
+ this.methodDescriptorSetBillRequiresDraftReview);
2105
+ }
2106
+
2064
2107
  methodDescriptorSetBillerCrnNickname = new grpcWeb.MethodDescriptor(
2065
2108
  '/sniipbillapi.SniipBillAPIService/SetBillerCrnNickname',
2066
2109
  grpcWeb.MethodType.UNARY,
@@ -3994,6 +3994,28 @@ export namespace SetBillRequiresAttentionRequest {
3994
3994
  }
3995
3995
  }
3996
3996
 
3997
+ export class SetBillRequiresDraftReviewRequest extends jspb.Message {
3998
+ getBillid(): number;
3999
+ setBillid(value: number): SetBillRequiresDraftReviewRequest;
4000
+
4001
+ getUserid(): number;
4002
+ setUserid(value: number): SetBillRequiresDraftReviewRequest;
4003
+
4004
+ serializeBinary(): Uint8Array;
4005
+ toObject(includeInstance?: boolean): SetBillRequiresDraftReviewRequest.AsObject;
4006
+ static toObject(includeInstance: boolean, msg: SetBillRequiresDraftReviewRequest): SetBillRequiresDraftReviewRequest.AsObject;
4007
+ static serializeBinaryToWriter(message: SetBillRequiresDraftReviewRequest, writer: jspb.BinaryWriter): void;
4008
+ static deserializeBinary(bytes: Uint8Array): SetBillRequiresDraftReviewRequest;
4009
+ static deserializeBinaryFromReader(message: SetBillRequiresDraftReviewRequest, reader: jspb.BinaryReader): SetBillRequiresDraftReviewRequest;
4010
+ }
4011
+
4012
+ export namespace SetBillRequiresDraftReviewRequest {
4013
+ export type AsObject = {
4014
+ billid: number,
4015
+ userid: number,
4016
+ }
4017
+ }
4018
+
3997
4019
  export class SetBillerCrnNicknameRequest extends jspb.Message {
3998
4020
  getBillid(): number;
3999
4021
  setBillid(value: number): SetBillerCrnNicknameRequest;
@@ -154,6 +154,7 @@ goog.exportSymbol('proto.sniipbillapi.SearchBillerResponse', null, global);
154
154
  goog.exportSymbol('proto.sniipbillapi.SearchBillersRequest', null, global);
155
155
  goog.exportSymbol('proto.sniipbillapi.SendBillDueSoonNotificationRequest', null, global);
156
156
  goog.exportSymbol('proto.sniipbillapi.SetBillRequiresAttentionRequest', null, global);
157
+ goog.exportSymbol('proto.sniipbillapi.SetBillRequiresDraftReviewRequest', null, global);
157
158
  goog.exportSymbol('proto.sniipbillapi.SetBillerCrnNicknameRequest', null, global);
158
159
  goog.exportSymbol('proto.sniipbillapi.ShareBillEmailRequest', null, global);
159
160
  goog.exportSymbol('proto.sniipbillapi.SimpleBillDetail', null, global);
@@ -2708,6 +2709,27 @@ if (goog.DEBUG && !COMPILED) {
2708
2709
  */
2709
2710
  proto.sniipbillapi.SetBillRequiresAttentionRequest.displayName = 'proto.sniipbillapi.SetBillRequiresAttentionRequest';
2710
2711
  }
2712
+ /**
2713
+ * Generated by JsPbCodeGenerator.
2714
+ * @param {Array=} opt_data Optional initial data array, typically from a
2715
+ * server response, or constructed directly in Javascript. The array is used
2716
+ * in place and becomes part of the constructed object. It is not cloned.
2717
+ * If no data is provided, the constructed object will be empty, but still
2718
+ * valid.
2719
+ * @extends {jspb.Message}
2720
+ * @constructor
2721
+ */
2722
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest = function(opt_data) {
2723
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2724
+ };
2725
+ goog.inherits(proto.sniipbillapi.SetBillRequiresDraftReviewRequest, jspb.Message);
2726
+ if (goog.DEBUG && !COMPILED) {
2727
+ /**
2728
+ * @public
2729
+ * @override
2730
+ */
2731
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.displayName = 'proto.sniipbillapi.SetBillRequiresDraftReviewRequest';
2732
+ }
2711
2733
  /**
2712
2734
  * Generated by JsPbCodeGenerator.
2713
2735
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -33503,6 +33525,166 @@ proto.sniipbillapi.SetBillRequiresAttentionRequest.prototype.hasData = function(
33503
33525
 
33504
33526
 
33505
33527
 
33528
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33529
+ /**
33530
+ * Creates an object representation of this proto.
33531
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33532
+ * Optional fields that are not set will be set to undefined.
33533
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33534
+ * For the list of reserved names please see:
33535
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33536
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33537
+ * JSPB instance for transitional soy proto support:
33538
+ * http://goto/soy-param-migration
33539
+ * @return {!Object}
33540
+ */
33541
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.prototype.toObject = function(opt_includeInstance) {
33542
+ return proto.sniipbillapi.SetBillRequiresDraftReviewRequest.toObject(opt_includeInstance, this);
33543
+ };
33544
+
33545
+
33546
+ /**
33547
+ * Static version of the {@see toObject} method.
33548
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33549
+ * the JSPB instance for transitional soy proto support:
33550
+ * http://goto/soy-param-migration
33551
+ * @param {!proto.sniipbillapi.SetBillRequiresDraftReviewRequest} msg The msg instance to transform.
33552
+ * @return {!Object}
33553
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33554
+ */
33555
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.toObject = function(includeInstance, msg) {
33556
+ var f, obj = {
33557
+ billid: jspb.Message.getFieldWithDefault(msg, 1, 0),
33558
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
33559
+ };
33560
+
33561
+ if (includeInstance) {
33562
+ obj.$jspbMessageInstance = msg;
33563
+ }
33564
+ return obj;
33565
+ };
33566
+ }
33567
+
33568
+
33569
+ /**
33570
+ * Deserializes binary data (in protobuf wire format).
33571
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33572
+ * @return {!proto.sniipbillapi.SetBillRequiresDraftReviewRequest}
33573
+ */
33574
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.deserializeBinary = function(bytes) {
33575
+ var reader = new jspb.BinaryReader(bytes);
33576
+ var msg = new proto.sniipbillapi.SetBillRequiresDraftReviewRequest;
33577
+ return proto.sniipbillapi.SetBillRequiresDraftReviewRequest.deserializeBinaryFromReader(msg, reader);
33578
+ };
33579
+
33580
+
33581
+ /**
33582
+ * Deserializes binary data (in protobuf wire format) from the
33583
+ * given reader into the given message object.
33584
+ * @param {!proto.sniipbillapi.SetBillRequiresDraftReviewRequest} msg The message object to deserialize into.
33585
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33586
+ * @return {!proto.sniipbillapi.SetBillRequiresDraftReviewRequest}
33587
+ */
33588
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.deserializeBinaryFromReader = function(msg, reader) {
33589
+ while (reader.nextField()) {
33590
+ if (reader.isEndGroup()) {
33591
+ break;
33592
+ }
33593
+ var field = reader.getFieldNumber();
33594
+ switch (field) {
33595
+ case 1:
33596
+ var value = /** @type {number} */ (reader.readInt64());
33597
+ msg.setBillid(value);
33598
+ break;
33599
+ case 2:
33600
+ var value = /** @type {number} */ (reader.readInt64());
33601
+ msg.setUserid(value);
33602
+ break;
33603
+ default:
33604
+ reader.skipField();
33605
+ break;
33606
+ }
33607
+ }
33608
+ return msg;
33609
+ };
33610
+
33611
+
33612
+ /**
33613
+ * Serializes the message to binary data (in protobuf wire format).
33614
+ * @return {!Uint8Array}
33615
+ */
33616
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.prototype.serializeBinary = function() {
33617
+ var writer = new jspb.BinaryWriter();
33618
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.serializeBinaryToWriter(this, writer);
33619
+ return writer.getResultBuffer();
33620
+ };
33621
+
33622
+
33623
+ /**
33624
+ * Serializes the given message to binary data (in protobuf wire
33625
+ * format), writing to the given BinaryWriter.
33626
+ * @param {!proto.sniipbillapi.SetBillRequiresDraftReviewRequest} message
33627
+ * @param {!jspb.BinaryWriter} writer
33628
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33629
+ */
33630
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.serializeBinaryToWriter = function(message, writer) {
33631
+ var f = undefined;
33632
+ f = message.getBillid();
33633
+ if (f !== 0) {
33634
+ writer.writeInt64(
33635
+ 1,
33636
+ f
33637
+ );
33638
+ }
33639
+ f = message.getUserid();
33640
+ if (f !== 0) {
33641
+ writer.writeInt64(
33642
+ 2,
33643
+ f
33644
+ );
33645
+ }
33646
+ };
33647
+
33648
+
33649
+ /**
33650
+ * optional int64 billId = 1;
33651
+ * @return {number}
33652
+ */
33653
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.prototype.getBillid = function() {
33654
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
33655
+ };
33656
+
33657
+
33658
+ /**
33659
+ * @param {number} value
33660
+ * @return {!proto.sniipbillapi.SetBillRequiresDraftReviewRequest} returns this
33661
+ */
33662
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.prototype.setBillid = function(value) {
33663
+ return jspb.Message.setProto3IntField(this, 1, value);
33664
+ };
33665
+
33666
+
33667
+ /**
33668
+ * optional int64 userId = 2;
33669
+ * @return {number}
33670
+ */
33671
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.prototype.getUserid = function() {
33672
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
33673
+ };
33674
+
33675
+
33676
+ /**
33677
+ * @param {number} value
33678
+ * @return {!proto.sniipbillapi.SetBillRequiresDraftReviewRequest} returns this
33679
+ */
33680
+ proto.sniipbillapi.SetBillRequiresDraftReviewRequest.prototype.setUserid = function(value) {
33681
+ return jspb.Message.setProto3IntField(this, 2, value);
33682
+ };
33683
+
33684
+
33685
+
33686
+
33687
+
33506
33688
  if (jspb.Message.GENERATE_TO_OBJECT) {
33507
33689
  /**
33508
33690
  * 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": "25.2.13955",
3
+ "version": "25.2.13971",
4
4
  "description": "bill-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",