@sniipwebmaster/agent-billing-client-grpcweb-ts 25.11.4719 → 25.11.4745

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.
@@ -341,6 +341,49 @@ export class AgentBillingServiceAPIServiceClient {
341
341
  this.methodDescriptorCreateManuallyAddedAgentInternalBill);
342
342
  }
343
343
 
344
+ methodDescriptorCreatePayrollAgentBillInternal = new grpcWeb.MethodDescriptor(
345
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreatePayrollAgentBillInternal',
346
+ grpcWeb.MethodType.UNARY,
347
+ service_pb.CreatePayrollAgentBillInternalRequest,
348
+ service_pb.CreateAgentBillsResponse,
349
+ (request: service_pb.CreatePayrollAgentBillInternalRequest) => {
350
+ return request.serializeBinary();
351
+ },
352
+ service_pb.CreateAgentBillsResponse.deserializeBinary
353
+ );
354
+
355
+ createPayrollAgentBillInternal(
356
+ request: service_pb.CreatePayrollAgentBillInternalRequest,
357
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.CreateAgentBillsResponse>;
358
+
359
+ createPayrollAgentBillInternal(
360
+ request: service_pb.CreatePayrollAgentBillInternalRequest,
361
+ metadata: grpcWeb.Metadata | null,
362
+ callback: (err: grpcWeb.RpcError,
363
+ response: service_pb.CreateAgentBillsResponse) => void): grpcWeb.ClientReadableStream<service_pb.CreateAgentBillsResponse>;
364
+
365
+ createPayrollAgentBillInternal(
366
+ request: service_pb.CreatePayrollAgentBillInternalRequest,
367
+ metadata?: grpcWeb.Metadata | null,
368
+ callback?: (err: grpcWeb.RpcError,
369
+ response: service_pb.CreateAgentBillsResponse) => void) {
370
+ if (callback !== undefined) {
371
+ return this.client_.rpcCall(
372
+ this.hostname_ +
373
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreatePayrollAgentBillInternal',
374
+ request,
375
+ metadata || {},
376
+ this.methodDescriptorCreatePayrollAgentBillInternal,
377
+ callback);
378
+ }
379
+ return this.client_.unaryCall(
380
+ this.hostname_ +
381
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/CreatePayrollAgentBillInternal',
382
+ request,
383
+ metadata || {},
384
+ this.methodDescriptorCreatePayrollAgentBillInternal);
385
+ }
386
+
344
387
  methodDescriptorCreateManuallyAddedAgentBill = new grpcWeb.MethodDescriptor(
345
388
  '/agentbillingserviceapi.AgentBillingServiceAPIService/CreateManuallyAddedAgentBill',
346
389
  grpcWeb.MethodType.UNARY,
@@ -708,6 +708,112 @@ export namespace CreateManuallyAddedAgentBillRequest {
708
708
  }
709
709
  }
710
710
 
711
+ export class CreatePayrollAgentBillInternalRequest extends jspb.Message {
712
+ getClientuserid(): number;
713
+ setClientuserid(value: number): CreatePayrollAgentBillInternalRequest;
714
+
715
+ getUploadbatchid(): number;
716
+ setUploadbatchid(value: number): CreatePayrollAgentBillInternalRequest;
717
+
718
+ getBillercode(): string;
719
+ setBillercode(value: string): CreatePayrollAgentBillInternalRequest;
720
+
721
+ getReference(): string;
722
+ setReference(value: string): CreatePayrollAgentBillInternalRequest;
723
+
724
+ getAmount(): number;
725
+ setAmount(value: number): CreatePayrollAgentBillInternalRequest;
726
+
727
+ getDuedate(): string;
728
+ setDuedate(value: string): CreatePayrollAgentBillInternalRequest;
729
+
730
+ getInvoicenumber(): string;
731
+ setInvoicenumber(value: string): CreatePayrollAgentBillInternalRequest;
732
+
733
+ getDescription(): string;
734
+ setDescription(value: string): CreatePayrollAgentBillInternalRequest;
735
+
736
+ getAttachmentid(): number;
737
+ setAttachmentid(value: number): CreatePayrollAgentBillInternalRequest;
738
+
739
+ getBillerconfigid(): number;
740
+ setBillerconfigid(value: number): CreatePayrollAgentBillInternalRequest;
741
+
742
+ getVirtualbillsList(): Array<VirtualBill>;
743
+ setVirtualbillsList(value: Array<VirtualBill>): CreatePayrollAgentBillInternalRequest;
744
+ clearVirtualbillsList(): CreatePayrollAgentBillInternalRequest;
745
+ addVirtualbills(value?: VirtualBill, index?: number): VirtualBill;
746
+
747
+ getAgentid(): number;
748
+ setAgentid(value: number): CreatePayrollAgentBillInternalRequest;
749
+
750
+ serializeBinary(): Uint8Array;
751
+ toObject(includeInstance?: boolean): CreatePayrollAgentBillInternalRequest.AsObject;
752
+ static toObject(includeInstance: boolean, msg: CreatePayrollAgentBillInternalRequest): CreatePayrollAgentBillInternalRequest.AsObject;
753
+ static serializeBinaryToWriter(message: CreatePayrollAgentBillInternalRequest, writer: jspb.BinaryWriter): void;
754
+ static deserializeBinary(bytes: Uint8Array): CreatePayrollAgentBillInternalRequest;
755
+ static deserializeBinaryFromReader(message: CreatePayrollAgentBillInternalRequest, reader: jspb.BinaryReader): CreatePayrollAgentBillInternalRequest;
756
+ }
757
+
758
+ export namespace CreatePayrollAgentBillInternalRequest {
759
+ export type AsObject = {
760
+ clientuserid: number,
761
+ uploadbatchid: number,
762
+ billercode: string,
763
+ reference: string,
764
+ amount: number,
765
+ duedate: string,
766
+ invoicenumber: string,
767
+ description: string,
768
+ attachmentid: number,
769
+ billerconfigid: number,
770
+ virtualbillsList: Array<VirtualBill.AsObject>,
771
+ agentid: number,
772
+ }
773
+ }
774
+
775
+ export class VirtualBill extends jspb.Message {
776
+ getAmount(): number;
777
+ setAmount(value: number): VirtualBill;
778
+
779
+ getBillercode(): string;
780
+ setBillercode(value: string): VirtualBill;
781
+
782
+ getBillerconfigid(): number;
783
+ setBillerconfigid(value: number): VirtualBill;
784
+
785
+ getReference(): string;
786
+ setReference(value: string): VirtualBill;
787
+
788
+ getBankaccountname(): string;
789
+ setBankaccountname(value: string): VirtualBill;
790
+
791
+ getInvoicenumber(): string;
792
+ setInvoicenumber(value: string): VirtualBill;
793
+
794
+ getPaymentprocessor(): string;
795
+ setPaymentprocessor(value: string): VirtualBill;
796
+
797
+ serializeBinary(): Uint8Array;
798
+ toObject(includeInstance?: boolean): VirtualBill.AsObject;
799
+ static toObject(includeInstance: boolean, msg: VirtualBill): VirtualBill.AsObject;
800
+ static serializeBinaryToWriter(message: VirtualBill, writer: jspb.BinaryWriter): void;
801
+ static deserializeBinary(bytes: Uint8Array): VirtualBill;
802
+ static deserializeBinaryFromReader(message: VirtualBill, reader: jspb.BinaryReader): VirtualBill;
803
+ }
804
+
805
+ export namespace VirtualBill {
806
+ export type AsObject = {
807
+ amount: number,
808
+ billercode: string,
809
+ billerconfigid: number,
810
+ reference: string,
811
+ bankaccountname: string,
812
+ invoicenumber: string,
813
+ paymentprocessor: string,
814
+ }
815
+ }
816
+
711
817
  export class CreateManuallyAddedAgentBillInternalRequest extends jspb.Message {
712
818
  getClientuserid(): number;
713
819
  setClientuserid(value: number): CreateManuallyAddedAgentBillInternalRequest;
@@ -51,6 +51,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.CreateAndPayDeliveryBatchRespons
51
51
  goog.exportSymbol('proto.agentbillingserviceapi.CreateAndSendDeliveryBatchRequest', null, global);
52
52
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillInternalRequest', null, global);
53
53
  goog.exportSymbol('proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest', null, global);
54
+ goog.exportSymbol('proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest', null, global);
54
55
  goog.exportSymbol('proto.agentbillingserviceapi.CreateUploadBatchRequest', null, global);
55
56
  goog.exportSymbol('proto.agentbillingserviceapi.CreateUploadBatchResponse', null, global);
56
57
  goog.exportSymbol('proto.agentbillingserviceapi.DeclineAgentInvitationRequest', null, global);
@@ -138,6 +139,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.UploadBatch', null, global);
138
139
  goog.exportSymbol('proto.agentbillingserviceapi.UploadBatchStatus', null, global);
139
140
  goog.exportSymbol('proto.agentbillingserviceapi.UploadBatchType', null, global);
140
141
  goog.exportSymbol('proto.agentbillingserviceapi.VerificationCodeSource', null, global);
142
+ goog.exportSymbol('proto.agentbillingserviceapi.VirtualBill', null, global);
141
143
  /**
142
144
  * Generated by JsPbCodeGenerator.
143
145
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -516,6 +518,48 @@ if (goog.DEBUG && !COMPILED) {
516
518
  */
517
519
  proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.displayName = 'proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest';
518
520
  }
521
+ /**
522
+ * Generated by JsPbCodeGenerator.
523
+ * @param {Array=} opt_data Optional initial data array, typically from a
524
+ * server response, or constructed directly in Javascript. The array is used
525
+ * in place and becomes part of the constructed object. It is not cloned.
526
+ * If no data is provided, the constructed object will be empty, but still
527
+ * valid.
528
+ * @extends {jspb.Message}
529
+ * @constructor
530
+ */
531
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest = function(opt_data) {
532
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.repeatedFields_, null);
533
+ };
534
+ goog.inherits(proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest, jspb.Message);
535
+ if (goog.DEBUG && !COMPILED) {
536
+ /**
537
+ * @public
538
+ * @override
539
+ */
540
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.displayName = 'proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest';
541
+ }
542
+ /**
543
+ * Generated by JsPbCodeGenerator.
544
+ * @param {Array=} opt_data Optional initial data array, typically from a
545
+ * server response, or constructed directly in Javascript. The array is used
546
+ * in place and becomes part of the constructed object. It is not cloned.
547
+ * If no data is provided, the constructed object will be empty, but still
548
+ * valid.
549
+ * @extends {jspb.Message}
550
+ * @constructor
551
+ */
552
+ proto.agentbillingserviceapi.VirtualBill = function(opt_data) {
553
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
554
+ };
555
+ goog.inherits(proto.agentbillingserviceapi.VirtualBill, jspb.Message);
556
+ if (goog.DEBUG && !COMPILED) {
557
+ /**
558
+ * @public
559
+ * @override
560
+ */
561
+ proto.agentbillingserviceapi.VirtualBill.displayName = 'proto.agentbillingserviceapi.VirtualBill';
562
+ }
519
563
  /**
520
564
  * Generated by JsPbCodeGenerator.
521
565
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7675,6 +7719,806 @@ proto.agentbillingserviceapi.CreateManuallyAddedAgentBillRequest.prototype.hasBi
7675
7719
 
7676
7720
 
7677
7721
 
7722
+ /**
7723
+ * List of repeated fields within this message type.
7724
+ * @private {!Array<number>}
7725
+ * @const
7726
+ */
7727
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.repeatedFields_ = [16];
7728
+
7729
+
7730
+
7731
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7732
+ /**
7733
+ * Creates an object representation of this proto.
7734
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7735
+ * Optional fields that are not set will be set to undefined.
7736
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7737
+ * For the list of reserved names please see:
7738
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7739
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7740
+ * JSPB instance for transitional soy proto support:
7741
+ * http://goto/soy-param-migration
7742
+ * @return {!Object}
7743
+ */
7744
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.toObject = function(opt_includeInstance) {
7745
+ return proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.toObject(opt_includeInstance, this);
7746
+ };
7747
+
7748
+
7749
+ /**
7750
+ * Static version of the {@see toObject} method.
7751
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7752
+ * the JSPB instance for transitional soy proto support:
7753
+ * http://goto/soy-param-migration
7754
+ * @param {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} msg The msg instance to transform.
7755
+ * @return {!Object}
7756
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7757
+ */
7758
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.toObject = function(includeInstance, msg) {
7759
+ var f, obj = {
7760
+ clientuserid: jspb.Message.getFieldWithDefault(msg, 1, 0),
7761
+ uploadbatchid: jspb.Message.getFieldWithDefault(msg, 2, 0),
7762
+ billercode: jspb.Message.getFieldWithDefault(msg, 3, ""),
7763
+ reference: jspb.Message.getFieldWithDefault(msg, 4, ""),
7764
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
7765
+ duedate: jspb.Message.getFieldWithDefault(msg, 6, ""),
7766
+ invoicenumber: jspb.Message.getFieldWithDefault(msg, 7, ""),
7767
+ description: jspb.Message.getFieldWithDefault(msg, 8, ""),
7768
+ attachmentid: jspb.Message.getFieldWithDefault(msg, 9, 0),
7769
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 15, 0),
7770
+ virtualbillsList: jspb.Message.toObjectList(msg.getVirtualbillsList(),
7771
+ proto.agentbillingserviceapi.VirtualBill.toObject, includeInstance),
7772
+ agentid: jspb.Message.getFieldWithDefault(msg, 17, 0)
7773
+ };
7774
+
7775
+ if (includeInstance) {
7776
+ obj.$jspbMessageInstance = msg;
7777
+ }
7778
+ return obj;
7779
+ };
7780
+ }
7781
+
7782
+
7783
+ /**
7784
+ * Deserializes binary data (in protobuf wire format).
7785
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7786
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest}
7787
+ */
7788
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.deserializeBinary = function(bytes) {
7789
+ var reader = new jspb.BinaryReader(bytes);
7790
+ var msg = new proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest;
7791
+ return proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.deserializeBinaryFromReader(msg, reader);
7792
+ };
7793
+
7794
+
7795
+ /**
7796
+ * Deserializes binary data (in protobuf wire format) from the
7797
+ * given reader into the given message object.
7798
+ * @param {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} msg The message object to deserialize into.
7799
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7800
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest}
7801
+ */
7802
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
7803
+ while (reader.nextField()) {
7804
+ if (reader.isEndGroup()) {
7805
+ break;
7806
+ }
7807
+ var field = reader.getFieldNumber();
7808
+ switch (field) {
7809
+ case 1:
7810
+ var value = /** @type {number} */ (reader.readInt64());
7811
+ msg.setClientuserid(value);
7812
+ break;
7813
+ case 2:
7814
+ var value = /** @type {number} */ (reader.readInt64());
7815
+ msg.setUploadbatchid(value);
7816
+ break;
7817
+ case 3:
7818
+ var value = /** @type {string} */ (reader.readString());
7819
+ msg.setBillercode(value);
7820
+ break;
7821
+ case 4:
7822
+ var value = /** @type {string} */ (reader.readString());
7823
+ msg.setReference(value);
7824
+ break;
7825
+ case 5:
7826
+ var value = /** @type {number} */ (reader.readDouble());
7827
+ msg.setAmount(value);
7828
+ break;
7829
+ case 6:
7830
+ var value = /** @type {string} */ (reader.readString());
7831
+ msg.setDuedate(value);
7832
+ break;
7833
+ case 7:
7834
+ var value = /** @type {string} */ (reader.readString());
7835
+ msg.setInvoicenumber(value);
7836
+ break;
7837
+ case 8:
7838
+ var value = /** @type {string} */ (reader.readString());
7839
+ msg.setDescription(value);
7840
+ break;
7841
+ case 9:
7842
+ var value = /** @type {number} */ (reader.readInt64());
7843
+ msg.setAttachmentid(value);
7844
+ break;
7845
+ case 15:
7846
+ var value = /** @type {number} */ (reader.readInt64());
7847
+ msg.setBillerconfigid(value);
7848
+ break;
7849
+ case 16:
7850
+ var value = new proto.agentbillingserviceapi.VirtualBill;
7851
+ reader.readMessage(value,proto.agentbillingserviceapi.VirtualBill.deserializeBinaryFromReader);
7852
+ msg.addVirtualbills(value);
7853
+ break;
7854
+ case 17:
7855
+ var value = /** @type {number} */ (reader.readInt64());
7856
+ msg.setAgentid(value);
7857
+ break;
7858
+ default:
7859
+ reader.skipField();
7860
+ break;
7861
+ }
7862
+ }
7863
+ return msg;
7864
+ };
7865
+
7866
+
7867
+ /**
7868
+ * Serializes the message to binary data (in protobuf wire format).
7869
+ * @return {!Uint8Array}
7870
+ */
7871
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.serializeBinary = function() {
7872
+ var writer = new jspb.BinaryWriter();
7873
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.serializeBinaryToWriter(this, writer);
7874
+ return writer.getResultBuffer();
7875
+ };
7876
+
7877
+
7878
+ /**
7879
+ * Serializes the given message to binary data (in protobuf wire
7880
+ * format), writing to the given BinaryWriter.
7881
+ * @param {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} message
7882
+ * @param {!jspb.BinaryWriter} writer
7883
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7884
+ */
7885
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.serializeBinaryToWriter = function(message, writer) {
7886
+ var f = undefined;
7887
+ f = message.getClientuserid();
7888
+ if (f !== 0) {
7889
+ writer.writeInt64(
7890
+ 1,
7891
+ f
7892
+ );
7893
+ }
7894
+ f = message.getUploadbatchid();
7895
+ if (f !== 0) {
7896
+ writer.writeInt64(
7897
+ 2,
7898
+ f
7899
+ );
7900
+ }
7901
+ f = message.getBillercode();
7902
+ if (f.length > 0) {
7903
+ writer.writeString(
7904
+ 3,
7905
+ f
7906
+ );
7907
+ }
7908
+ f = message.getReference();
7909
+ if (f.length > 0) {
7910
+ writer.writeString(
7911
+ 4,
7912
+ f
7913
+ );
7914
+ }
7915
+ f = message.getAmount();
7916
+ if (f !== 0.0) {
7917
+ writer.writeDouble(
7918
+ 5,
7919
+ f
7920
+ );
7921
+ }
7922
+ f = message.getDuedate();
7923
+ if (f.length > 0) {
7924
+ writer.writeString(
7925
+ 6,
7926
+ f
7927
+ );
7928
+ }
7929
+ f = message.getInvoicenumber();
7930
+ if (f.length > 0) {
7931
+ writer.writeString(
7932
+ 7,
7933
+ f
7934
+ );
7935
+ }
7936
+ f = message.getDescription();
7937
+ if (f.length > 0) {
7938
+ writer.writeString(
7939
+ 8,
7940
+ f
7941
+ );
7942
+ }
7943
+ f = message.getAttachmentid();
7944
+ if (f !== 0) {
7945
+ writer.writeInt64(
7946
+ 9,
7947
+ f
7948
+ );
7949
+ }
7950
+ f = message.getBillerconfigid();
7951
+ if (f !== 0) {
7952
+ writer.writeInt64(
7953
+ 15,
7954
+ f
7955
+ );
7956
+ }
7957
+ f = message.getVirtualbillsList();
7958
+ if (f.length > 0) {
7959
+ writer.writeRepeatedMessage(
7960
+ 16,
7961
+ f,
7962
+ proto.agentbillingserviceapi.VirtualBill.serializeBinaryToWriter
7963
+ );
7964
+ }
7965
+ f = message.getAgentid();
7966
+ if (f !== 0) {
7967
+ writer.writeInt64(
7968
+ 17,
7969
+ f
7970
+ );
7971
+ }
7972
+ };
7973
+
7974
+
7975
+ /**
7976
+ * optional int64 clientUserId = 1;
7977
+ * @return {number}
7978
+ */
7979
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getClientuserid = function() {
7980
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7981
+ };
7982
+
7983
+
7984
+ /**
7985
+ * @param {number} value
7986
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
7987
+ */
7988
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setClientuserid = function(value) {
7989
+ return jspb.Message.setProto3IntField(this, 1, value);
7990
+ };
7991
+
7992
+
7993
+ /**
7994
+ * optional int64 uploadBatchId = 2;
7995
+ * @return {number}
7996
+ */
7997
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getUploadbatchid = function() {
7998
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
7999
+ };
8000
+
8001
+
8002
+ /**
8003
+ * @param {number} value
8004
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8005
+ */
8006
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setUploadbatchid = function(value) {
8007
+ return jspb.Message.setProto3IntField(this, 2, value);
8008
+ };
8009
+
8010
+
8011
+ /**
8012
+ * optional string billerCode = 3;
8013
+ * @return {string}
8014
+ */
8015
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getBillercode = function() {
8016
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8017
+ };
8018
+
8019
+
8020
+ /**
8021
+ * @param {string} value
8022
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8023
+ */
8024
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setBillercode = function(value) {
8025
+ return jspb.Message.setProto3StringField(this, 3, value);
8026
+ };
8027
+
8028
+
8029
+ /**
8030
+ * optional string reference = 4;
8031
+ * @return {string}
8032
+ */
8033
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getReference = function() {
8034
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8035
+ };
8036
+
8037
+
8038
+ /**
8039
+ * @param {string} value
8040
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8041
+ */
8042
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setReference = function(value) {
8043
+ return jspb.Message.setProto3StringField(this, 4, value);
8044
+ };
8045
+
8046
+
8047
+ /**
8048
+ * optional double amount = 5;
8049
+ * @return {number}
8050
+ */
8051
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getAmount = function() {
8052
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
8053
+ };
8054
+
8055
+
8056
+ /**
8057
+ * @param {number} value
8058
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8059
+ */
8060
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setAmount = function(value) {
8061
+ return jspb.Message.setProto3FloatField(this, 5, value);
8062
+ };
8063
+
8064
+
8065
+ /**
8066
+ * optional string dueDate = 6;
8067
+ * @return {string}
8068
+ */
8069
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getDuedate = function() {
8070
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8071
+ };
8072
+
8073
+
8074
+ /**
8075
+ * @param {string} value
8076
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8077
+ */
8078
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setDuedate = function(value) {
8079
+ return jspb.Message.setProto3StringField(this, 6, value);
8080
+ };
8081
+
8082
+
8083
+ /**
8084
+ * optional string invoiceNumber = 7;
8085
+ * @return {string}
8086
+ */
8087
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getInvoicenumber = function() {
8088
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
8089
+ };
8090
+
8091
+
8092
+ /**
8093
+ * @param {string} value
8094
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8095
+ */
8096
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setInvoicenumber = function(value) {
8097
+ return jspb.Message.setProto3StringField(this, 7, value);
8098
+ };
8099
+
8100
+
8101
+ /**
8102
+ * optional string description = 8;
8103
+ * @return {string}
8104
+ */
8105
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getDescription = function() {
8106
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
8107
+ };
8108
+
8109
+
8110
+ /**
8111
+ * @param {string} value
8112
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8113
+ */
8114
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setDescription = function(value) {
8115
+ return jspb.Message.setProto3StringField(this, 8, value);
8116
+ };
8117
+
8118
+
8119
+ /**
8120
+ * optional int64 attachmentId = 9;
8121
+ * @return {number}
8122
+ */
8123
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getAttachmentid = function() {
8124
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
8125
+ };
8126
+
8127
+
8128
+ /**
8129
+ * @param {number} value
8130
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8131
+ */
8132
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setAttachmentid = function(value) {
8133
+ return jspb.Message.setProto3IntField(this, 9, value);
8134
+ };
8135
+
8136
+
8137
+ /**
8138
+ * optional int64 billerConfigId = 15;
8139
+ * @return {number}
8140
+ */
8141
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getBillerconfigid = function() {
8142
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
8143
+ };
8144
+
8145
+
8146
+ /**
8147
+ * @param {number} value
8148
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8149
+ */
8150
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setBillerconfigid = function(value) {
8151
+ return jspb.Message.setProto3IntField(this, 15, value);
8152
+ };
8153
+
8154
+
8155
+ /**
8156
+ * repeated VirtualBill virtualBills = 16;
8157
+ * @return {!Array<!proto.agentbillingserviceapi.VirtualBill>}
8158
+ */
8159
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getVirtualbillsList = function() {
8160
+ return /** @type{!Array<!proto.agentbillingserviceapi.VirtualBill>} */ (
8161
+ jspb.Message.getRepeatedWrapperField(this, proto.agentbillingserviceapi.VirtualBill, 16));
8162
+ };
8163
+
8164
+
8165
+ /**
8166
+ * @param {!Array<!proto.agentbillingserviceapi.VirtualBill>} value
8167
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8168
+ */
8169
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setVirtualbillsList = function(value) {
8170
+ return jspb.Message.setRepeatedWrapperField(this, 16, value);
8171
+ };
8172
+
8173
+
8174
+ /**
8175
+ * @param {!proto.agentbillingserviceapi.VirtualBill=} opt_value
8176
+ * @param {number=} opt_index
8177
+ * @return {!proto.agentbillingserviceapi.VirtualBill}
8178
+ */
8179
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.addVirtualbills = function(opt_value, opt_index) {
8180
+ return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.agentbillingserviceapi.VirtualBill, opt_index);
8181
+ };
8182
+
8183
+
8184
+ /**
8185
+ * Clears the list making it empty but non-null.
8186
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8187
+ */
8188
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.clearVirtualbillsList = function() {
8189
+ return this.setVirtualbillsList([]);
8190
+ };
8191
+
8192
+
8193
+ /**
8194
+ * optional int64 agentId = 17;
8195
+ * @return {number}
8196
+ */
8197
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.getAgentid = function() {
8198
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
8199
+ };
8200
+
8201
+
8202
+ /**
8203
+ * @param {number} value
8204
+ * @return {!proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest} returns this
8205
+ */
8206
+ proto.agentbillingserviceapi.CreatePayrollAgentBillInternalRequest.prototype.setAgentid = function(value) {
8207
+ return jspb.Message.setProto3IntField(this, 17, value);
8208
+ };
8209
+
8210
+
8211
+
8212
+
8213
+
8214
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8215
+ /**
8216
+ * Creates an object representation of this proto.
8217
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8218
+ * Optional fields that are not set will be set to undefined.
8219
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8220
+ * For the list of reserved names please see:
8221
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8222
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8223
+ * JSPB instance for transitional soy proto support:
8224
+ * http://goto/soy-param-migration
8225
+ * @return {!Object}
8226
+ */
8227
+ proto.agentbillingserviceapi.VirtualBill.prototype.toObject = function(opt_includeInstance) {
8228
+ return proto.agentbillingserviceapi.VirtualBill.toObject(opt_includeInstance, this);
8229
+ };
8230
+
8231
+
8232
+ /**
8233
+ * Static version of the {@see toObject} method.
8234
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8235
+ * the JSPB instance for transitional soy proto support:
8236
+ * http://goto/soy-param-migration
8237
+ * @param {!proto.agentbillingserviceapi.VirtualBill} msg The msg instance to transform.
8238
+ * @return {!Object}
8239
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8240
+ */
8241
+ proto.agentbillingserviceapi.VirtualBill.toObject = function(includeInstance, msg) {
8242
+ var f, obj = {
8243
+ amount: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
8244
+ billercode: jspb.Message.getFieldWithDefault(msg, 5, ""),
8245
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 6, 0),
8246
+ reference: jspb.Message.getFieldWithDefault(msg, 7, ""),
8247
+ bankaccountname: jspb.Message.getFieldWithDefault(msg, 8, ""),
8248
+ invoicenumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
8249
+ paymentprocessor: jspb.Message.getFieldWithDefault(msg, 10, "")
8250
+ };
8251
+
8252
+ if (includeInstance) {
8253
+ obj.$jspbMessageInstance = msg;
8254
+ }
8255
+ return obj;
8256
+ };
8257
+ }
8258
+
8259
+
8260
+ /**
8261
+ * Deserializes binary data (in protobuf wire format).
8262
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
8263
+ * @return {!proto.agentbillingserviceapi.VirtualBill}
8264
+ */
8265
+ proto.agentbillingserviceapi.VirtualBill.deserializeBinary = function(bytes) {
8266
+ var reader = new jspb.BinaryReader(bytes);
8267
+ var msg = new proto.agentbillingserviceapi.VirtualBill;
8268
+ return proto.agentbillingserviceapi.VirtualBill.deserializeBinaryFromReader(msg, reader);
8269
+ };
8270
+
8271
+
8272
+ /**
8273
+ * Deserializes binary data (in protobuf wire format) from the
8274
+ * given reader into the given message object.
8275
+ * @param {!proto.agentbillingserviceapi.VirtualBill} msg The message object to deserialize into.
8276
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
8277
+ * @return {!proto.agentbillingserviceapi.VirtualBill}
8278
+ */
8279
+ proto.agentbillingserviceapi.VirtualBill.deserializeBinaryFromReader = function(msg, reader) {
8280
+ while (reader.nextField()) {
8281
+ if (reader.isEndGroup()) {
8282
+ break;
8283
+ }
8284
+ var field = reader.getFieldNumber();
8285
+ switch (field) {
8286
+ case 3:
8287
+ var value = /** @type {number} */ (reader.readDouble());
8288
+ msg.setAmount(value);
8289
+ break;
8290
+ case 5:
8291
+ var value = /** @type {string} */ (reader.readString());
8292
+ msg.setBillercode(value);
8293
+ break;
8294
+ case 6:
8295
+ var value = /** @type {number} */ (reader.readInt64());
8296
+ msg.setBillerconfigid(value);
8297
+ break;
8298
+ case 7:
8299
+ var value = /** @type {string} */ (reader.readString());
8300
+ msg.setReference(value);
8301
+ break;
8302
+ case 8:
8303
+ var value = /** @type {string} */ (reader.readString());
8304
+ msg.setBankaccountname(value);
8305
+ break;
8306
+ case 9:
8307
+ var value = /** @type {string} */ (reader.readString());
8308
+ msg.setInvoicenumber(value);
8309
+ break;
8310
+ case 10:
8311
+ var value = /** @type {string} */ (reader.readString());
8312
+ msg.setPaymentprocessor(value);
8313
+ break;
8314
+ default:
8315
+ reader.skipField();
8316
+ break;
8317
+ }
8318
+ }
8319
+ return msg;
8320
+ };
8321
+
8322
+
8323
+ /**
8324
+ * Serializes the message to binary data (in protobuf wire format).
8325
+ * @return {!Uint8Array}
8326
+ */
8327
+ proto.agentbillingserviceapi.VirtualBill.prototype.serializeBinary = function() {
8328
+ var writer = new jspb.BinaryWriter();
8329
+ proto.agentbillingserviceapi.VirtualBill.serializeBinaryToWriter(this, writer);
8330
+ return writer.getResultBuffer();
8331
+ };
8332
+
8333
+
8334
+ /**
8335
+ * Serializes the given message to binary data (in protobuf wire
8336
+ * format), writing to the given BinaryWriter.
8337
+ * @param {!proto.agentbillingserviceapi.VirtualBill} message
8338
+ * @param {!jspb.BinaryWriter} writer
8339
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8340
+ */
8341
+ proto.agentbillingserviceapi.VirtualBill.serializeBinaryToWriter = function(message, writer) {
8342
+ var f = undefined;
8343
+ f = message.getAmount();
8344
+ if (f !== 0.0) {
8345
+ writer.writeDouble(
8346
+ 3,
8347
+ f
8348
+ );
8349
+ }
8350
+ f = message.getBillercode();
8351
+ if (f.length > 0) {
8352
+ writer.writeString(
8353
+ 5,
8354
+ f
8355
+ );
8356
+ }
8357
+ f = message.getBillerconfigid();
8358
+ if (f !== 0) {
8359
+ writer.writeInt64(
8360
+ 6,
8361
+ f
8362
+ );
8363
+ }
8364
+ f = message.getReference();
8365
+ if (f.length > 0) {
8366
+ writer.writeString(
8367
+ 7,
8368
+ f
8369
+ );
8370
+ }
8371
+ f = message.getBankaccountname();
8372
+ if (f.length > 0) {
8373
+ writer.writeString(
8374
+ 8,
8375
+ f
8376
+ );
8377
+ }
8378
+ f = message.getInvoicenumber();
8379
+ if (f.length > 0) {
8380
+ writer.writeString(
8381
+ 9,
8382
+ f
8383
+ );
8384
+ }
8385
+ f = message.getPaymentprocessor();
8386
+ if (f.length > 0) {
8387
+ writer.writeString(
8388
+ 10,
8389
+ f
8390
+ );
8391
+ }
8392
+ };
8393
+
8394
+
8395
+ /**
8396
+ * optional double amount = 3;
8397
+ * @return {number}
8398
+ */
8399
+ proto.agentbillingserviceapi.VirtualBill.prototype.getAmount = function() {
8400
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
8401
+ };
8402
+
8403
+
8404
+ /**
8405
+ * @param {number} value
8406
+ * @return {!proto.agentbillingserviceapi.VirtualBill} returns this
8407
+ */
8408
+ proto.agentbillingserviceapi.VirtualBill.prototype.setAmount = function(value) {
8409
+ return jspb.Message.setProto3FloatField(this, 3, value);
8410
+ };
8411
+
8412
+
8413
+ /**
8414
+ * optional string billerCode = 5;
8415
+ * @return {string}
8416
+ */
8417
+ proto.agentbillingserviceapi.VirtualBill.prototype.getBillercode = function() {
8418
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
8419
+ };
8420
+
8421
+
8422
+ /**
8423
+ * @param {string} value
8424
+ * @return {!proto.agentbillingserviceapi.VirtualBill} returns this
8425
+ */
8426
+ proto.agentbillingserviceapi.VirtualBill.prototype.setBillercode = function(value) {
8427
+ return jspb.Message.setProto3StringField(this, 5, value);
8428
+ };
8429
+
8430
+
8431
+ /**
8432
+ * optional int64 billerConfigId = 6;
8433
+ * @return {number}
8434
+ */
8435
+ proto.agentbillingserviceapi.VirtualBill.prototype.getBillerconfigid = function() {
8436
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
8437
+ };
8438
+
8439
+
8440
+ /**
8441
+ * @param {number} value
8442
+ * @return {!proto.agentbillingserviceapi.VirtualBill} returns this
8443
+ */
8444
+ proto.agentbillingserviceapi.VirtualBill.prototype.setBillerconfigid = function(value) {
8445
+ return jspb.Message.setProto3IntField(this, 6, value);
8446
+ };
8447
+
8448
+
8449
+ /**
8450
+ * optional string reference = 7;
8451
+ * @return {string}
8452
+ */
8453
+ proto.agentbillingserviceapi.VirtualBill.prototype.getReference = function() {
8454
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
8455
+ };
8456
+
8457
+
8458
+ /**
8459
+ * @param {string} value
8460
+ * @return {!proto.agentbillingserviceapi.VirtualBill} returns this
8461
+ */
8462
+ proto.agentbillingserviceapi.VirtualBill.prototype.setReference = function(value) {
8463
+ return jspb.Message.setProto3StringField(this, 7, value);
8464
+ };
8465
+
8466
+
8467
+ /**
8468
+ * optional string bankAccountName = 8;
8469
+ * @return {string}
8470
+ */
8471
+ proto.agentbillingserviceapi.VirtualBill.prototype.getBankaccountname = function() {
8472
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
8473
+ };
8474
+
8475
+
8476
+ /**
8477
+ * @param {string} value
8478
+ * @return {!proto.agentbillingserviceapi.VirtualBill} returns this
8479
+ */
8480
+ proto.agentbillingserviceapi.VirtualBill.prototype.setBankaccountname = function(value) {
8481
+ return jspb.Message.setProto3StringField(this, 8, value);
8482
+ };
8483
+
8484
+
8485
+ /**
8486
+ * optional string invoiceNumber = 9;
8487
+ * @return {string}
8488
+ */
8489
+ proto.agentbillingserviceapi.VirtualBill.prototype.getInvoicenumber = function() {
8490
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
8491
+ };
8492
+
8493
+
8494
+ /**
8495
+ * @param {string} value
8496
+ * @return {!proto.agentbillingserviceapi.VirtualBill} returns this
8497
+ */
8498
+ proto.agentbillingserviceapi.VirtualBill.prototype.setInvoicenumber = function(value) {
8499
+ return jspb.Message.setProto3StringField(this, 9, value);
8500
+ };
8501
+
8502
+
8503
+ /**
8504
+ * optional string paymentProcessor = 10;
8505
+ * @return {string}
8506
+ */
8507
+ proto.agentbillingserviceapi.VirtualBill.prototype.getPaymentprocessor = function() {
8508
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8509
+ };
8510
+
8511
+
8512
+ /**
8513
+ * @param {string} value
8514
+ * @return {!proto.agentbillingserviceapi.VirtualBill} returns this
8515
+ */
8516
+ proto.agentbillingserviceapi.VirtualBill.prototype.setPaymentprocessor = function(value) {
8517
+ return jspb.Message.setProto3StringField(this, 10, value);
8518
+ };
8519
+
8520
+
8521
+
7678
8522
 
7679
8523
 
7680
8524
  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": "25.11.4719",
3
+ "version": "25.11.4745",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",