@sniipwebmaster/agent-billing-client-grpcweb 24.2.1555 → 24.2.1567

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.
@@ -1573,7 +1573,7 @@ if (goog.DEBUG && !COMPILED) {
1573
1573
  * @constructor
1574
1574
  */
1575
1575
  proto.agentbillingserviceapi.AgentBillTransaction = function(opt_data) {
1576
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1576
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.AgentBillTransaction.repeatedFields_, null);
1577
1577
  };
1578
1578
  goog.inherits(proto.agentbillingserviceapi.AgentBillTransaction, jspb.Message);
1579
1579
  if (goog.DEBUG && !COMPILED) {
@@ -17791,6 +17791,13 @@ proto.agentbillingserviceapi.UploadCsvResponse.prototype.setCsvid = function(val
17791
17791
 
17792
17792
 
17793
17793
 
17794
+ /**
17795
+ * List of repeated fields within this message type.
17796
+ * @private {!Array<number>}
17797
+ * @const
17798
+ */
17799
+ proto.agentbillingserviceapi.AgentBillTransaction.repeatedFields_ = [16];
17800
+
17794
17801
 
17795
17802
 
17796
17803
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -17833,18 +17840,12 @@ proto.agentbillingserviceapi.AgentBillTransaction.toObject = function(includeIns
17833
17840
  surcharge: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
17834
17841
  totalamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
17835
17842
  description: jspb.Message.getFieldWithDefault(msg, 11, ""),
17836
- invoicenumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
17837
- billercode: jspb.Message.getFieldWithDefault(msg, 13, ""),
17838
- bpayreference: jspb.Message.getFieldWithDefault(msg, 14, ""),
17839
- bsb: jspb.Message.getFieldWithDefault(msg, 15, ""),
17840
- accountnumber: jspb.Message.getFieldWithDefault(msg, 16, ""),
17841
- accountname: jspb.Message.getFieldWithDefault(msg, 17, ""),
17842
- smereference: jspb.Message.getFieldWithDefault(msg, 18, ""),
17843
- deliverybatchname: jspb.Message.getFieldWithDefault(msg, 19, ""),
17844
- settlementdate: jspb.Message.getFieldWithDefault(msg, 20, ""),
17845
- bpayreceiptid: jspb.Message.getFieldWithDefault(msg, 21, ""),
17846
- smereceiptid: jspb.Message.getFieldWithDefault(msg, 22, ""),
17847
- rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0)
17843
+ deliverybatchname: jspb.Message.getFieldWithDefault(msg, 12, ""),
17844
+ settlementdate: jspb.Message.getFieldWithDefault(msg, 13, ""),
17845
+ receiptid: jspb.Message.getFieldWithDefault(msg, 14, ""),
17846
+ rewardamount: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
17847
+ billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
17848
+ proto.agentbillingserviceapi.BillConfig.toObject, includeInstance)
17848
17849
  };
17849
17850
 
17850
17851
  if (includeInstance) {
@@ -17927,52 +17928,25 @@ proto.agentbillingserviceapi.AgentBillTransaction.deserializeBinaryFromReader =
17927
17928
  break;
17928
17929
  case 12:
17929
17930
  var value = /** @type {string} */ (reader.readString());
17930
- msg.setInvoicenumber(value);
17931
+ msg.setDeliverybatchname(value);
17931
17932
  break;
17932
17933
  case 13:
17933
17934
  var value = /** @type {string} */ (reader.readString());
17934
- msg.setBillercode(value);
17935
+ msg.setSettlementdate(value);
17935
17936
  break;
17936
17937
  case 14:
17937
17938
  var value = /** @type {string} */ (reader.readString());
17938
- msg.setBpayreference(value);
17939
+ msg.setReceiptid(value);
17939
17940
  break;
17940
17941
  case 15:
17941
- var value = /** @type {string} */ (reader.readString());
17942
- msg.setBsb(value);
17943
- break;
17944
- case 16:
17945
- var value = /** @type {string} */ (reader.readString());
17946
- msg.setAccountnumber(value);
17947
- break;
17948
- case 17:
17949
- var value = /** @type {string} */ (reader.readString());
17950
- msg.setAccountname(value);
17951
- break;
17952
- case 18:
17953
- var value = /** @type {string} */ (reader.readString());
17954
- msg.setSmereference(value);
17955
- break;
17956
- case 19:
17957
- var value = /** @type {string} */ (reader.readString());
17958
- msg.setDeliverybatchname(value);
17959
- break;
17960
- case 20:
17961
- var value = /** @type {string} */ (reader.readString());
17962
- msg.setSettlementdate(value);
17963
- break;
17964
- case 21:
17965
- var value = /** @type {string} */ (reader.readString());
17966
- msg.setBpayreceiptid(value);
17967
- break;
17968
- case 22:
17969
- var value = /** @type {string} */ (reader.readString());
17970
- msg.setSmereceiptid(value);
17971
- break;
17972
- case 23:
17973
17942
  var value = /** @type {number} */ (reader.readDouble());
17974
17943
  msg.setRewardamount(value);
17975
17944
  break;
17945
+ case 16:
17946
+ var value = new proto.agentbillingserviceapi.BillConfig;
17947
+ reader.readMessage(value,proto.agentbillingserviceapi.BillConfig.deserializeBinaryFromReader);
17948
+ msg.addBillconfigs(value);
17949
+ break;
17976
17950
  default:
17977
17951
  reader.skipField();
17978
17952
  break;
@@ -18079,88 +18053,40 @@ proto.agentbillingserviceapi.AgentBillTransaction.serializeBinaryToWriter = func
18079
18053
  f
18080
18054
  );
18081
18055
  }
18082
- f = message.getInvoicenumber();
18056
+ f = message.getDeliverybatchname();
18083
18057
  if (f.length > 0) {
18084
18058
  writer.writeString(
18085
18059
  12,
18086
18060
  f
18087
18061
  );
18088
18062
  }
18089
- f = message.getBillercode();
18063
+ f = message.getSettlementdate();
18090
18064
  if (f.length > 0) {
18091
18065
  writer.writeString(
18092
18066
  13,
18093
18067
  f
18094
18068
  );
18095
18069
  }
18096
- f = message.getBpayreference();
18070
+ f = message.getReceiptid();
18097
18071
  if (f.length > 0) {
18098
18072
  writer.writeString(
18099
18073
  14,
18100
18074
  f
18101
18075
  );
18102
18076
  }
18103
- f = message.getBsb();
18104
- if (f.length > 0) {
18105
- writer.writeString(
18077
+ f = message.getRewardamount();
18078
+ if (f !== 0.0) {
18079
+ writer.writeDouble(
18106
18080
  15,
18107
18081
  f
18108
18082
  );
18109
18083
  }
18110
- f = message.getAccountnumber();
18084
+ f = message.getBillconfigsList();
18111
18085
  if (f.length > 0) {
18112
- writer.writeString(
18086
+ writer.writeRepeatedMessage(
18113
18087
  16,
18114
- f
18115
- );
18116
- }
18117
- f = message.getAccountname();
18118
- if (f.length > 0) {
18119
- writer.writeString(
18120
- 17,
18121
- f
18122
- );
18123
- }
18124
- f = message.getSmereference();
18125
- if (f.length > 0) {
18126
- writer.writeString(
18127
- 18,
18128
- f
18129
- );
18130
- }
18131
- f = message.getDeliverybatchname();
18132
- if (f.length > 0) {
18133
- writer.writeString(
18134
- 19,
18135
- f
18136
- );
18137
- }
18138
- f = message.getSettlementdate();
18139
- if (f.length > 0) {
18140
- writer.writeString(
18141
- 20,
18142
- f
18143
- );
18144
- }
18145
- f = message.getBpayreceiptid();
18146
- if (f.length > 0) {
18147
- writer.writeString(
18148
- 21,
18149
- f
18150
- );
18151
- }
18152
- f = message.getSmereceiptid();
18153
- if (f.length > 0) {
18154
- writer.writeString(
18155
- 22,
18156
- f
18157
- );
18158
- }
18159
- f = message.getRewardamount();
18160
- if (f !== 0.0) {
18161
- writer.writeDouble(
18162
- 23,
18163
- f
18088
+ f,
18089
+ proto.agentbillingserviceapi.BillConfig.serializeBinaryToWriter
18164
18090
  );
18165
18091
  }
18166
18092
  };
@@ -18365,10 +18291,10 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDescription = fun
18365
18291
 
18366
18292
 
18367
18293
  /**
18368
- * optional string invoiceNumber = 12;
18294
+ * optional string deliveryBatchName = 12;
18369
18295
  * @return {string}
18370
18296
  */
18371
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getInvoicenumber = function() {
18297
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDeliverybatchname = function() {
18372
18298
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
18373
18299
  };
18374
18300
 
@@ -18377,16 +18303,16 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getInvoicenumber = f
18377
18303
  * @param {string} value
18378
18304
  * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18379
18305
  */
18380
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setInvoicenumber = function(value) {
18306
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDeliverybatchname = function(value) {
18381
18307
  return jspb.Message.setProto3StringField(this, 12, value);
18382
18308
  };
18383
18309
 
18384
18310
 
18385
18311
  /**
18386
- * optional string billerCode = 13;
18312
+ * optional string settlementDate = 13;
18387
18313
  * @return {string}
18388
18314
  */
18389
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillercode = function() {
18315
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSettlementdate = function() {
18390
18316
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
18391
18317
  };
18392
18318
 
@@ -18395,16 +18321,16 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillercode = func
18395
18321
  * @param {string} value
18396
18322
  * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18397
18323
  */
18398
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillercode = function(value) {
18324
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSettlementdate = function(value) {
18399
18325
  return jspb.Message.setProto3StringField(this, 13, value);
18400
18326
  };
18401
18327
 
18402
18328
 
18403
18329
  /**
18404
- * optional string bpayReference = 14;
18330
+ * optional string receiptId = 14;
18405
18331
  * @return {string}
18406
18332
  */
18407
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBpayreference = function() {
18333
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getReceiptid = function() {
18408
18334
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
18409
18335
  };
18410
18336
 
@@ -18413,170 +18339,64 @@ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBpayreference = f
18413
18339
  * @param {string} value
18414
18340
  * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18415
18341
  */
18416
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBpayreference = function(value) {
18342
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setReceiptid = function(value) {
18417
18343
  return jspb.Message.setProto3StringField(this, 14, value);
18418
18344
  };
18419
18345
 
18420
18346
 
18421
18347
  /**
18422
- * optional string bsb = 15;
18423
- * @return {string}
18424
- */
18425
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBsb = function() {
18426
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
18427
- };
18428
-
18429
-
18430
- /**
18431
- * @param {string} value
18432
- * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18433
- */
18434
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBsb = function(value) {
18435
- return jspb.Message.setProto3StringField(this, 15, value);
18436
- };
18437
-
18438
-
18439
- /**
18440
- * optional string accountNumber = 16;
18441
- * @return {string}
18442
- */
18443
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountnumber = function() {
18444
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
18445
- };
18446
-
18447
-
18448
- /**
18449
- * @param {string} value
18450
- * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18451
- */
18452
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountnumber = function(value) {
18453
- return jspb.Message.setProto3StringField(this, 16, value);
18454
- };
18455
-
18456
-
18457
- /**
18458
- * optional string accountName = 17;
18459
- * @return {string}
18460
- */
18461
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getAccountname = function() {
18462
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
18463
- };
18464
-
18465
-
18466
- /**
18467
- * @param {string} value
18468
- * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18469
- */
18470
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setAccountname = function(value) {
18471
- return jspb.Message.setProto3StringField(this, 17, value);
18472
- };
18473
-
18474
-
18475
- /**
18476
- * optional string smeReference = 18;
18477
- * @return {string}
18478
- */
18479
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSmereference = function() {
18480
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
18481
- };
18482
-
18483
-
18484
- /**
18485
- * @param {string} value
18486
- * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18487
- */
18488
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSmereference = function(value) {
18489
- return jspb.Message.setProto3StringField(this, 18, value);
18490
- };
18491
-
18492
-
18493
- /**
18494
- * optional string deliveryBatchName = 19;
18495
- * @return {string}
18496
- */
18497
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getDeliverybatchname = function() {
18498
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
18499
- };
18500
-
18501
-
18502
- /**
18503
- * @param {string} value
18504
- * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18505
- */
18506
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setDeliverybatchname = function(value) {
18507
- return jspb.Message.setProto3StringField(this, 19, value);
18508
- };
18509
-
18510
-
18511
- /**
18512
- * optional string settlementDate = 20;
18513
- * @return {string}
18514
- */
18515
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSettlementdate = function() {
18516
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
18517
- };
18518
-
18519
-
18520
- /**
18521
- * @param {string} value
18522
- * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18523
- */
18524
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSettlementdate = function(value) {
18525
- return jspb.Message.setProto3StringField(this, 20, value);
18526
- };
18527
-
18528
-
18529
- /**
18530
- * optional string bpayReceiptId = 21;
18531
- * @return {string}
18348
+ * optional double rewardAmount = 15;
18349
+ * @return {number}
18532
18350
  */
18533
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBpayreceiptid = function() {
18534
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
18351
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getRewardamount = function() {
18352
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
18535
18353
  };
18536
18354
 
18537
18355
 
18538
18356
  /**
18539
- * @param {string} value
18357
+ * @param {number} value
18540
18358
  * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18541
18359
  */
18542
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBpayreceiptid = function(value) {
18543
- return jspb.Message.setProto3StringField(this, 21, value);
18360
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setRewardamount = function(value) {
18361
+ return jspb.Message.setProto3FloatField(this, 15, value);
18544
18362
  };
18545
18363
 
18546
18364
 
18547
18365
  /**
18548
- * optional string smeReceiptId = 22;
18549
- * @return {string}
18366
+ * repeated BillConfig billConfigs = 16;
18367
+ * @return {!Array<!proto.agentbillingserviceapi.BillConfig>}
18550
18368
  */
18551
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getSmereceiptid = function() {
18552
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
18369
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.getBillconfigsList = function() {
18370
+ return /** @type{!Array<!proto.agentbillingserviceapi.BillConfig>} */ (
18371
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.BillConfig, 16));
18553
18372
  };
18554
18373
 
18555
18374
 
18556
18375
  /**
18557
- * @param {string} value
18376
+ * @param {!Array<!proto.agentbillingserviceapi.BillConfig>} value
18558
18377
  * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18559
- */
18560
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setSmereceiptid = function(value) {
18561
- return jspb.Message.setProto3StringField(this, 22, value);
18378
+ */
18379
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.setBillconfigsList = function(value) {
18380
+ return jspb.Message.setRepeatedWrapperField(this, 16, value);
18562
18381
  };
18563
18382
 
18564
18383
 
18565
18384
  /**
18566
- * optional double rewardAmount = 23;
18567
- * @return {number}
18385
+ * @param {!proto.agentbillingserviceapi.BillConfig=} opt_value
18386
+ * @param {number=} opt_index
18387
+ * @return {!proto.agentbillingserviceapi.BillConfig}
18568
18388
  */
18569
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.getRewardamount = function() {
18570
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 23, 0.0));
18389
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.addBillconfigs = function(opt_value, opt_index) {
18390
+ return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.agentbillingserviceapi.BillConfig, opt_index);
18571
18391
  };
18572
18392
 
18573
18393
 
18574
18394
  /**
18575
- * @param {number} value
18395
+ * Clears the list making it empty but non-null.
18576
18396
  * @return {!proto.agentbillingserviceapi.AgentBillTransaction} returns this
18577
18397
  */
18578
- proto.agentbillingserviceapi.AgentBillTransaction.prototype.setRewardamount = function(value) {
18579
- return jspb.Message.setProto3FloatField(this, 23, value);
18398
+ proto.agentbillingserviceapi.AgentBillTransaction.prototype.clearBillconfigsList = function() {
18399
+ return this.setBillconfigsList([]);
18580
18400
  };
18581
18401
 
18582
18402
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb",
3
- "version": "24.2.1555",
3
+ "version": "24.2.1567",
4
4
  "description": "agent-billing-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",