@sniipwebmaster/agent-billing-client-grpcweb-ts 23.16.1294 → 23.16.1323

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.
@@ -1674,5 +1674,48 @@ export class AgentBillingServiceAPIServiceClient {
1674
1674
  this.methodDescriptorSendDeliveryBatchReminder);
1675
1675
  }
1676
1676
 
1677
+ methodDescriptorGetPaidAgentBillTransactionsForClient = new grpcWeb.MethodDescriptor(
1678
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetPaidAgentBillTransactionsForClient',
1679
+ grpcWeb.MethodType.UNARY,
1680
+ service_pb.GetPaidAgentBillTransactionsForClientRequest,
1681
+ service_pb.GetAgentBillTransactionsResponse,
1682
+ (request: service_pb.GetPaidAgentBillTransactionsForClientRequest) => {
1683
+ return request.serializeBinary();
1684
+ },
1685
+ service_pb.GetAgentBillTransactionsResponse.deserializeBinary
1686
+ );
1687
+
1688
+ getPaidAgentBillTransactionsForClient(
1689
+ request: service_pb.GetPaidAgentBillTransactionsForClientRequest,
1690
+ metadata: grpcWeb.Metadata | null): Promise<service_pb.GetAgentBillTransactionsResponse>;
1691
+
1692
+ getPaidAgentBillTransactionsForClient(
1693
+ request: service_pb.GetPaidAgentBillTransactionsForClientRequest,
1694
+ metadata: grpcWeb.Metadata | null,
1695
+ callback: (err: grpcWeb.RpcError,
1696
+ response: service_pb.GetAgentBillTransactionsResponse) => void): grpcWeb.ClientReadableStream<service_pb.GetAgentBillTransactionsResponse>;
1697
+
1698
+ getPaidAgentBillTransactionsForClient(
1699
+ request: service_pb.GetPaidAgentBillTransactionsForClientRequest,
1700
+ metadata: grpcWeb.Metadata | null,
1701
+ callback?: (err: grpcWeb.RpcError,
1702
+ response: service_pb.GetAgentBillTransactionsResponse) => void) {
1703
+ if (callback !== undefined) {
1704
+ return this.client_.rpcCall(
1705
+ this.hostname_ +
1706
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetPaidAgentBillTransactionsForClient',
1707
+ request,
1708
+ metadata || {},
1709
+ this.methodDescriptorGetPaidAgentBillTransactionsForClient,
1710
+ callback);
1711
+ }
1712
+ return this.client_.unaryCall(
1713
+ this.hostname_ +
1714
+ '/agentbillingserviceapi.AgentBillingServiceAPIService/GetPaidAgentBillTransactionsForClient',
1715
+ request,
1716
+ metadata || {},
1717
+ this.methodDescriptorGetPaidAgentBillTransactionsForClient);
1718
+ }
1719
+
1677
1720
  }
1678
1721
 
@@ -2014,3 +2014,185 @@ export namespace UploadCsvResponse {
2014
2014
  }
2015
2015
  }
2016
2016
 
2017
+ export class AgentBillTransaction extends jspb.Message {
2018
+ getAgentbillid(): number;
2019
+ setAgentbillid(value: number): AgentBillTransaction;
2020
+
2021
+ getBillid(): number;
2022
+ setBillid(value: number): AgentBillTransaction;
2023
+
2024
+ getTransactionid(): number;
2025
+ setTransactionid(value: number): AgentBillTransaction;
2026
+
2027
+ getBillername(): string;
2028
+ setBillername(value: string): AgentBillTransaction;
2029
+
2030
+ getBillerlogo(): string;
2031
+ setBillerlogo(value: string): AgentBillTransaction;
2032
+
2033
+ getDuedate(): string;
2034
+ setDuedate(value: string): AgentBillTransaction;
2035
+
2036
+ getDatetimepaid(): string;
2037
+ setDatetimepaid(value: string): AgentBillTransaction;
2038
+
2039
+ getPaymentamount(): number;
2040
+ setPaymentamount(value: number): AgentBillTransaction;
2041
+
2042
+ getSurcharge(): number;
2043
+ setSurcharge(value: number): AgentBillTransaction;
2044
+
2045
+ getTotalamount(): number;
2046
+ setTotalamount(value: number): AgentBillTransaction;
2047
+
2048
+ getDescription(): string;
2049
+ setDescription(value: string): AgentBillTransaction;
2050
+
2051
+ getInvoicenumber(): string;
2052
+ setInvoicenumber(value: string): AgentBillTransaction;
2053
+
2054
+ getBillercode(): string;
2055
+ setBillercode(value: string): AgentBillTransaction;
2056
+
2057
+ getBpayreference(): string;
2058
+ setBpayreference(value: string): AgentBillTransaction;
2059
+
2060
+ getBsb(): string;
2061
+ setBsb(value: string): AgentBillTransaction;
2062
+
2063
+ getAccountnumber(): string;
2064
+ setAccountnumber(value: string): AgentBillTransaction;
2065
+
2066
+ getAccountname(): string;
2067
+ setAccountname(value: string): AgentBillTransaction;
2068
+
2069
+ getSmereference(): string;
2070
+ setSmereference(value: string): AgentBillTransaction;
2071
+
2072
+ getDeliverybatchname(): string;
2073
+ setDeliverybatchname(value: string): AgentBillTransaction;
2074
+
2075
+ getSettlementdate(): string;
2076
+ setSettlementdate(value: string): AgentBillTransaction;
2077
+
2078
+ getBpayreceiptid(): string;
2079
+ setBpayreceiptid(value: string): AgentBillTransaction;
2080
+
2081
+ getSmereceiptid(): string;
2082
+ setSmereceiptid(value: string): AgentBillTransaction;
2083
+
2084
+ getRewardamount(): number;
2085
+ setRewardamount(value: number): AgentBillTransaction;
2086
+
2087
+ serializeBinary(): Uint8Array;
2088
+ toObject(includeInstance?: boolean): AgentBillTransaction.AsObject;
2089
+ static toObject(includeInstance: boolean, msg: AgentBillTransaction): AgentBillTransaction.AsObject;
2090
+ static serializeBinaryToWriter(message: AgentBillTransaction, writer: jspb.BinaryWriter): void;
2091
+ static deserializeBinary(bytes: Uint8Array): AgentBillTransaction;
2092
+ static deserializeBinaryFromReader(message: AgentBillTransaction, reader: jspb.BinaryReader): AgentBillTransaction;
2093
+ }
2094
+
2095
+ export namespace AgentBillTransaction {
2096
+ export type AsObject = {
2097
+ agentbillid: number,
2098
+ billid: number,
2099
+ transactionid: number,
2100
+ billername: string,
2101
+ billerlogo: string,
2102
+ duedate: string,
2103
+ datetimepaid: string,
2104
+ paymentamount: number,
2105
+ surcharge: number,
2106
+ totalamount: number,
2107
+ description: string,
2108
+ invoicenumber: string,
2109
+ billercode: string,
2110
+ bpayreference: string,
2111
+ bsb: string,
2112
+ accountnumber: string,
2113
+ accountname: string,
2114
+ smereference: string,
2115
+ deliverybatchname: string,
2116
+ settlementdate: string,
2117
+ bpayreceiptid: string,
2118
+ smereceiptid: string,
2119
+ rewardamount: number,
2120
+ }
2121
+ }
2122
+
2123
+ export class GetPaidAgentBillTransactionsForClientRequest extends jspb.Message {
2124
+ getClientuserid(): number;
2125
+ setClientuserid(value: number): GetPaidAgentBillTransactionsForClientRequest;
2126
+
2127
+ getPage(): number;
2128
+ setPage(value: number): GetPaidAgentBillTransactionsForClientRequest;
2129
+
2130
+ getSize(): number;
2131
+ setSize(value: number): GetPaidAgentBillTransactionsForClientRequest;
2132
+
2133
+ getSortby(): string;
2134
+ setSortby(value: string): GetPaidAgentBillTransactionsForClientRequest;
2135
+
2136
+ getSortdirection(): string;
2137
+ setSortdirection(value: string): GetPaidAgentBillTransactionsForClientRequest;
2138
+
2139
+ serializeBinary(): Uint8Array;
2140
+ toObject(includeInstance?: boolean): GetPaidAgentBillTransactionsForClientRequest.AsObject;
2141
+ static toObject(includeInstance: boolean, msg: GetPaidAgentBillTransactionsForClientRequest): GetPaidAgentBillTransactionsForClientRequest.AsObject;
2142
+ static serializeBinaryToWriter(message: GetPaidAgentBillTransactionsForClientRequest, writer: jspb.BinaryWriter): void;
2143
+ static deserializeBinary(bytes: Uint8Array): GetPaidAgentBillTransactionsForClientRequest;
2144
+ static deserializeBinaryFromReader(message: GetPaidAgentBillTransactionsForClientRequest, reader: jspb.BinaryReader): GetPaidAgentBillTransactionsForClientRequest;
2145
+ }
2146
+
2147
+ export namespace GetPaidAgentBillTransactionsForClientRequest {
2148
+ export type AsObject = {
2149
+ clientuserid: number,
2150
+ page: number,
2151
+ size: number,
2152
+ sortby: string,
2153
+ sortdirection: string,
2154
+ }
2155
+ }
2156
+
2157
+ export class GetAgentBillTransactionsResponse extends jspb.Message {
2158
+ getResponsecode(): ResponseCode | undefined;
2159
+ setResponsecode(value?: ResponseCode): GetAgentBillTransactionsResponse;
2160
+ hasResponsecode(): boolean;
2161
+ clearResponsecode(): GetAgentBillTransactionsResponse;
2162
+
2163
+ getAgentbilltransactionsList(): Array<AgentBillTransaction>;
2164
+ setAgentbilltransactionsList(value: Array<AgentBillTransaction>): GetAgentBillTransactionsResponse;
2165
+ clearAgentbilltransactionsList(): GetAgentBillTransactionsResponse;
2166
+ addAgentbilltransactions(value?: AgentBillTransaction, index?: number): AgentBillTransaction;
2167
+
2168
+ getPage(): number;
2169
+ setPage(value: number): GetAgentBillTransactionsResponse;
2170
+
2171
+ getSize(): number;
2172
+ setSize(value: number): GetAgentBillTransactionsResponse;
2173
+
2174
+ getTotalpages(): number;
2175
+ setTotalpages(value: number): GetAgentBillTransactionsResponse;
2176
+
2177
+ getTotalsize(): number;
2178
+ setTotalsize(value: number): GetAgentBillTransactionsResponse;
2179
+
2180
+ serializeBinary(): Uint8Array;
2181
+ toObject(includeInstance?: boolean): GetAgentBillTransactionsResponse.AsObject;
2182
+ static toObject(includeInstance: boolean, msg: GetAgentBillTransactionsResponse): GetAgentBillTransactionsResponse.AsObject;
2183
+ static serializeBinaryToWriter(message: GetAgentBillTransactionsResponse, writer: jspb.BinaryWriter): void;
2184
+ static deserializeBinary(bytes: Uint8Array): GetAgentBillTransactionsResponse;
2185
+ static deserializeBinaryFromReader(message: GetAgentBillTransactionsResponse, reader: jspb.BinaryReader): GetAgentBillTransactionsResponse;
2186
+ }
2187
+
2188
+ export namespace GetAgentBillTransactionsResponse {
2189
+ export type AsObject = {
2190
+ responsecode?: ResponseCode.AsObject,
2191
+ agentbilltransactionsList: Array<AgentBillTransaction.AsObject>,
2192
+ page: number,
2193
+ size: number,
2194
+ totalpages: number,
2195
+ totalsize: number,
2196
+ }
2197
+ }
2198
+