@sniipwebmaster/bill-service-client-grpcweb 22.10.8700 → 22.10.8715

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.
@@ -2158,13 +2158,13 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getUserBillConfig
2158
2158
  * @const
2159
2159
  * @type {!grpc.web.MethodDescriptor<
2160
2160
  * !proto.sniipbillapi.GetUserBillsRequest,
2161
- * !proto.sniipbillapi.UserBillList>}
2161
+ * !proto.sniipbillapi.UserBillListResponse>}
2162
2162
  */
2163
2163
  const methodDescriptor_SniipBillAPIService_GetUserBills = new grpc.web.MethodDescriptor(
2164
2164
  '/sniipbillapi.SniipBillAPIService/GetUserBills',
2165
2165
  grpc.web.MethodType.UNARY,
2166
2166
  proto.sniipbillapi.GetUserBillsRequest,
2167
- proto.sniipbillapi.UserBillList,
2167
+ proto.sniipbillapi.UserBillListResponse,
2168
2168
  /**
2169
2169
  * @param {!proto.sniipbillapi.GetUserBillsRequest} request
2170
2170
  * @return {!Uint8Array}
@@ -2172,7 +2172,7 @@ const methodDescriptor_SniipBillAPIService_GetUserBills = new grpc.web.MethodDes
2172
2172
  function(request) {
2173
2173
  return request.serializeBinary();
2174
2174
  },
2175
- proto.sniipbillapi.UserBillList.deserializeBinary
2175
+ proto.sniipbillapi.UserBillListResponse.deserializeBinary
2176
2176
  );
2177
2177
 
2178
2178
 
@@ -2180,10 +2180,10 @@ const methodDescriptor_SniipBillAPIService_GetUserBills = new grpc.web.MethodDes
2180
2180
  * @const
2181
2181
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
2182
2182
  * !proto.sniipbillapi.GetUserBillsRequest,
2183
- * !proto.sniipbillapi.UserBillList>}
2183
+ * !proto.sniipbillapi.UserBillListResponse>}
2184
2184
  */
2185
2185
  const methodInfo_SniipBillAPIService_GetUserBills = new grpc.web.AbstractClientBase.MethodInfo(
2186
- proto.sniipbillapi.UserBillList,
2186
+ proto.sniipbillapi.UserBillListResponse,
2187
2187
  /**
2188
2188
  * @param {!proto.sniipbillapi.GetUserBillsRequest} request
2189
2189
  * @return {!Uint8Array}
@@ -2191,7 +2191,7 @@ const methodInfo_SniipBillAPIService_GetUserBills = new grpc.web.AbstractClientB
2191
2191
  function(request) {
2192
2192
  return request.serializeBinary();
2193
2193
  },
2194
- proto.sniipbillapi.UserBillList.deserializeBinary
2194
+ proto.sniipbillapi.UserBillListResponse.deserializeBinary
2195
2195
  );
2196
2196
 
2197
2197
 
@@ -2200,9 +2200,9 @@ const methodInfo_SniipBillAPIService_GetUserBills = new grpc.web.AbstractClientB
2200
2200
  * request proto
2201
2201
  * @param {?Object<string, string>} metadata User defined
2202
2202
  * call metadata
2203
- * @param {function(?grpc.web.Error, ?proto.sniipbillapi.UserBillList)}
2203
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.UserBillListResponse)}
2204
2204
  * callback The callback function(error, response)
2205
- * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.UserBillList>|undefined}
2205
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.UserBillListResponse>|undefined}
2206
2206
  * The XHR Node Readable Stream
2207
2207
  */
2208
2208
  proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getUserBills =
@@ -2221,7 +2221,7 @@ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.getUserBills =
2221
2221
  * request proto
2222
2222
  * @param {?Object<string, string>} metadata User defined
2223
2223
  * call metadata
2224
- * @return {!Promise<!proto.sniipbillapi.UserBillList>}
2224
+ * @return {!Promise<!proto.sniipbillapi.UserBillListResponse>}
2225
2225
  * Promise that resolves to the response
2226
2226
  */
2227
2227
  proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.getUserBills =
@@ -115,8 +115,8 @@ goog.exportSymbol('proto.sniipbillapi.UpdateDueDateRequest', null, global);
115
115
  goog.exportSymbol('proto.sniipbillapi.UpdateUserBillConfigRequest', null, global);
116
116
  goog.exportSymbol('proto.sniipbillapi.UserBillConfig', null, global);
117
117
  goog.exportSymbol('proto.sniipbillapi.UserBillConfigResponse', null, global);
118
- goog.exportSymbol('proto.sniipbillapi.UserBillList', null, global);
119
- goog.exportSymbol('proto.sniipbillapi.UserBillList.DataMessage', null, global);
118
+ goog.exportSymbol('proto.sniipbillapi.UserBillListData', null, global);
119
+ goog.exportSymbol('proto.sniipbillapi.UserBillListResponse', null, global);
120
120
  goog.exportSymbol('proto.sniipbillapi.UsersForBillerRequest', null, global);
121
121
  goog.exportSymbol('proto.sniipbillapi.ValidateBillOwnerRequest', null, global);
122
122
  goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
@@ -2989,7 +2989,8 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
2989
2989
  requiresattention: msg.getRequiresattention(),
2990
2990
  isbilltransactionlocked: msg.getIsbilltransactionlocked(),
2991
2991
  isdeleted: msg.getIsdeleted(),
2992
- tagsList: jspb.Message.getField(msg, 61)
2992
+ tagsList: jspb.Message.getField(msg, 61),
2993
+ createddatetime: msg.getCreateddatetime()
2993
2994
  };
2994
2995
 
2995
2996
  if (includeInstance) {
@@ -3259,6 +3260,10 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
3259
3260
  msg.getTagsList().push(value);
3260
3261
  msg.setTagsList(msg.getTagsList());
3261
3262
  break;
3263
+ case 62:
3264
+ var value = /** @type {string} */ (reader.readString());
3265
+ msg.setCreateddatetime(value);
3266
+ break;
3262
3267
  default:
3263
3268
  reader.skipField();
3264
3269
  break;
@@ -3698,6 +3703,13 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
3698
3703
  f
3699
3704
  );
3700
3705
  }
3706
+ f = this.getCreateddatetime();
3707
+ if (f.length > 0) {
3708
+ writer.writeString(
3709
+ 62,
3710
+ f
3711
+ );
3712
+ }
3701
3713
  };
3702
3714
 
3703
3715
 
@@ -4624,6 +4636,21 @@ proto.sniipbillapi.BillDetail.prototype.clearTagsList = function() {
4624
4636
  };
4625
4637
 
4626
4638
 
4639
+ /**
4640
+ * optional string createdDateTime = 62;
4641
+ * @return {string}
4642
+ */
4643
+ proto.sniipbillapi.BillDetail.prototype.getCreateddatetime = function() {
4644
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 62, ""));
4645
+ };
4646
+
4647
+
4648
+ /** @param {string} value */
4649
+ proto.sniipbillapi.BillDetail.prototype.setCreateddatetime = function(value) {
4650
+ jspb.Message.setField(this, 62, value);
4651
+ };
4652
+
4653
+
4627
4654
 
4628
4655
  /**
4629
4656
  * Generated by JsPbCodeGenerator.
@@ -27533,13 +27560,20 @@ proto.sniipbillapi.UserBillConfigResponse.prototype.hasUserbillconfig = function
27533
27560
  * @extends {jspb.Message}
27534
27561
  * @constructor
27535
27562
  */
27536
- proto.sniipbillapi.UserBillList = function(opt_data) {
27537
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
27563
+ proto.sniipbillapi.UserBillListData = function(opt_data) {
27564
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.UserBillListData.repeatedFields_, null);
27538
27565
  };
27539
- goog.inherits(proto.sniipbillapi.UserBillList, jspb.Message);
27566
+ goog.inherits(proto.sniipbillapi.UserBillListData, jspb.Message);
27540
27567
  if (goog.DEBUG && !COMPILED) {
27541
- proto.sniipbillapi.UserBillList.displayName = 'proto.sniipbillapi.UserBillList';
27568
+ proto.sniipbillapi.UserBillListData.displayName = 'proto.sniipbillapi.UserBillListData';
27542
27569
  }
27570
+ /**
27571
+ * List of repeated fields within this message type.
27572
+ * @private {!Array<number>}
27573
+ * @const
27574
+ */
27575
+ proto.sniipbillapi.UserBillListData.repeatedFields_ = [4];
27576
+
27543
27577
 
27544
27578
 
27545
27579
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -27553,8 +27587,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
27553
27587
  * for transitional soy proto support: http://goto/soy-param-migration
27554
27588
  * @return {!Object}
27555
27589
  */
27556
- proto.sniipbillapi.UserBillList.prototype.toObject = function(opt_includeInstance) {
27557
- return proto.sniipbillapi.UserBillList.toObject(opt_includeInstance, this);
27590
+ proto.sniipbillapi.UserBillListData.prototype.toObject = function(opt_includeInstance) {
27591
+ return proto.sniipbillapi.UserBillListData.toObject(opt_includeInstance, this);
27558
27592
  };
27559
27593
 
27560
27594
 
@@ -27563,13 +27597,16 @@ proto.sniipbillapi.UserBillList.prototype.toObject = function(opt_includeInstanc
27563
27597
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
27564
27598
  * instance for transitional soy proto support:
27565
27599
  * http://goto/soy-param-migration
27566
- * @param {!proto.sniipbillapi.UserBillList} msg The msg instance to transform.
27600
+ * @param {!proto.sniipbillapi.UserBillListData} msg The msg instance to transform.
27567
27601
  * @return {!Object}
27568
27602
  */
27569
- proto.sniipbillapi.UserBillList.toObject = function(includeInstance, msg) {
27603
+ proto.sniipbillapi.UserBillListData.toObject = function(includeInstance, msg) {
27570
27604
  var f, obj = {
27571
- data: (f = msg.getData()) && proto.sniipbillapi.UserBillList.DataMessage.toObject(includeInstance, f),
27572
- responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f)
27605
+ limit: msg.getLimit(),
27606
+ page: msg.getPage(),
27607
+ total: msg.getTotal(),
27608
+ billlistList: jspb.Message.toObjectList(msg.getBilllistList(),
27609
+ proto.sniipbillapi.BillDetail.toObject, includeInstance)
27573
27610
  };
27574
27611
 
27575
27612
  if (includeInstance) {
@@ -27583,23 +27620,23 @@ proto.sniipbillapi.UserBillList.toObject = function(includeInstance, msg) {
27583
27620
  /**
27584
27621
  * Deserializes binary data (in protobuf wire format).
27585
27622
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
27586
- * @return {!proto.sniipbillapi.UserBillList}
27623
+ * @return {!proto.sniipbillapi.UserBillListData}
27587
27624
  */
27588
- proto.sniipbillapi.UserBillList.deserializeBinary = function(bytes) {
27625
+ proto.sniipbillapi.UserBillListData.deserializeBinary = function(bytes) {
27589
27626
  var reader = new jspb.BinaryReader(bytes);
27590
- var msg = new proto.sniipbillapi.UserBillList;
27591
- return proto.sniipbillapi.UserBillList.deserializeBinaryFromReader(msg, reader);
27627
+ var msg = new proto.sniipbillapi.UserBillListData;
27628
+ return proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader(msg, reader);
27592
27629
  };
27593
27630
 
27594
27631
 
27595
27632
  /**
27596
27633
  * Deserializes binary data (in protobuf wire format) from the
27597
27634
  * given reader into the given message object.
27598
- * @param {!proto.sniipbillapi.UserBillList} msg The message object to deserialize into.
27635
+ * @param {!proto.sniipbillapi.UserBillListData} msg The message object to deserialize into.
27599
27636
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27600
- * @return {!proto.sniipbillapi.UserBillList}
27637
+ * @return {!proto.sniipbillapi.UserBillListData}
27601
27638
  */
27602
- proto.sniipbillapi.UserBillList.deserializeBinaryFromReader = function(msg, reader) {
27639
+ proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader = function(msg, reader) {
27603
27640
  while (reader.nextField()) {
27604
27641
  if (reader.isEndGroup()) {
27605
27642
  break;
@@ -27607,14 +27644,22 @@ proto.sniipbillapi.UserBillList.deserializeBinaryFromReader = function(msg, read
27607
27644
  var field = reader.getFieldNumber();
27608
27645
  switch (field) {
27609
27646
  case 1:
27610
- var value = new proto.sniipbillapi.UserBillList.DataMessage;
27611
- reader.readMessage(value,proto.sniipbillapi.UserBillList.DataMessage.deserializeBinaryFromReader);
27612
- msg.setData(value);
27647
+ var value = /** @type {number} */ (reader.readInt32());
27648
+ msg.setLimit(value);
27613
27649
  break;
27614
27650
  case 2:
27615
- var value = new proto.sniipbillapi.ResponseCode;
27616
- reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
27617
- msg.setResponsecode(value);
27651
+ var value = /** @type {number} */ (reader.readInt32());
27652
+ msg.setPage(value);
27653
+ break;
27654
+ case 3:
27655
+ var value = /** @type {number} */ (reader.readInt32());
27656
+ msg.setTotal(value);
27657
+ break;
27658
+ case 4:
27659
+ var value = new proto.sniipbillapi.BillDetail;
27660
+ reader.readMessage(value,proto.sniipbillapi.BillDetail.deserializeBinaryFromReader);
27661
+ msg.getBilllistList().push(value);
27662
+ msg.setBilllistList(msg.getBilllistList());
27618
27663
  break;
27619
27664
  default:
27620
27665
  reader.skipField();
@@ -27628,10 +27673,10 @@ proto.sniipbillapi.UserBillList.deserializeBinaryFromReader = function(msg, read
27628
27673
  /**
27629
27674
  * Class method variant: serializes the given message to binary data
27630
27675
  * (in protobuf wire format), writing to the given BinaryWriter.
27631
- * @param {!proto.sniipbillapi.UserBillList} message
27676
+ * @param {!proto.sniipbillapi.UserBillListData} message
27632
27677
  * @param {!jspb.BinaryWriter} writer
27633
27678
  */
27634
- proto.sniipbillapi.UserBillList.serializeBinaryToWriter = function(message, writer) {
27679
+ proto.sniipbillapi.UserBillListData.serializeBinaryToWriter = function(message, writer) {
27635
27680
  message.serializeBinaryToWriter(writer);
27636
27681
  };
27637
27682
 
@@ -27640,7 +27685,7 @@ proto.sniipbillapi.UserBillList.serializeBinaryToWriter = function(message, writ
27640
27685
  * Serializes the message to binary data (in protobuf wire format).
27641
27686
  * @return {!Uint8Array}
27642
27687
  */
27643
- proto.sniipbillapi.UserBillList.prototype.serializeBinary = function() {
27688
+ proto.sniipbillapi.UserBillListData.prototype.serializeBinary = function() {
27644
27689
  var writer = new jspb.BinaryWriter();
27645
27690
  this.serializeBinaryToWriter(writer);
27646
27691
  return writer.getResultBuffer();
@@ -27652,22 +27697,35 @@ proto.sniipbillapi.UserBillList.prototype.serializeBinary = function() {
27652
27697
  * writing to the given BinaryWriter.
27653
27698
  * @param {!jspb.BinaryWriter} writer
27654
27699
  */
27655
- proto.sniipbillapi.UserBillList.prototype.serializeBinaryToWriter = function (writer) {
27700
+ proto.sniipbillapi.UserBillListData.prototype.serializeBinaryToWriter = function (writer) {
27656
27701
  var f = undefined;
27657
- f = this.getData();
27658
- if (f != null) {
27659
- writer.writeMessage(
27702
+ f = this.getLimit();
27703
+ if (f !== 0) {
27704
+ writer.writeInt32(
27660
27705
  1,
27661
- f,
27662
- proto.sniipbillapi.UserBillList.DataMessage.serializeBinaryToWriter
27706
+ f
27663
27707
  );
27664
27708
  }
27665
- f = this.getResponsecode();
27666
- if (f != null) {
27667
- writer.writeMessage(
27709
+ f = this.getPage();
27710
+ if (f !== 0) {
27711
+ writer.writeInt32(
27668
27712
  2,
27713
+ f
27714
+ );
27715
+ }
27716
+ f = this.getTotal();
27717
+ if (f !== 0) {
27718
+ writer.writeInt32(
27719
+ 3,
27720
+ f
27721
+ );
27722
+ }
27723
+ f = this.getBilllistList();
27724
+ if (f.length > 0) {
27725
+ writer.writeRepeatedMessage(
27726
+ 4,
27669
27727
  f,
27670
- proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
27728
+ proto.sniipbillapi.BillDetail.serializeBinaryToWriter
27671
27729
  );
27672
27730
  }
27673
27731
  };
@@ -27675,70 +27733,78 @@ proto.sniipbillapi.UserBillList.prototype.serializeBinaryToWriter = function (wr
27675
27733
 
27676
27734
  /**
27677
27735
  * Creates a deep clone of this proto. No data is shared with the original.
27678
- * @return {!proto.sniipbillapi.UserBillList} The clone.
27736
+ * @return {!proto.sniipbillapi.UserBillListData} The clone.
27679
27737
  */
27680
- proto.sniipbillapi.UserBillList.prototype.cloneMessage = function() {
27681
- return /** @type {!proto.sniipbillapi.UserBillList} */ (jspb.Message.cloneMessage(this));
27738
+ proto.sniipbillapi.UserBillListData.prototype.cloneMessage = function() {
27739
+ return /** @type {!proto.sniipbillapi.UserBillListData} */ (jspb.Message.cloneMessage(this));
27682
27740
  };
27683
27741
 
27684
27742
 
27685
27743
  /**
27686
- * optional DataMessage data = 1;
27687
- * @return {proto.sniipbillapi.UserBillList.DataMessage}
27744
+ * optional int32 limit = 1;
27745
+ * @return {number}
27688
27746
  */
27689
- proto.sniipbillapi.UserBillList.prototype.getData = function() {
27690
- return /** @type{proto.sniipbillapi.UserBillList.DataMessage} */ (
27691
- jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillList.DataMessage, 1));
27747
+ proto.sniipbillapi.UserBillListData.prototype.getLimit = function() {
27748
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
27692
27749
  };
27693
27750
 
27694
27751
 
27695
- /** @param {proto.sniipbillapi.UserBillList.DataMessage|undefined} value */
27696
- proto.sniipbillapi.UserBillList.prototype.setData = function(value) {
27697
- jspb.Message.setWrapperField(this, 1, value);
27752
+ /** @param {number} value */
27753
+ proto.sniipbillapi.UserBillListData.prototype.setLimit = function(value) {
27754
+ jspb.Message.setField(this, 1, value);
27698
27755
  };
27699
27756
 
27700
27757
 
27701
- proto.sniipbillapi.UserBillList.prototype.clearData = function() {
27702
- this.setData(undefined);
27758
+ /**
27759
+ * optional int32 page = 2;
27760
+ * @return {number}
27761
+ */
27762
+ proto.sniipbillapi.UserBillListData.prototype.getPage = function() {
27763
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
27703
27764
  };
27704
27765
 
27705
27766
 
27706
- /**
27707
- * Returns whether this field is set.
27708
- * @return{!boolean}
27709
- */
27710
- proto.sniipbillapi.UserBillList.prototype.hasData = function() {
27711
- return jspb.Message.getField(this, 1) != null;
27767
+ /** @param {number} value */
27768
+ proto.sniipbillapi.UserBillListData.prototype.setPage = function(value) {
27769
+ jspb.Message.setField(this, 2, value);
27712
27770
  };
27713
27771
 
27714
27772
 
27715
27773
  /**
27716
- * optional ResponseCode responseCode = 2;
27717
- * @return {proto.sniipbillapi.ResponseCode}
27774
+ * optional int32 total = 3;
27775
+ * @return {number}
27718
27776
  */
27719
- proto.sniipbillapi.UserBillList.prototype.getResponsecode = function() {
27720
- return /** @type{proto.sniipbillapi.ResponseCode} */ (
27721
- jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 2));
27777
+ proto.sniipbillapi.UserBillListData.prototype.getTotal = function() {
27778
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
27722
27779
  };
27723
27780
 
27724
27781
 
27725
- /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
27726
- proto.sniipbillapi.UserBillList.prototype.setResponsecode = function(value) {
27727
- jspb.Message.setWrapperField(this, 2, value);
27782
+ /** @param {number} value */
27783
+ proto.sniipbillapi.UserBillListData.prototype.setTotal = function(value) {
27784
+ jspb.Message.setField(this, 3, value);
27728
27785
  };
27729
27786
 
27730
27787
 
27731
- proto.sniipbillapi.UserBillList.prototype.clearResponsecode = function() {
27732
- this.setResponsecode(undefined);
27788
+ /**
27789
+ * repeated BillDetail billList = 4;
27790
+ * If you change this array by adding, removing or replacing elements, or if you
27791
+ * replace the array itself, then you must call the setter to update it.
27792
+ * @return {!Array.<!proto.sniipbillapi.BillDetail>}
27793
+ */
27794
+ proto.sniipbillapi.UserBillListData.prototype.getBilllistList = function() {
27795
+ return /** @type{!Array.<!proto.sniipbillapi.BillDetail>} */ (
27796
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillDetail, 4));
27733
27797
  };
27734
27798
 
27735
27799
 
27736
- /**
27737
- * Returns whether this field is set.
27738
- * @return{!boolean}
27739
- */
27740
- proto.sniipbillapi.UserBillList.prototype.hasResponsecode = function() {
27741
- return jspb.Message.getField(this, 2) != null;
27800
+ /** @param {Array.<!proto.sniipbillapi.BillDetail>} value */
27801
+ proto.sniipbillapi.UserBillListData.prototype.setBilllistList = function(value) {
27802
+ jspb.Message.setRepeatedWrapperField(this, 4, value);
27803
+ };
27804
+
27805
+
27806
+ proto.sniipbillapi.UserBillListData.prototype.clearBilllistList = function() {
27807
+ this.setBilllistList([]);
27742
27808
  };
27743
27809
 
27744
27810
 
@@ -27753,20 +27819,13 @@ proto.sniipbillapi.UserBillList.prototype.hasResponsecode = function() {
27753
27819
  * @extends {jspb.Message}
27754
27820
  * @constructor
27755
27821
  */
27756
- proto.sniipbillapi.UserBillList.DataMessage = function(opt_data) {
27757
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.UserBillList.DataMessage.repeatedFields_, null);
27822
+ proto.sniipbillapi.UserBillListResponse = function(opt_data) {
27823
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
27758
27824
  };
27759
- goog.inherits(proto.sniipbillapi.UserBillList.DataMessage, jspb.Message);
27825
+ goog.inherits(proto.sniipbillapi.UserBillListResponse, jspb.Message);
27760
27826
  if (goog.DEBUG && !COMPILED) {
27761
- proto.sniipbillapi.UserBillList.DataMessage.displayName = 'proto.sniipbillapi.UserBillList.DataMessage';
27827
+ proto.sniipbillapi.UserBillListResponse.displayName = 'proto.sniipbillapi.UserBillListResponse';
27762
27828
  }
27763
- /**
27764
- * List of repeated fields within this message type.
27765
- * @private {!Array<number>}
27766
- * @const
27767
- */
27768
- proto.sniipbillapi.UserBillList.DataMessage.repeatedFields_ = [4];
27769
-
27770
27829
 
27771
27830
 
27772
27831
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -27780,8 +27839,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
27780
27839
  * for transitional soy proto support: http://goto/soy-param-migration
27781
27840
  * @return {!Object}
27782
27841
  */
27783
- proto.sniipbillapi.UserBillList.DataMessage.prototype.toObject = function(opt_includeInstance) {
27784
- return proto.sniipbillapi.UserBillList.DataMessage.toObject(opt_includeInstance, this);
27842
+ proto.sniipbillapi.UserBillListResponse.prototype.toObject = function(opt_includeInstance) {
27843
+ return proto.sniipbillapi.UserBillListResponse.toObject(opt_includeInstance, this);
27785
27844
  };
27786
27845
 
27787
27846
 
@@ -27790,16 +27849,13 @@ proto.sniipbillapi.UserBillList.DataMessage.prototype.toObject = function(opt_in
27790
27849
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
27791
27850
  * instance for transitional soy proto support:
27792
27851
  * http://goto/soy-param-migration
27793
- * @param {!proto.sniipbillapi.UserBillList.DataMessage} msg The msg instance to transform.
27852
+ * @param {!proto.sniipbillapi.UserBillListResponse} msg The msg instance to transform.
27794
27853
  * @return {!Object}
27795
27854
  */
27796
- proto.sniipbillapi.UserBillList.DataMessage.toObject = function(includeInstance, msg) {
27855
+ proto.sniipbillapi.UserBillListResponse.toObject = function(includeInstance, msg) {
27797
27856
  var f, obj = {
27798
- limit: msg.getLimit(),
27799
- page: msg.getPage(),
27800
- total: msg.getTotal(),
27801
- billlistList: jspb.Message.toObjectList(msg.getBilllistList(),
27802
- proto.sniipbillapi.BillDetail.toObject, includeInstance)
27857
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
27858
+ userbilllistdata: (f = msg.getUserbilllistdata()) && proto.sniipbillapi.UserBillListData.toObject(includeInstance, f)
27803
27859
  };
27804
27860
 
27805
27861
  if (includeInstance) {
@@ -27813,23 +27869,23 @@ proto.sniipbillapi.UserBillList.DataMessage.toObject = function(includeInstance,
27813
27869
  /**
27814
27870
  * Deserializes binary data (in protobuf wire format).
27815
27871
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
27816
- * @return {!proto.sniipbillapi.UserBillList.DataMessage}
27872
+ * @return {!proto.sniipbillapi.UserBillListResponse}
27817
27873
  */
27818
- proto.sniipbillapi.UserBillList.DataMessage.deserializeBinary = function(bytes) {
27874
+ proto.sniipbillapi.UserBillListResponse.deserializeBinary = function(bytes) {
27819
27875
  var reader = new jspb.BinaryReader(bytes);
27820
- var msg = new proto.sniipbillapi.UserBillList.DataMessage;
27821
- return proto.sniipbillapi.UserBillList.DataMessage.deserializeBinaryFromReader(msg, reader);
27876
+ var msg = new proto.sniipbillapi.UserBillListResponse;
27877
+ return proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader(msg, reader);
27822
27878
  };
27823
27879
 
27824
27880
 
27825
27881
  /**
27826
27882
  * Deserializes binary data (in protobuf wire format) from the
27827
27883
  * given reader into the given message object.
27828
- * @param {!proto.sniipbillapi.UserBillList.DataMessage} msg The message object to deserialize into.
27884
+ * @param {!proto.sniipbillapi.UserBillListResponse} msg The message object to deserialize into.
27829
27885
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27830
- * @return {!proto.sniipbillapi.UserBillList.DataMessage}
27886
+ * @return {!proto.sniipbillapi.UserBillListResponse}
27831
27887
  */
27832
- proto.sniipbillapi.UserBillList.DataMessage.deserializeBinaryFromReader = function(msg, reader) {
27888
+ proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(msg, reader) {
27833
27889
  while (reader.nextField()) {
27834
27890
  if (reader.isEndGroup()) {
27835
27891
  break;
@@ -27837,22 +27893,14 @@ proto.sniipbillapi.UserBillList.DataMessage.deserializeBinaryFromReader = functi
27837
27893
  var field = reader.getFieldNumber();
27838
27894
  switch (field) {
27839
27895
  case 1:
27840
- var value = /** @type {number} */ (reader.readInt32());
27841
- msg.setLimit(value);
27896
+ var value = new proto.sniipbillapi.ResponseCode;
27897
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
27898
+ msg.setResponsecode(value);
27842
27899
  break;
27843
27900
  case 2:
27844
- var value = /** @type {number} */ (reader.readInt32());
27845
- msg.setPage(value);
27846
- break;
27847
- case 3:
27848
- var value = /** @type {number} */ (reader.readInt32());
27849
- msg.setTotal(value);
27850
- break;
27851
- case 4:
27852
- var value = new proto.sniipbillapi.BillDetail;
27853
- reader.readMessage(value,proto.sniipbillapi.BillDetail.deserializeBinaryFromReader);
27854
- msg.getBilllistList().push(value);
27855
- msg.setBilllistList(msg.getBilllistList());
27901
+ var value = new proto.sniipbillapi.UserBillListData;
27902
+ reader.readMessage(value,proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader);
27903
+ msg.setUserbilllistdata(value);
27856
27904
  break;
27857
27905
  default:
27858
27906
  reader.skipField();
@@ -27866,10 +27914,10 @@ proto.sniipbillapi.UserBillList.DataMessage.deserializeBinaryFromReader = functi
27866
27914
  /**
27867
27915
  * Class method variant: serializes the given message to binary data
27868
27916
  * (in protobuf wire format), writing to the given BinaryWriter.
27869
- * @param {!proto.sniipbillapi.UserBillList.DataMessage} message
27917
+ * @param {!proto.sniipbillapi.UserBillListResponse} message
27870
27918
  * @param {!jspb.BinaryWriter} writer
27871
27919
  */
27872
- proto.sniipbillapi.UserBillList.DataMessage.serializeBinaryToWriter = function(message, writer) {
27920
+ proto.sniipbillapi.UserBillListResponse.serializeBinaryToWriter = function(message, writer) {
27873
27921
  message.serializeBinaryToWriter(writer);
27874
27922
  };
27875
27923
 
@@ -27878,7 +27926,7 @@ proto.sniipbillapi.UserBillList.DataMessage.serializeBinaryToWriter = function(m
27878
27926
  * Serializes the message to binary data (in protobuf wire format).
27879
27927
  * @return {!Uint8Array}
27880
27928
  */
27881
- proto.sniipbillapi.UserBillList.DataMessage.prototype.serializeBinary = function() {
27929
+ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinary = function() {
27882
27930
  var writer = new jspb.BinaryWriter();
27883
27931
  this.serializeBinaryToWriter(writer);
27884
27932
  return writer.getResultBuffer();
@@ -27890,35 +27938,22 @@ proto.sniipbillapi.UserBillList.DataMessage.prototype.serializeBinary = function
27890
27938
  * writing to the given BinaryWriter.
27891
27939
  * @param {!jspb.BinaryWriter} writer
27892
27940
  */
27893
- proto.sniipbillapi.UserBillList.DataMessage.prototype.serializeBinaryToWriter = function (writer) {
27941
+ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinaryToWriter = function (writer) {
27894
27942
  var f = undefined;
27895
- f = this.getLimit();
27896
- if (f !== 0) {
27897
- writer.writeInt32(
27943
+ f = this.getResponsecode();
27944
+ if (f != null) {
27945
+ writer.writeMessage(
27898
27946
  1,
27899
- f
27947
+ f,
27948
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
27900
27949
  );
27901
27950
  }
27902
- f = this.getPage();
27903
- if (f !== 0) {
27904
- writer.writeInt32(
27951
+ f = this.getUserbilllistdata();
27952
+ if (f != null) {
27953
+ writer.writeMessage(
27905
27954
  2,
27906
- f
27907
- );
27908
- }
27909
- f = this.getTotal();
27910
- if (f !== 0) {
27911
- writer.writeInt32(
27912
- 3,
27913
- f
27914
- );
27915
- }
27916
- f = this.getBilllistList();
27917
- if (f.length > 0) {
27918
- writer.writeRepeatedMessage(
27919
- 4,
27920
27955
  f,
27921
- proto.sniipbillapi.BillDetail.serializeBinaryToWriter
27956
+ proto.sniipbillapi.UserBillListData.serializeBinaryToWriter
27922
27957
  );
27923
27958
  }
27924
27959
  };
@@ -27926,78 +27961,70 @@ proto.sniipbillapi.UserBillList.DataMessage.prototype.serializeBinaryToWriter =
27926
27961
 
27927
27962
  /**
27928
27963
  * Creates a deep clone of this proto. No data is shared with the original.
27929
- * @return {!proto.sniipbillapi.UserBillList.DataMessage} The clone.
27964
+ * @return {!proto.sniipbillapi.UserBillListResponse} The clone.
27930
27965
  */
27931
- proto.sniipbillapi.UserBillList.DataMessage.prototype.cloneMessage = function() {
27932
- return /** @type {!proto.sniipbillapi.UserBillList.DataMessage} */ (jspb.Message.cloneMessage(this));
27966
+ proto.sniipbillapi.UserBillListResponse.prototype.cloneMessage = function() {
27967
+ return /** @type {!proto.sniipbillapi.UserBillListResponse} */ (jspb.Message.cloneMessage(this));
27933
27968
  };
27934
27969
 
27935
27970
 
27936
27971
  /**
27937
- * optional int32 limit = 1;
27938
- * @return {number}
27972
+ * optional ResponseCode responseCode = 1;
27973
+ * @return {proto.sniipbillapi.ResponseCode}
27939
27974
  */
27940
- proto.sniipbillapi.UserBillList.DataMessage.prototype.getLimit = function() {
27941
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
27942
- };
27943
-
27944
-
27945
- /** @param {number} value */
27946
- proto.sniipbillapi.UserBillList.DataMessage.prototype.setLimit = function(value) {
27947
- jspb.Message.setField(this, 1, value);
27975
+ proto.sniipbillapi.UserBillListResponse.prototype.getResponsecode = function() {
27976
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
27977
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
27948
27978
  };
27949
27979
 
27950
27980
 
27951
- /**
27952
- * optional int32 page = 2;
27953
- * @return {number}
27954
- */
27955
- proto.sniipbillapi.UserBillList.DataMessage.prototype.getPage = function() {
27956
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
27981
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
27982
+ proto.sniipbillapi.UserBillListResponse.prototype.setResponsecode = function(value) {
27983
+ jspb.Message.setWrapperField(this, 1, value);
27957
27984
  };
27958
27985
 
27959
27986
 
27960
- /** @param {number} value */
27961
- proto.sniipbillapi.UserBillList.DataMessage.prototype.setPage = function(value) {
27962
- jspb.Message.setField(this, 2, value);
27987
+ proto.sniipbillapi.UserBillListResponse.prototype.clearResponsecode = function() {
27988
+ this.setResponsecode(undefined);
27963
27989
  };
27964
27990
 
27965
27991
 
27966
27992
  /**
27967
- * optional int32 total = 3;
27968
- * @return {number}
27993
+ * Returns whether this field is set.
27994
+ * @return{!boolean}
27969
27995
  */
27970
- proto.sniipbillapi.UserBillList.DataMessage.prototype.getTotal = function() {
27971
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
27996
+ proto.sniipbillapi.UserBillListResponse.prototype.hasResponsecode = function() {
27997
+ return jspb.Message.getField(this, 1) != null;
27972
27998
  };
27973
27999
 
27974
28000
 
27975
- /** @param {number} value */
27976
- proto.sniipbillapi.UserBillList.DataMessage.prototype.setTotal = function(value) {
27977
- jspb.Message.setField(this, 3, value);
28001
+ /**
28002
+ * optional UserBillListData userBillListData = 2;
28003
+ * @return {proto.sniipbillapi.UserBillListData}
28004
+ */
28005
+ proto.sniipbillapi.UserBillListResponse.prototype.getUserbilllistdata = function() {
28006
+ return /** @type{proto.sniipbillapi.UserBillListData} */ (
28007
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillListData, 2));
27978
28008
  };
27979
28009
 
27980
28010
 
27981
- /**
27982
- * repeated BillDetail billList = 4;
27983
- * If you change this array by adding, removing or replacing elements, or if you
27984
- * replace the array itself, then you must call the setter to update it.
27985
- * @return {!Array.<!proto.sniipbillapi.BillDetail>}
27986
- */
27987
- proto.sniipbillapi.UserBillList.DataMessage.prototype.getBilllistList = function() {
27988
- return /** @type{!Array.<!proto.sniipbillapi.BillDetail>} */ (
27989
- jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillDetail, 4));
28011
+ /** @param {proto.sniipbillapi.UserBillListData|undefined} value */
28012
+ proto.sniipbillapi.UserBillListResponse.prototype.setUserbilllistdata = function(value) {
28013
+ jspb.Message.setWrapperField(this, 2, value);
27990
28014
  };
27991
28015
 
27992
28016
 
27993
- /** @param {Array.<!proto.sniipbillapi.BillDetail>} value */
27994
- proto.sniipbillapi.UserBillList.DataMessage.prototype.setBilllistList = function(value) {
27995
- jspb.Message.setRepeatedWrapperField(this, 4, value);
28017
+ proto.sniipbillapi.UserBillListResponse.prototype.clearUserbilllistdata = function() {
28018
+ this.setUserbilllistdata(undefined);
27996
28019
  };
27997
28020
 
27998
28021
 
27999
- proto.sniipbillapi.UserBillList.DataMessage.prototype.clearBilllistList = function() {
28000
- this.setBilllistList([]);
28022
+ /**
28023
+ * Returns whether this field is set.
28024
+ * @return{!boolean}
28025
+ */
28026
+ proto.sniipbillapi.UserBillListResponse.prototype.hasUserbilllistdata = function() {
28027
+ return jspb.Message.getField(this, 2) != null;
28001
28028
  };
28002
28029
 
28003
28030
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "22.10.8700",
3
+ "version": "22.10.8715",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",