@stashfin/grpc 1.2.242 → 1.2.246
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/getbureaulist.d.ts +52 -0
- package/ts/bureau/getbureaulist.js +276 -0
- 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/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/cbsignup.js +1 -1
- package/ts/customers/cb/getcbtxnstatus.js +1 -1
- package/ts/customers/cb/getcreditbuilder.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/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/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/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/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/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/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/getpaymentoptions.d.ts +2 -2
- package/ts/payments/getpaymentoptions.js +19 -19
- 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
|
@@ -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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/getpaymentoptions.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -13,12 +13,12 @@ exports.response_Data = exports.response_Fee_data = exports.response_Fees = expo
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "payments.getpaymentoptions";
|
|
15
15
|
function createBaserequest() {
|
|
16
|
-
return { customer_id:
|
|
16
|
+
return { customer_id: 0, client_id: "", amount: undefined };
|
|
17
17
|
}
|
|
18
18
|
exports.request = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.customer_id !==
|
|
21
|
-
writer.uint32(
|
|
20
|
+
if (message.customer_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customer_id);
|
|
22
22
|
}
|
|
23
23
|
if (message.client_id !== "") {
|
|
24
24
|
writer.uint32(18).string(message.client_id);
|
|
@@ -36,10 +36,10 @@ exports.request = {
|
|
|
36
36
|
const tag = reader.uint32();
|
|
37
37
|
switch (tag >>> 3) {
|
|
38
38
|
case 1:
|
|
39
|
-
if (tag !==
|
|
39
|
+
if (tag !== 8) {
|
|
40
40
|
break;
|
|
41
41
|
}
|
|
42
|
-
message.customer_id = reader.
|
|
42
|
+
message.customer_id = reader.int32();
|
|
43
43
|
continue;
|
|
44
44
|
case 2:
|
|
45
45
|
if (tag !== 18) {
|
|
@@ -63,15 +63,15 @@ exports.request = {
|
|
|
63
63
|
},
|
|
64
64
|
fromJSON(object) {
|
|
65
65
|
return {
|
|
66
|
-
customer_id: isSet(object.customer_id) ? globalThis.
|
|
66
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
67
67
|
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
68
68
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : undefined,
|
|
69
69
|
};
|
|
70
70
|
},
|
|
71
71
|
toJSON(message) {
|
|
72
72
|
const obj = {};
|
|
73
|
-
if (message.customer_id !==
|
|
74
|
-
obj.customer_id = message.customer_id;
|
|
73
|
+
if (message.customer_id !== 0) {
|
|
74
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
75
75
|
}
|
|
76
76
|
if (message.client_id !== "") {
|
|
77
77
|
obj.client_id = message.client_id;
|
|
@@ -86,14 +86,14 @@ exports.request = {
|
|
|
86
86
|
},
|
|
87
87
|
fromPartial(object) {
|
|
88
88
|
const message = createBaserequest();
|
|
89
|
-
message.customer_id = object.customer_id ??
|
|
89
|
+
message.customer_id = object.customer_id ?? 0;
|
|
90
90
|
message.client_id = object.client_id ?? "";
|
|
91
91
|
message.amount = object.amount ?? undefined;
|
|
92
92
|
return message;
|
|
93
93
|
},
|
|
94
94
|
};
|
|
95
95
|
function createBaseresponse() {
|
|
96
|
-
return { status: "", status_code: 0, client_id: "", customer_id:
|
|
96
|
+
return { status: "", status_code: 0, client_id: "", customer_id: 0, data: undefined, message: undefined };
|
|
97
97
|
}
|
|
98
98
|
exports.response = {
|
|
99
99
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -106,8 +106,8 @@ exports.response = {
|
|
|
106
106
|
if (message.client_id !== "") {
|
|
107
107
|
writer.uint32(26).string(message.client_id);
|
|
108
108
|
}
|
|
109
|
-
if (message.customer_id !==
|
|
110
|
-
writer.uint32(
|
|
109
|
+
if (message.customer_id !== 0) {
|
|
110
|
+
writer.uint32(32).int32(message.customer_id);
|
|
111
111
|
}
|
|
112
112
|
if (message.data !== undefined) {
|
|
113
113
|
exports.response_Data.encode(message.data, writer.uint32(42).fork()).ldelim();
|
|
@@ -143,10 +143,10 @@ exports.response = {
|
|
|
143
143
|
message.client_id = reader.string();
|
|
144
144
|
continue;
|
|
145
145
|
case 4:
|
|
146
|
-
if (tag !==
|
|
146
|
+
if (tag !== 32) {
|
|
147
147
|
break;
|
|
148
148
|
}
|
|
149
|
-
message.customer_id = reader.
|
|
149
|
+
message.customer_id = reader.int32();
|
|
150
150
|
continue;
|
|
151
151
|
case 5:
|
|
152
152
|
if (tag !== 42) {
|
|
@@ -173,7 +173,7 @@ exports.response = {
|
|
|
173
173
|
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
174
174
|
status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
|
|
175
175
|
client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
|
|
176
|
-
customer_id: isSet(object.customer_id) ? globalThis.
|
|
176
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
177
177
|
data: isSet(object.data) ? exports.response_Data.fromJSON(object.data) : undefined,
|
|
178
178
|
message: isSet(object.message) ? globalThis.String(object.message) : undefined,
|
|
179
179
|
};
|
|
@@ -189,8 +189,8 @@ exports.response = {
|
|
|
189
189
|
if (message.client_id !== "") {
|
|
190
190
|
obj.client_id = message.client_id;
|
|
191
191
|
}
|
|
192
|
-
if (message.customer_id !==
|
|
193
|
-
obj.customer_id = message.customer_id;
|
|
192
|
+
if (message.customer_id !== 0) {
|
|
193
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
194
194
|
}
|
|
195
195
|
if (message.data !== undefined) {
|
|
196
196
|
obj.data = exports.response_Data.toJSON(message.data);
|
|
@@ -208,7 +208,7 @@ exports.response = {
|
|
|
208
208
|
message.status = object.status ?? "";
|
|
209
209
|
message.status_code = object.status_code ?? 0;
|
|
210
210
|
message.client_id = object.client_id ?? "";
|
|
211
|
-
message.customer_id = object.customer_id ??
|
|
211
|
+
message.customer_id = object.customer_id ?? 0;
|
|
212
212
|
message.data = (object.data !== undefined && object.data !== null)
|
|
213
213
|
? exports.response_Data.fromPartial(object.data)
|
|
214
214
|
: undefined;
|
|
@@ -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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/initiatepayment.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/nachpresentation.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments/nachregistration.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/payments.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: payments.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/ts/stashcash/creditsc.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/creditsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/stashcash/debitsc.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/debitsc.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/getscbalance.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/getschistory.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash/reversesc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/stashcash.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.0
|
|
5
5
|
// protoc v5.28.1
|
|
6
6
|
// source: stashcash.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|