@sniipwebmaster/bill-service-client-grpcweb-ts 23.16.12525 → 24.2.12557

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.
@@ -2749,5 +2749,91 @@ export class SniipBillAPIServiceClient {
2749
2749
  this.methodDescriptorGetBillByBillConfigId);
2750
2750
  }
2751
2751
 
2752
+ methodDescriptorCreateSmeRentAgreementBillForUser = new grpcWeb.MethodDescriptor(
2753
+ '/sniipbillapi.SniipBillAPIService/CreateSmeRentAgreementBillForUser',
2754
+ grpcWeb.MethodType.UNARY,
2755
+ service_pb.CreateSmeRentAgreementBillForUserRequest,
2756
+ service_pb.BillCreateResponse,
2757
+ (request: service_pb.CreateSmeRentAgreementBillForUserRequest) => {
2758
+ return request.serializeBinary();
2759
+ },
2760
+ service_pb.BillCreateResponse.deserializeBinary
2761
+ );
2762
+
2763
+ createSmeRentAgreementBillForUser(
2764
+ request: service_pb.CreateSmeRentAgreementBillForUserRequest,
2765
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.BillCreateResponse>;
2766
+
2767
+ createSmeRentAgreementBillForUser(
2768
+ request: service_pb.CreateSmeRentAgreementBillForUserRequest,
2769
+ metadata: grpcWeb.Metadata | null,
2770
+ callback: (err: grpcWeb.RpcError,
2771
+ response: service_pb.BillCreateResponse) => void): grpcWeb.ClientReadableStream<service_pb.BillCreateResponse>;
2772
+
2773
+ createSmeRentAgreementBillForUser(
2774
+ request: service_pb.CreateSmeRentAgreementBillForUserRequest,
2775
+ metadata: grpcWeb.Metadata | null,
2776
+ callback?: (err: grpcWeb.RpcError,
2777
+ response: service_pb.BillCreateResponse) => void) {
2778
+ if (callback !== undefined) {
2779
+ return this.client_.rpcCall(
2780
+ this.hostname_ +
2781
+ '/sniipbillapi.SniipBillAPIService/CreateSmeRentAgreementBillForUser',
2782
+ request,
2783
+ metadata || {},
2784
+ this.methodDescriptorCreateSmeRentAgreementBillForUser,
2785
+ callback);
2786
+ }
2787
+ return this.client_.unaryCall(
2788
+ this.hostname_ +
2789
+ '/sniipbillapi.SniipBillAPIService/CreateSmeRentAgreementBillForUser',
2790
+ request,
2791
+ metadata || {},
2792
+ this.methodDescriptorCreateSmeRentAgreementBillForUser);
2793
+ }
2794
+
2795
+ methodDescriptorNotifyUserOfNewSmeRentalAgreementBill = new grpcWeb.MethodDescriptor(
2796
+ '/sniipbillapi.SniipBillAPIService/NotifyUserOfNewSmeRentalAgreementBill',
2797
+ grpcWeb.MethodType.UNARY,
2798
+ service_pb.NotifyUserOfNewSmeRentalAgreementBillRequest,
2799
+ service_pb.ResponseCode,
2800
+ (request: service_pb.NotifyUserOfNewSmeRentalAgreementBillRequest) => {
2801
+ return request.serializeBinary();
2802
+ },
2803
+ service_pb.ResponseCode.deserializeBinary
2804
+ );
2805
+
2806
+ notifyUserOfNewSmeRentalAgreementBill(
2807
+ request: service_pb.NotifyUserOfNewSmeRentalAgreementBillRequest,
2808
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
2809
+
2810
+ notifyUserOfNewSmeRentalAgreementBill(
2811
+ request: service_pb.NotifyUserOfNewSmeRentalAgreementBillRequest,
2812
+ metadata: grpcWeb.Metadata | null,
2813
+ callback: (err: grpcWeb.RpcError,
2814
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
2815
+
2816
+ notifyUserOfNewSmeRentalAgreementBill(
2817
+ request: service_pb.NotifyUserOfNewSmeRentalAgreementBillRequest,
2818
+ metadata: grpcWeb.Metadata | null,
2819
+ callback?: (err: grpcWeb.RpcError,
2820
+ response: service_pb.ResponseCode) => void) {
2821
+ if (callback !== undefined) {
2822
+ return this.client_.rpcCall(
2823
+ this.hostname_ +
2824
+ '/sniipbillapi.SniipBillAPIService/NotifyUserOfNewSmeRentalAgreementBill',
2825
+ request,
2826
+ metadata || {},
2827
+ this.methodDescriptorNotifyUserOfNewSmeRentalAgreementBill,
2828
+ callback);
2829
+ }
2830
+ return this.client_.unaryCall(
2831
+ this.hostname_ +
2832
+ '/sniipbillapi.SniipBillAPIService/NotifyUserOfNewSmeRentalAgreementBill',
2833
+ request,
2834
+ metadata || {},
2835
+ this.methodDescriptorNotifyUserOfNewSmeRentalAgreementBill);
2836
+ }
2837
+
2752
2838
  }
2753
2839
 
@@ -4836,6 +4836,162 @@ export namespace GetBillByBillConfigIdRequest {
4836
4836
  }
4837
4837
  }
4838
4838
 
4839
+ export class CreateSmeRentAgreementBillForUserRequest extends jspb.Message {
4840
+ getBillername(): string;
4841
+ setBillername(value: string): CreateSmeRentAgreementBillForUserRequest;
4842
+
4843
+ getContactemail(): string;
4844
+ setContactemail(value: string): CreateSmeRentAgreementBillForUserRequest;
4845
+
4846
+ getContactphone(): string;
4847
+ setContactphone(value: string): CreateSmeRentAgreementBillForUserRequest;
4848
+
4849
+ getIndustrycode(): number;
4850
+ setIndustrycode(value: number): CreateSmeRentAgreementBillForUserRequest;
4851
+
4852
+ getIndustrysectorname(): string;
4853
+ setIndustrysectorname(value: string): CreateSmeRentAgreementBillForUserRequest;
4854
+
4855
+ getAbn(): string;
4856
+ setAbn(value: string): CreateSmeRentAgreementBillForUserRequest;
4857
+
4858
+ getDescription(): string;
4859
+ setDescription(value: string): CreateSmeRentAgreementBillForUserRequest;
4860
+
4861
+ getTimezone(): string;
4862
+ setTimezone(value: string): CreateSmeRentAgreementBillForUserRequest;
4863
+
4864
+ getBsb(): string;
4865
+ setBsb(value: string): CreateSmeRentAgreementBillForUserRequest;
4866
+
4867
+ getAccountno(): string;
4868
+ setAccountno(value: string): CreateSmeRentAgreementBillForUserRequest;
4869
+
4870
+ getBillernameoverride(): string;
4871
+ setBillernameoverride(value: string): CreateSmeRentAgreementBillForUserRequest;
4872
+
4873
+ getIsautosuspend(): boolean;
4874
+ setIsautosuspend(value: boolean): CreateSmeRentAgreementBillForUserRequest;
4875
+
4876
+ getIsbusinesspayment(): boolean;
4877
+ setIsbusinesspayment(value: boolean): CreateSmeRentAgreementBillForUserRequest;
4878
+
4879
+ getPaymentmethodgroupid(): number;
4880
+ setPaymentmethodgroupid(value: number): CreateSmeRentAgreementBillForUserRequest;
4881
+
4882
+ getMinamountpermitted(): number;
4883
+ setMinamountpermitted(value: number): CreateSmeRentAgreementBillForUserRequest;
4884
+
4885
+ getMaxamountpermitted(): number;
4886
+ setMaxamountpermitted(value: number): CreateSmeRentAgreementBillForUserRequest;
4887
+
4888
+ getOverpaymentpermitted(): boolean;
4889
+ setOverpaymentpermitted(value: boolean): CreateSmeRentAgreementBillForUserRequest;
4890
+
4891
+ getPartialpaymentpermitted(): boolean;
4892
+ setPartialpaymentpermitted(value: boolean): CreateSmeRentAgreementBillForUserRequest;
4893
+
4894
+ getReference(): string;
4895
+ setReference(value: string): CreateSmeRentAgreementBillForUserRequest;
4896
+
4897
+ getCustomerbankaccountname(): string;
4898
+ setCustomerbankaccountname(value: string): CreateSmeRentAgreementBillForUserRequest;
4899
+
4900
+ getInvoiceno(): string;
4901
+ setInvoiceno(value: string): CreateSmeRentAgreementBillForUserRequest;
4902
+
4903
+ getUserid(): number;
4904
+ setUserid(value: number): CreateSmeRentAgreementBillForUserRequest;
4905
+
4906
+ getAmount(): number;
4907
+ setAmount(value: number): CreateSmeRentAgreementBillForUserRequest;
4908
+
4909
+ getDuedate(): string;
4910
+ setDuedate(value: string): CreateSmeRentAgreementBillForUserRequest;
4911
+
4912
+ getAttachmentid(): number;
4913
+ setAttachmentid(value: number): CreateSmeRentAgreementBillForUserRequest;
4914
+
4915
+ getBillerrequiresupdate(): boolean;
4916
+ setBillerrequiresupdate(value: boolean): CreateSmeRentAgreementBillForUserRequest;
4917
+
4918
+ getConfigrequiresupdate(): boolean;
4919
+ setConfigrequiresupdate(value: boolean): CreateSmeRentAgreementBillForUserRequest;
4920
+
4921
+ getConfigisapproved(): boolean;
4922
+ setConfigisapproved(value: boolean): CreateSmeRentAgreementBillForUserRequest;
4923
+
4924
+ serializeBinary(): Uint8Array;
4925
+ toObject(includeInstance?: boolean): CreateSmeRentAgreementBillForUserRequest.AsObject;
4926
+ static toObject(includeInstance: boolean, msg: CreateSmeRentAgreementBillForUserRequest): CreateSmeRentAgreementBillForUserRequest.AsObject;
4927
+ static serializeBinaryToWriter(message: CreateSmeRentAgreementBillForUserRequest, writer: jspb.BinaryWriter): void;
4928
+ static deserializeBinary(bytes: Uint8Array): CreateSmeRentAgreementBillForUserRequest;
4929
+ static deserializeBinaryFromReader(message: CreateSmeRentAgreementBillForUserRequest, reader: jspb.BinaryReader): CreateSmeRentAgreementBillForUserRequest;
4930
+ }
4931
+
4932
+ export namespace CreateSmeRentAgreementBillForUserRequest {
4933
+ export type AsObject = {
4934
+ billername: string,
4935
+ contactemail: string,
4936
+ contactphone: string,
4937
+ industrycode: number,
4938
+ industrysectorname: string,
4939
+ abn: string,
4940
+ description: string,
4941
+ timezone: string,
4942
+ bsb: string,
4943
+ accountno: string,
4944
+ billernameoverride: string,
4945
+ isautosuspend: boolean,
4946
+ isbusinesspayment: boolean,
4947
+ paymentmethodgroupid: number,
4948
+ minamountpermitted: number,
4949
+ maxamountpermitted: number,
4950
+ overpaymentpermitted: boolean,
4951
+ partialpaymentpermitted: boolean,
4952
+ reference: string,
4953
+ customerbankaccountname: string,
4954
+ invoiceno: string,
4955
+ userid: number,
4956
+ amount: number,
4957
+ duedate: string,
4958
+ attachmentid: number,
4959
+ billerrequiresupdate: boolean,
4960
+ configrequiresupdate: boolean,
4961
+ configisapproved: boolean,
4962
+ }
4963
+ }
4964
+
4965
+ export class NotifyUserOfNewSmeRentalAgreementBillRequest extends jspb.Message {
4966
+ getBillid(): number;
4967
+ setBillid(value: number): NotifyUserOfNewSmeRentalAgreementBillRequest;
4968
+
4969
+ getSubject(): string;
4970
+ setSubject(value: string): NotifyUserOfNewSmeRentalAgreementBillRequest;
4971
+
4972
+ getMessage(): string;
4973
+ setMessage(value: string): NotifyUserOfNewSmeRentalAgreementBillRequest;
4974
+
4975
+ getPassword(): string;
4976
+ setPassword(value: string): NotifyUserOfNewSmeRentalAgreementBillRequest;
4977
+
4978
+ serializeBinary(): Uint8Array;
4979
+ toObject(includeInstance?: boolean): NotifyUserOfNewSmeRentalAgreementBillRequest.AsObject;
4980
+ static toObject(includeInstance: boolean, msg: NotifyUserOfNewSmeRentalAgreementBillRequest): NotifyUserOfNewSmeRentalAgreementBillRequest.AsObject;
4981
+ static serializeBinaryToWriter(message: NotifyUserOfNewSmeRentalAgreementBillRequest, writer: jspb.BinaryWriter): void;
4982
+ static deserializeBinary(bytes: Uint8Array): NotifyUserOfNewSmeRentalAgreementBillRequest;
4983
+ static deserializeBinaryFromReader(message: NotifyUserOfNewSmeRentalAgreementBillRequest, reader: jspb.BinaryReader): NotifyUserOfNewSmeRentalAgreementBillRequest;
4984
+ }
4985
+
4986
+ export namespace NotifyUserOfNewSmeRentalAgreementBillRequest {
4987
+ export type AsObject = {
4988
+ billid: number,
4989
+ subject: string,
4990
+ message: string,
4991
+ password: string,
4992
+ }
4993
+ }
4994
+
4839
4995
  export enum BillScanType {
4840
4996
  SNIIP = 0,
4841
4997
  BPAY = 1,