@sniipwebmaster/agent-billing-client-grpcweb-ts 24.2.1527 → 24.2.1555

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.
@@ -419,6 +419,9 @@ export class CreateAgentBillsResponse extends jspb.Message {
419
419
  getUploadbatchname(): string;
420
420
  setUploadbatchname(value: string): CreateAgentBillsResponse;
421
421
 
422
+ getAgentbillstatus(): string;
423
+ setAgentbillstatus(value: string): CreateAgentBillsResponse;
424
+
422
425
  serializeBinary(): Uint8Array;
423
426
  toObject(includeInstance?: boolean): CreateAgentBillsResponse.AsObject;
424
427
  static toObject(includeInstance: boolean, msg: CreateAgentBillsResponse): CreateAgentBillsResponse.AsObject;
@@ -433,6 +436,7 @@ export namespace CreateAgentBillsResponse {
433
436
  uploadbatchid: number,
434
437
  addedbillscount: number,
435
438
  uploadbatchname: string,
439
+ agentbillstatus: string,
436
440
  }
437
441
  }
438
442
 
@@ -510,6 +514,118 @@ export namespace CreateManuallyAddedAgentBillRequest {
510
514
  }
511
515
  }
512
516
 
517
+ export class CreateAgentBillRequest extends jspb.Message {
518
+ getClientuserid(): number;
519
+ setClientuserid(value: number): CreateAgentBillRequest;
520
+
521
+ getUploadbatchid(): number;
522
+ setUploadbatchid(value: number): CreateAgentBillRequest;
523
+
524
+ getAmount(): number;
525
+ setAmount(value: number): CreateAgentBillRequest;
526
+
527
+ getDuedate(): string;
528
+ setDuedate(value: string): CreateAgentBillRequest;
529
+
530
+ getDescription(): string;
531
+ setDescription(value: string): CreateAgentBillRequest;
532
+
533
+ getAbn(): string;
534
+ setAbn(value: string): CreateAgentBillRequest;
535
+
536
+ getBillid(): number;
537
+ setBillid(value: number): CreateAgentBillRequest;
538
+
539
+ getIsdraft(): boolean;
540
+ setIsdraft(value: boolean): CreateAgentBillRequest;
541
+
542
+ getRequiresreview(): boolean;
543
+ setRequiresreview(value: boolean): CreateAgentBillRequest;
544
+
545
+ getHasbeenimported(): boolean;
546
+ setHasbeenimported(value: boolean): CreateAgentBillRequest;
547
+
548
+ getAgentbillid(): number;
549
+ setAgentbillid(value: number): CreateAgentBillRequest;
550
+
551
+ getBillconfigsList(): Array<BillConfigRequest>;
552
+ setBillconfigsList(value: Array<BillConfigRequest>): CreateAgentBillRequest;
553
+ clearBillconfigsList(): CreateAgentBillRequest;
554
+ addBillconfigs(value?: BillConfigRequest, index?: number): BillConfigRequest;
555
+
556
+ serializeBinary(): Uint8Array;
557
+ toObject(includeInstance?: boolean): CreateAgentBillRequest.AsObject;
558
+ static toObject(includeInstance: boolean, msg: CreateAgentBillRequest): CreateAgentBillRequest.AsObject;
559
+ static serializeBinaryToWriter(message: CreateAgentBillRequest, writer: jspb.BinaryWriter): void;
560
+ static deserializeBinary(bytes: Uint8Array): CreateAgentBillRequest;
561
+ static deserializeBinaryFromReader(message: CreateAgentBillRequest, reader: jspb.BinaryReader): CreateAgentBillRequest;
562
+ }
563
+
564
+ export namespace CreateAgentBillRequest {
565
+ export type AsObject = {
566
+ clientuserid: number,
567
+ uploadbatchid: number,
568
+ amount: number,
569
+ duedate: string,
570
+ description: string,
571
+ abn: string,
572
+ billid: number,
573
+ isdraft: boolean,
574
+ requiresreview: boolean,
575
+ hasbeenimported: boolean,
576
+ agentbillid: number,
577
+ billconfigsList: Array<BillConfigRequest.AsObject>,
578
+ }
579
+ }
580
+
581
+ export class BillConfigRequest extends jspb.Message {
582
+ getPaymentprocessor(): BillConfigRequest.PaymentProcessor;
583
+ setPaymentprocessor(value: BillConfigRequest.PaymentProcessor): BillConfigRequest;
584
+
585
+ getReference(): string;
586
+ setReference(value: string): BillConfigRequest;
587
+
588
+ getBillercode(): string;
589
+ setBillercode(value: string): BillConfigRequest;
590
+
591
+ getAccountname(): string;
592
+ setAccountname(value: string): BillConfigRequest;
593
+
594
+ getBsb(): string;
595
+ setBsb(value: string): BillConfigRequest;
596
+
597
+ getAccountno(): string;
598
+ setAccountno(value: string): BillConfigRequest;
599
+
600
+ getInvoicenumber(): string;
601
+ setInvoicenumber(value: string): BillConfigRequest;
602
+
603
+ serializeBinary(): Uint8Array;
604
+ toObject(includeInstance?: boolean): BillConfigRequest.AsObject;
605
+ static toObject(includeInstance: boolean, msg: BillConfigRequest): BillConfigRequest.AsObject;
606
+ static serializeBinaryToWriter(message: BillConfigRequest, writer: jspb.BinaryWriter): void;
607
+ static deserializeBinary(bytes: Uint8Array): BillConfigRequest;
608
+ static deserializeBinaryFromReader(message: BillConfigRequest, reader: jspb.BinaryReader): BillConfigRequest;
609
+ }
610
+
611
+ export namespace BillConfigRequest {
612
+ export type AsObject = {
613
+ paymentprocessor: BillConfigRequest.PaymentProcessor,
614
+ reference: string,
615
+ billercode: string,
616
+ accountname: string,
617
+ bsb: string,
618
+ accountno: string,
619
+ invoicenumber: string,
620
+ }
621
+
622
+ export enum PaymentProcessor {
623
+ UNKNOWN = 0,
624
+ BPAY = 1,
625
+ SME = 2,
626
+ }
627
+ }
628
+
513
629
  export class DeclineAgentInvitationRequest extends jspb.Message {
514
630
  getClientuserid(): number;
515
631
  setClientuserid(value: number): DeclineAgentInvitationRequest;
@@ -25,9 +25,12 @@ goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsR
25
25
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByDeliveryBatchIdRequest', null, global);
26
26
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsResponse', null, global);
27
27
  goog.exportSymbol('proto.agentbillingserviceapi.BillConfig', null, global);
28
+ goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest', null, global);
29
+ goog.exportSymbol('proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor', null, global);
28
30
  goog.exportSymbol('proto.agentbillingserviceapi.CancelAgentInviteRequest', null, global);
29
31
  goog.exportSymbol('proto.agentbillingserviceapi.Client', null, global);
30
32
  goog.exportSymbol('proto.agentbillingserviceapi.ConnectAgentRequest', null, global);
33
+ goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillRequest', null, global);
31
34
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAgentBillsResponse', null, global);
32
35
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
33
36
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
@@ -404,6 +407,48 @@ if (goog.DEBUG && !COMPILED) {
404
407
  */
405
408
  proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest';
406
409
  }
410
+ /**
411
+ * Generated by JsPbCodeGenerator.
412
+ * @param {Array=} opt_data Optional initial data array, typically from a
413
+ * server response, or constructed directly in Javascript. The array is used
414
+ * in place and becomes part of the constructed object. It is not cloned.
415
+ * If no data is provided, the constructed object will be empty, but still
416
+ * valid.
417
+ * @extends {jspb.Message}
418
+ * @constructor
419
+ */
420
+ proto.agentbillingserviceapi.CreateAgentBillRequest = function(opt_data) {
421
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.CreateAgentBillRequest.repeatedFields_, null);
422
+ };
423
+ goog.inherits(proto.agentbillingserviceapi.CreateAgentBillRequest, jspb.Message);
424
+ if (goog.DEBUG && !COMPILED) {
425
+ /**
426
+ * @public
427
+ * @override
428
+ */
429
+ proto.agentbillingserviceapi.CreateAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateAgentBillRequest';
430
+ }
431
+ /**
432
+ * Generated by JsPbCodeGenerator.
433
+ * @param {Array=} opt_data Optional initial data array, typically from a
434
+ * server response, or constructed directly in Javascript. The array is used
435
+ * in place and becomes part of the constructed object. It is not cloned.
436
+ * If no data is provided, the constructed object will be empty, but still
437
+ * valid.
438
+ * @extends {jspb.Message}
439
+ * @constructor
440
+ */
441
+ proto.agentbillingserviceapi.BillConfigRequest = function(opt_data) {
442
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
443
+ };
444
+ goog.inherits(proto.agentbillingserviceapi.BillConfigRequest, jspb.Message);
445
+ if (goog.DEBUG && !COMPILED) {
446
+ /**
447
+ * @public
448
+ * @override
449
+ */
450
+ proto.agentbillingserviceapi.BillConfigRequest.displayName = 'proto.agentbillingserviceapi.BillConfigRequest';
451
+ }
407
452
  /**
408
453
  * Generated by JsPbCodeGenerator.
409
454
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4633,7 +4678,8 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.toObject = function(includ
4633
4678
  responsecode: (f = msg.getResponsecode()) && proto.agentbillingserviceapi.ResponseCode.toObject(includeInstance, f),
4634
4679
  uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
4635
4680
  addedbillscount: jspb.Message.getFieldWithDefault(msg, 3, 0),
4636
- uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, "")
4681
+ uploadbatchname: jspb.Message.getFieldWithDefault(msg, 4, ""),
4682
+ agentbillstatus: jspb.Message.getFieldWithDefault(msg, 5, "")
4637
4683
  };
4638
4684
 
4639
4685
  if (includeInstance) {
@@ -4687,6 +4733,10 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.deserializeBinaryFromReade
4687
4733
  var value = /** @type {string} */ (reader.readString());
4688
4734
  msg.setUploadbatchname(value);
4689
4735
  break;
4736
+ case 5:
4737
+ var value = /** @type {string} */ (reader.readString());
4738
+ msg.setAgentbillstatus(value);
4739
+ break;
4690
4740
  default:
4691
4741
  reader.skipField();
4692
4742
  break;
@@ -4745,6 +4795,13 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.serializeBinaryToWriter =
4745
4795
  f
4746
4796
  );
4747
4797
  }
4798
+ f = message.getAgentbillstatus();
4799
+ if (f.length > 0) {
4800
+ writer.writeString(
4801
+ 5,
4802
+ f
4803
+ );
4804
+ }
4748
4805
  };
4749
4806
 
4750
4807
 
@@ -4839,6 +4896,24 @@ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setUploadbatchna
4839
4896
  };
4840
4897
 
4841
4898
 
4899
+ /**
4900
+ * optional string agentBillStatus = 5;
4901
+ * @return {string}
4902
+ */
4903
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.getAgentbillstatus = function() {
4904
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4905
+ };
4906
+
4907
+
4908
+ /**
4909
+ * @param {string} value
4910
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillsResponse} returns this
4911
+ */
4912
+ proto.agentbillingserviceapi.CreateAgentBillsResponse.prototype.setAgentbillstatus = function(value) {
4913
+ return jspb.Message.setProto3StringField(this, 5, value);
4914
+ };
4915
+
4916
+
4842
4917
 
4843
4918
  /**
4844
4919
  * List of repeated fields within this message type.
@@ -5396,6 +5471,815 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.setDe
5396
5471
 
5397
5472
 
5398
5473
 
5474
+ /**
5475
+ * List of repeated fields within this message type.
5476
+ * @private {!Array<number>}
5477
+ * @const
5478
+ */
5479
+ proto.agentbillingserviceapi.CreateAgentBillRequest.repeatedFields_ = [15];
5480
+
5481
+
5482
+
5483
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5484
+ /**
5485
+ * Creates an object representation of this proto.
5486
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5487
+ * Optional fields that are not set will be set to undefined.
5488
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5489
+ * For the list of reserved names please see:
5490
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5491
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5492
+ * JSPB instance for transitional soy proto support:
5493
+ * http://goto/soy-param-migration
5494
+ * @return {!Object}
5495
+ */
5496
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.toObject = function(opt_includeInstance) {
5497
+ return proto.agentbillingserviceapi.CreateAgentBillRequest.toObject(opt_includeInstance, this);
5498
+ };
5499
+
5500
+
5501
+ /**
5502
+ * Static version of the {@see toObject} method.
5503
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5504
+ * the JSPB instance for transitional soy proto support:
5505
+ * http://goto/soy-param-migration
5506
+ * @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} msg The msg instance to transform.
5507
+ * @return {!Object}
5508
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5509
+ */
5510
+ proto.agentbillingserviceapi.CreateAgentBillRequest.toObject = function(includeInstance, msg) {
5511
+ var f, obj = {
5512
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
5513
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
5514
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
5515
+ duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
5516
+ description: jspb.Message.getFieldWithDefault(msg, 8, ""),
5517
+ abn: jspb.Message.getFieldWithDefault(msg, 9, ""),
5518
+ billid: jspb.Message.getFieldWithDefault(msg, 10, 0),
5519
+ isdraft: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
5520
+ requiresreview: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
5521
+ hasbeenimported: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
5522
+ agentbillid: jspb.Message.getFieldWithDefault(msg, 14, 0),
5523
+ billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
5524
+ proto.agentbillingserviceapi.BillConfigRequest.toObject, includeInstance)
5525
+ };
5526
+
5527
+ if (includeInstance) {
5528
+ obj.$jspbMessageInstance = msg;
5529
+ }
5530
+ return obj;
5531
+ };
5532
+ }
5533
+
5534
+
5535
+ /**
5536
+ * Deserializes binary data (in protobuf wire format).
5537
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5538
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest}
5539
+ */
5540
+ proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinary = function(bytes) {
5541
+ var reader = new jspb.BinaryReader(bytes);
5542
+ var msg = new proto.agentbillingserviceapi.CreateAgentBillRequest;
5543
+ return proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader(msg, reader);
5544
+ };
5545
+
5546
+
5547
+ /**
5548
+ * Deserializes binary data (in protobuf wire format) from the
5549
+ * given reader into the given message object.
5550
+ * @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} msg The message object to deserialize into.
5551
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5552
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest}
5553
+ */
5554
+ proto.agentbillingserviceapi.CreateAgentBillRequest.deserializeBinaryFromReader = function(msg, reader) {
5555
+ while (reader.nextField()) {
5556
+ if (reader.isEndGroup()) {
5557
+ break;
5558
+ }
5559
+ var field = reader.getFieldNumber();
5560
+ switch (field) {
5561
+ case 1:
5562
+ var value = /** @type {number} */ (reader.readInt64());
5563
+ msg.setClientuserid(value);
5564
+ break;
5565
+ case 2:
5566
+ var value = /** @type {number} */ (reader.readInt64());
5567
+ msg.setUploadbatchid(value);
5568
+ break;
5569
+ case 5:
5570
+ var value = /** @type {number} */ (reader.readDouble());
5571
+ msg.setAmount(value);
5572
+ break;
5573
+ case 6:
5574
+ var value = /** @type {string} */ (reader.readString());
5575
+ msg.setDuedate(value);
5576
+ break;
5577
+ case 8:
5578
+ var value = /** @type {string} */ (reader.readString());
5579
+ msg.setDescription(value);
5580
+ break;
5581
+ case 9:
5582
+ var value = /** @type {string} */ (reader.readString());
5583
+ msg.setAbn(value);
5584
+ break;
5585
+ case 10:
5586
+ var value = /** @type {number} */ (reader.readInt64());
5587
+ msg.setBillid(value);
5588
+ break;
5589
+ case 11:
5590
+ var value = /** @type {boolean} */ (reader.readBool());
5591
+ msg.setIsdraft(value);
5592
+ break;
5593
+ case 12:
5594
+ var value = /** @type {boolean} */ (reader.readBool());
5595
+ msg.setRequiresreview(value);
5596
+ break;
5597
+ case 13:
5598
+ var value = /** @type {boolean} */ (reader.readBool());
5599
+ msg.setHasbeenimported(value);
5600
+ break;
5601
+ case 14:
5602
+ var value = /** @type {number} */ (reader.readInt64());
5603
+ msg.setAgentbillid(value);
5604
+ break;
5605
+ case 15:
5606
+ var value = new proto.agentbillingserviceapi.BillConfigRequest;
5607
+ reader.readMessage(value,proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader);
5608
+ msg.addBillconfigs(value);
5609
+ break;
5610
+ default:
5611
+ reader.skipField();
5612
+ break;
5613
+ }
5614
+ }
5615
+ return msg;
5616
+ };
5617
+
5618
+
5619
+ /**
5620
+ * Serializes the message to binary data (in protobuf wire format).
5621
+ * @return {!Uint8Array}
5622
+ */
5623
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.serializeBinary = function() {
5624
+ var writer = new jspb.BinaryWriter();
5625
+ proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter(this, writer);
5626
+ return writer.getResultBuffer();
5627
+ };
5628
+
5629
+
5630
+ /**
5631
+ * Serializes the given message to binary data (in protobuf wire
5632
+ * format), writing to the given BinaryWriter.
5633
+ * @param {!proto.agentbillingserviceapi.CreateAgentBillRequest} message
5634
+ * @param {!jspb.BinaryWriter} writer
5635
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5636
+ */
5637
+ proto.agentbillingserviceapi.CreateAgentBillRequest.serializeBinaryToWriter = function(message, writer) {
5638
+ var f = undefined;
5639
+ f = message.getClientuserid();
5640
+ if (f !== 0) {
5641
+ writer.writeInt64(
5642
+ 1,
5643
+ f
5644
+ );
5645
+ }
5646
+ f = message.getUploadbatchid();
5647
+ if (f !== 0) {
5648
+ writer.writeInt64(
5649
+ 2,
5650
+ f
5651
+ );
5652
+ }
5653
+ f = message.getAmount();
5654
+ if (f !== 0.0) {
5655
+ writer.writeDouble(
5656
+ 5,
5657
+ f
5658
+ );
5659
+ }
5660
+ f = message.getDuedate();
5661
+ if (f.length > 0) {
5662
+ writer.writeString(
5663
+ 6,
5664
+ f
5665
+ );
5666
+ }
5667
+ f = message.getDescription();
5668
+ if (f.length > 0) {
5669
+ writer.writeString(
5670
+ 8,
5671
+ f
5672
+ );
5673
+ }
5674
+ f = message.getAbn();
5675
+ if (f.length > 0) {
5676
+ writer.writeString(
5677
+ 9,
5678
+ f
5679
+ );
5680
+ }
5681
+ f = message.getBillid();
5682
+ if (f !== 0) {
5683
+ writer.writeInt64(
5684
+ 10,
5685
+ f
5686
+ );
5687
+ }
5688
+ f = message.getIsdraft();
5689
+ if (f) {
5690
+ writer.writeBool(
5691
+ 11,
5692
+ f
5693
+ );
5694
+ }
5695
+ f = message.getRequiresreview();
5696
+ if (f) {
5697
+ writer.writeBool(
5698
+ 12,
5699
+ f
5700
+ );
5701
+ }
5702
+ f = message.getHasbeenimported();
5703
+ if (f) {
5704
+ writer.writeBool(
5705
+ 13,
5706
+ f
5707
+ );
5708
+ }
5709
+ f = message.getAgentbillid();
5710
+ if (f !== 0) {
5711
+ writer.writeInt64(
5712
+ 14,
5713
+ f
5714
+ );
5715
+ }
5716
+ f = message.getBillconfigsList();
5717
+ if (f.length > 0) {
5718
+ writer.writeRepeatedMessage(
5719
+ 15,
5720
+ f,
5721
+ proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter
5722
+ );
5723
+ }
5724
+ };
5725
+
5726
+
5727
+ /**
5728
+ * optional int64 clientUserId = 1;
5729
+ * @return {number}
5730
+ */
5731
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getClientuserid = function() {
5732
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
5733
+ };
5734
+
5735
+
5736
+ /**
5737
+ * @param {number} value
5738
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5739
+ */
5740
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setClientuserid = function(value) {
5741
+ return jspb.Message.setProto3IntField(this, 1, value);
5742
+ };
5743
+
5744
+
5745
+ /**
5746
+ * optional int64 uploadBatchId = 2;
5747
+ * @return {number}
5748
+ */
5749
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getUploadbatchid = function() {
5750
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
5751
+ };
5752
+
5753
+
5754
+ /**
5755
+ * @param {number} value
5756
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5757
+ */
5758
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setUploadbatchid = function(value) {
5759
+ return jspb.Message.setProto3IntField(this, 2, value);
5760
+ };
5761
+
5762
+
5763
+ /**
5764
+ * optional double amount = 5;
5765
+ * @return {number}
5766
+ */
5767
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAmount = function() {
5768
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
5769
+ };
5770
+
5771
+
5772
+ /**
5773
+ * @param {number} value
5774
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5775
+ */
5776
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAmount = function(value) {
5777
+ return jspb.Message.setProto3FloatField(this, 5, value);
5778
+ };
5779
+
5780
+
5781
+ /**
5782
+ * optional string dueDate = 6;
5783
+ * @return {string}
5784
+ */
5785
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getDuedate = function() {
5786
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
5787
+ };
5788
+
5789
+
5790
+ /**
5791
+ * @param {string} value
5792
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5793
+ */
5794
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setDuedate = function(value) {
5795
+ return jspb.Message.setProto3StringField(this, 6, value);
5796
+ };
5797
+
5798
+
5799
+ /**
5800
+ * optional string description = 8;
5801
+ * @return {string}
5802
+ */
5803
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getDescription = function() {
5804
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
5805
+ };
5806
+
5807
+
5808
+ /**
5809
+ * @param {string} value
5810
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5811
+ */
5812
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setDescription = function(value) {
5813
+ return jspb.Message.setProto3StringField(this, 8, value);
5814
+ };
5815
+
5816
+
5817
+ /**
5818
+ * optional string abn = 9;
5819
+ * @return {string}
5820
+ */
5821
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAbn = function() {
5822
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
5823
+ };
5824
+
5825
+
5826
+ /**
5827
+ * @param {string} value
5828
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5829
+ */
5830
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAbn = function(value) {
5831
+ return jspb.Message.setProto3StringField(this, 9, value);
5832
+ };
5833
+
5834
+
5835
+ /**
5836
+ * optional int64 billId = 10;
5837
+ * @return {number}
5838
+ */
5839
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getBillid = function() {
5840
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
5841
+ };
5842
+
5843
+
5844
+ /**
5845
+ * @param {number} value
5846
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5847
+ */
5848
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setBillid = function(value) {
5849
+ return jspb.Message.setProto3IntField(this, 10, value);
5850
+ };
5851
+
5852
+
5853
+ /**
5854
+ * optional bool isDraft = 11;
5855
+ * @return {boolean}
5856
+ */
5857
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getIsdraft = function() {
5858
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
5859
+ };
5860
+
5861
+
5862
+ /**
5863
+ * @param {boolean} value
5864
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5865
+ */
5866
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setIsdraft = function(value) {
5867
+ return jspb.Message.setProto3BooleanField(this, 11, value);
5868
+ };
5869
+
5870
+
5871
+ /**
5872
+ * optional bool requiresReview = 12;
5873
+ * @return {boolean}
5874
+ */
5875
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getRequiresreview = function() {
5876
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
5877
+ };
5878
+
5879
+
5880
+ /**
5881
+ * @param {boolean} value
5882
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5883
+ */
5884
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setRequiresreview = function(value) {
5885
+ return jspb.Message.setProto3BooleanField(this, 12, value);
5886
+ };
5887
+
5888
+
5889
+ /**
5890
+ * optional bool hasBeenImported = 13;
5891
+ * @return {boolean}
5892
+ */
5893
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getHasbeenimported = function() {
5894
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 13, false));
5895
+ };
5896
+
5897
+
5898
+ /**
5899
+ * @param {boolean} value
5900
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5901
+ */
5902
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setHasbeenimported = function(value) {
5903
+ return jspb.Message.setProto3BooleanField(this, 13, value);
5904
+ };
5905
+
5906
+
5907
+ /**
5908
+ * optional int64 agentBillId = 14;
5909
+ * @return {number}
5910
+ */
5911
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getAgentbillid = function() {
5912
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
5913
+ };
5914
+
5915
+
5916
+ /**
5917
+ * @param {number} value
5918
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5919
+ */
5920
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setAgentbillid = function(value) {
5921
+ return jspb.Message.setProto3IntField(this, 14, value);
5922
+ };
5923
+
5924
+
5925
+ /**
5926
+ * repeated BillConfigRequest billConfigs = 15;
5927
+ * @return {!Array<!proto.agentbillingserviceapi.BillConfigRequest>}
5928
+ */
5929
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.getBillconfigsList = function() {
5930
+ return /** @type{!Array<!proto.agentbillingserviceapi.BillConfigRequest>} */ (
5931
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.BillConfigRequest, 15));
5932
+ };
5933
+
5934
+
5935
+ /**
5936
+ * @param {!Array<!proto.agentbillingserviceapi.BillConfigRequest>} value
5937
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5938
+ */
5939
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.setBillconfigsList = function(value) {
5940
+ return jspb.Message.setRepeatedWrapperField(this, 15, value);
5941
+ };
5942
+
5943
+
5944
+ /**
5945
+ * @param {!proto.agentbillingserviceapi.BillConfigRequest=} opt_value
5946
+ * @param {number=} opt_index
5947
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest}
5948
+ */
5949
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.addBillconfigs = function(opt_value, opt_index) {
5950
+ return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.agentbillingserviceapi.BillConfigRequest, opt_index);
5951
+ };
5952
+
5953
+
5954
+ /**
5955
+ * Clears the list making it empty but non-null.
5956
+ * @return {!proto.agentbillingserviceapi.CreateAgentBillRequest} returns this
5957
+ */
5958
+ proto.agentbillingserviceapi.CreateAgentBillRequest.prototype.clearBillconfigsList = function() {
5959
+ return this.setBillconfigsList([]);
5960
+ };
5961
+
5962
+
5963
+
5964
+
5965
+
5966
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5967
+ /**
5968
+ * Creates an object representation of this proto.
5969
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5970
+ * Optional fields that are not set will be set to undefined.
5971
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5972
+ * For the list of reserved names please see:
5973
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5974
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5975
+ * JSPB instance for transitional soy proto support:
5976
+ * http://goto/soy-param-migration
5977
+ * @return {!Object}
5978
+ */
5979
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.toObject = function(opt_includeInstance) {
5980
+ return proto.agentbillingserviceapi.BillConfigRequest.toObject(opt_includeInstance, this);
5981
+ };
5982
+
5983
+
5984
+ /**
5985
+ * Static version of the {@see toObject} method.
5986
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5987
+ * the JSPB instance for transitional soy proto support:
5988
+ * http://goto/soy-param-migration
5989
+ * @param {!proto.agentbillingserviceapi.BillConfigRequest} msg The msg instance to transform.
5990
+ * @return {!Object}
5991
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5992
+ */
5993
+ proto.agentbillingserviceapi.BillConfigRequest.toObject = function(includeInstance, msg) {
5994
+ var f, obj = {
5995
+ paymentprocessor: jspb.Message.getFieldWithDefault(msg, 1, 0),
5996
+ reference: jspb.Message.getFieldWithDefault(msg, 2, ""),
5997
+ billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
5998
+ accountname: jspb.Message.getFieldWithDefault(msg, 4, ""),
5999
+ bsb: jspb.Message.getFieldWithDefault(msg, 5, ""),
6000
+ accountno: jspb.Message.getFieldWithDefault(msg, 6, ""),
6001
+ invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, "")
6002
+ };
6003
+
6004
+ if (includeInstance) {
6005
+ obj.$jspbMessageInstance = msg;
6006
+ }
6007
+ return obj;
6008
+ };
6009
+ }
6010
+
6011
+
6012
+ /**
6013
+ * Deserializes binary data (in protobuf wire format).
6014
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6015
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest}
6016
+ */
6017
+ proto.agentbillingserviceapi.BillConfigRequest.deserializeBinary = function(bytes) {
6018
+ var reader = new jspb.BinaryReader(bytes);
6019
+ var msg = new proto.agentbillingserviceapi.BillConfigRequest;
6020
+ return proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader(msg, reader);
6021
+ };
6022
+
6023
+
6024
+ /**
6025
+ * Deserializes binary data (in protobuf wire format) from the
6026
+ * given reader into the given message object.
6027
+ * @param {!proto.agentbillingserviceapi.BillConfigRequest} msg The message object to deserialize into.
6028
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6029
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest}
6030
+ */
6031
+ proto.agentbillingserviceapi.BillConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
6032
+ while (reader.nextField()) {
6033
+ if (reader.isEndGroup()) {
6034
+ break;
6035
+ }
6036
+ var field = reader.getFieldNumber();
6037
+ switch (field) {
6038
+ case 1:
6039
+ var value = /** @type {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor} */ (reader.readEnum());
6040
+ msg.setPaymentprocessor(value);
6041
+ break;
6042
+ case 2:
6043
+ var value = /** @type {string} */ (reader.readString());
6044
+ msg.setReference(value);
6045
+ break;
6046
+ case 3:
6047
+ var value = /** @type {string} */ (reader.readString());
6048
+ msg.setBillercode(value);
6049
+ break;
6050
+ case 4:
6051
+ var value = /** @type {string} */ (reader.readString());
6052
+ msg.setAccountname(value);
6053
+ break;
6054
+ case 5:
6055
+ var value = /** @type {string} */ (reader.readString());
6056
+ msg.setBsb(value);
6057
+ break;
6058
+ case 6:
6059
+ var value = /** @type {string} */ (reader.readString());
6060
+ msg.setAccountno(value);
6061
+ break;
6062
+ case 7:
6063
+ var value = /** @type {string} */ (reader.readString());
6064
+ msg.setInvoicenumber(value);
6065
+ break;
6066
+ default:
6067
+ reader.skipField();
6068
+ break;
6069
+ }
6070
+ }
6071
+ return msg;
6072
+ };
6073
+
6074
+
6075
+ /**
6076
+ * Serializes the message to binary data (in protobuf wire format).
6077
+ * @return {!Uint8Array}
6078
+ */
6079
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.serializeBinary = function() {
6080
+ var writer = new jspb.BinaryWriter();
6081
+ proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter(this, writer);
6082
+ return writer.getResultBuffer();
6083
+ };
6084
+
6085
+
6086
+ /**
6087
+ * Serializes the given message to binary data (in protobuf wire
6088
+ * format), writing to the given BinaryWriter.
6089
+ * @param {!proto.agentbillingserviceapi.BillConfigRequest} message
6090
+ * @param {!jspb.BinaryWriter} writer
6091
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6092
+ */
6093
+ proto.agentbillingserviceapi.BillConfigRequest.serializeBinaryToWriter = function(message, writer) {
6094
+ var f = undefined;
6095
+ f = message.getPaymentprocessor();
6096
+ if (f !== 0.0) {
6097
+ writer.writeEnum(
6098
+ 1,
6099
+ f
6100
+ );
6101
+ }
6102
+ f = message.getReference();
6103
+ if (f.length > 0) {
6104
+ writer.writeString(
6105
+ 2,
6106
+ f
6107
+ );
6108
+ }
6109
+ f = message.getBillercode();
6110
+ if (f.length > 0) {
6111
+ writer.writeString(
6112
+ 3,
6113
+ f
6114
+ );
6115
+ }
6116
+ f = message.getAccountname();
6117
+ if (f.length > 0) {
6118
+ writer.writeString(
6119
+ 4,
6120
+ f
6121
+ );
6122
+ }
6123
+ f = message.getBsb();
6124
+ if (f.length > 0) {
6125
+ writer.writeString(
6126
+ 5,
6127
+ f
6128
+ );
6129
+ }
6130
+ f = message.getAccountno();
6131
+ if (f.length > 0) {
6132
+ writer.writeString(
6133
+ 6,
6134
+ f
6135
+ );
6136
+ }
6137
+ f = message.getInvoicenumber();
6138
+ if (f.length > 0) {
6139
+ writer.writeString(
6140
+ 7,
6141
+ f
6142
+ );
6143
+ }
6144
+ };
6145
+
6146
+
6147
+ /**
6148
+ * @enum {number}
6149
+ */
6150
+ proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor = {
6151
+ UNKNOWN: 0,
6152
+ BPAY: 1,
6153
+ SME: 2
6154
+ };
6155
+
6156
+ /**
6157
+ * optional PaymentProcessor paymentProcessor = 1;
6158
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor}
6159
+ */
6160
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.getPaymentprocessor = function() {
6161
+ return /** @type {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6162
+ };
6163
+
6164
+
6165
+ /**
6166
+ * @param {!proto.agentbillingserviceapi.BillConfigRequest.PaymentProcessor} value
6167
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
6168
+ */
6169
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.setPaymentprocessor = function(value) {
6170
+ return jspb.Message.setProto3EnumField(this, 1, value);
6171
+ };
6172
+
6173
+
6174
+ /**
6175
+ * optional string reference = 2;
6176
+ * @return {string}
6177
+ */
6178
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.getReference = function() {
6179
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6180
+ };
6181
+
6182
+
6183
+ /**
6184
+ * @param {string} value
6185
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
6186
+ */
6187
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.setReference = function(value) {
6188
+ return jspb.Message.setProto3StringField(this, 2, value);
6189
+ };
6190
+
6191
+
6192
+ /**
6193
+ * optional string billerCode = 3;
6194
+ * @return {string}
6195
+ */
6196
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.getBillercode = function() {
6197
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6198
+ };
6199
+
6200
+
6201
+ /**
6202
+ * @param {string} value
6203
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
6204
+ */
6205
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.setBillercode = function(value) {
6206
+ return jspb.Message.setProto3StringField(this, 3, value);
6207
+ };
6208
+
6209
+
6210
+ /**
6211
+ * optional string accountName = 4;
6212
+ * @return {string}
6213
+ */
6214
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.getAccountname = function() {
6215
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6216
+ };
6217
+
6218
+
6219
+ /**
6220
+ * @param {string} value
6221
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
6222
+ */
6223
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.setAccountname = function(value) {
6224
+ return jspb.Message.setProto3StringField(this, 4, value);
6225
+ };
6226
+
6227
+
6228
+ /**
6229
+ * optional string bsb = 5;
6230
+ * @return {string}
6231
+ */
6232
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.getBsb = function() {
6233
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
6234
+ };
6235
+
6236
+
6237
+ /**
6238
+ * @param {string} value
6239
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
6240
+ */
6241
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.setBsb = function(value) {
6242
+ return jspb.Message.setProto3StringField(this, 5, value);
6243
+ };
6244
+
6245
+
6246
+ /**
6247
+ * optional string accountNo = 6;
6248
+ * @return {string}
6249
+ */
6250
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.getAccountno = function() {
6251
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
6252
+ };
6253
+
6254
+
6255
+ /**
6256
+ * @param {string} value
6257
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
6258
+ */
6259
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.setAccountno = function(value) {
6260
+ return jspb.Message.setProto3StringField(this, 6, value);
6261
+ };
6262
+
6263
+
6264
+ /**
6265
+ * optional string invoiceNumber = 7;
6266
+ * @return {string}
6267
+ */
6268
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.getInvoicenumber = function() {
6269
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
6270
+ };
6271
+
6272
+
6273
+ /**
6274
+ * @param {string} value
6275
+ * @return {!proto.agentbillingserviceapi.BillConfigRequest} returns this
6276
+ */
6277
+ proto.agentbillingserviceapi.BillConfigRequest.prototype.setInvoicenumber = function(value) {
6278
+ return jspb.Message.setProto3StringField(this, 7, value);
6279
+ };
6280
+
6281
+
6282
+
5399
6283
 
5400
6284
 
5401
6285
  if (jspb.Message.GENERATE_TO_OBJECT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb-ts",
3
- "version": "24.2.1527",
3
+ "version": "24.2.1555",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",