@stashfin/grpc 1.2.458 → 1.2.460
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 +2 -2
- package/ts/bureau/getcibilwebtoken.js +2 -2
- package/ts/bureau/getdbrcolending.js +2 -2
- package/ts/bureau/getdemogs.js +2 -2
- package/ts/bureau/getobligation.js +2 -2
- package/ts/bureau/getreport.js +2 -2
- package/ts/bureau.js +2 -2
- package/ts/colender/disburseLoan.js +2 -2
- package/ts/colender/forecloseLoan.js +2 -2
- package/ts/colender/repayLoan.js +2 -2
- package/ts/colender.js +2 -2
- package/ts/customers/aa/getaatxnstatus.js +2 -2
- package/ts/customers/aa/getbanklist.js +2 -2
- package/ts/customers/aa/initiate.js +2 -2
- package/ts/customers/accidentprotectionplan.js +2 -2
- package/ts/customers/addaddress.js +2 -2
- package/ts/customers/addbankaccountdetails.js +2 -2
- package/ts/customers/addfathersname.js +2 -2
- package/ts/customers/addgstnumber.js +2 -2
- package/ts/customers/addmoredetails.js +2 -2
- package/ts/customers/addsuspendedcustomer.js +2 -2
- package/ts/customers/adduserapps.js +2 -2
- package/ts/customers/applyclijourney.js +2 -2
- package/ts/customers/bulksms.js +2 -2
- package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
- package/ts/customers/cb/cbpaynow.js +2 -2
- package/ts/customers/cb/cbsignup.js +2 -2
- package/ts/customers/cb/getcbtxnstatus.js +2 -2
- package/ts/customers/cb/getcreditbuilder.js +2 -2
- package/ts/customers/cb/getpaymentsummary.js +2 -2
- package/ts/customers/cb/insurancedetails.js +2 -2
- package/ts/customers/cb/lesscsimprove.js +2 -2
- package/ts/customers/cb/morecsimprove.js +2 -2
- package/ts/customers/cb/paynow.js +2 -2
- package/ts/customers/cb/savecreditbuilder.js +2 -2
- package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
- package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
- package/ts/customers/cb/updatecbtxnstatus.js +2 -2
- package/ts/customers/changempin.js +2 -2
- package/ts/customers/createcustomerreference.js +2 -2
- package/ts/customers/createvanumber.js +2 -2
- package/ts/customers/customerinfo.js +2 -2
- package/ts/customers/deletedocument.js +2 -2
- package/ts/customers/deleteprofile.js +2 -2
- package/ts/customers/disablempin.js +2 -2
- package/ts/customers/enach/gettxnstatus.js +2 -2
- package/ts/customers/enach/getweburl.js +2 -2
- package/ts/customers/enach/updateenachtxnstatus.js +2 -2
- package/ts/customers/enach/updatetxnstatus.js +2 -2
- package/ts/customers/fetchrcprofile.js +2 -2
- package/ts/customers/floatingvideos.js +2 -2
- package/ts/customers/forceupdate.js +2 -2
- package/ts/customers/forgotmpin.js +2 -2
- package/ts/customers/forgotmpinverify.js +2 -2
- package/ts/customers/freedom/addressconfirmation.js +2 -2
- package/ts/customers/freedom/freedompaynow.js +2 -2
- package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
- package/ts/customers/freedom/updateadditionalverification.js +2 -2
- package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
- package/ts/customers/getaddresslist.js +2 -2
- package/ts/customers/getappsubmittedscreen.js +2 -2
- package/ts/customers/getbankaccountdetails.js +2 -2
- package/ts/customers/getbasicinfo.js +2 -2
- package/ts/customers/getcities.js +2 -2
- package/ts/customers/getclistatus.js +2 -2
- package/ts/customers/getcompanyaccdetails.js +2 -2
- package/ts/customers/getcustomerbyid.d.ts +31 -13
- package/ts/customers/getcustomerbyid.js +214 -80
- package/ts/customers/getcustomerdetailsbymobile.js +2 -2
- package/ts/customers/getdashboard.js +2 -2
- package/ts/customers/getdashboardmaincard.js +2 -2
- package/ts/customers/getdocuments.js +2 -2
- package/ts/customers/getglobalpopups.js +2 -2
- package/ts/customers/getlimit.js +2 -2
- package/ts/customers/getloclimit.js +2 -2
- package/ts/customers/getmessengermode.js +2 -2
- package/ts/customers/getoccupationlist.js +2 -2
- package/ts/customers/getpaymentoptions.js +2 -2
- package/ts/customers/getprofessionalinfo.js +2 -2
- package/ts/customers/getprofile.js +2 -2
- package/ts/customers/getrecommendedtag.d.ts +35 -0
- package/ts/customers/getrecommendedtag.js +134 -0
- package/ts/customers/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- package/ts/customers/getselfieetxnid.js +2 -2
- package/ts/customers/getstates.js +2 -2
- package/ts/customers/getstep.js +2 -2
- package/ts/customers/getsyncstatus.js +2 -2
- package/ts/customers/getvanumber.js +2 -2
- package/ts/customers/lamf/applylamf.js +2 -2
- package/ts/customers/lamf/sendlamfotp.js +2 -2
- package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
- package/ts/customers/lamf/updatelamfjourney.js +2 -2
- package/ts/customers/lamf/verifylamfotp.js +2 -2
- package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
- package/ts/customers/logout.js +2 -2
- package/ts/customers/pd/getbanklist.js +2 -2
- package/ts/customers/pd/validatebankaccount.js +2 -2
- package/ts/customers/profilebasic.js +2 -2
- package/ts/customers/profileupdatetnc.js +2 -2
- package/ts/customers/resetbanner.js +2 -2
- package/ts/customers/restoreaccount.js +2 -2
- package/ts/customers/rpd/getrpdlink.js +2 -2
- package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
- package/ts/customers/rpd/mockpayment.js +2 -2
- package/ts/customers/saveappslist.js +2 -2
- package/ts/customers/savebasicdetails.js +2 -2
- package/ts/customers/savelimit.js +2 -2
- package/ts/customers/saveunlocklimit.js +2 -2
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.js +2 -2
- package/ts/customers/sendotptoemail.js +2 -2
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/skipscreen.js +2 -2
- package/ts/customers/step1.d.ts +69 -0
- package/ts/customers/step1.js +395 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +68 -0
- package/ts/customers/step2.js +381 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/submituploadeddocuments.js +2 -2
- package/ts/customers/syncdecisionengine.js +2 -2
- package/ts/customers/updatecategory.js +2 -2
- package/ts/customers/updatecongratulationstep.js +2 -2
- package/ts/customers/updatecustomerbyid.js +2 -2
- package/ts/customers/updatedlnumber.js +2 -2
- package/ts/customers/updatedob.js +2 -2
- package/ts/customers/updatelocstatus.js +2 -2
- package/ts/customers/updatemobilesendotp.js +2 -2
- package/ts/customers/updatemobileverifyotp.js +2 -2
- package/ts/customers/updateokyctxn.js +2 -2
- package/ts/customers/updatesanctionamount.js +2 -2
- package/ts/customers/updateselfieetxn.js +2 -2
- package/ts/customers/updatesyncstatus.js +2 -2
- package/ts/customers/updatevehiclenumber.js +2 -2
- package/ts/customers/uploaddocuments.js +2 -2
- package/ts/customers/validatepan.js +2 -2
- package/ts/customers/verifyemail.d.ts +35 -0
- package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
- package/ts/customers/verifympin.js +2 -2
- package/ts/customers/verifyotp.js +2 -2
- package/ts/customers/verifyotptoemail.js +2 -2
- package/ts/customers.js +2 -2
- package/ts/decisionengine/decisionengine.js +2 -2
- package/ts/decisionengine/decisionenginetrigger.js +2 -2
- package/ts/decisionengine/locdisbursalapproval.js +2 -2
- package/ts/decisionengine/saveconsent.js +2 -2
- package/ts/decisionengine.js +2 -2
- package/ts/documents/getagreement.js +2 -2
- package/ts/documents/getfinancialdoc.js +2 -2
- package/ts/documents.js +2 -2
- package/ts/eqxcustomer.js +2 -2
- package/ts/eqxcustomers/getcustomerbyid.js +2 -2
- package/ts/eqxcustomers/getdashboard.d.ts +1 -0
- package/ts/eqxcustomers/getdashboard.js +17 -3
- package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
- package/ts/eqxcustomers/sendotp.js +2 -2
- package/ts/eqxcustomers/verifyotp.js +2 -2
- package/ts/example.js +2 -2
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/growth/checkplanstatus.js +2 -2
- package/ts/growth/getattachplandetails.js +2 -2
- package/ts/growth/getchrpaymentstatus.js +2 -2
- package/ts/growth/getchrplans.js +2 -2
- package/ts/growth/getcredithealthreport.js +2 -2
- package/ts/growth/initiatepayment.js +2 -2
- package/ts/growth/notifychrpayment.js +2 -2
- package/ts/growth/processchrpayment.js +2 -2
- package/ts/growth.js +2 -2
- package/ts/lamf/getloandetails.js +2 -2
- package/ts/lamf/submitotp.js +2 -2
- package/ts/lamf/validateuser.js +2 -2
- package/ts/lamf.js +2 -2
- package/ts/loans/amortization.js +2 -2
- package/ts/loans/approveloan.js +2 -2
- package/ts/loans/banklist.js +2 -2
- package/ts/loans/calculateemi.js +2 -2
- package/ts/loans/cbloan.js +2 -2
- package/ts/loans/createlamfloan.js +2 -2
- package/ts/loans/createpenalty.js +2 -2
- package/ts/loans/creditlimit.js +2 -2
- package/ts/loans/emimoredetails.js +2 -2
- package/ts/loans/fcppayment.js +2 -2
- package/ts/loans/forecloseamount.js +2 -2
- package/ts/loans/foreclosepayment.js +2 -2
- package/ts/loans/futurepaymentmoredetails.js +2 -2
- package/ts/loans/getaddonslist.js +2 -2
- package/ts/loans/getbilldetails.js +2 -2
- package/ts/loans/getcbloandetails.js +2 -2
- package/ts/loans/getchrdetails.js +2 -2
- package/ts/loans/getcustomerloanstatus.js +2 -2
- package/ts/loans/getforecloseamount.js +2 -2
- package/ts/loans/getloanbyid.js +2 -2
- package/ts/loans/getnextdueamount.js +2 -2
- package/ts/loans/getpaymentoptions.js +2 -2
- package/ts/loans/getpendingemiamount.js +2 -2
- package/ts/loans/getsetubilldetails.js +2 -2
- package/ts/loans/getsummarystaticfields.js +2 -2
- package/ts/loans/gettransactionstatus.js +2 -2
- package/ts/loans/getusedlimit.js +2 -2
- package/ts/loans/getvirtualbankinfo.js +2 -2
- package/ts/loans/loansummary.js +2 -2
- package/ts/loans/manualpaymentallocation.js +2 -2
- package/ts/loans/paymentallocation.js +2 -2
- package/ts/loans/paymenthistory.js +2 -2
- package/ts/loans/paynow.js +2 -2
- package/ts/loans/refund.js +2 -2
- package/ts/loans/restructureloan.js +2 -2
- package/ts/loans/rollback.js +2 -2
- package/ts/loans/rollbackextrapayment.js +2 -2
- package/ts/loans/sendemail.js +2 -2
- package/ts/loans/sendnocemail.js +2 -2
- package/ts/loans/transactionlist.js +2 -2
- package/ts/loans/updatecollectionview.js +2 -2
- package/ts/loans/updateinstallments.js +2 -2
- package/ts/loans/updateloan.js +2 -2
- package/ts/loans/updatetransactionstatus.js +2 -2
- package/ts/loans.js +2 -2
- package/ts/payments/checkpaymentstatus.js +2 -2
- package/ts/payments/fundtransfer.js +2 -2
- package/ts/payments/getpaymentoptions.js +2 -2
- package/ts/payments/initiatepayment.js +2 -2
- package/ts/payments/nachpresentation.js +2 -2
- package/ts/payments/nachregistration.js +2 -2
- package/ts/payments.js +2 -2
- package/ts/stashcash/creditsc.js +2 -2
- package/ts/stashcash/debitsc.js +2 -2
- package/ts/stashcash/getscbalance.js +2 -2
- package/ts/stashcash/getschistory.js +2 -2
- package/ts/stashcash/reversesc.js +2 -2
- package/ts/stashcash.js +2 -2
- package/ts/upi/addupinumber.d.ts +39 -0
- package/ts/upi/addupinumber.js +177 -0
- package/ts/upi/addvpa.d.ts +36 -0
- package/ts/upi/addvpa.js +133 -0
- package/ts/upi/getavailablevpa.js +2 -2
- package/ts/upi/getlistedaccountproviders.js +2 -2
- package/ts/upi/initiatetransaction.d.ts +44 -0
- package/ts/upi/initiatetransaction.js +255 -0
- package/ts/upi/suggestvpa.d.ts +35 -0
- package/ts/upi/suggestvpa.js +122 -0
- package/ts/upi/updatedevicebinding.js +2 -2
- package/ts/upi/updatedevicelinking.d.ts +49 -0
- package/ts/upi/updatedevicelinking.js +332 -0
- package/ts/upi.d.ts +28 -0
- package/ts/upi.js +22 -2
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.29.0
|
|
6
|
+
// source: upi/updatedevicelinking.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.updateDeviceLinkingResponse = exports.updateDeviceLinkingRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.updateDeviceLinking";
|
|
15
|
+
function createBaseupdateDeviceLinkingRequest() {
|
|
16
|
+
return {
|
|
17
|
+
acc_number: "",
|
|
18
|
+
acc_ref_number: "",
|
|
19
|
+
acc_type: "",
|
|
20
|
+
acc_name: "",
|
|
21
|
+
aeba: undefined,
|
|
22
|
+
mbeba: undefined,
|
|
23
|
+
ifsc: "",
|
|
24
|
+
vpa: undefined,
|
|
25
|
+
mmid: undefined,
|
|
26
|
+
default_credit: "",
|
|
27
|
+
default_debit: "",
|
|
28
|
+
status: "",
|
|
29
|
+
is_primary: undefined,
|
|
30
|
+
is_active: undefined,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.updateDeviceLinkingRequest = {
|
|
34
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
35
|
+
if (message.acc_number !== "") {
|
|
36
|
+
writer.uint32(10).string(message.acc_number);
|
|
37
|
+
}
|
|
38
|
+
if (message.acc_ref_number !== "") {
|
|
39
|
+
writer.uint32(18).string(message.acc_ref_number);
|
|
40
|
+
}
|
|
41
|
+
if (message.acc_type !== "") {
|
|
42
|
+
writer.uint32(26).string(message.acc_type);
|
|
43
|
+
}
|
|
44
|
+
if (message.acc_name !== "") {
|
|
45
|
+
writer.uint32(34).string(message.acc_name);
|
|
46
|
+
}
|
|
47
|
+
if (message.aeba !== undefined) {
|
|
48
|
+
writer.uint32(42).string(message.aeba);
|
|
49
|
+
}
|
|
50
|
+
if (message.mbeba !== undefined) {
|
|
51
|
+
writer.uint32(50).string(message.mbeba);
|
|
52
|
+
}
|
|
53
|
+
if (message.ifsc !== "") {
|
|
54
|
+
writer.uint32(58).string(message.ifsc);
|
|
55
|
+
}
|
|
56
|
+
if (message.vpa !== undefined) {
|
|
57
|
+
writer.uint32(66).string(message.vpa);
|
|
58
|
+
}
|
|
59
|
+
if (message.mmid !== undefined) {
|
|
60
|
+
writer.uint32(74).string(message.mmid);
|
|
61
|
+
}
|
|
62
|
+
if (message.default_credit !== "") {
|
|
63
|
+
writer.uint32(82).string(message.default_credit);
|
|
64
|
+
}
|
|
65
|
+
if (message.default_debit !== "") {
|
|
66
|
+
writer.uint32(90).string(message.default_debit);
|
|
67
|
+
}
|
|
68
|
+
if (message.status !== "") {
|
|
69
|
+
writer.uint32(98).string(message.status);
|
|
70
|
+
}
|
|
71
|
+
if (message.is_primary !== undefined) {
|
|
72
|
+
writer.uint32(106).string(message.is_primary);
|
|
73
|
+
}
|
|
74
|
+
if (message.is_active !== undefined) {
|
|
75
|
+
writer.uint32(114).string(message.is_active);
|
|
76
|
+
}
|
|
77
|
+
return writer;
|
|
78
|
+
},
|
|
79
|
+
decode(input, length) {
|
|
80
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
81
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
|
+
const message = createBaseupdateDeviceLinkingRequest();
|
|
83
|
+
while (reader.pos < end) {
|
|
84
|
+
const tag = reader.uint32();
|
|
85
|
+
switch (tag >>> 3) {
|
|
86
|
+
case 1:
|
|
87
|
+
if (tag !== 10) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.acc_number = reader.string();
|
|
91
|
+
continue;
|
|
92
|
+
case 2:
|
|
93
|
+
if (tag !== 18) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.acc_ref_number = reader.string();
|
|
97
|
+
continue;
|
|
98
|
+
case 3:
|
|
99
|
+
if (tag !== 26) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.acc_type = reader.string();
|
|
103
|
+
continue;
|
|
104
|
+
case 4:
|
|
105
|
+
if (tag !== 34) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.acc_name = reader.string();
|
|
109
|
+
continue;
|
|
110
|
+
case 5:
|
|
111
|
+
if (tag !== 42) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
message.aeba = reader.string();
|
|
115
|
+
continue;
|
|
116
|
+
case 6:
|
|
117
|
+
if (tag !== 50) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
message.mbeba = reader.string();
|
|
121
|
+
continue;
|
|
122
|
+
case 7:
|
|
123
|
+
if (tag !== 58) {
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
message.ifsc = reader.string();
|
|
127
|
+
continue;
|
|
128
|
+
case 8:
|
|
129
|
+
if (tag !== 66) {
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
message.vpa = reader.string();
|
|
133
|
+
continue;
|
|
134
|
+
case 9:
|
|
135
|
+
if (tag !== 74) {
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
message.mmid = reader.string();
|
|
139
|
+
continue;
|
|
140
|
+
case 10:
|
|
141
|
+
if (tag !== 82) {
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
message.default_credit = reader.string();
|
|
145
|
+
continue;
|
|
146
|
+
case 11:
|
|
147
|
+
if (tag !== 90) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
message.default_debit = reader.string();
|
|
151
|
+
continue;
|
|
152
|
+
case 12:
|
|
153
|
+
if (tag !== 98) {
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
message.status = reader.string();
|
|
157
|
+
continue;
|
|
158
|
+
case 13:
|
|
159
|
+
if (tag !== 106) {
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
message.is_primary = reader.string();
|
|
163
|
+
continue;
|
|
164
|
+
case 14:
|
|
165
|
+
if (tag !== 114) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.is_active = reader.string();
|
|
169
|
+
continue;
|
|
170
|
+
}
|
|
171
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
reader.skipType(tag & 7);
|
|
175
|
+
}
|
|
176
|
+
return message;
|
|
177
|
+
},
|
|
178
|
+
fromJSON(object) {
|
|
179
|
+
return {
|
|
180
|
+
acc_number: isSet(object.acc_number) ? globalThis.String(object.acc_number) : "",
|
|
181
|
+
acc_ref_number: isSet(object.acc_ref_number) ? globalThis.String(object.acc_ref_number) : "",
|
|
182
|
+
acc_type: isSet(object.acc_type) ? globalThis.String(object.acc_type) : "",
|
|
183
|
+
acc_name: isSet(object.acc_name) ? globalThis.String(object.acc_name) : "",
|
|
184
|
+
aeba: isSet(object.aeba) ? globalThis.String(object.aeba) : undefined,
|
|
185
|
+
mbeba: isSet(object.mbeba) ? globalThis.String(object.mbeba) : undefined,
|
|
186
|
+
ifsc: isSet(object.ifsc) ? globalThis.String(object.ifsc) : "",
|
|
187
|
+
vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : undefined,
|
|
188
|
+
mmid: isSet(object.mmid) ? globalThis.String(object.mmid) : undefined,
|
|
189
|
+
default_credit: isSet(object.default_credit) ? globalThis.String(object.default_credit) : "",
|
|
190
|
+
default_debit: isSet(object.default_debit) ? globalThis.String(object.default_debit) : "",
|
|
191
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
192
|
+
is_primary: isSet(object.is_primary) ? globalThis.String(object.is_primary) : undefined,
|
|
193
|
+
is_active: isSet(object.is_active) ? globalThis.String(object.is_active) : undefined,
|
|
194
|
+
};
|
|
195
|
+
},
|
|
196
|
+
toJSON(message) {
|
|
197
|
+
const obj = {};
|
|
198
|
+
if (message.acc_number !== "") {
|
|
199
|
+
obj.acc_number = message.acc_number;
|
|
200
|
+
}
|
|
201
|
+
if (message.acc_ref_number !== "") {
|
|
202
|
+
obj.acc_ref_number = message.acc_ref_number;
|
|
203
|
+
}
|
|
204
|
+
if (message.acc_type !== "") {
|
|
205
|
+
obj.acc_type = message.acc_type;
|
|
206
|
+
}
|
|
207
|
+
if (message.acc_name !== "") {
|
|
208
|
+
obj.acc_name = message.acc_name;
|
|
209
|
+
}
|
|
210
|
+
if (message.aeba !== undefined) {
|
|
211
|
+
obj.aeba = message.aeba;
|
|
212
|
+
}
|
|
213
|
+
if (message.mbeba !== undefined) {
|
|
214
|
+
obj.mbeba = message.mbeba;
|
|
215
|
+
}
|
|
216
|
+
if (message.ifsc !== "") {
|
|
217
|
+
obj.ifsc = message.ifsc;
|
|
218
|
+
}
|
|
219
|
+
if (message.vpa !== undefined) {
|
|
220
|
+
obj.vpa = message.vpa;
|
|
221
|
+
}
|
|
222
|
+
if (message.mmid !== undefined) {
|
|
223
|
+
obj.mmid = message.mmid;
|
|
224
|
+
}
|
|
225
|
+
if (message.default_credit !== "") {
|
|
226
|
+
obj.default_credit = message.default_credit;
|
|
227
|
+
}
|
|
228
|
+
if (message.default_debit !== "") {
|
|
229
|
+
obj.default_debit = message.default_debit;
|
|
230
|
+
}
|
|
231
|
+
if (message.status !== "") {
|
|
232
|
+
obj.status = message.status;
|
|
233
|
+
}
|
|
234
|
+
if (message.is_primary !== undefined) {
|
|
235
|
+
obj.is_primary = message.is_primary;
|
|
236
|
+
}
|
|
237
|
+
if (message.is_active !== undefined) {
|
|
238
|
+
obj.is_active = message.is_active;
|
|
239
|
+
}
|
|
240
|
+
return obj;
|
|
241
|
+
},
|
|
242
|
+
create(base) {
|
|
243
|
+
return exports.updateDeviceLinkingRequest.fromPartial(base ?? {});
|
|
244
|
+
},
|
|
245
|
+
fromPartial(object) {
|
|
246
|
+
const message = createBaseupdateDeviceLinkingRequest();
|
|
247
|
+
message.acc_number = object.acc_number ?? "";
|
|
248
|
+
message.acc_ref_number = object.acc_ref_number ?? "";
|
|
249
|
+
message.acc_type = object.acc_type ?? "";
|
|
250
|
+
message.acc_name = object.acc_name ?? "";
|
|
251
|
+
message.aeba = object.aeba ?? undefined;
|
|
252
|
+
message.mbeba = object.mbeba ?? undefined;
|
|
253
|
+
message.ifsc = object.ifsc ?? "";
|
|
254
|
+
message.vpa = object.vpa ?? undefined;
|
|
255
|
+
message.mmid = object.mmid ?? undefined;
|
|
256
|
+
message.default_credit = object.default_credit ?? "";
|
|
257
|
+
message.default_debit = object.default_debit ?? "";
|
|
258
|
+
message.status = object.status ?? "";
|
|
259
|
+
message.is_primary = object.is_primary ?? undefined;
|
|
260
|
+
message.is_active = object.is_active ?? undefined;
|
|
261
|
+
return message;
|
|
262
|
+
},
|
|
263
|
+
};
|
|
264
|
+
function createBaseupdateDeviceLinkingResponse() {
|
|
265
|
+
return { acc_number: "", message: "" };
|
|
266
|
+
}
|
|
267
|
+
exports.updateDeviceLinkingResponse = {
|
|
268
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
269
|
+
if (message.acc_number !== "") {
|
|
270
|
+
writer.uint32(10).string(message.acc_number);
|
|
271
|
+
}
|
|
272
|
+
if (message.message !== "") {
|
|
273
|
+
writer.uint32(18).string(message.message);
|
|
274
|
+
}
|
|
275
|
+
return writer;
|
|
276
|
+
},
|
|
277
|
+
decode(input, length) {
|
|
278
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
279
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
280
|
+
const message = createBaseupdateDeviceLinkingResponse();
|
|
281
|
+
while (reader.pos < end) {
|
|
282
|
+
const tag = reader.uint32();
|
|
283
|
+
switch (tag >>> 3) {
|
|
284
|
+
case 1:
|
|
285
|
+
if (tag !== 10) {
|
|
286
|
+
break;
|
|
287
|
+
}
|
|
288
|
+
message.acc_number = reader.string();
|
|
289
|
+
continue;
|
|
290
|
+
case 2:
|
|
291
|
+
if (tag !== 18) {
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
message.message = reader.string();
|
|
295
|
+
continue;
|
|
296
|
+
}
|
|
297
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
reader.skipType(tag & 7);
|
|
301
|
+
}
|
|
302
|
+
return message;
|
|
303
|
+
},
|
|
304
|
+
fromJSON(object) {
|
|
305
|
+
return {
|
|
306
|
+
acc_number: isSet(object.acc_number) ? globalThis.String(object.acc_number) : "",
|
|
307
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
308
|
+
};
|
|
309
|
+
},
|
|
310
|
+
toJSON(message) {
|
|
311
|
+
const obj = {};
|
|
312
|
+
if (message.acc_number !== "") {
|
|
313
|
+
obj.acc_number = message.acc_number;
|
|
314
|
+
}
|
|
315
|
+
if (message.message !== "") {
|
|
316
|
+
obj.message = message.message;
|
|
317
|
+
}
|
|
318
|
+
return obj;
|
|
319
|
+
},
|
|
320
|
+
create(base) {
|
|
321
|
+
return exports.updateDeviceLinkingResponse.fromPartial(base ?? {});
|
|
322
|
+
},
|
|
323
|
+
fromPartial(object) {
|
|
324
|
+
const message = createBaseupdateDeviceLinkingResponse();
|
|
325
|
+
message.acc_number = object.acc_number ?? "";
|
|
326
|
+
message.message = object.message ?? "";
|
|
327
|
+
return message;
|
|
328
|
+
},
|
|
329
|
+
};
|
|
330
|
+
function isSet(value) {
|
|
331
|
+
return value !== null && value !== undefined;
|
|
332
|
+
}
|
package/ts/upi.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
2
|
import { getAvailableVPARequest, getAvailableVPAResponse } from "./upi/getavailablevpa";
|
|
3
3
|
import { getListedAccountProvidersRequest, getListedAccountProvidersResponse } from "./upi/getlistedaccountproviders";
|
|
4
|
+
import { initiateTransactionRequest, initiateTransactionResponse } from "./upi/initiatetransaction";
|
|
4
5
|
import { updateDeviceBindingRequest, updateDeviceBindingResponse } from "./upi/updatedevicebinding";
|
|
6
|
+
import { updateDeviceLinkingRequest, updateDeviceLinkingResponse } from "./upi/updatedevicelinking";
|
|
5
7
|
export declare const protobufPackage = "service";
|
|
6
8
|
export type upiService = typeof upiService;
|
|
7
9
|
export declare const upiService: {
|
|
@@ -23,6 +25,15 @@ export declare const upiService: {
|
|
|
23
25
|
readonly responseSerialize: (value: updateDeviceBindingResponse) => Buffer;
|
|
24
26
|
readonly responseDeserialize: (value: Buffer) => updateDeviceBindingResponse;
|
|
25
27
|
};
|
|
28
|
+
readonly updateDeviceLinking: {
|
|
29
|
+
readonly path: "/service.upi/updateDeviceLinking";
|
|
30
|
+
readonly requestStream: false;
|
|
31
|
+
readonly responseStream: false;
|
|
32
|
+
readonly requestSerialize: (value: updateDeviceLinkingRequest) => Buffer;
|
|
33
|
+
readonly requestDeserialize: (value: Buffer) => updateDeviceLinkingRequest;
|
|
34
|
+
readonly responseSerialize: (value: updateDeviceLinkingResponse) => Buffer;
|
|
35
|
+
readonly responseDeserialize: (value: Buffer) => updateDeviceLinkingResponse;
|
|
36
|
+
};
|
|
26
37
|
readonly getAvailableVpa: {
|
|
27
38
|
readonly path: "/service.upi/getAvailableVPA";
|
|
28
39
|
readonly requestStream: false;
|
|
@@ -32,11 +43,22 @@ export declare const upiService: {
|
|
|
32
43
|
readonly responseSerialize: (value: getAvailableVPAResponse) => Buffer;
|
|
33
44
|
readonly responseDeserialize: (value: Buffer) => getAvailableVPAResponse;
|
|
34
45
|
};
|
|
46
|
+
readonly initiateTransaction: {
|
|
47
|
+
readonly path: "/service.upi/initiateTransaction";
|
|
48
|
+
readonly requestStream: false;
|
|
49
|
+
readonly responseStream: false;
|
|
50
|
+
readonly requestSerialize: (value: initiateTransactionRequest) => Buffer;
|
|
51
|
+
readonly requestDeserialize: (value: Buffer) => initiateTransactionRequest;
|
|
52
|
+
readonly responseSerialize: (value: initiateTransactionResponse) => Buffer;
|
|
53
|
+
readonly responseDeserialize: (value: Buffer) => initiateTransactionResponse;
|
|
54
|
+
};
|
|
35
55
|
};
|
|
36
56
|
export interface upiServer extends UntypedServiceImplementation {
|
|
37
57
|
getListedAccountProviders: handleUnaryCall<getListedAccountProvidersRequest, getListedAccountProvidersResponse>;
|
|
38
58
|
updateDeviceBinding: handleUnaryCall<updateDeviceBindingRequest, updateDeviceBindingResponse>;
|
|
59
|
+
updateDeviceLinking: handleUnaryCall<updateDeviceLinkingRequest, updateDeviceLinkingResponse>;
|
|
39
60
|
getAvailableVpa: handleUnaryCall<getAvailableVPARequest, getAvailableVPAResponse>;
|
|
61
|
+
initiateTransaction: handleUnaryCall<initiateTransactionRequest, initiateTransactionResponse>;
|
|
40
62
|
}
|
|
41
63
|
export interface upiClient extends Client {
|
|
42
64
|
getListedAccountProviders(request: getListedAccountProvidersRequest, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
|
|
@@ -45,9 +67,15 @@ export interface upiClient extends Client {
|
|
|
45
67
|
updateDeviceBinding(request: updateDeviceBindingRequest, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
|
|
46
68
|
updateDeviceBinding(request: updateDeviceBindingRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
|
|
47
69
|
updateDeviceBinding(request: updateDeviceBindingRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
|
|
70
|
+
updateDeviceLinking(request: updateDeviceLinkingRequest, callback: (error: ServiceError | null, response: updateDeviceLinkingResponse) => void): ClientUnaryCall;
|
|
71
|
+
updateDeviceLinking(request: updateDeviceLinkingRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateDeviceLinkingResponse) => void): ClientUnaryCall;
|
|
72
|
+
updateDeviceLinking(request: updateDeviceLinkingRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateDeviceLinkingResponse) => void): ClientUnaryCall;
|
|
48
73
|
getAvailableVpa(request: getAvailableVPARequest, callback: (error: ServiceError | null, response: getAvailableVPAResponse) => void): ClientUnaryCall;
|
|
49
74
|
getAvailableVpa(request: getAvailableVPARequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAvailableVPAResponse) => void): ClientUnaryCall;
|
|
50
75
|
getAvailableVpa(request: getAvailableVPARequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAvailableVPAResponse) => void): ClientUnaryCall;
|
|
76
|
+
initiateTransaction(request: initiateTransactionRequest, callback: (error: ServiceError | null, response: initiateTransactionResponse) => void): ClientUnaryCall;
|
|
77
|
+
initiateTransaction(request: initiateTransactionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: initiateTransactionResponse) => void): ClientUnaryCall;
|
|
78
|
+
initiateTransaction(request: initiateTransactionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: initiateTransactionResponse) => void): ClientUnaryCall;
|
|
51
79
|
}
|
|
52
80
|
export declare const upiClient: {
|
|
53
81
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): upiClient;
|
package/ts/upi.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.29.0
|
|
6
6
|
// source: upi.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.upiClient = exports.upiService = exports.protobufPackage = void 0;
|
|
@@ -10,7 +10,9 @@ exports.upiClient = exports.upiService = exports.protobufPackage = void 0;
|
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
11
|
const getavailablevpa_1 = require("./upi/getavailablevpa");
|
|
12
12
|
const getlistedaccountproviders_1 = require("./upi/getlistedaccountproviders");
|
|
13
|
+
const initiatetransaction_1 = require("./upi/initiatetransaction");
|
|
13
14
|
const updatedevicebinding_1 = require("./upi/updatedevicebinding");
|
|
15
|
+
const updatedevicelinking_1 = require("./upi/updatedevicelinking");
|
|
14
16
|
exports.protobufPackage = "service";
|
|
15
17
|
exports.upiService = {
|
|
16
18
|
getListedAccountProviders: {
|
|
@@ -31,6 +33,15 @@ exports.upiService = {
|
|
|
31
33
|
responseSerialize: (value) => Buffer.from(updatedevicebinding_1.updateDeviceBindingResponse.encode(value).finish()),
|
|
32
34
|
responseDeserialize: (value) => updatedevicebinding_1.updateDeviceBindingResponse.decode(value),
|
|
33
35
|
},
|
|
36
|
+
updateDeviceLinking: {
|
|
37
|
+
path: "/service.upi/updateDeviceLinking",
|
|
38
|
+
requestStream: false,
|
|
39
|
+
responseStream: false,
|
|
40
|
+
requestSerialize: (value) => Buffer.from(updatedevicelinking_1.updateDeviceLinkingRequest.encode(value).finish()),
|
|
41
|
+
requestDeserialize: (value) => updatedevicelinking_1.updateDeviceLinkingRequest.decode(value),
|
|
42
|
+
responseSerialize: (value) => Buffer.from(updatedevicelinking_1.updateDeviceLinkingResponse.encode(value).finish()),
|
|
43
|
+
responseDeserialize: (value) => updatedevicelinking_1.updateDeviceLinkingResponse.decode(value),
|
|
44
|
+
},
|
|
34
45
|
getAvailableVpa: {
|
|
35
46
|
path: "/service.upi/getAvailableVPA",
|
|
36
47
|
requestStream: false,
|
|
@@ -40,5 +51,14 @@ exports.upiService = {
|
|
|
40
51
|
responseSerialize: (value) => Buffer.from(getavailablevpa_1.getAvailableVPAResponse.encode(value).finish()),
|
|
41
52
|
responseDeserialize: (value) => getavailablevpa_1.getAvailableVPAResponse.decode(value),
|
|
42
53
|
},
|
|
54
|
+
initiateTransaction: {
|
|
55
|
+
path: "/service.upi/initiateTransaction",
|
|
56
|
+
requestStream: false,
|
|
57
|
+
responseStream: false,
|
|
58
|
+
requestSerialize: (value) => Buffer.from(initiatetransaction_1.initiateTransactionRequest.encode(value).finish()),
|
|
59
|
+
requestDeserialize: (value) => initiatetransaction_1.initiateTransactionRequest.decode(value),
|
|
60
|
+
responseSerialize: (value) => Buffer.from(initiatetransaction_1.initiateTransactionResponse.encode(value).finish()),
|
|
61
|
+
responseDeserialize: (value) => initiatetransaction_1.initiateTransactionResponse.decode(value),
|
|
62
|
+
},
|
|
43
63
|
};
|
|
44
64
|
exports.upiClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.upiService, "service.upi");
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "loans.getvirtualaccountnumber";
|
|
3
|
-
export interface getVirtualAccountNumberRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface getVirtualAccountNumberResponse {
|
|
7
|
-
account_number: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const getVirtualAccountNumberRequest: {
|
|
10
|
-
encode(message: getVirtualAccountNumberRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualAccountNumberRequest;
|
|
12
|
-
fromJSON(object: any): getVirtualAccountNumberRequest;
|
|
13
|
-
toJSON(message: getVirtualAccountNumberRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<getVirtualAccountNumberRequest>, I>>(base?: I): getVirtualAccountNumberRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<getVirtualAccountNumberRequest>, I>>(object: I): getVirtualAccountNumberRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const getVirtualAccountNumberResponse: {
|
|
18
|
-
encode(message: getVirtualAccountNumberResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getVirtualAccountNumberResponse;
|
|
20
|
-
fromJSON(object: any): getVirtualAccountNumberResponse;
|
|
21
|
-
toJSON(message: getVirtualAccountNumberResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<getVirtualAccountNumberResponse>, I>>(base?: I): getVirtualAccountNumberResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<getVirtualAccountNumberResponse>, I>>(object: I): getVirtualAccountNumberResponse;
|
|
24
|
-
};
|
|
25
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
-
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 {} ? {
|
|
27
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
-
} : Partial<T>;
|
|
29
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
-
} & {
|
|
33
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
-
};
|
|
35
|
-
export {};
|