@stashfin/grpc 1.2.164 → 1.2.166
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/getdemogs.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/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/fetchrcprofile.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.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.d.ts +1 -0
- package/ts/customers/getcustomerbyid.js +22 -8
- 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/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/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/savebasicdetails.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/skipdlrcscreen.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/processchrpayment.d.ts +2 -13
- package/ts/growth/processchrpayment.js +37 -87
- package/ts/growth.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/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/loansummary.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/restructureloan.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.d.ts +3 -3
- package/ts/loans/updateinstallments.js +25 -25
- package/ts/loans/updateloan.d.ts +0 -2
- package/ts/loans/updateloan.js +3 -31
- package/ts/loans.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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: loans/updateinstallments.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -15,9 +15,9 @@ exports.protobufPackage = "loans.updateinstallments";
|
|
|
15
15
|
function createBaseupdateInstallmentsRequest() {
|
|
16
16
|
return {
|
|
17
17
|
installment_id: 0,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
r_principal: 0,
|
|
19
|
+
r_interest: 0,
|
|
20
|
+
r_penalty: 0,
|
|
21
21
|
r_pif_principal: 0,
|
|
22
22
|
r_pif_interest: 0,
|
|
23
23
|
r_pif_penalty: 0,
|
|
@@ -29,14 +29,14 @@ exports.updateInstallmentsRequest = {
|
|
|
29
29
|
if (message.installment_id !== 0) {
|
|
30
30
|
writer.uint32(8).int32(message.installment_id);
|
|
31
31
|
}
|
|
32
|
-
if (message.
|
|
33
|
-
writer.uint32(16).int32(message.
|
|
32
|
+
if (message.r_principal !== 0) {
|
|
33
|
+
writer.uint32(16).int32(message.r_principal);
|
|
34
34
|
}
|
|
35
|
-
if (message.
|
|
36
|
-
writer.uint32(24).int32(message.
|
|
35
|
+
if (message.r_interest !== 0) {
|
|
36
|
+
writer.uint32(24).int32(message.r_interest);
|
|
37
37
|
}
|
|
38
|
-
if (message.
|
|
39
|
-
writer.uint32(32).int32(message.
|
|
38
|
+
if (message.r_penalty !== 0) {
|
|
39
|
+
writer.uint32(32).int32(message.r_penalty);
|
|
40
40
|
}
|
|
41
41
|
if (message.r_pif_principal !== 0) {
|
|
42
42
|
writer.uint32(40).int32(message.r_pif_principal);
|
|
@@ -69,19 +69,19 @@ exports.updateInstallmentsRequest = {
|
|
|
69
69
|
if (tag !== 16) {
|
|
70
70
|
break;
|
|
71
71
|
}
|
|
72
|
-
message.
|
|
72
|
+
message.r_principal = reader.int32();
|
|
73
73
|
continue;
|
|
74
74
|
case 3:
|
|
75
75
|
if (tag !== 24) {
|
|
76
76
|
break;
|
|
77
77
|
}
|
|
78
|
-
message.
|
|
78
|
+
message.r_interest = reader.int32();
|
|
79
79
|
continue;
|
|
80
80
|
case 4:
|
|
81
81
|
if (tag !== 32) {
|
|
82
82
|
break;
|
|
83
83
|
}
|
|
84
|
-
message.
|
|
84
|
+
message.r_penalty = reader.int32();
|
|
85
85
|
continue;
|
|
86
86
|
case 5:
|
|
87
87
|
if (tag !== 40) {
|
|
@@ -118,9 +118,9 @@ exports.updateInstallmentsRequest = {
|
|
|
118
118
|
fromJSON(object) {
|
|
119
119
|
return {
|
|
120
120
|
installment_id: isSet(object.installment_id) ? globalThis.Number(object.installment_id) : 0,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
r_principal: isSet(object.r_principal) ? globalThis.Number(object.r_principal) : 0,
|
|
122
|
+
r_interest: isSet(object.r_interest) ? globalThis.Number(object.r_interest) : 0,
|
|
123
|
+
r_penalty: isSet(object.r_penalty) ? globalThis.Number(object.r_penalty) : 0,
|
|
124
124
|
r_pif_principal: isSet(object.r_pif_principal) ? globalThis.Number(object.r_pif_principal) : 0,
|
|
125
125
|
r_pif_interest: isSet(object.r_pif_interest) ? globalThis.Number(object.r_pif_interest) : 0,
|
|
126
126
|
r_pif_penalty: isSet(object.r_pif_penalty) ? globalThis.Number(object.r_pif_penalty) : 0,
|
|
@@ -132,14 +132,14 @@ exports.updateInstallmentsRequest = {
|
|
|
132
132
|
if (message.installment_id !== 0) {
|
|
133
133
|
obj.installment_id = Math.round(message.installment_id);
|
|
134
134
|
}
|
|
135
|
-
if (message.
|
|
136
|
-
obj.
|
|
135
|
+
if (message.r_principal !== 0) {
|
|
136
|
+
obj.r_principal = Math.round(message.r_principal);
|
|
137
137
|
}
|
|
138
|
-
if (message.
|
|
139
|
-
obj.
|
|
138
|
+
if (message.r_interest !== 0) {
|
|
139
|
+
obj.r_interest = Math.round(message.r_interest);
|
|
140
140
|
}
|
|
141
|
-
if (message.
|
|
142
|
-
obj.
|
|
141
|
+
if (message.r_penalty !== 0) {
|
|
142
|
+
obj.r_penalty = Math.round(message.r_penalty);
|
|
143
143
|
}
|
|
144
144
|
if (message.r_pif_principal !== 0) {
|
|
145
145
|
obj.r_pif_principal = Math.round(message.r_pif_principal);
|
|
@@ -161,9 +161,9 @@ exports.updateInstallmentsRequest = {
|
|
|
161
161
|
fromPartial(object) {
|
|
162
162
|
const message = createBaseupdateInstallmentsRequest();
|
|
163
163
|
message.installment_id = object.installment_id ?? 0;
|
|
164
|
-
message.
|
|
165
|
-
message.
|
|
166
|
-
message.
|
|
164
|
+
message.r_principal = object.r_principal ?? 0;
|
|
165
|
+
message.r_interest = object.r_interest ?? 0;
|
|
166
|
+
message.r_penalty = object.r_penalty ?? 0;
|
|
167
167
|
message.r_pif_principal = object.r_pif_principal ?? 0;
|
|
168
168
|
message.r_pif_interest = object.r_pif_interest ?? 0;
|
|
169
169
|
message.r_pif_penalty = object.r_pif_penalty ?? 0;
|
package/ts/loans/updateloan.d.ts
CHANGED
package/ts/loans/updateloan.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: loans/updateloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13,7 +13,7 @@ exports.updateLoanResponse = exports.updateLoanRequest = exports.protobufPackage
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.updateloan";
|
|
15
15
|
function createBaseupdateLoanRequest() {
|
|
16
|
-
return { loan_id: 0, status: "",
|
|
16
|
+
return { loan_id: 0, status: "", is_auto_processing: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.updateLoanRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -23,14 +23,8 @@ exports.updateLoanRequest = {
|
|
|
23
23
|
if (message.status !== "") {
|
|
24
24
|
writer.uint32(18).string(message.status);
|
|
25
25
|
}
|
|
26
|
-
if (message.disbursal_amount !== 0) {
|
|
27
|
-
writer.uint32(24).int32(message.disbursal_amount);
|
|
28
|
-
}
|
|
29
|
-
if (message.disbursal_mode !== "") {
|
|
30
|
-
writer.uint32(34).string(message.disbursal_mode);
|
|
31
|
-
}
|
|
32
26
|
if (message.is_auto_processing !== 0) {
|
|
33
|
-
writer.uint32(
|
|
27
|
+
writer.uint32(24).int32(message.is_auto_processing);
|
|
34
28
|
}
|
|
35
29
|
return writer;
|
|
36
30
|
},
|
|
@@ -57,18 +51,6 @@ exports.updateLoanRequest = {
|
|
|
57
51
|
if (tag !== 24) {
|
|
58
52
|
break;
|
|
59
53
|
}
|
|
60
|
-
message.disbursal_amount = reader.int32();
|
|
61
|
-
continue;
|
|
62
|
-
case 4:
|
|
63
|
-
if (tag !== 34) {
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
message.disbursal_mode = reader.string();
|
|
67
|
-
continue;
|
|
68
|
-
case 5:
|
|
69
|
-
if (tag !== 40) {
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
54
|
message.is_auto_processing = reader.int32();
|
|
73
55
|
continue;
|
|
74
56
|
}
|
|
@@ -83,8 +65,6 @@ exports.updateLoanRequest = {
|
|
|
83
65
|
return {
|
|
84
66
|
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
85
67
|
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
86
|
-
disbursal_amount: isSet(object.disbursal_amount) ? globalThis.Number(object.disbursal_amount) : 0,
|
|
87
|
-
disbursal_mode: isSet(object.disbursal_mode) ? globalThis.String(object.disbursal_mode) : "",
|
|
88
68
|
is_auto_processing: isSet(object.is_auto_processing) ? globalThis.Number(object.is_auto_processing) : 0,
|
|
89
69
|
};
|
|
90
70
|
},
|
|
@@ -96,12 +76,6 @@ exports.updateLoanRequest = {
|
|
|
96
76
|
if (message.status !== "") {
|
|
97
77
|
obj.status = message.status;
|
|
98
78
|
}
|
|
99
|
-
if (message.disbursal_amount !== 0) {
|
|
100
|
-
obj.disbursal_amount = Math.round(message.disbursal_amount);
|
|
101
|
-
}
|
|
102
|
-
if (message.disbursal_mode !== "") {
|
|
103
|
-
obj.disbursal_mode = message.disbursal_mode;
|
|
104
|
-
}
|
|
105
79
|
if (message.is_auto_processing !== 0) {
|
|
106
80
|
obj.is_auto_processing = Math.round(message.is_auto_processing);
|
|
107
81
|
}
|
|
@@ -114,8 +88,6 @@ exports.updateLoanRequest = {
|
|
|
114
88
|
const message = createBaseupdateLoanRequest();
|
|
115
89
|
message.loan_id = object.loan_id ?? 0;
|
|
116
90
|
message.status = object.status ?? "";
|
|
117
|
-
message.disbursal_amount = object.disbursal_amount ?? 0;
|
|
118
|
-
message.disbursal_mode = object.disbursal_mode ?? "";
|
|
119
91
|
message.is_auto_processing = object.is_auto_processing ?? 0;
|
|
120
92
|
return message;
|
|
121
93
|
},
|
package/ts/loans.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: loans.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
|
package/ts/payments.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: payments.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/stashcash/creditsc.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: stashcash/creditsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/stashcash/debitsc.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: stashcash/debitsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: stashcash/getscbalance.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: stashcash/getschistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: stashcash/reversesc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/stashcash.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.
|
|
5
|
+
// protoc v5.27.4
|
|
6
6
|
// source: stashcash.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.stashcashClient = exports.stashcashService = exports.protobufPackage = void 0;
|