@stashfin/grpc 1.2.284 → 1.2.285
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.
- package/package.json +1 -1
- package/ts/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getdbrcolending.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getobligation.js +1 -1
- package/ts/bureau/getreport.js +1 -1
- package/ts/bureau.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.js +1 -1
- package/ts/colender/repayLoan.js +1 -1
- package/ts/colender.js +1 -1
- package/ts/customers/aa/getaatxnstatus.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addfathersname.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addmoredetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
- package/ts/customers/cb/cbsignup.js +1 -1
- package/ts/customers/cb/getcbtxnstatus.js +1 -1
- package/ts/customers/cb/getcreditbuilder.js +1 -1
- package/ts/customers/cb/getpaymentsummary.js +1 -1
- package/ts/customers/cb/lesscsimprove.js +1 -1
- package/ts/customers/cb/morecsimprove.js +1 -1
- package/ts/customers/cb/paynow.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/cb/updatecbtxnstatus.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/enach/gettxnstatus.js +1 -1
- package/ts/customers/enach/getweburl.js +1 -1
- package/ts/customers/enach/updatetxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.js +1 -1
- package/ts/customers/forceupdate.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/freedom/addressconfirmation.js +1 -1
- package/ts/customers/freedom/freedompaynow.js +1 -1
- package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
- package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
- package/ts/customers/getaddresslist.js +1 -1
- package/ts/customers/getappsubmittedscreen.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getoccupationlist.js +1 -1
- package/ts/customers/getpaymentoptions.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/logout.js +1 -1
- package/ts/customers/pd/getbanklist.js +1 -1
- package/ts/customers/pd/validatebankaccount.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/savelimit.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/updatecategory.js +1 -1
- package/ts/customers/updatecustomerbyid.js +1 -1
- package/ts/customers/updatedlnumber.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatevehiclenumber.js +1 -1
- package/ts/customers/uploaddocuments.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.js +1 -1
- package/ts/decisionengine/decisionengine.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents.js +1 -1
- package/ts/example.js +1 -1
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.js +1 -1
- package/ts/growth/getchrplans.js +1 -1
- package/ts/growth/getcredithealthreport.js +1 -1
- package/ts/growth/initiatepayment.js +1 -1
- package/ts/growth/processchrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/loans/amortization.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/forecloseamount.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/futurepaymentmoredetails.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.js +1 -1
- package/ts/loans/getusedlimit.js +1 -1
- package/ts/loans/getvirtualbankinfo.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/paynow.js +1 -1
- package/ts/loans/refund.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/rollback.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans/updatetransactionstatus.js +1 -1
- package/ts/loans.js +1 -1
- package/ts/payments/checkpaymentstatus.js +1 -1
- package/ts/payments/fundtransfer.d.ts +62 -0
- package/ts/payments/fundtransfer.js +410 -0
- package/ts/payments/getpaymentoptions.js +1 -1
- package/ts/payments/initiatepayment.js +1 -1
- package/ts/payments/nachpresentation.js +1 -1
- package/ts/payments/nachregistration.js +1 -1
- package/ts/payments.d.ts +14 -0
- package/ts/payments.js +11 -1
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/customers/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
- package/ts/customers/sendemailtoken.d.ts +0 -35
- package/ts/customers/sendemailtoken.js +0 -117
- package/ts/customers/skipdlrcscreen.d.ts +0 -35
- package/ts/customers/skipdlrcscreen.js +0 -117
- package/ts/customers/step1.d.ts +0 -69
- package/ts/customers/step1.js +0 -395
- package/ts/customers/step10.d.ts +0 -73
- package/ts/customers/step10.js +0 -459
- package/ts/customers/step2.d.ts +0 -68
- package/ts/customers/step2.js +0 -381
- package/ts/customers/step7.d.ts +0 -68
- package/ts/customers/step7.js +0 -381
- package/ts/customers/step8.d.ts +0 -69
- package/ts/customers/step8.js +0 -395
- package/ts/customers/step9.d.ts +0 -75
- package/ts/customers/step9.js +0 -489
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/verifyemail.d.ts +0 -35
- package/ts/customers/verifyemail.js +0 -117
- package/ts/google/protobuf/timestamp.d.ts +0 -127
- package/ts/google/protobuf/timestamp.js +0 -97
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/getpendingemiamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/getsummarystaticfields.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/gettransactionstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/getusedlimit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/getusedlimit.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/getvirtualbankinfo.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/loansummary.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/loansummary.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/paymentallocation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/paymenthistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/paynow.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/paynow.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/refund.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/refund.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/restructureloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/rollback.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/rollback.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/sendemail.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/sendemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/sendnocemail.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/sendnocemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/transactionlist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/updateinstallments.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/updateloan.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/updateloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: loans/updatetransactionstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: payments/checkpaymentstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "payments.fundtransfer";
|
|
3
|
+
export interface request {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
client_id: string;
|
|
6
|
+
external_order_id: string;
|
|
7
|
+
amount: number;
|
|
8
|
+
source: request_bank_details[];
|
|
9
|
+
destination: request_bank_details[];
|
|
10
|
+
loan_id?: string | undefined;
|
|
11
|
+
mode: string;
|
|
12
|
+
}
|
|
13
|
+
export interface request_bank_details {
|
|
14
|
+
account_no: string;
|
|
15
|
+
ifsc: string;
|
|
16
|
+
name: string;
|
|
17
|
+
email: string;
|
|
18
|
+
phone: string;
|
|
19
|
+
}
|
|
20
|
+
export interface response {
|
|
21
|
+
status: string;
|
|
22
|
+
status_code: number;
|
|
23
|
+
customer_id: number;
|
|
24
|
+
external_order_id: string;
|
|
25
|
+
amount: number;
|
|
26
|
+
message?: string | undefined;
|
|
27
|
+
}
|
|
28
|
+
export declare const request: {
|
|
29
|
+
encode(message: request, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): request;
|
|
31
|
+
fromJSON(object: any): request;
|
|
32
|
+
toJSON(message: request): unknown;
|
|
33
|
+
create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
|
|
34
|
+
fromPartial<I extends Exact<DeepPartial<request>, I>>(object: I): request;
|
|
35
|
+
};
|
|
36
|
+
export declare const request_bank_details: {
|
|
37
|
+
encode(message: request_bank_details, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): request_bank_details;
|
|
39
|
+
fromJSON(object: any): request_bank_details;
|
|
40
|
+
toJSON(message: request_bank_details): unknown;
|
|
41
|
+
create<I extends Exact<DeepPartial<request_bank_details>, I>>(base?: I): request_bank_details;
|
|
42
|
+
fromPartial<I extends Exact<DeepPartial<request_bank_details>, I>>(object: I): request_bank_details;
|
|
43
|
+
};
|
|
44
|
+
export declare const response: {
|
|
45
|
+
encode(message: response, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): response;
|
|
47
|
+
fromJSON(object: any): response;
|
|
48
|
+
toJSON(message: response): unknown;
|
|
49
|
+
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
50
|
+
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
51
|
+
};
|
|
52
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
53
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
54
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
55
|
+
} : Partial<T>;
|
|
56
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
57
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
58
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
59
|
+
} & {
|
|
60
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
61
|
+
};
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.28.2
|
|
6
|
+
// source: payments/fundtransfer.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.response = exports.request_bank_details = exports.request = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "payments.fundtransfer";
|
|
15
|
+
function createBaserequest() {
|
|
16
|
+
return {
|
|
17
|
+
customer_id: 0,
|
|
18
|
+
client_id: "",
|
|
19
|
+
external_order_id: "",
|
|
20
|
+
amount: 0,
|
|
21
|
+
source: [],
|
|
22
|
+
destination: [],
|
|
23
|
+
loan_id: undefined,
|
|
24
|
+
mode: "",
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.request = {
|
|
28
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
29
|
+
if (message.customer_id !== 0) {
|
|
30
|
+
writer.uint32(8).int32(message.customer_id);
|
|
31
|
+
}
|
|
32
|
+
if (message.client_id !== "") {
|
|
33
|
+
writer.uint32(18).string(message.client_id);
|
|
34
|
+
}
|
|
35
|
+
if (message.external_order_id !== "") {
|
|
36
|
+
writer.uint32(26).string(message.external_order_id);
|
|
37
|
+
}
|
|
38
|
+
if (message.amount !== 0) {
|
|
39
|
+
writer.uint32(33).double(message.amount);
|
|
40
|
+
}
|
|
41
|
+
for (const v of message.source) {
|
|
42
|
+
exports.request_bank_details.encode(v, writer.uint32(42).fork()).ldelim();
|
|
43
|
+
}
|
|
44
|
+
for (const v of message.destination) {
|
|
45
|
+
exports.request_bank_details.encode(v, writer.uint32(50).fork()).ldelim();
|
|
46
|
+
}
|
|
47
|
+
if (message.loan_id !== undefined) {
|
|
48
|
+
writer.uint32(58).string(message.loan_id);
|
|
49
|
+
}
|
|
50
|
+
if (message.mode !== "") {
|
|
51
|
+
writer.uint32(66).string(message.mode);
|
|
52
|
+
}
|
|
53
|
+
return writer;
|
|
54
|
+
},
|
|
55
|
+
decode(input, length) {
|
|
56
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
57
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
58
|
+
const message = createBaserequest();
|
|
59
|
+
while (reader.pos < end) {
|
|
60
|
+
const tag = reader.uint32();
|
|
61
|
+
switch (tag >>> 3) {
|
|
62
|
+
case 1:
|
|
63
|
+
if (tag !== 8) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.customer_id = reader.int32();
|
|
67
|
+
continue;
|
|
68
|
+
case 2:
|
|
69
|
+
if (tag !== 18) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.client_id = reader.string();
|
|
73
|
+
continue;
|
|
74
|
+
case 3:
|
|
75
|
+
if (tag !== 26) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.external_order_id = reader.string();
|
|
79
|
+
continue;
|
|
80
|
+
case 4:
|
|
81
|
+
if (tag !== 33) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.amount = reader.double();
|
|
85
|
+
continue;
|
|
86
|
+
case 5:
|
|
87
|
+
if (tag !== 42) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.source.push(exports.request_bank_details.decode(reader, reader.uint32()));
|
|
91
|
+
continue;
|
|
92
|
+
case 6:
|
|
93
|
+
if (tag !== 50) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.destination.push(exports.request_bank_details.decode(reader, reader.uint32()));
|
|
97
|
+
continue;
|
|
98
|
+
case 7:
|
|
99
|
+
if (tag !== 58) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.loan_id = reader.string();
|
|
103
|
+
continue;
|
|
104
|
+
case 8:
|
|
105
|
+
if (tag !== 66) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.mode = reader.string();
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
reader.skipType(tag & 7);
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromJSON(object) {
|
|
119
|
+
return {
|
|
120
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
121
|
+
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
122
|
+
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
123
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
124
|
+
source: globalThis.Array.isArray(object?.source)
|
|
125
|
+
? object.source.map((e) => exports.request_bank_details.fromJSON(e))
|
|
126
|
+
: [],
|
|
127
|
+
destination: globalThis.Array.isArray(object?.destination)
|
|
128
|
+
? object.destination.map((e) => exports.request_bank_details.fromJSON(e))
|
|
129
|
+
: [],
|
|
130
|
+
loan_id: isSet(object.loan_id) ? globalThis.String(object.loan_id) : undefined,
|
|
131
|
+
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
132
|
+
};
|
|
133
|
+
},
|
|
134
|
+
toJSON(message) {
|
|
135
|
+
const obj = {};
|
|
136
|
+
if (message.customer_id !== 0) {
|
|
137
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
138
|
+
}
|
|
139
|
+
if (message.client_id !== "") {
|
|
140
|
+
obj.client_id = message.client_id;
|
|
141
|
+
}
|
|
142
|
+
if (message.external_order_id !== "") {
|
|
143
|
+
obj.external_order_id = message.external_order_id;
|
|
144
|
+
}
|
|
145
|
+
if (message.amount !== 0) {
|
|
146
|
+
obj.amount = message.amount;
|
|
147
|
+
}
|
|
148
|
+
if (message.source?.length) {
|
|
149
|
+
obj.source = message.source.map((e) => exports.request_bank_details.toJSON(e));
|
|
150
|
+
}
|
|
151
|
+
if (message.destination?.length) {
|
|
152
|
+
obj.destination = message.destination.map((e) => exports.request_bank_details.toJSON(e));
|
|
153
|
+
}
|
|
154
|
+
if (message.loan_id !== undefined) {
|
|
155
|
+
obj.loan_id = message.loan_id;
|
|
156
|
+
}
|
|
157
|
+
if (message.mode !== "") {
|
|
158
|
+
obj.mode = message.mode;
|
|
159
|
+
}
|
|
160
|
+
return obj;
|
|
161
|
+
},
|
|
162
|
+
create(base) {
|
|
163
|
+
return exports.request.fromPartial(base ?? {});
|
|
164
|
+
},
|
|
165
|
+
fromPartial(object) {
|
|
166
|
+
const message = createBaserequest();
|
|
167
|
+
message.customer_id = object.customer_id ?? 0;
|
|
168
|
+
message.client_id = object.client_id ?? "";
|
|
169
|
+
message.external_order_id = object.external_order_id ?? "";
|
|
170
|
+
message.amount = object.amount ?? 0;
|
|
171
|
+
message.source = object.source?.map((e) => exports.request_bank_details.fromPartial(e)) || [];
|
|
172
|
+
message.destination = object.destination?.map((e) => exports.request_bank_details.fromPartial(e)) || [];
|
|
173
|
+
message.loan_id = object.loan_id ?? undefined;
|
|
174
|
+
message.mode = object.mode ?? "";
|
|
175
|
+
return message;
|
|
176
|
+
},
|
|
177
|
+
};
|
|
178
|
+
function createBaserequest_bank_details() {
|
|
179
|
+
return { account_no: "", ifsc: "", name: "", email: "", phone: "" };
|
|
180
|
+
}
|
|
181
|
+
exports.request_bank_details = {
|
|
182
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
183
|
+
if (message.account_no !== "") {
|
|
184
|
+
writer.uint32(10).string(message.account_no);
|
|
185
|
+
}
|
|
186
|
+
if (message.ifsc !== "") {
|
|
187
|
+
writer.uint32(18).string(message.ifsc);
|
|
188
|
+
}
|
|
189
|
+
if (message.name !== "") {
|
|
190
|
+
writer.uint32(26).string(message.name);
|
|
191
|
+
}
|
|
192
|
+
if (message.email !== "") {
|
|
193
|
+
writer.uint32(34).string(message.email);
|
|
194
|
+
}
|
|
195
|
+
if (message.phone !== "") {
|
|
196
|
+
writer.uint32(42).string(message.phone);
|
|
197
|
+
}
|
|
198
|
+
return writer;
|
|
199
|
+
},
|
|
200
|
+
decode(input, length) {
|
|
201
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
202
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
203
|
+
const message = createBaserequest_bank_details();
|
|
204
|
+
while (reader.pos < end) {
|
|
205
|
+
const tag = reader.uint32();
|
|
206
|
+
switch (tag >>> 3) {
|
|
207
|
+
case 1:
|
|
208
|
+
if (tag !== 10) {
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
message.account_no = reader.string();
|
|
212
|
+
continue;
|
|
213
|
+
case 2:
|
|
214
|
+
if (tag !== 18) {
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
message.ifsc = reader.string();
|
|
218
|
+
continue;
|
|
219
|
+
case 3:
|
|
220
|
+
if (tag !== 26) {
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
message.name = reader.string();
|
|
224
|
+
continue;
|
|
225
|
+
case 4:
|
|
226
|
+
if (tag !== 34) {
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
message.email = reader.string();
|
|
230
|
+
continue;
|
|
231
|
+
case 5:
|
|
232
|
+
if (tag !== 42) {
|
|
233
|
+
break;
|
|
234
|
+
}
|
|
235
|
+
message.phone = reader.string();
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
239
|
+
break;
|
|
240
|
+
}
|
|
241
|
+
reader.skipType(tag & 7);
|
|
242
|
+
}
|
|
243
|
+
return message;
|
|
244
|
+
},
|
|
245
|
+
fromJSON(object) {
|
|
246
|
+
return {
|
|
247
|
+
account_no: isSet(object.account_no) ? globalThis.String(object.account_no) : "",
|
|
248
|
+
ifsc: isSet(object.ifsc) ? globalThis.String(object.ifsc) : "",
|
|
249
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
250
|
+
email: isSet(object.email) ? globalThis.String(object.email) : "",
|
|
251
|
+
phone: isSet(object.phone) ? globalThis.String(object.phone) : "",
|
|
252
|
+
};
|
|
253
|
+
},
|
|
254
|
+
toJSON(message) {
|
|
255
|
+
const obj = {};
|
|
256
|
+
if (message.account_no !== "") {
|
|
257
|
+
obj.account_no = message.account_no;
|
|
258
|
+
}
|
|
259
|
+
if (message.ifsc !== "") {
|
|
260
|
+
obj.ifsc = message.ifsc;
|
|
261
|
+
}
|
|
262
|
+
if (message.name !== "") {
|
|
263
|
+
obj.name = message.name;
|
|
264
|
+
}
|
|
265
|
+
if (message.email !== "") {
|
|
266
|
+
obj.email = message.email;
|
|
267
|
+
}
|
|
268
|
+
if (message.phone !== "") {
|
|
269
|
+
obj.phone = message.phone;
|
|
270
|
+
}
|
|
271
|
+
return obj;
|
|
272
|
+
},
|
|
273
|
+
create(base) {
|
|
274
|
+
return exports.request_bank_details.fromPartial(base ?? {});
|
|
275
|
+
},
|
|
276
|
+
fromPartial(object) {
|
|
277
|
+
const message = createBaserequest_bank_details();
|
|
278
|
+
message.account_no = object.account_no ?? "";
|
|
279
|
+
message.ifsc = object.ifsc ?? "";
|
|
280
|
+
message.name = object.name ?? "";
|
|
281
|
+
message.email = object.email ?? "";
|
|
282
|
+
message.phone = object.phone ?? "";
|
|
283
|
+
return message;
|
|
284
|
+
},
|
|
285
|
+
};
|
|
286
|
+
function createBaseresponse() {
|
|
287
|
+
return { status: "", status_code: 0, customer_id: 0, external_order_id: "", amount: 0, message: undefined };
|
|
288
|
+
}
|
|
289
|
+
exports.response = {
|
|
290
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
291
|
+
if (message.status !== "") {
|
|
292
|
+
writer.uint32(10).string(message.status);
|
|
293
|
+
}
|
|
294
|
+
if (message.status_code !== 0) {
|
|
295
|
+
writer.uint32(16).int32(message.status_code);
|
|
296
|
+
}
|
|
297
|
+
if (message.customer_id !== 0) {
|
|
298
|
+
writer.uint32(24).int32(message.customer_id);
|
|
299
|
+
}
|
|
300
|
+
if (message.external_order_id !== "") {
|
|
301
|
+
writer.uint32(34).string(message.external_order_id);
|
|
302
|
+
}
|
|
303
|
+
if (message.amount !== 0) {
|
|
304
|
+
writer.uint32(41).double(message.amount);
|
|
305
|
+
}
|
|
306
|
+
if (message.message !== undefined) {
|
|
307
|
+
writer.uint32(50).string(message.message);
|
|
308
|
+
}
|
|
309
|
+
return writer;
|
|
310
|
+
},
|
|
311
|
+
decode(input, length) {
|
|
312
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
313
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
314
|
+
const message = createBaseresponse();
|
|
315
|
+
while (reader.pos < end) {
|
|
316
|
+
const tag = reader.uint32();
|
|
317
|
+
switch (tag >>> 3) {
|
|
318
|
+
case 1:
|
|
319
|
+
if (tag !== 10) {
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
message.status = reader.string();
|
|
323
|
+
continue;
|
|
324
|
+
case 2:
|
|
325
|
+
if (tag !== 16) {
|
|
326
|
+
break;
|
|
327
|
+
}
|
|
328
|
+
message.status_code = reader.int32();
|
|
329
|
+
continue;
|
|
330
|
+
case 3:
|
|
331
|
+
if (tag !== 24) {
|
|
332
|
+
break;
|
|
333
|
+
}
|
|
334
|
+
message.customer_id = reader.int32();
|
|
335
|
+
continue;
|
|
336
|
+
case 4:
|
|
337
|
+
if (tag !== 34) {
|
|
338
|
+
break;
|
|
339
|
+
}
|
|
340
|
+
message.external_order_id = reader.string();
|
|
341
|
+
continue;
|
|
342
|
+
case 5:
|
|
343
|
+
if (tag !== 41) {
|
|
344
|
+
break;
|
|
345
|
+
}
|
|
346
|
+
message.amount = reader.double();
|
|
347
|
+
continue;
|
|
348
|
+
case 6:
|
|
349
|
+
if (tag !== 50) {
|
|
350
|
+
break;
|
|
351
|
+
}
|
|
352
|
+
message.message = reader.string();
|
|
353
|
+
continue;
|
|
354
|
+
}
|
|
355
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
356
|
+
break;
|
|
357
|
+
}
|
|
358
|
+
reader.skipType(tag & 7);
|
|
359
|
+
}
|
|
360
|
+
return message;
|
|
361
|
+
},
|
|
362
|
+
fromJSON(object) {
|
|
363
|
+
return {
|
|
364
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
365
|
+
status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
|
|
366
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
367
|
+
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
368
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
369
|
+
message: isSet(object.message) ? globalThis.String(object.message) : undefined,
|
|
370
|
+
};
|
|
371
|
+
},
|
|
372
|
+
toJSON(message) {
|
|
373
|
+
const obj = {};
|
|
374
|
+
if (message.status !== "") {
|
|
375
|
+
obj.status = message.status;
|
|
376
|
+
}
|
|
377
|
+
if (message.status_code !== 0) {
|
|
378
|
+
obj.status_code = Math.round(message.status_code);
|
|
379
|
+
}
|
|
380
|
+
if (message.customer_id !== 0) {
|
|
381
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
382
|
+
}
|
|
383
|
+
if (message.external_order_id !== "") {
|
|
384
|
+
obj.external_order_id = message.external_order_id;
|
|
385
|
+
}
|
|
386
|
+
if (message.amount !== 0) {
|
|
387
|
+
obj.amount = message.amount;
|
|
388
|
+
}
|
|
389
|
+
if (message.message !== undefined) {
|
|
390
|
+
obj.message = message.message;
|
|
391
|
+
}
|
|
392
|
+
return obj;
|
|
393
|
+
},
|
|
394
|
+
create(base) {
|
|
395
|
+
return exports.response.fromPartial(base ?? {});
|
|
396
|
+
},
|
|
397
|
+
fromPartial(object) {
|
|
398
|
+
const message = createBaseresponse();
|
|
399
|
+
message.status = object.status ?? "";
|
|
400
|
+
message.status_code = object.status_code ?? 0;
|
|
401
|
+
message.customer_id = object.customer_id ?? 0;
|
|
402
|
+
message.external_order_id = object.external_order_id ?? "";
|
|
403
|
+
message.amount = object.amount ?? 0;
|
|
404
|
+
message.message = object.message ?? undefined;
|
|
405
|
+
return message;
|
|
406
|
+
},
|
|
407
|
+
};
|
|
408
|
+
function isSet(value) {
|
|
409
|
+
return value !== null && value !== undefined;
|
|
410
|
+
}
|