@stashfin/grpc 1.2.261 → 1.2.263
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/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/getbanklist.js +2 -2
- package/ts/customers/aa/initiate.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/bulksms.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/paynow.js +2 -2
- package/ts/customers/cb/savecreditbuilder.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/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/updatetxnstatus.js +2 -2
- package/ts/customers/fetchrcprofile.js +2 -2
- package/ts/customers/floatingvideos.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/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/getcompanyaccdetails.js +2 -2
- package/ts/customers/getcustomerbyid.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/getlimit.js +2 -2
- package/ts/customers/getoccupationlist.js +2 -2
- package/ts/customers/getpaymentoptions.d.ts +51 -0
- package/ts/customers/getpaymentoptions.js +243 -0
- package/ts/customers/getprofessionalinfo.js +2 -2
- package/ts/customers/getprofile.js +2 -2
- package/ts/customers/getselfieetxnid.js +2 -2
- package/ts/customers/getstates.js +2 -2
- package/ts/customers/getstep.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/rpd/getrpdlink.js +2 -2
- package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
- package/ts/customers/rpd/mockpayment.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/sendotp.js +2 -2
- package/ts/customers/sendotptoemail.js +2 -2
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipscreen.js +2 -2
- package/ts/customers/updatecategory.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/updateselfieetxn.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/verifympin.js +2 -2
- package/ts/customers/verifyotp.js +2 -2
- package/ts/customers/verifyotptoemail.js +2 -2
- package/ts/customers.d.ts +14 -0
- package/ts/customers.js +12 -2
- package/ts/decisionengine/decisionengine.d.ts +1 -0
- package/ts/decisionengine/decisionengine.js +20 -6
- package/ts/decisionengine.js +2 -2
- package/ts/example.js +2 -2
- package/ts/growth/checkplanstatus.js +2 -2
- package/ts/growth/getattachplandetails.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/processchrpayment.js +2 -2
- package/ts/growth.js +2 -2
- package/ts/loans/amortization.js +2 -2
- package/ts/loans/approveloan.d.ts +1 -0
- package/ts/loans/approveloan.js +21 -6
- package/ts/loans/banklist.js +2 -2
- package/ts/loans/calculateemi.js +2 -2
- package/ts/loans/creditlimit.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/getbilldetails.js +2 -2
- package/ts/loans/getcustomerloanstatus.js +2 -2
- package/ts/loans/getloanbyid.d.ts +1 -0
- package/ts/loans/getloanbyid.js +17 -2
- package/ts/loans/getnextdueamount.js +2 -2
- package/ts/loans/getpendingemiamount.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.d.ts +1 -0
- package/ts/loans/loansummary.js +21 -6
- 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/sendemail.js +2 -2
- package/ts/loans/sendnocemail.js +2 -2
- package/ts/loans/transactionlist.js +2 -2
- package/ts/loans/updateinstallments.d.ts +0 -2
- package/ts/loans/updateinstallments.js +8 -45
- 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/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/bureau/getbureaulist.d.ts +0 -52
- package/ts/bureau/getbureaulist.js +0 -276
- package/ts/customers/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
package/ts/loans/getloanbyid.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getloanbyid.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -82,6 +82,7 @@ function createBasegetLoanByIdResponse() {
|
|
|
82
82
|
fees: undefined,
|
|
83
83
|
loan_create_date: "",
|
|
84
84
|
net_payable_amount: 0,
|
|
85
|
+
apr_value: 0,
|
|
85
86
|
};
|
|
86
87
|
}
|
|
87
88
|
exports.getLoanByIdResponse = {
|
|
@@ -140,6 +141,9 @@ exports.getLoanByIdResponse = {
|
|
|
140
141
|
if (message.net_payable_amount !== 0) {
|
|
141
142
|
writer.uint32(144).int32(message.net_payable_amount);
|
|
142
143
|
}
|
|
144
|
+
if (message.apr_value !== 0) {
|
|
145
|
+
writer.uint32(157).float(message.apr_value);
|
|
146
|
+
}
|
|
143
147
|
return writer;
|
|
144
148
|
},
|
|
145
149
|
decode(input, length) {
|
|
@@ -257,6 +261,12 @@ exports.getLoanByIdResponse = {
|
|
|
257
261
|
}
|
|
258
262
|
message.net_payable_amount = reader.int32();
|
|
259
263
|
continue;
|
|
264
|
+
case 19:
|
|
265
|
+
if (tag !== 157) {
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
message.apr_value = reader.float();
|
|
269
|
+
continue;
|
|
260
270
|
}
|
|
261
271
|
if ((tag & 7) === 4 || tag === 0) {
|
|
262
272
|
break;
|
|
@@ -287,6 +297,7 @@ exports.getLoanByIdResponse = {
|
|
|
287
297
|
fees: isSet(object.fees) ? exports.getLoanByIdResponse_Field.fromJSON(object.fees) : undefined,
|
|
288
298
|
loan_create_date: isSet(object.loan_create_date) ? globalThis.String(object.loan_create_date) : "",
|
|
289
299
|
net_payable_amount: isSet(object.net_payable_amount) ? globalThis.Number(object.net_payable_amount) : 0,
|
|
300
|
+
apr_value: isSet(object.apr_value) ? globalThis.Number(object.apr_value) : 0,
|
|
290
301
|
};
|
|
291
302
|
},
|
|
292
303
|
toJSON(message) {
|
|
@@ -345,6 +356,9 @@ exports.getLoanByIdResponse = {
|
|
|
345
356
|
if (message.net_payable_amount !== 0) {
|
|
346
357
|
obj.net_payable_amount = Math.round(message.net_payable_amount);
|
|
347
358
|
}
|
|
359
|
+
if (message.apr_value !== 0) {
|
|
360
|
+
obj.apr_value = message.apr_value;
|
|
361
|
+
}
|
|
348
362
|
return obj;
|
|
349
363
|
},
|
|
350
364
|
create(base) {
|
|
@@ -372,6 +386,7 @@ exports.getLoanByIdResponse = {
|
|
|
372
386
|
: undefined;
|
|
373
387
|
message.loan_create_date = object.loan_create_date ?? "";
|
|
374
388
|
message.net_payable_amount = object.net_payable_amount ?? 0;
|
|
389
|
+
message.apr_value = object.apr_value ?? 0;
|
|
375
390
|
return message;
|
|
376
391
|
},
|
|
377
392
|
};
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getnextdueamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getpendingemiamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getsummarystaticfields.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/gettransactionstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/getusedlimit.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getusedlimit.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getvirtualbankinfo.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -36,6 +36,7 @@ export interface loanSummaryResponse {
|
|
|
36
36
|
credit_report_actual_fees: number;
|
|
37
37
|
plan_id: number;
|
|
38
38
|
approved_amount: number;
|
|
39
|
+
discount: number;
|
|
39
40
|
}
|
|
40
41
|
export declare const loanSummaryRequest: {
|
|
41
42
|
encode(message: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/loans/loansummary.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/loansummary.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -124,6 +124,7 @@ function createBaseloanSummaryResponse() {
|
|
|
124
124
|
credit_report_actual_fees: 0,
|
|
125
125
|
plan_id: 0,
|
|
126
126
|
approved_amount: 0,
|
|
127
|
+
discount: 0,
|
|
127
128
|
};
|
|
128
129
|
}
|
|
129
130
|
exports.loanSummaryResponse = {
|
|
@@ -198,7 +199,7 @@ exports.loanSummaryResponse = {
|
|
|
198
199
|
writer.uint32(186).string(message.bill_card_description);
|
|
199
200
|
}
|
|
200
201
|
if (message.apr_value !== 0) {
|
|
201
|
-
writer.uint32(
|
|
202
|
+
writer.uint32(197).float(message.apr_value);
|
|
202
203
|
}
|
|
203
204
|
if (message.apr_type !== "") {
|
|
204
205
|
writer.uint32(202).string(message.apr_type);
|
|
@@ -218,6 +219,9 @@ exports.loanSummaryResponse = {
|
|
|
218
219
|
if (message.approved_amount !== 0) {
|
|
219
220
|
writer.uint32(240).int32(message.approved_amount);
|
|
220
221
|
}
|
|
222
|
+
if (message.discount !== 0) {
|
|
223
|
+
writer.uint32(248).int32(message.discount);
|
|
224
|
+
}
|
|
221
225
|
return writer;
|
|
222
226
|
},
|
|
223
227
|
decode(input, length) {
|
|
@@ -366,10 +370,10 @@ exports.loanSummaryResponse = {
|
|
|
366
370
|
message.bill_card_description = reader.string();
|
|
367
371
|
continue;
|
|
368
372
|
case 24:
|
|
369
|
-
if (tag !==
|
|
373
|
+
if (tag !== 197) {
|
|
370
374
|
break;
|
|
371
375
|
}
|
|
372
|
-
message.apr_value = reader.
|
|
376
|
+
message.apr_value = reader.float();
|
|
373
377
|
continue;
|
|
374
378
|
case 25:
|
|
375
379
|
if (tag !== 202) {
|
|
@@ -407,6 +411,12 @@ exports.loanSummaryResponse = {
|
|
|
407
411
|
}
|
|
408
412
|
message.approved_amount = reader.int32();
|
|
409
413
|
continue;
|
|
414
|
+
case 31:
|
|
415
|
+
if (tag !== 248) {
|
|
416
|
+
break;
|
|
417
|
+
}
|
|
418
|
+
message.discount = reader.int32();
|
|
419
|
+
continue;
|
|
410
420
|
}
|
|
411
421
|
if ((tag & 7) === 4 || tag === 0) {
|
|
412
422
|
break;
|
|
@@ -455,6 +465,7 @@ exports.loanSummaryResponse = {
|
|
|
455
465
|
: 0,
|
|
456
466
|
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
|
|
457
467
|
approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
|
|
468
|
+
discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
|
|
458
469
|
};
|
|
459
470
|
},
|
|
460
471
|
toJSON(message) {
|
|
@@ -529,7 +540,7 @@ exports.loanSummaryResponse = {
|
|
|
529
540
|
obj.bill_card_description = message.bill_card_description;
|
|
530
541
|
}
|
|
531
542
|
if (message.apr_value !== 0) {
|
|
532
|
-
obj.apr_value =
|
|
543
|
+
obj.apr_value = message.apr_value;
|
|
533
544
|
}
|
|
534
545
|
if (message.apr_type !== "") {
|
|
535
546
|
obj.apr_type = message.apr_type;
|
|
@@ -549,6 +560,9 @@ exports.loanSummaryResponse = {
|
|
|
549
560
|
if (message.approved_amount !== 0) {
|
|
550
561
|
obj.approved_amount = Math.round(message.approved_amount);
|
|
551
562
|
}
|
|
563
|
+
if (message.discount !== 0) {
|
|
564
|
+
obj.discount = Math.round(message.discount);
|
|
565
|
+
}
|
|
552
566
|
return obj;
|
|
553
567
|
},
|
|
554
568
|
create(base) {
|
|
@@ -586,6 +600,7 @@ exports.loanSummaryResponse = {
|
|
|
586
600
|
message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
|
|
587
601
|
message.plan_id = object.plan_id ?? 0;
|
|
588
602
|
message.approved_amount = object.approved_amount ?? 0;
|
|
603
|
+
message.discount = object.discount ?? 0;
|
|
589
604
|
return message;
|
|
590
605
|
},
|
|
591
606
|
};
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/paymentallocation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/paymenthistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/paynow.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/paynow.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/refund.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/refund.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/restructureloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/rollback.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/rollback.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/sendemail.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/sendemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/sendnocemail.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/sendnocemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/transactionlist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -4,10 +4,8 @@ export interface updateInstallmentsRequest {
|
|
|
4
4
|
installment_id: number;
|
|
5
5
|
r_principal: number;
|
|
6
6
|
r_interest: number;
|
|
7
|
-
r_penalty: number;
|
|
8
7
|
r_pif_principal: number;
|
|
9
8
|
r_pif_interest: number;
|
|
10
|
-
r_pif_penalty: number;
|
|
11
9
|
amount: number;
|
|
12
10
|
}
|
|
13
11
|
export interface updateInstallmentsResponse {
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/updateinstallments.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13,16 +13,7 @@ exports.updateInstallmentsResponse = exports.updateInstallmentsRequest = exports
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.updateinstallments";
|
|
15
15
|
function createBaseupdateInstallmentsRequest() {
|
|
16
|
-
return {
|
|
17
|
-
installment_id: 0,
|
|
18
|
-
r_principal: 0,
|
|
19
|
-
r_interest: 0,
|
|
20
|
-
r_penalty: 0,
|
|
21
|
-
r_pif_principal: 0,
|
|
22
|
-
r_pif_interest: 0,
|
|
23
|
-
r_pif_penalty: 0,
|
|
24
|
-
amount: 0,
|
|
25
|
-
};
|
|
16
|
+
return { installment_id: 0, r_principal: 0, r_interest: 0, r_pif_principal: 0, r_pif_interest: 0, amount: 0 };
|
|
26
17
|
}
|
|
27
18
|
exports.updateInstallmentsRequest = {
|
|
28
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -35,20 +26,14 @@ exports.updateInstallmentsRequest = {
|
|
|
35
26
|
if (message.r_interest !== 0) {
|
|
36
27
|
writer.uint32(24).int32(message.r_interest);
|
|
37
28
|
}
|
|
38
|
-
if (message.r_penalty !== 0) {
|
|
39
|
-
writer.uint32(32).int32(message.r_penalty);
|
|
40
|
-
}
|
|
41
29
|
if (message.r_pif_principal !== 0) {
|
|
42
|
-
writer.uint32(
|
|
30
|
+
writer.uint32(32).int32(message.r_pif_principal);
|
|
43
31
|
}
|
|
44
32
|
if (message.r_pif_interest !== 0) {
|
|
45
|
-
writer.uint32(
|
|
46
|
-
}
|
|
47
|
-
if (message.r_pif_penalty !== 0) {
|
|
48
|
-
writer.uint32(56).int32(message.r_pif_penalty);
|
|
33
|
+
writer.uint32(40).int32(message.r_pif_interest);
|
|
49
34
|
}
|
|
50
35
|
if (message.amount !== 0) {
|
|
51
|
-
writer.uint32(
|
|
36
|
+
writer.uint32(48).int32(message.amount);
|
|
52
37
|
}
|
|
53
38
|
return writer;
|
|
54
39
|
},
|
|
@@ -81,30 +66,18 @@ exports.updateInstallmentsRequest = {
|
|
|
81
66
|
if (tag !== 32) {
|
|
82
67
|
break;
|
|
83
68
|
}
|
|
84
|
-
message.
|
|
69
|
+
message.r_pif_principal = reader.int32();
|
|
85
70
|
continue;
|
|
86
71
|
case 5:
|
|
87
72
|
if (tag !== 40) {
|
|
88
73
|
break;
|
|
89
74
|
}
|
|
90
|
-
message.
|
|
75
|
+
message.r_pif_interest = reader.int32();
|
|
91
76
|
continue;
|
|
92
77
|
case 6:
|
|
93
78
|
if (tag !== 48) {
|
|
94
79
|
break;
|
|
95
80
|
}
|
|
96
|
-
message.r_pif_interest = reader.int32();
|
|
97
|
-
continue;
|
|
98
|
-
case 7:
|
|
99
|
-
if (tag !== 56) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
message.r_pif_penalty = reader.int32();
|
|
103
|
-
continue;
|
|
104
|
-
case 8:
|
|
105
|
-
if (tag !== 64) {
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
81
|
message.amount = reader.int32();
|
|
109
82
|
continue;
|
|
110
83
|
}
|
|
@@ -120,10 +93,8 @@ exports.updateInstallmentsRequest = {
|
|
|
120
93
|
installment_id: isSet(object.installment_id) ? globalThis.Number(object.installment_id) : 0,
|
|
121
94
|
r_principal: isSet(object.r_principal) ? globalThis.Number(object.r_principal) : 0,
|
|
122
95
|
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
96
|
r_pif_principal: isSet(object.r_pif_principal) ? globalThis.Number(object.r_pif_principal) : 0,
|
|
125
97
|
r_pif_interest: isSet(object.r_pif_interest) ? globalThis.Number(object.r_pif_interest) : 0,
|
|
126
|
-
r_pif_penalty: isSet(object.r_pif_penalty) ? globalThis.Number(object.r_pif_penalty) : 0,
|
|
127
98
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
128
99
|
};
|
|
129
100
|
},
|
|
@@ -138,18 +109,12 @@ exports.updateInstallmentsRequest = {
|
|
|
138
109
|
if (message.r_interest !== 0) {
|
|
139
110
|
obj.r_interest = Math.round(message.r_interest);
|
|
140
111
|
}
|
|
141
|
-
if (message.r_penalty !== 0) {
|
|
142
|
-
obj.r_penalty = Math.round(message.r_penalty);
|
|
143
|
-
}
|
|
144
112
|
if (message.r_pif_principal !== 0) {
|
|
145
113
|
obj.r_pif_principal = Math.round(message.r_pif_principal);
|
|
146
114
|
}
|
|
147
115
|
if (message.r_pif_interest !== 0) {
|
|
148
116
|
obj.r_pif_interest = Math.round(message.r_pif_interest);
|
|
149
117
|
}
|
|
150
|
-
if (message.r_pif_penalty !== 0) {
|
|
151
|
-
obj.r_pif_penalty = Math.round(message.r_pif_penalty);
|
|
152
|
-
}
|
|
153
118
|
if (message.amount !== 0) {
|
|
154
119
|
obj.amount = Math.round(message.amount);
|
|
155
120
|
}
|
|
@@ -163,10 +128,8 @@ exports.updateInstallmentsRequest = {
|
|
|
163
128
|
message.installment_id = object.installment_id ?? 0;
|
|
164
129
|
message.r_principal = object.r_principal ?? 0;
|
|
165
130
|
message.r_interest = object.r_interest ?? 0;
|
|
166
|
-
message.r_penalty = object.r_penalty ?? 0;
|
|
167
131
|
message.r_pif_principal = object.r_pif_principal ?? 0;
|
|
168
132
|
message.r_pif_interest = object.r_pif_interest ?? 0;
|
|
169
|
-
message.r_pif_penalty = object.r_pif_penalty ?? 0;
|
|
170
133
|
message.amount = object.amount ?? 0;
|
|
171
134
|
return message;
|
|
172
135
|
},
|
package/ts/loans/updateloan.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/updateloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/updatetransactionstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: payments/checkpaymentstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: payments/getpaymentoptions.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: payments/initiatepayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: payments/nachpresentation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: payments/nachregistration.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/payments.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: payments.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.paymentsClient = exports.paymentsService = exports.protobufPackage = void 0;
|
package/ts/stashcash/creditsc.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: stashcash/debitsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: stashcash/getscbalance.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: stashcash/getschistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|