@stashfin/grpc 1.2.448 → 1.2.449
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/getcibilwebtoken.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.d.ts +1 -0
- package/ts/colender/disburseLoan.js +16 -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/accidentprotectionplan.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/applyclijourney.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
- package/ts/customers/cb/cbpaynow.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/insurancedetails.js +1 -1
- package/ts/customers/cb/lesscsimprove.js +1 -1
- package/ts/customers/cb/morecsimprove.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
- package/ts/customers/cb/updatecbstandalonejourney.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/createvanumber.js +1 -1
- package/ts/customers/customerinfo.js +1 -1
- package/ts/customers/deletedocument.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/updateenachtxnstatus.js +1 -1
- package/ts/customers/enach/updatetxnstatus.d.ts +1 -4
- package/ts/customers/enach/updatetxnstatus.js +8 -64
- 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/updateadditionalverification.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/getclistatus.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getcustomerdetailsbymobile.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/getglobalpopups.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getloclimit.js +1 -1
- package/ts/customers/getmessengermode.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/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/getsyncstatus.js +1 -1
- package/ts/customers/getvanumber.js +1 -1
- package/ts/customers/lamf/applylamf.js +1 -1
- package/ts/customers/lamf/sendlamfotp.js +1 -1
- package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
- package/ts/customers/lamf/verifylamfotp.js +1 -1
- package/ts/customers/lamf/verifylamfpledgeotp.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/resetbanner.js +1 -1
- package/ts/customers/restoreaccount.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/saveappslist.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/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/skipscreen.js +1 -1
- 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 +1 -1
- package/ts/customers/syncdecisionengine.js +1 -1
- package/ts/customers/updatecategory.js +1 -1
- package/ts/customers/updatecongratulationstep.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/updatesanctionamount.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatesyncstatus.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/verifyemail.d.ts +35 -0
- package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
- 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/decisionenginetrigger.js +1 -1
- package/ts/decisionengine/locdisbursalapproval.js +1 -1
- package/ts/decisionengine/saveconsent.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents/getfinancialdoc.js +1 -1
- package/ts/documents.js +1 -1
- package/ts/eqxcustomer.js +1 -1
- package/ts/eqxcustomers/getcustomerbyid.js +1 -1
- package/ts/eqxcustomers/getdashboard.js +1 -1
- package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
- package/ts/eqxcustomers/sendotp.js +1 -1
- package/ts/eqxcustomers/verifyotp.js +1 -1
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.js +1 -1
- package/ts/growth/getchrpaymentstatus.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/notifychrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/lamf/getloandetails.js +1 -1
- package/ts/lamf/submitotp.js +1 -1
- package/ts/lamf/validateuser.js +1 -1
- package/ts/lamf.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/cbloan.js +1 -1
- package/ts/loans/createlamfloan.js +1 -1
- package/ts/loans/createpenalty.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/emimoredetails.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/getaddonslist.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcbloandetails.js +1 -1
- package/ts/loans/getchrdetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getforecloseamount.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpaymentoptions.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsetubilldetails.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/manualpaymentallocation.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/updatecollectionview.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.js +1 -1
- 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.js +1 -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/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/getlistedaccountproviders.d.ts +75 -0
- package/ts/upi/getlistedaccountproviders.js +434 -0
- package/ts/upi/suggestvpa.d.ts +35 -0
- package/ts/upi/suggestvpa.js +122 -0
- package/ts/upi/updatedevicebinding.d.ts +39 -0
- package/ts/upi/updatedevicebinding.js +177 -0
- package/ts/upi/updatedevicelinking.d.ts +35 -0
- package/ts/upi/updatedevicelinking.js +117 -0
- package/ts/upi.d.ts +42 -0
- package/ts/upi.js +34 -0
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
|
@@ -0,0 +1,177 @@
|
|
|
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/updatedevicebinding.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.updateDeviceBindingResponse = exports.updateDeviceBindingRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.updateDeviceBinding";
|
|
15
|
+
function createBaseupdateDeviceBindingRequest() {
|
|
16
|
+
return { device_id: "", sim_no: "", sim_name: undefined, status: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateDeviceBindingRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.device_id !== "") {
|
|
21
|
+
writer.uint32(10).string(message.device_id);
|
|
22
|
+
}
|
|
23
|
+
if (message.sim_no !== "") {
|
|
24
|
+
writer.uint32(18).string(message.sim_no);
|
|
25
|
+
}
|
|
26
|
+
if (message.sim_name !== undefined) {
|
|
27
|
+
writer.uint32(26).string(message.sim_name);
|
|
28
|
+
}
|
|
29
|
+
if (message.status !== "") {
|
|
30
|
+
writer.uint32(34).string(message.status);
|
|
31
|
+
}
|
|
32
|
+
return writer;
|
|
33
|
+
},
|
|
34
|
+
decode(input, length) {
|
|
35
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
36
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBaseupdateDeviceBindingRequest();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1:
|
|
42
|
+
if (tag !== 10) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.device_id = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
case 2:
|
|
48
|
+
if (tag !== 18) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.sim_no = reader.string();
|
|
52
|
+
continue;
|
|
53
|
+
case 3:
|
|
54
|
+
if (tag !== 26) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
message.sim_name = reader.string();
|
|
58
|
+
continue;
|
|
59
|
+
case 4:
|
|
60
|
+
if (tag !== 34) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.status = reader.string();
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
reader.skipType(tag & 7);
|
|
70
|
+
}
|
|
71
|
+
return message;
|
|
72
|
+
},
|
|
73
|
+
fromJSON(object) {
|
|
74
|
+
return {
|
|
75
|
+
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
76
|
+
sim_no: isSet(object.sim_no) ? globalThis.String(object.sim_no) : "",
|
|
77
|
+
sim_name: isSet(object.sim_name) ? globalThis.String(object.sim_name) : undefined,
|
|
78
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
toJSON(message) {
|
|
82
|
+
const obj = {};
|
|
83
|
+
if (message.device_id !== "") {
|
|
84
|
+
obj.device_id = message.device_id;
|
|
85
|
+
}
|
|
86
|
+
if (message.sim_no !== "") {
|
|
87
|
+
obj.sim_no = message.sim_no;
|
|
88
|
+
}
|
|
89
|
+
if (message.sim_name !== undefined) {
|
|
90
|
+
obj.sim_name = message.sim_name;
|
|
91
|
+
}
|
|
92
|
+
if (message.status !== "") {
|
|
93
|
+
obj.status = message.status;
|
|
94
|
+
}
|
|
95
|
+
return obj;
|
|
96
|
+
},
|
|
97
|
+
create(base) {
|
|
98
|
+
return exports.updateDeviceBindingRequest.fromPartial(base ?? {});
|
|
99
|
+
},
|
|
100
|
+
fromPartial(object) {
|
|
101
|
+
const message = createBaseupdateDeviceBindingRequest();
|
|
102
|
+
message.device_id = object.device_id ?? "";
|
|
103
|
+
message.sim_no = object.sim_no ?? "";
|
|
104
|
+
message.sim_name = object.sim_name ?? undefined;
|
|
105
|
+
message.status = object.status ?? "";
|
|
106
|
+
return message;
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
function createBaseupdateDeviceBindingResponse() {
|
|
110
|
+
return { status: "", message: "" };
|
|
111
|
+
}
|
|
112
|
+
exports.updateDeviceBindingResponse = {
|
|
113
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
114
|
+
if (message.status !== "") {
|
|
115
|
+
writer.uint32(10).string(message.status);
|
|
116
|
+
}
|
|
117
|
+
if (message.message !== "") {
|
|
118
|
+
writer.uint32(18).string(message.message);
|
|
119
|
+
}
|
|
120
|
+
return writer;
|
|
121
|
+
},
|
|
122
|
+
decode(input, length) {
|
|
123
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
124
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
125
|
+
const message = createBaseupdateDeviceBindingResponse();
|
|
126
|
+
while (reader.pos < end) {
|
|
127
|
+
const tag = reader.uint32();
|
|
128
|
+
switch (tag >>> 3) {
|
|
129
|
+
case 1:
|
|
130
|
+
if (tag !== 10) {
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
message.status = reader.string();
|
|
134
|
+
continue;
|
|
135
|
+
case 2:
|
|
136
|
+
if (tag !== 18) {
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
message.message = reader.string();
|
|
140
|
+
continue;
|
|
141
|
+
}
|
|
142
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
reader.skipType(tag & 7);
|
|
146
|
+
}
|
|
147
|
+
return message;
|
|
148
|
+
},
|
|
149
|
+
fromJSON(object) {
|
|
150
|
+
return {
|
|
151
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
152
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
toJSON(message) {
|
|
156
|
+
const obj = {};
|
|
157
|
+
if (message.status !== "") {
|
|
158
|
+
obj.status = message.status;
|
|
159
|
+
}
|
|
160
|
+
if (message.message !== "") {
|
|
161
|
+
obj.message = message.message;
|
|
162
|
+
}
|
|
163
|
+
return obj;
|
|
164
|
+
},
|
|
165
|
+
create(base) {
|
|
166
|
+
return exports.updateDeviceBindingResponse.fromPartial(base ?? {});
|
|
167
|
+
},
|
|
168
|
+
fromPartial(object) {
|
|
169
|
+
const message = createBaseupdateDeviceBindingResponse();
|
|
170
|
+
message.status = object.status ?? "";
|
|
171
|
+
message.message = object.message ?? "";
|
|
172
|
+
return message;
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
function isSet(value) {
|
|
176
|
+
return value !== null && value !== undefined;
|
|
177
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.updateDeviceLinking";
|
|
3
|
+
export interface updateDeviceLinkingRequest {
|
|
4
|
+
status: string;
|
|
5
|
+
}
|
|
6
|
+
export interface updateDeviceLinkingResponse {
|
|
7
|
+
message: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const updateDeviceLinkingRequest: {
|
|
10
|
+
encode(message: updateDeviceLinkingRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateDeviceLinkingRequest;
|
|
12
|
+
fromJSON(object: any): updateDeviceLinkingRequest;
|
|
13
|
+
toJSON(message: updateDeviceLinkingRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<updateDeviceLinkingRequest>, I>>(base?: I): updateDeviceLinkingRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<updateDeviceLinkingRequest>, I>>(object: I): updateDeviceLinkingRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const updateDeviceLinkingResponse: {
|
|
18
|
+
encode(message: updateDeviceLinkingResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateDeviceLinkingResponse;
|
|
20
|
+
fromJSON(object: any): updateDeviceLinkingResponse;
|
|
21
|
+
toJSON(message: updateDeviceLinkingResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<updateDeviceLinkingResponse>, I>>(base?: I): updateDeviceLinkingResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<updateDeviceLinkingResponse>, I>>(object: I): updateDeviceLinkingResponse;
|
|
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 {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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.28.3
|
|
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 { status: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.updateDeviceLinkingRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.status !== "") {
|
|
21
|
+
writer.uint32(10).string(message.status);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseupdateDeviceLinkingRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.status = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.status !== "") {
|
|
52
|
+
obj.status = message.status;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.updateDeviceLinkingRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseupdateDeviceLinkingRequest();
|
|
61
|
+
message.status = object.status ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseupdateDeviceLinkingResponse() {
|
|
66
|
+
return { message: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.updateDeviceLinkingResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.message !== "") {
|
|
71
|
+
writer.uint32(10).string(message.message);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBaseupdateDeviceLinkingResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.message = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.message !== "") {
|
|
102
|
+
obj.message = message.message;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.updateDeviceLinkingResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBaseupdateDeviceLinkingResponse();
|
|
111
|
+
message.message = object.message ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
package/ts/upi.d.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
+
import { getListedAccountProvidersRequest, getListedAccountProvidersResponse } from "./upi/getlistedaccountproviders";
|
|
3
|
+
import { updateDeviceBindingRequest, updateDeviceBindingResponse } from "./upi/updatedevicebinding";
|
|
4
|
+
export declare const protobufPackage = "service";
|
|
5
|
+
export type upiService = typeof upiService;
|
|
6
|
+
export declare const upiService: {
|
|
7
|
+
readonly getListedAccountProviders: {
|
|
8
|
+
readonly path: "/service.upi/getListedAccountProviders";
|
|
9
|
+
readonly requestStream: false;
|
|
10
|
+
readonly responseStream: false;
|
|
11
|
+
readonly requestSerialize: (value: getListedAccountProvidersRequest) => Buffer;
|
|
12
|
+
readonly requestDeserialize: (value: Buffer) => getListedAccountProvidersRequest;
|
|
13
|
+
readonly responseSerialize: (value: getListedAccountProvidersResponse) => Buffer;
|
|
14
|
+
readonly responseDeserialize: (value: Buffer) => getListedAccountProvidersResponse;
|
|
15
|
+
};
|
|
16
|
+
readonly updateDeviceBinding: {
|
|
17
|
+
readonly path: "/service.upi/updateDeviceBinding";
|
|
18
|
+
readonly requestStream: false;
|
|
19
|
+
readonly responseStream: false;
|
|
20
|
+
readonly requestSerialize: (value: updateDeviceBindingRequest) => Buffer;
|
|
21
|
+
readonly requestDeserialize: (value: Buffer) => updateDeviceBindingRequest;
|
|
22
|
+
readonly responseSerialize: (value: updateDeviceBindingResponse) => Buffer;
|
|
23
|
+
readonly responseDeserialize: (value: Buffer) => updateDeviceBindingResponse;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export interface upiServer extends UntypedServiceImplementation {
|
|
27
|
+
getListedAccountProviders: handleUnaryCall<getListedAccountProvidersRequest, getListedAccountProvidersResponse>;
|
|
28
|
+
updateDeviceBinding: handleUnaryCall<updateDeviceBindingRequest, updateDeviceBindingResponse>;
|
|
29
|
+
}
|
|
30
|
+
export interface upiClient extends Client {
|
|
31
|
+
getListedAccountProviders(request: getListedAccountProvidersRequest, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
|
|
32
|
+
getListedAccountProviders(request: getListedAccountProvidersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
|
|
33
|
+
getListedAccountProviders(request: getListedAccountProvidersRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
|
|
34
|
+
updateDeviceBinding(request: updateDeviceBindingRequest, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
|
|
35
|
+
updateDeviceBinding(request: updateDeviceBindingRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
|
|
36
|
+
updateDeviceBinding(request: updateDeviceBindingRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateDeviceBindingResponse) => void): ClientUnaryCall;
|
|
37
|
+
}
|
|
38
|
+
export declare const upiClient: {
|
|
39
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): upiClient;
|
|
40
|
+
service: typeof upiService;
|
|
41
|
+
serviceName: string;
|
|
42
|
+
};
|
package/ts/upi.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.upiClient = exports.upiService = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
|
+
const getlistedaccountproviders_1 = require("./upi/getlistedaccountproviders");
|
|
12
|
+
const updatedevicebinding_1 = require("./upi/updatedevicebinding");
|
|
13
|
+
exports.protobufPackage = "service";
|
|
14
|
+
exports.upiService = {
|
|
15
|
+
getListedAccountProviders: {
|
|
16
|
+
path: "/service.upi/getListedAccountProviders",
|
|
17
|
+
requestStream: false,
|
|
18
|
+
responseStream: false,
|
|
19
|
+
requestSerialize: (value) => Buffer.from(getlistedaccountproviders_1.getListedAccountProvidersRequest.encode(value).finish()),
|
|
20
|
+
requestDeserialize: (value) => getlistedaccountproviders_1.getListedAccountProvidersRequest.decode(value),
|
|
21
|
+
responseSerialize: (value) => Buffer.from(getlistedaccountproviders_1.getListedAccountProvidersResponse.encode(value).finish()),
|
|
22
|
+
responseDeserialize: (value) => getlistedaccountproviders_1.getListedAccountProvidersResponse.decode(value),
|
|
23
|
+
},
|
|
24
|
+
updateDeviceBinding: {
|
|
25
|
+
path: "/service.upi/updateDeviceBinding",
|
|
26
|
+
requestStream: false,
|
|
27
|
+
responseStream: false,
|
|
28
|
+
requestSerialize: (value) => Buffer.from(updatedevicebinding_1.updateDeviceBindingRequest.encode(value).finish()),
|
|
29
|
+
requestDeserialize: (value) => updatedevicebinding_1.updateDeviceBindingRequest.decode(value),
|
|
30
|
+
responseSerialize: (value) => Buffer.from(updatedevicebinding_1.updateDeviceBindingResponse.encode(value).finish()),
|
|
31
|
+
responseDeserialize: (value) => updatedevicebinding_1.updateDeviceBindingResponse.decode(value),
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
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 {};
|