@sniipwebmaster/bill-service-client-grpcweb 25.11.14637 → 26.1.14658

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.
@@ -194,7 +194,6 @@ goog.exportSymbol('proto.sniipbillapi.VerifyBankAccountDetailsResponse', null, g
194
194
  goog.exportSymbol('proto.sniipbillapi.VerifySmeBillerConfigRequest', null, global);
195
195
  goog.exportSymbol('proto.sniipbillapi.VerifySmeBillerConfigResponse', null, global);
196
196
  goog.exportSymbol('proto.sniipbillapi.VirtualBill', null, global);
197
- goog.exportSymbol('proto.sniipbillapi.VirtualBillExtended', null, global);
198
197
  goog.exportSymbol('proto.sniipbillapi.VirtualBillRequest', null, global);
199
198
  goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
200
199
  goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceResponse', null, global);
@@ -702,27 +701,6 @@ if (goog.DEBUG && !COMPILED) {
702
701
  */
703
702
  proto.sniipbillapi.VirtualBill.displayName = 'proto.sniipbillapi.VirtualBill';
704
703
  }
705
- /**
706
- * Generated by JsPbCodeGenerator.
707
- * @param {Array=} opt_data Optional initial data array, typically from a
708
- * server response, or constructed directly in Javascript. The array is used
709
- * in place and becomes part of the constructed object. It is not cloned.
710
- * If no data is provided, the constructed object will be empty, but still
711
- * valid.
712
- * @extends {jspb.Message}
713
- * @constructor
714
- */
715
- proto.sniipbillapi.VirtualBillExtended = function(opt_data) {
716
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
717
- };
718
- goog.inherits(proto.sniipbillapi.VirtualBillExtended, jspb.Message);
719
- if (goog.DEBUG && !COMPILED) {
720
- /**
721
- * @public
722
- * @override
723
- */
724
- proto.sniipbillapi.VirtualBillExtended.displayName = 'proto.sniipbillapi.VirtualBillExtended';
725
- }
726
704
  /**
727
705
  * Generated by JsPbCodeGenerator.
728
706
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13410,7 +13388,9 @@ proto.sniipbillapi.VirtualBill.toObject = function(includeInstance, msg) {
13410
13388
  description: jspb.Message.getFieldWithDefault(msg, 11, ""),
13411
13389
  bsb: jspb.Message.getFieldWithDefault(msg, 12, ""),
13412
13390
  accountnumber: jspb.Message.getFieldWithDefault(msg, 13, ""),
13413
- recordid: jspb.Message.getFieldWithDefault(msg, 14, 0)
13391
+ recordid: jspb.Message.getFieldWithDefault(msg, 14, 0),
13392
+ bankname: jspb.Message.getFieldWithDefault(msg, 15, ""),
13393
+ employeeinfo: (f = msg.getEmployeeinfo()) && proto.sniipbillapi.EmployeeInfo.toObject(includeInstance, f)
13414
13394
  };
13415
13395
 
13416
13396
  if (includeInstance) {
@@ -13499,6 +13479,15 @@ proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader = function(msg, reade
13499
13479
  var value = /** @type {number} */ (reader.readInt64());
13500
13480
  msg.setRecordid(value);
13501
13481
  break;
13482
+ case 15:
13483
+ var value = /** @type {string} */ (reader.readString());
13484
+ msg.setBankname(value);
13485
+ break;
13486
+ case 16:
13487
+ var value = new proto.sniipbillapi.EmployeeInfo;
13488
+ reader.readMessage(value,proto.sniipbillapi.EmployeeInfo.deserializeBinaryFromReader);
13489
+ msg.setEmployeeinfo(value);
13490
+ break;
13502
13491
  default:
13503
13492
  reader.skipField();
13504
13493
  break;
@@ -13619,6 +13608,21 @@ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter = function(message, write
13619
13608
  f
13620
13609
  );
13621
13610
  }
13611
+ f = message.getBankname();
13612
+ if (f.length > 0) {
13613
+ writer.writeString(
13614
+ 15,
13615
+ f
13616
+ );
13617
+ }
13618
+ f = message.getEmployeeinfo();
13619
+ if (f != null) {
13620
+ writer.writeMessage(
13621
+ 16,
13622
+ f,
13623
+ proto.sniipbillapi.EmployeeInfo.serializeBinaryToWriter
13624
+ );
13625
+ }
13622
13626
  };
13623
13627
 
13624
13628
 
@@ -13856,6 +13860,61 @@ proto.sniipbillapi.VirtualBill.prototype.setRecordid = function(value) {
13856
13860
  };
13857
13861
 
13858
13862
 
13863
+ /**
13864
+ * optional string bankName = 15;
13865
+ * @return {string}
13866
+ */
13867
+ proto.sniipbillapi.VirtualBill.prototype.getBankname = function() {
13868
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
13869
+ };
13870
+
13871
+
13872
+ /**
13873
+ * @param {string} value
13874
+ * @return {!proto.sniipbillapi.VirtualBill} returns this
13875
+ */
13876
+ proto.sniipbillapi.VirtualBill.prototype.setBankname = function(value) {
13877
+ return jspb.Message.setProto3StringField(this, 15, value);
13878
+ };
13879
+
13880
+
13881
+ /**
13882
+ * optional EmployeeInfo employeeInfo = 16;
13883
+ * @return {?proto.sniipbillapi.EmployeeInfo}
13884
+ */
13885
+ proto.sniipbillapi.VirtualBill.prototype.getEmployeeinfo = function() {
13886
+ return /** @type{?proto.sniipbillapi.EmployeeInfo} */ (
13887
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.EmployeeInfo, 16));
13888
+ };
13889
+
13890
+
13891
+ /**
13892
+ * @param {?proto.sniipbillapi.EmployeeInfo|undefined} value
13893
+ * @return {!proto.sniipbillapi.VirtualBill} returns this
13894
+ */
13895
+ proto.sniipbillapi.VirtualBill.prototype.setEmployeeinfo = function(value) {
13896
+ return jspb.Message.setWrapperField(this, 16, value);
13897
+ };
13898
+
13899
+
13900
+ /**
13901
+ * Clears the message field making it undefined.
13902
+ * @return {!proto.sniipbillapi.VirtualBill} returns this
13903
+ */
13904
+ proto.sniipbillapi.VirtualBill.prototype.clearEmployeeinfo = function() {
13905
+ return this.setEmployeeinfo(undefined);
13906
+ };
13907
+
13908
+
13909
+ /**
13910
+ * Returns whether this field is set.
13911
+ * @return {boolean}
13912
+ */
13913
+ proto.sniipbillapi.VirtualBill.prototype.hasEmployeeinfo = function() {
13914
+ return jspb.Message.getField(this, 16) != null;
13915
+ };
13916
+
13917
+
13859
13918
 
13860
13919
 
13861
13920
 
@@ -13872,8 +13931,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
13872
13931
  * http://goto/soy-param-migration
13873
13932
  * @return {!Object}
13874
13933
  */
13875
- proto.sniipbillapi.VirtualBillExtended.prototype.toObject = function(opt_includeInstance) {
13876
- return proto.sniipbillapi.VirtualBillExtended.toObject(opt_includeInstance, this);
13934
+ proto.sniipbillapi.EmployeeInfo.prototype.toObject = function(opt_includeInstance) {
13935
+ return proto.sniipbillapi.EmployeeInfo.toObject(opt_includeInstance, this);
13877
13936
  };
13878
13937
 
13879
13938
 
@@ -13882,27 +13941,15 @@ proto.sniipbillapi.VirtualBillExtended.prototype.toObject = function(opt_include
13882
13941
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13883
13942
  * the JSPB instance for transitional soy proto support:
13884
13943
  * http://goto/soy-param-migration
13885
- * @param {!proto.sniipbillapi.VirtualBillExtended} msg The msg instance to transform.
13944
+ * @param {!proto.sniipbillapi.EmployeeInfo} msg The msg instance to transform.
13886
13945
  * @return {!Object}
13887
13946
  * @suppress {unusedLocalVariables} f is only used for nested messages
13888
13947
  */
13889
- proto.sniipbillapi.VirtualBillExtended.toObject = function(includeInstance, msg) {
13948
+ proto.sniipbillapi.EmployeeInfo.toObject = function(includeInstance, msg) {
13890
13949
  var f, obj = {
13891
- virtualbillid: jspb.Message.getFieldWithDefault(msg, 1, 0),
13892
- billid: jspb.Message.getFieldWithDefault(msg, 2, 0),
13893
- amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
13894
- billercode: jspb.Message.getFieldWithDefault(msg, 5, ""),
13895
- billerconfigid: jspb.Message.getFieldWithDefault(msg, 6, 0),
13896
- reference: jspb.Message.getFieldWithDefault(msg, 7, ""),
13897
- bankaccountname: jspb.Message.getFieldWithDefault(msg, 8, ""),
13898
- invoicenumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
13899
- paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, ""),
13900
- description: jspb.Message.getFieldWithDefault(msg, 11, ""),
13901
- bankname: jspb.Message.getFieldWithDefault(msg, 12, ""),
13902
- bsb: jspb.Message.getFieldWithDefault(msg, 13, ""),
13903
- accountnumber: jspb.Message.getFieldWithDefault(msg, 14, ""),
13904
- employeeinfo: (f = msg.getEmployeeinfo()) && proto.sniipbillapi.EmployeeInfo.toObject(includeInstance, f),
13905
- recordid: jspb.Message.getFieldWithDefault(msg, 16, 0)
13950
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
13951
+ tfn: jspb.Message.getFieldWithDefault(msg, 2, ""),
13952
+ employeenumber: jspb.Message.getFieldWithDefault(msg, 3, "")
13906
13953
  };
13907
13954
 
13908
13955
  if (includeInstance) {
@@ -13916,23 +13963,23 @@ proto.sniipbillapi.VirtualBillExtended.toObject = function(includeInstance, msg)
13916
13963
  /**
13917
13964
  * Deserializes binary data (in protobuf wire format).
13918
13965
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
13919
- * @return {!proto.sniipbillapi.VirtualBillExtended}
13966
+ * @return {!proto.sniipbillapi.EmployeeInfo}
13920
13967
  */
13921
- proto.sniipbillapi.VirtualBillExtended.deserializeBinary = function(bytes) {
13968
+ proto.sniipbillapi.EmployeeInfo.deserializeBinary = function(bytes) {
13922
13969
  var reader = new jspb.BinaryReader(bytes);
13923
- var msg = new proto.sniipbillapi.VirtualBillExtended;
13924
- return proto.sniipbillapi.VirtualBillExtended.deserializeBinaryFromReader(msg, reader);
13970
+ var msg = new proto.sniipbillapi.EmployeeInfo;
13971
+ return proto.sniipbillapi.EmployeeInfo.deserializeBinaryFromReader(msg, reader);
13925
13972
  };
13926
13973
 
13927
13974
 
13928
13975
  /**
13929
13976
  * Deserializes binary data (in protobuf wire format) from the
13930
13977
  * given reader into the given message object.
13931
- * @param {!proto.sniipbillapi.VirtualBillExtended} msg The message object to deserialize into.
13978
+ * @param {!proto.sniipbillapi.EmployeeInfo} msg The message object to deserialize into.
13932
13979
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13933
- * @return {!proto.sniipbillapi.VirtualBillExtended}
13980
+ * @return {!proto.sniipbillapi.EmployeeInfo}
13934
13981
  */
13935
- proto.sniipbillapi.VirtualBillExtended.deserializeBinaryFromReader = function(msg, reader) {
13982
+ proto.sniipbillapi.EmployeeInfo.deserializeBinaryFromReader = function(msg, reader) {
13936
13983
  while (reader.nextField()) {
13937
13984
  if (reader.isEndGroup()) {
13938
13985
  break;
@@ -13940,65 +13987,16 @@ proto.sniipbillapi.VirtualBillExtended.deserializeBinaryFromReader = function(ms
13940
13987
  var field = reader.getFieldNumber();
13941
13988
  switch (field) {
13942
13989
  case 1:
13943
- var value = /** @type {number} */ (reader.readInt64());
13944
- msg.setVirtualbillid(value);
13945
- break;
13946
- case 2:
13947
- var value = /** @type {number} */ (reader.readInt64());
13948
- msg.setBillid(value);
13949
- break;
13950
- case 3:
13951
- var value = /** @type {number} */ (reader.readDouble());
13952
- msg.setAmount(value);
13953
- break;
13954
- case 5:
13955
- var value = /** @type {string} */ (reader.readString());
13956
- msg.setBillercode(value);
13957
- break;
13958
- case 6:
13959
- var value = /** @type {number} */ (reader.readInt64());
13960
- msg.setBillerconfigid(value);
13961
- break;
13962
- case 7:
13963
- var value = /** @type {string} */ (reader.readString());
13964
- msg.setReference(value);
13965
- break;
13966
- case 8:
13967
- var value = /** @type {string} */ (reader.readString());
13968
- msg.setBankaccountname(value);
13969
- break;
13970
- case 9:
13971
- var value = /** @type {string} */ (reader.readString());
13972
- msg.setInvoicenumber(value);
13973
- break;
13974
- case 10:
13975
- var value = /** @type {string} */ (reader.readString());
13976
- msg.setPaymentprocessor(value);
13977
- break;
13978
- case 11:
13979
- var value = /** @type {string} */ (reader.readString());
13980
- msg.setDescription(value);
13981
- break;
13982
- case 12:
13983
13990
  var value = /** @type {string} */ (reader.readString());
13984
- msg.setBankname(value);
13991
+ msg.setName(value);
13985
13992
  break;
13986
- case 13:
13993
+ case 2:
13987
13994
  var value = /** @type {string} */ (reader.readString());
13988
- msg.setBsb(value);
13995
+ msg.setTfn(value);
13989
13996
  break;
13990
- case 14:
13997
+ case 3:
13991
13998
  var value = /** @type {string} */ (reader.readString());
13992
- msg.setAccountnumber(value);
13993
- break;
13994
- case 15:
13995
- var value = new proto.sniipbillapi.EmployeeInfo;
13996
- reader.readMessage(value,proto.sniipbillapi.EmployeeInfo.deserializeBinaryFromReader);
13997
- msg.setEmployeeinfo(value);
13998
- break;
13999
- case 16:
14000
- var value = /** @type {number} */ (reader.readInt64());
14001
- msg.setRecordid(value);
13999
+ msg.setEmployeenumber(value);
14002
14000
  break;
14003
14001
  default:
14004
14002
  reader.skipField();
@@ -14013,9 +14011,9 @@ proto.sniipbillapi.VirtualBillExtended.deserializeBinaryFromReader = function(ms
14013
14011
  * Serializes the message to binary data (in protobuf wire format).
14014
14012
  * @return {!Uint8Array}
14015
14013
  */
14016
- proto.sniipbillapi.VirtualBillExtended.prototype.serializeBinary = function() {
14014
+ proto.sniipbillapi.EmployeeInfo.prototype.serializeBinary = function() {
14017
14015
  var writer = new jspb.BinaryWriter();
14018
- proto.sniipbillapi.VirtualBillExtended.serializeBinaryToWriter(this, writer);
14016
+ proto.sniipbillapi.EmployeeInfo.serializeBinaryToWriter(this, writer);
14019
14017
  return writer.getResultBuffer();
14020
14018
  };
14021
14019
 
@@ -14023,540 +14021,30 @@ proto.sniipbillapi.VirtualBillExtended.prototype.serializeBinary = function() {
14023
14021
  /**
14024
14022
  * Serializes the given message to binary data (in protobuf wire
14025
14023
  * format), writing to the given BinaryWriter.
14026
- * @param {!proto.sniipbillapi.VirtualBillExtended} message
14024
+ * @param {!proto.sniipbillapi.EmployeeInfo} message
14027
14025
  * @param {!jspb.BinaryWriter} writer
14028
14026
  * @suppress {unusedLocalVariables} f is only used for nested messages
14029
14027
  */
14030
- proto.sniipbillapi.VirtualBillExtended.serializeBinaryToWriter = function(message, writer) {
14028
+ proto.sniipbillapi.EmployeeInfo.serializeBinaryToWriter = function(message, writer) {
14031
14029
  var f = undefined;
14032
- f = message.getVirtualbillid();
14033
- if (f !== 0) {
14034
- writer.writeInt64(
14035
- 1,
14036
- f
14037
- );
14038
- }
14039
- f = message.getBillid();
14040
- if (f !== 0) {
14041
- writer.writeInt64(
14042
- 2,
14043
- f
14044
- );
14045
- }
14046
- f = message.getAmount();
14047
- if (f !== 0.0) {
14048
- writer.writeDouble(
14049
- 3,
14050
- f
14051
- );
14052
- }
14053
- f = message.getBillercode();
14054
- if (f.length > 0) {
14055
- writer.writeString(
14056
- 5,
14057
- f
14058
- );
14059
- }
14060
- f = message.getBillerconfigid();
14061
- if (f !== 0) {
14062
- writer.writeInt64(
14063
- 6,
14064
- f
14065
- );
14066
- }
14067
- f = message.getReference();
14068
- if (f.length > 0) {
14069
- writer.writeString(
14070
- 7,
14071
- f
14072
- );
14073
- }
14074
- f = message.getBankaccountname();
14075
- if (f.length > 0) {
14076
- writer.writeString(
14077
- 8,
14078
- f
14079
- );
14080
- }
14081
- f = message.getInvoicenumber();
14082
- if (f.length > 0) {
14083
- writer.writeString(
14084
- 9,
14085
- f
14086
- );
14087
- }
14088
- f = message.getPaymentprocessor();
14089
- if (f.length > 0) {
14090
- writer.writeString(
14091
- 10,
14092
- f
14093
- );
14094
- }
14095
- f = message.getDescription();
14096
- if (f.length > 0) {
14097
- writer.writeString(
14098
- 11,
14099
- f
14100
- );
14101
- }
14102
- f = message.getBankname();
14030
+ f = message.getName();
14103
14031
  if (f.length > 0) {
14104
14032
  writer.writeString(
14105
- 12,
14033
+ 1,
14106
14034
  f
14107
14035
  );
14108
14036
  }
14109
- f = message.getBsb();
14037
+ f = message.getTfn();
14110
14038
  if (f.length > 0) {
14111
14039
  writer.writeString(
14112
- 13,
14040
+ 2,
14113
14041
  f
14114
14042
  );
14115
14043
  }
14116
- f = message.getAccountnumber();
14044
+ f = message.getEmployeenumber();
14117
14045
  if (f.length > 0) {
14118
14046
  writer.writeString(
14119
- 14,
14120
- f
14121
- );
14122
- }
14123
- f = message.getEmployeeinfo();
14124
- if (f != null) {
14125
- writer.writeMessage(
14126
- 15,
14127
- f,
14128
- proto.sniipbillapi.EmployeeInfo.serializeBinaryToWriter
14129
- );
14130
- }
14131
- f = message.getRecordid();
14132
- if (f !== 0) {
14133
- writer.writeInt64(
14134
- 16,
14135
- f
14136
- );
14137
- }
14138
- };
14139
-
14140
-
14141
- /**
14142
- * optional int64 virtualBillId = 1;
14143
- * @return {number}
14144
- */
14145
- proto.sniipbillapi.VirtualBillExtended.prototype.getVirtualbillid = function() {
14146
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
14147
- };
14148
-
14149
-
14150
- /**
14151
- * @param {number} value
14152
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14153
- */
14154
- proto.sniipbillapi.VirtualBillExtended.prototype.setVirtualbillid = function(value) {
14155
- return jspb.Message.setProto3IntField(this, 1, value);
14156
- };
14157
-
14158
-
14159
- /**
14160
- * optional int64 billId = 2;
14161
- * @return {number}
14162
- */
14163
- proto.sniipbillapi.VirtualBillExtended.prototype.getBillid = function() {
14164
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
14165
- };
14166
-
14167
-
14168
- /**
14169
- * @param {number} value
14170
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14171
- */
14172
- proto.sniipbillapi.VirtualBillExtended.prototype.setBillid = function(value) {
14173
- return jspb.Message.setProto3IntField(this, 2, value);
14174
- };
14175
-
14176
-
14177
- /**
14178
- * optional double amount = 3;
14179
- * @return {number}
14180
- */
14181
- proto.sniipbillapi.VirtualBillExtended.prototype.getAmount = function() {
14182
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
14183
- };
14184
-
14185
-
14186
- /**
14187
- * @param {number} value
14188
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14189
- */
14190
- proto.sniipbillapi.VirtualBillExtended.prototype.setAmount = function(value) {
14191
- return jspb.Message.setProto3FloatField(this, 3, value);
14192
- };
14193
-
14194
-
14195
- /**
14196
- * optional string billerCode = 5;
14197
- * @return {string}
14198
- */
14199
- proto.sniipbillapi.VirtualBillExtended.prototype.getBillercode = function() {
14200
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
14201
- };
14202
-
14203
-
14204
- /**
14205
- * @param {string} value
14206
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14207
- */
14208
- proto.sniipbillapi.VirtualBillExtended.prototype.setBillercode = function(value) {
14209
- return jspb.Message.setProto3StringField(this, 5, value);
14210
- };
14211
-
14212
-
14213
- /**
14214
- * optional int64 billerConfigId = 6;
14215
- * @return {number}
14216
- */
14217
- proto.sniipbillapi.VirtualBillExtended.prototype.getBillerconfigid = function() {
14218
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
14219
- };
14220
-
14221
-
14222
- /**
14223
- * @param {number} value
14224
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14225
- */
14226
- proto.sniipbillapi.VirtualBillExtended.prototype.setBillerconfigid = function(value) {
14227
- return jspb.Message.setProto3IntField(this, 6, value);
14228
- };
14229
-
14230
-
14231
- /**
14232
- * optional string reference = 7;
14233
- * @return {string}
14234
- */
14235
- proto.sniipbillapi.VirtualBillExtended.prototype.getReference = function() {
14236
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
14237
- };
14238
-
14239
-
14240
- /**
14241
- * @param {string} value
14242
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14243
- */
14244
- proto.sniipbillapi.VirtualBillExtended.prototype.setReference = function(value) {
14245
- return jspb.Message.setProto3StringField(this, 7, value);
14246
- };
14247
-
14248
-
14249
- /**
14250
- * optional string bankAccountName = 8;
14251
- * @return {string}
14252
- */
14253
- proto.sniipbillapi.VirtualBillExtended.prototype.getBankaccountname = function() {
14254
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
14255
- };
14256
-
14257
-
14258
- /**
14259
- * @param {string} value
14260
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14261
- */
14262
- proto.sniipbillapi.VirtualBillExtended.prototype.setBankaccountname = function(value) {
14263
- return jspb.Message.setProto3StringField(this, 8, value);
14264
- };
14265
-
14266
-
14267
- /**
14268
- * optional string invoiceNumber = 9;
14269
- * @return {string}
14270
- */
14271
- proto.sniipbillapi.VirtualBillExtended.prototype.getInvoicenumber = function() {
14272
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
14273
- };
14274
-
14275
-
14276
- /**
14277
- * @param {string} value
14278
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14279
- */
14280
- proto.sniipbillapi.VirtualBillExtended.prototype.setInvoicenumber = function(value) {
14281
- return jspb.Message.setProto3StringField(this, 9, value);
14282
- };
14283
-
14284
-
14285
- /**
14286
- * optional string paymentProcessor = 10;
14287
- * @return {string}
14288
- */
14289
- proto.sniipbillapi.VirtualBillExtended.prototype.getPaymentprocessor = function() {
14290
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
14291
- };
14292
-
14293
-
14294
- /**
14295
- * @param {string} value
14296
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14297
- */
14298
- proto.sniipbillapi.VirtualBillExtended.prototype.setPaymentprocessor = function(value) {
14299
- return jspb.Message.setProto3StringField(this, 10, value);
14300
- };
14301
-
14302
-
14303
- /**
14304
- * optional string description = 11;
14305
- * @return {string}
14306
- */
14307
- proto.sniipbillapi.VirtualBillExtended.prototype.getDescription = function() {
14308
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
14309
- };
14310
-
14311
-
14312
- /**
14313
- * @param {string} value
14314
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14315
- */
14316
- proto.sniipbillapi.VirtualBillExtended.prototype.setDescription = function(value) {
14317
- return jspb.Message.setProto3StringField(this, 11, value);
14318
- };
14319
-
14320
-
14321
- /**
14322
- * optional string bankName = 12;
14323
- * @return {string}
14324
- */
14325
- proto.sniipbillapi.VirtualBillExtended.prototype.getBankname = function() {
14326
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
14327
- };
14328
-
14329
-
14330
- /**
14331
- * @param {string} value
14332
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14333
- */
14334
- proto.sniipbillapi.VirtualBillExtended.prototype.setBankname = function(value) {
14335
- return jspb.Message.setProto3StringField(this, 12, value);
14336
- };
14337
-
14338
-
14339
- /**
14340
- * optional string bsb = 13;
14341
- * @return {string}
14342
- */
14343
- proto.sniipbillapi.VirtualBillExtended.prototype.getBsb = function() {
14344
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
14345
- };
14346
-
14347
-
14348
- /**
14349
- * @param {string} value
14350
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14351
- */
14352
- proto.sniipbillapi.VirtualBillExtended.prototype.setBsb = function(value) {
14353
- return jspb.Message.setProto3StringField(this, 13, value);
14354
- };
14355
-
14356
-
14357
- /**
14358
- * optional string accountNumber = 14;
14359
- * @return {string}
14360
- */
14361
- proto.sniipbillapi.VirtualBillExtended.prototype.getAccountnumber = function() {
14362
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
14363
- };
14364
-
14365
-
14366
- /**
14367
- * @param {string} value
14368
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14369
- */
14370
- proto.sniipbillapi.VirtualBillExtended.prototype.setAccountnumber = function(value) {
14371
- return jspb.Message.setProto3StringField(this, 14, value);
14372
- };
14373
-
14374
-
14375
- /**
14376
- * optional EmployeeInfo employeeInfo = 15;
14377
- * @return {?proto.sniipbillapi.EmployeeInfo}
14378
- */
14379
- proto.sniipbillapi.VirtualBillExtended.prototype.getEmployeeinfo = function() {
14380
- return /** @type{?proto.sniipbillapi.EmployeeInfo} */ (
14381
- jspb.Message.getWrapperField(this, proto.sniipbillapi.EmployeeInfo, 15));
14382
- };
14383
-
14384
-
14385
- /**
14386
- * @param {?proto.sniipbillapi.EmployeeInfo|undefined} value
14387
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14388
- */
14389
- proto.sniipbillapi.VirtualBillExtended.prototype.setEmployeeinfo = function(value) {
14390
- return jspb.Message.setWrapperField(this, 15, value);
14391
- };
14392
-
14393
-
14394
- /**
14395
- * Clears the message field making it undefined.
14396
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14397
- */
14398
- proto.sniipbillapi.VirtualBillExtended.prototype.clearEmployeeinfo = function() {
14399
- return this.setEmployeeinfo(undefined);
14400
- };
14401
-
14402
-
14403
- /**
14404
- * Returns whether this field is set.
14405
- * @return {boolean}
14406
- */
14407
- proto.sniipbillapi.VirtualBillExtended.prototype.hasEmployeeinfo = function() {
14408
- return jspb.Message.getField(this, 15) != null;
14409
- };
14410
-
14411
-
14412
- /**
14413
- * optional int64 recordId = 16;
14414
- * @return {number}
14415
- */
14416
- proto.sniipbillapi.VirtualBillExtended.prototype.getRecordid = function() {
14417
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
14418
- };
14419
-
14420
-
14421
- /**
14422
- * @param {number} value
14423
- * @return {!proto.sniipbillapi.VirtualBillExtended} returns this
14424
- */
14425
- proto.sniipbillapi.VirtualBillExtended.prototype.setRecordid = function(value) {
14426
- return jspb.Message.setProto3IntField(this, 16, value);
14427
- };
14428
-
14429
-
14430
-
14431
-
14432
-
14433
- if (jspb.Message.GENERATE_TO_OBJECT) {
14434
- /**
14435
- * Creates an object representation of this proto.
14436
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
14437
- * Optional fields that are not set will be set to undefined.
14438
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14439
- * For the list of reserved names please see:
14440
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14441
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14442
- * JSPB instance for transitional soy proto support:
14443
- * http://goto/soy-param-migration
14444
- * @return {!Object}
14445
- */
14446
- proto.sniipbillapi.EmployeeInfo.prototype.toObject = function(opt_includeInstance) {
14447
- return proto.sniipbillapi.EmployeeInfo.toObject(opt_includeInstance, this);
14448
- };
14449
-
14450
-
14451
- /**
14452
- * Static version of the {@see toObject} method.
14453
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14454
- * the JSPB instance for transitional soy proto support:
14455
- * http://goto/soy-param-migration
14456
- * @param {!proto.sniipbillapi.EmployeeInfo} msg The msg instance to transform.
14457
- * @return {!Object}
14458
- * @suppress {unusedLocalVariables} f is only used for nested messages
14459
- */
14460
- proto.sniipbillapi.EmployeeInfo.toObject = function(includeInstance, msg) {
14461
- var f, obj = {
14462
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
14463
- tfn: jspb.Message.getFieldWithDefault(msg, 2, ""),
14464
- employeenumber: jspb.Message.getFieldWithDefault(msg, 3, "")
14465
- };
14466
-
14467
- if (includeInstance) {
14468
- obj.$jspbMessageInstance = msg;
14469
- }
14470
- return obj;
14471
- };
14472
- }
14473
-
14474
-
14475
- /**
14476
- * Deserializes binary data (in protobuf wire format).
14477
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
14478
- * @return {!proto.sniipbillapi.EmployeeInfo}
14479
- */
14480
- proto.sniipbillapi.EmployeeInfo.deserializeBinary = function(bytes) {
14481
- var reader = new jspb.BinaryReader(bytes);
14482
- var msg = new proto.sniipbillapi.EmployeeInfo;
14483
- return proto.sniipbillapi.EmployeeInfo.deserializeBinaryFromReader(msg, reader);
14484
- };
14485
-
14486
-
14487
- /**
14488
- * Deserializes binary data (in protobuf wire format) from the
14489
- * given reader into the given message object.
14490
- * @param {!proto.sniipbillapi.EmployeeInfo} msg The message object to deserialize into.
14491
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14492
- * @return {!proto.sniipbillapi.EmployeeInfo}
14493
- */
14494
- proto.sniipbillapi.EmployeeInfo.deserializeBinaryFromReader = function(msg, reader) {
14495
- while (reader.nextField()) {
14496
- if (reader.isEndGroup()) {
14497
- break;
14498
- }
14499
- var field = reader.getFieldNumber();
14500
- switch (field) {
14501
- case 1:
14502
- var value = /** @type {string} */ (reader.readString());
14503
- msg.setName(value);
14504
- break;
14505
- case 2:
14506
- var value = /** @type {string} */ (reader.readString());
14507
- msg.setTfn(value);
14508
- break;
14509
- case 3:
14510
- var value = /** @type {string} */ (reader.readString());
14511
- msg.setEmployeenumber(value);
14512
- break;
14513
- default:
14514
- reader.skipField();
14515
- break;
14516
- }
14517
- }
14518
- return msg;
14519
- };
14520
-
14521
-
14522
- /**
14523
- * Serializes the message to binary data (in protobuf wire format).
14524
- * @return {!Uint8Array}
14525
- */
14526
- proto.sniipbillapi.EmployeeInfo.prototype.serializeBinary = function() {
14527
- var writer = new jspb.BinaryWriter();
14528
- proto.sniipbillapi.EmployeeInfo.serializeBinaryToWriter(this, writer);
14529
- return writer.getResultBuffer();
14530
- };
14531
-
14532
-
14533
- /**
14534
- * Serializes the given message to binary data (in protobuf wire
14535
- * format), writing to the given BinaryWriter.
14536
- * @param {!proto.sniipbillapi.EmployeeInfo} message
14537
- * @param {!jspb.BinaryWriter} writer
14538
- * @suppress {unusedLocalVariables} f is only used for nested messages
14539
- */
14540
- proto.sniipbillapi.EmployeeInfo.serializeBinaryToWriter = function(message, writer) {
14541
- var f = undefined;
14542
- f = message.getName();
14543
- if (f.length > 0) {
14544
- writer.writeString(
14545
- 1,
14546
- f
14547
- );
14548
- }
14549
- f = message.getTfn();
14550
- if (f.length > 0) {
14551
- writer.writeString(
14552
- 2,
14553
- f
14554
- );
14555
- }
14556
- f = message.getEmployeenumber();
14557
- if (f.length > 0) {
14558
- writer.writeString(
14559
- 3,
14047
+ 3,
14560
14048
  f
14561
14049
  );
14562
14050
  }
@@ -17483,7 +16971,7 @@ proto.sniipbillapi.GetPayrollBatchContentToPayResponse.toObject = function(inclu
17483
16971
  responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
17484
16972
  billdetails: (f = msg.getBilldetails()) && proto.sniipbillapi.SimpleBillDetail.toObject(includeInstance, f),
17485
16973
  virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
17486
- proto.sniipbillapi.VirtualBillExtended.toObject, includeInstance)
16974
+ proto.sniipbillapi.VirtualBill.toObject, includeInstance)
17487
16975
  };
17488
16976
 
17489
16977
  if (includeInstance) {
@@ -17531,8 +17019,8 @@ proto.sniipbillapi.GetPayrollBatchContentToPayResponse.deserializeBinaryFromRead
17531
17019
  msg.setBilldetails(value);
17532
17020
  break;
17533
17021
  case 3:
17534
- var value = new proto.sniipbillapi.VirtualBillExtended;
17535
- reader.readMessage(value,proto.sniipbillapi.VirtualBillExtended.deserializeBinaryFromReader);
17022
+ var value = new proto.sniipbillapi.VirtualBill;
17023
+ reader.readMessage(value,proto.sniipbillapi.VirtualBill.deserializeBinaryFromReader);
17536
17024
  msg.addVirtualbills(value);
17537
17025
  break;
17538
17026
  default:
@@ -17585,7 +17073,7 @@ proto.sniipbillapi.GetPayrollBatchContentToPayResponse.serializeBinaryToWriter =
17585
17073
  writer.writeRepeatedMessage(
17586
17074
  3,
17587
17075
  f,
17588
- proto.sniipbillapi.VirtualBillExtended.serializeBinaryToWriter
17076
+ proto.sniipbillapi.VirtualBill.serializeBinaryToWriter
17589
17077
  );
17590
17078
  }
17591
17079
  };
@@ -17666,17 +17154,17 @@ proto.sniipbillapi.GetPayrollBatchContentToPayResponse.prototype.hasBilldetails
17666
17154
 
17667
17155
 
17668
17156
  /**
17669
- * repeated VirtualBillExtended virtualBills = 3;
17670
- * @return {!Array<!proto.sniipbillapi.VirtualBillExtended>}
17157
+ * repeated VirtualBill virtualBills = 3;
17158
+ * @return {!Array<!proto.sniipbillapi.VirtualBill>}
17671
17159
  */
17672
17160
  proto.sniipbillapi.GetPayrollBatchContentToPayResponse.prototype.getVirtualbillsList = function() {
17673
- return /** @type{!Array<!proto.sniipbillapi.VirtualBillExtended>} */ (
17674
- jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.VirtualBillExtended, 3));
17161
+ return /** @type{!Array<!proto.sniipbillapi.VirtualBill>} */ (
17162
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.VirtualBill, 3));
17675
17163
  };
17676
17164
 
17677
17165
 
17678
17166
  /**
17679
- * @param {!Array<!proto.sniipbillapi.VirtualBillExtended>} value
17167
+ * @param {!Array<!proto.sniipbillapi.VirtualBill>} value
17680
17168
  * @return {!proto.sniipbillapi.GetPayrollBatchContentToPayResponse} returns this
17681
17169
  */
17682
17170
  proto.sniipbillapi.GetPayrollBatchContentToPayResponse.prototype.setVirtualbillsList = function(value) {
@@ -17685,12 +17173,12 @@ proto.sniipbillapi.GetPayrollBatchContentToPayResponse.prototype.setVirtualbills
17685
17173
 
17686
17174
 
17687
17175
  /**
17688
- * @param {!proto.sniipbillapi.VirtualBillExtended=} opt_value
17176
+ * @param {!proto.sniipbillapi.VirtualBill=} opt_value
17689
17177
  * @param {number=} opt_index
17690
- * @return {!proto.sniipbillapi.VirtualBillExtended}
17178
+ * @return {!proto.sniipbillapi.VirtualBill}
17691
17179
  */
17692
17180
  proto.sniipbillapi.GetPayrollBatchContentToPayResponse.prototype.addVirtualbills = function(opt_value, opt_index) {
17693
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.sniipbillapi.VirtualBillExtended, opt_index);
17181
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.sniipbillapi.VirtualBill, opt_index);
17694
17182
  };
17695
17183
 
17696
17184
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "25.11.14637",
3
+ "version": "26.1.14658",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",