@stashfin/grpc 1.2.84 → 1.2.86
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 +2 -1
- package/ts/bureau/getbureau.d.ts +157 -0
- package/ts/bureau/getbureau.js +1386 -0
- package/ts/bureau.d.ts +28 -0
- package/ts/bureau.js +24 -0
- 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/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/deleteprofile.d.ts +1 -0
- package/ts/customers/deleteprofile.js +19 -3
- package/ts/customers/fetchrcprofile.d.ts +43 -0
- package/ts/customers/fetchrcprofile.js +241 -0
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinotp.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/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/getkycweburl.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendemailtoken.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/updatedigilockertxn.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatehypervergetxn.js +1 -1
- package/ts/customers/updatelocstatus.d.ts +1 -0
- package/ts/customers/updatelocstatus.js +19 -3
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifyemail.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers.d.ts +14 -0
- package/ts/customers.js +11 -1
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.d.ts +1 -1
- package/ts/google/protobuf/timestamp.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/getcustomerloanstatus.js +1 -1
- package/ts/loans/loansummary.d.ts +4 -2
- package/ts/loans/loansummary.js +55 -17
- package/ts/loans/paymentallocation.d.ts +1 -1
- package/ts/loans/paymentallocation.js +10 -10
- 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.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- 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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/resetmpin.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/savebasicdetails.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/saveunlocklimit.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/sendemailtoken.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers/sendotp.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/sendotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers/setmpin.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/setmpin.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers/step10.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/step10.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers/step7.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/step7.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers/step8.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/step8.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers/step9.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/step9.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/stepstatic.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/updatedigilockertxn.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/updatedob.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/updatehypervergetxn.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/updatelocstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -63,13 +63,16 @@ exports.locStatusRequest = {
|
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
65
|
function createBaselocStatusResponse() {
|
|
66
|
-
return { status: false };
|
|
66
|
+
return { status: false, pending_loan_amount: 0 };
|
|
67
67
|
}
|
|
68
68
|
exports.locStatusResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
70
|
if (message.status !== false) {
|
|
71
71
|
writer.uint32(8).bool(message.status);
|
|
72
72
|
}
|
|
73
|
+
if (message.pending_loan_amount !== 0) {
|
|
74
|
+
writer.uint32(21).float(message.pending_loan_amount);
|
|
75
|
+
}
|
|
73
76
|
return writer;
|
|
74
77
|
},
|
|
75
78
|
decode(input, length) {
|
|
@@ -85,6 +88,12 @@ exports.locStatusResponse = {
|
|
|
85
88
|
}
|
|
86
89
|
message.status = reader.bool();
|
|
87
90
|
continue;
|
|
91
|
+
case 2:
|
|
92
|
+
if (tag !== 21) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
message.pending_loan_amount = reader.float();
|
|
96
|
+
continue;
|
|
88
97
|
}
|
|
89
98
|
if ((tag & 7) === 4 || tag === 0) {
|
|
90
99
|
break;
|
|
@@ -94,13 +103,19 @@ exports.locStatusResponse = {
|
|
|
94
103
|
return message;
|
|
95
104
|
},
|
|
96
105
|
fromJSON(object) {
|
|
97
|
-
return {
|
|
106
|
+
return {
|
|
107
|
+
status: isSet(object.status) ? globalThis.Boolean(object.status) : false,
|
|
108
|
+
pending_loan_amount: isSet(object.pending_loan_amount) ? globalThis.Number(object.pending_loan_amount) : 0,
|
|
109
|
+
};
|
|
98
110
|
},
|
|
99
111
|
toJSON(message) {
|
|
100
112
|
const obj = {};
|
|
101
113
|
if (message.status !== false) {
|
|
102
114
|
obj.status = message.status;
|
|
103
115
|
}
|
|
116
|
+
if (message.pending_loan_amount !== 0) {
|
|
117
|
+
obj.pending_loan_amount = message.pending_loan_amount;
|
|
118
|
+
}
|
|
104
119
|
return obj;
|
|
105
120
|
},
|
|
106
121
|
create(base) {
|
|
@@ -109,6 +124,7 @@ exports.locStatusResponse = {
|
|
|
109
124
|
fromPartial(object) {
|
|
110
125
|
const message = createBaselocStatusResponse();
|
|
111
126
|
message.status = object.status ?? false;
|
|
127
|
+
message.pending_loan_amount = object.pending_loan_amount ?? 0;
|
|
112
128
|
return message;
|
|
113
129
|
},
|
|
114
130
|
};
|
|
@@ -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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/validatepan.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/verifyemail.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/verifympin.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers/verifyotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { addSuspendedCustomerRequest, addSuspendedCustomerResponse } from "./cus
|
|
|
7
7
|
import { AddUserAppsRequest, AddUserAppsResponse } from "./customers/adduserapps";
|
|
8
8
|
import { createCustomerReferenceRequest, createCustomerReferenceResponse } from "./customers/createcustomerreference";
|
|
9
9
|
import { deleteProfileRequest, deleteProfileResponse } from "./customers/deleteprofile";
|
|
10
|
+
import { fetchRCProfileRequest, fetchRCProfileResponse } from "./customers/fetchrcprofile";
|
|
10
11
|
import { forgotMpinRequest, forgotMpinResponse } from "./customers/forgotmpin";
|
|
11
12
|
import { forgotMpinOTPRequest, forgotMpinOTPResponse } from "./customers/forgotmpinotp";
|
|
12
13
|
import { getBankAccountDetailsRequest, getBankAccountDetailsResponse } from "./customers/getbankaccountdetails";
|
|
@@ -486,6 +487,15 @@ export declare const customersService: {
|
|
|
486
487
|
readonly responseSerialize: (value: AddUserAppsResponse) => Buffer;
|
|
487
488
|
readonly responseDeserialize: (value: Buffer) => AddUserAppsResponse;
|
|
488
489
|
};
|
|
490
|
+
readonly fetchRcProfile: {
|
|
491
|
+
readonly path: "/service.customers/fetchRCProfile";
|
|
492
|
+
readonly requestStream: false;
|
|
493
|
+
readonly responseStream: false;
|
|
494
|
+
readonly requestSerialize: (value: fetchRCProfileRequest) => Buffer;
|
|
495
|
+
readonly requestDeserialize: (value: Buffer) => fetchRCProfileRequest;
|
|
496
|
+
readonly responseSerialize: (value: fetchRCProfileResponse) => Buffer;
|
|
497
|
+
readonly responseDeserialize: (value: Buffer) => fetchRCProfileResponse;
|
|
498
|
+
};
|
|
489
499
|
};
|
|
490
500
|
export interface customersServer extends UntypedServiceImplementation {
|
|
491
501
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -537,6 +547,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
537
547
|
updatelocStatus: handleUnaryCall<locStatusRequest, locStatusResponse>;
|
|
538
548
|
initiateRequest: handleUnaryCall<initiateRequest, initiateResponse>;
|
|
539
549
|
addUserApps: handleUnaryCall<AddUserAppsRequest, AddUserAppsResponse>;
|
|
550
|
+
fetchRcProfile: handleUnaryCall<fetchRCProfileRequest, fetchRCProfileResponse>;
|
|
540
551
|
}
|
|
541
552
|
export interface customersClient extends Client {
|
|
542
553
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -686,6 +697,9 @@ export interface customersClient extends Client {
|
|
|
686
697
|
addUserApps(request: AddUserAppsRequest, callback: (error: ServiceError | null, response: AddUserAppsResponse) => void): ClientUnaryCall;
|
|
687
698
|
addUserApps(request: AddUserAppsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: AddUserAppsResponse) => void): ClientUnaryCall;
|
|
688
699
|
addUserApps(request: AddUserAppsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: AddUserAppsResponse) => void): ClientUnaryCall;
|
|
700
|
+
fetchRcProfile(request: fetchRCProfileRequest, callback: (error: ServiceError | null, response: fetchRCProfileResponse) => void): ClientUnaryCall;
|
|
701
|
+
fetchRcProfile(request: fetchRCProfileRequest, metadata: Metadata, callback: (error: ServiceError | null, response: fetchRCProfileResponse) => void): ClientUnaryCall;
|
|
702
|
+
fetchRcProfile(request: fetchRCProfileRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: fetchRCProfileResponse) => void): ClientUnaryCall;
|
|
689
703
|
}
|
|
690
704
|
export declare const customersClient: {
|
|
691
705
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
package/ts/customers.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: customers.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.customersClient = exports.customersService = exports.protobufPackage = void 0;
|
|
@@ -16,6 +16,7 @@ const addsuspendedcustomer_1 = require("./customers/addsuspendedcustomer");
|
|
|
16
16
|
const adduserapps_1 = require("./customers/adduserapps");
|
|
17
17
|
const createcustomerreference_1 = require("./customers/createcustomerreference");
|
|
18
18
|
const deleteprofile_1 = require("./customers/deleteprofile");
|
|
19
|
+
const fetchrcprofile_1 = require("./customers/fetchrcprofile");
|
|
19
20
|
const forgotmpin_1 = require("./customers/forgotmpin");
|
|
20
21
|
const forgotmpinotp_1 = require("./customers/forgotmpinotp");
|
|
21
22
|
const getbankaccountdetails_1 = require("./customers/getbankaccountdetails");
|
|
@@ -494,5 +495,14 @@ exports.customersService = {
|
|
|
494
495
|
responseSerialize: (value) => Buffer.from(adduserapps_1.AddUserAppsResponse.encode(value).finish()),
|
|
495
496
|
responseDeserialize: (value) => adduserapps_1.AddUserAppsResponse.decode(value),
|
|
496
497
|
},
|
|
498
|
+
fetchRcProfile: {
|
|
499
|
+
path: "/service.customers/fetchRCProfile",
|
|
500
|
+
requestStream: false,
|
|
501
|
+
responseStream: false,
|
|
502
|
+
requestSerialize: (value) => Buffer.from(fetchrcprofile_1.fetchRCProfileRequest.encode(value).finish()),
|
|
503
|
+
requestDeserialize: (value) => fetchrcprofile_1.fetchRCProfileRequest.decode(value),
|
|
504
|
+
responseSerialize: (value) => Buffer.from(fetchrcprofile_1.fetchRCProfileResponse.encode(value).finish()),
|
|
505
|
+
responseDeserialize: (value) => fetchrcprofile_1.fetchRCProfileResponse.decode(value),
|
|
506
|
+
},
|
|
497
507
|
};
|
|
498
508
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|
package/ts/example.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: example.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -88,7 +88,7 @@ export declare const protobufPackage = "google.protobuf";
|
|
|
88
88
|
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
89
89
|
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
90
90
|
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
91
|
-
* http://
|
|
91
|
+
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
92
92
|
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
93
93
|
*/
|
|
94
94
|
export interface Timestamp {
|
|
@@ -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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: google/protobuf/timestamp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/approveloan.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: loans/approveloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/banklist.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: loans/banklist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/calculateemi.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: loans/calculateemi.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/creditlimit.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: loans/creditlimit.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
|
|
5
|
+
// protoc v5.27.3
|
|
6
6
|
// source: loans/getcustomerloanstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11,8 +11,8 @@ export interface loanSummaryResponse {
|
|
|
11
11
|
max_tenure: number;
|
|
12
12
|
min_tenure: number;
|
|
13
13
|
rate_of_interest: number;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
exposure_limit_info_popup_heading: string;
|
|
15
|
+
exposure_limit_info_popup_body: string;
|
|
16
16
|
sanctioned_limit_heading: string;
|
|
17
17
|
exposure_limit_heading: string;
|
|
18
18
|
request_max_percentage: number;
|
|
@@ -20,6 +20,8 @@ export interface loanSummaryResponse {
|
|
|
20
20
|
exposure_limit: number;
|
|
21
21
|
sanctioned_limit: number;
|
|
22
22
|
remaining_sanctioned_limit: number;
|
|
23
|
+
sanctioned_limit_info_popup_heading: string;
|
|
24
|
+
sanctioned_limit_info_popup_body: string;
|
|
23
25
|
}
|
|
24
26
|
export declare const loanSummaryRequest: {
|
|
25
27
|
encode(_: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/loans/loansummary.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
|
|
5
|
+
// protoc v5.27.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 };
|
|
@@ -59,8 +59,8 @@ function createBaseloanSummaryResponse() {
|
|
|
59
59
|
max_tenure: 0,
|
|
60
60
|
min_tenure: 0,
|
|
61
61
|
rate_of_interest: 0,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
exposure_limit_info_popup_heading: "",
|
|
63
|
+
exposure_limit_info_popup_body: "",
|
|
64
64
|
sanctioned_limit_heading: "",
|
|
65
65
|
exposure_limit_heading: "",
|
|
66
66
|
request_max_percentage: 0,
|
|
@@ -68,6 +68,8 @@ function createBaseloanSummaryResponse() {
|
|
|
68
68
|
exposure_limit: 0,
|
|
69
69
|
sanctioned_limit: 0,
|
|
70
70
|
remaining_sanctioned_limit: 0,
|
|
71
|
+
sanctioned_limit_info_popup_heading: "",
|
|
72
|
+
sanctioned_limit_info_popup_body: "",
|
|
71
73
|
};
|
|
72
74
|
}
|
|
73
75
|
exports.loanSummaryResponse = {
|
|
@@ -96,11 +98,11 @@ exports.loanSummaryResponse = {
|
|
|
96
98
|
if (message.rate_of_interest !== 0) {
|
|
97
99
|
writer.uint32(64).int32(message.rate_of_interest);
|
|
98
100
|
}
|
|
99
|
-
if (message.
|
|
100
|
-
writer.uint32(74).string(message.
|
|
101
|
+
if (message.exposure_limit_info_popup_heading !== "") {
|
|
102
|
+
writer.uint32(74).string(message.exposure_limit_info_popup_heading);
|
|
101
103
|
}
|
|
102
|
-
if (message.
|
|
103
|
-
writer.uint32(82).string(message.
|
|
104
|
+
if (message.exposure_limit_info_popup_body !== "") {
|
|
105
|
+
writer.uint32(82).string(message.exposure_limit_info_popup_body);
|
|
104
106
|
}
|
|
105
107
|
if (message.sanctioned_limit_heading !== "") {
|
|
106
108
|
writer.uint32(90).string(message.sanctioned_limit_heading);
|
|
@@ -123,6 +125,12 @@ exports.loanSummaryResponse = {
|
|
|
123
125
|
if (message.remaining_sanctioned_limit !== 0) {
|
|
124
126
|
writer.uint32(136).int32(message.remaining_sanctioned_limit);
|
|
125
127
|
}
|
|
128
|
+
if (message.sanctioned_limit_info_popup_heading !== "") {
|
|
129
|
+
writer.uint32(146).string(message.sanctioned_limit_info_popup_heading);
|
|
130
|
+
}
|
|
131
|
+
if (message.sanctioned_limit_info_popup_body !== "") {
|
|
132
|
+
writer.uint32(154).string(message.sanctioned_limit_info_popup_body);
|
|
133
|
+
}
|
|
126
134
|
return writer;
|
|
127
135
|
},
|
|
128
136
|
decode(input, length) {
|
|
@@ -184,13 +192,13 @@ exports.loanSummaryResponse = {
|
|
|
184
192
|
if (tag !== 74) {
|
|
185
193
|
break;
|
|
186
194
|
}
|
|
187
|
-
message.
|
|
195
|
+
message.exposure_limit_info_popup_heading = reader.string();
|
|
188
196
|
continue;
|
|
189
197
|
case 10:
|
|
190
198
|
if (tag !== 82) {
|
|
191
199
|
break;
|
|
192
200
|
}
|
|
193
|
-
message.
|
|
201
|
+
message.exposure_limit_info_popup_body = reader.string();
|
|
194
202
|
continue;
|
|
195
203
|
case 11:
|
|
196
204
|
if (tag !== 90) {
|
|
@@ -234,6 +242,18 @@ exports.loanSummaryResponse = {
|
|
|
234
242
|
}
|
|
235
243
|
message.remaining_sanctioned_limit = reader.int32();
|
|
236
244
|
continue;
|
|
245
|
+
case 18:
|
|
246
|
+
if (tag !== 146) {
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
message.sanctioned_limit_info_popup_heading = reader.string();
|
|
250
|
+
continue;
|
|
251
|
+
case 19:
|
|
252
|
+
if (tag !== 154) {
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
message.sanctioned_limit_info_popup_body = reader.string();
|
|
256
|
+
continue;
|
|
237
257
|
}
|
|
238
258
|
if ((tag & 7) === 4 || tag === 0) {
|
|
239
259
|
break;
|
|
@@ -256,8 +276,12 @@ exports.loanSummaryResponse = {
|
|
|
256
276
|
max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
|
|
257
277
|
min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
|
|
258
278
|
rate_of_interest: isSet(object.rate_of_interest) ? globalThis.Number(object.rate_of_interest) : 0,
|
|
259
|
-
|
|
260
|
-
|
|
279
|
+
exposure_limit_info_popup_heading: isSet(object.exposure_limit_info_popup_heading)
|
|
280
|
+
? globalThis.String(object.exposure_limit_info_popup_heading)
|
|
281
|
+
: "",
|
|
282
|
+
exposure_limit_info_popup_body: isSet(object.exposure_limit_info_popup_body)
|
|
283
|
+
? globalThis.String(object.exposure_limit_info_popup_body)
|
|
284
|
+
: "",
|
|
261
285
|
sanctioned_limit_heading: isSet(object.sanctioned_limit_heading)
|
|
262
286
|
? globalThis.String(object.sanctioned_limit_heading)
|
|
263
287
|
: "",
|
|
@@ -273,6 +297,12 @@ exports.loanSummaryResponse = {
|
|
|
273
297
|
remaining_sanctioned_limit: isSet(object.remaining_sanctioned_limit)
|
|
274
298
|
? globalThis.Number(object.remaining_sanctioned_limit)
|
|
275
299
|
: 0,
|
|
300
|
+
sanctioned_limit_info_popup_heading: isSet(object.sanctioned_limit_info_popup_heading)
|
|
301
|
+
? globalThis.String(object.sanctioned_limit_info_popup_heading)
|
|
302
|
+
: "",
|
|
303
|
+
sanctioned_limit_info_popup_body: isSet(object.sanctioned_limit_info_popup_body)
|
|
304
|
+
? globalThis.String(object.sanctioned_limit_info_popup_body)
|
|
305
|
+
: "",
|
|
276
306
|
};
|
|
277
307
|
},
|
|
278
308
|
toJSON(message) {
|
|
@@ -301,11 +331,11 @@ exports.loanSummaryResponse = {
|
|
|
301
331
|
if (message.rate_of_interest !== 0) {
|
|
302
332
|
obj.rate_of_interest = Math.round(message.rate_of_interest);
|
|
303
333
|
}
|
|
304
|
-
if (message.
|
|
305
|
-
obj.
|
|
334
|
+
if (message.exposure_limit_info_popup_heading !== "") {
|
|
335
|
+
obj.exposure_limit_info_popup_heading = message.exposure_limit_info_popup_heading;
|
|
306
336
|
}
|
|
307
|
-
if (message.
|
|
308
|
-
obj.
|
|
337
|
+
if (message.exposure_limit_info_popup_body !== "") {
|
|
338
|
+
obj.exposure_limit_info_popup_body = message.exposure_limit_info_popup_body;
|
|
309
339
|
}
|
|
310
340
|
if (message.sanctioned_limit_heading !== "") {
|
|
311
341
|
obj.sanctioned_limit_heading = message.sanctioned_limit_heading;
|
|
@@ -328,6 +358,12 @@ exports.loanSummaryResponse = {
|
|
|
328
358
|
if (message.remaining_sanctioned_limit !== 0) {
|
|
329
359
|
obj.remaining_sanctioned_limit = Math.round(message.remaining_sanctioned_limit);
|
|
330
360
|
}
|
|
361
|
+
if (message.sanctioned_limit_info_popup_heading !== "") {
|
|
362
|
+
obj.sanctioned_limit_info_popup_heading = message.sanctioned_limit_info_popup_heading;
|
|
363
|
+
}
|
|
364
|
+
if (message.sanctioned_limit_info_popup_body !== "") {
|
|
365
|
+
obj.sanctioned_limit_info_popup_body = message.sanctioned_limit_info_popup_body;
|
|
366
|
+
}
|
|
331
367
|
return obj;
|
|
332
368
|
},
|
|
333
369
|
create(base) {
|
|
@@ -343,8 +379,8 @@ exports.loanSummaryResponse = {
|
|
|
343
379
|
message.max_tenure = object.max_tenure ?? 0;
|
|
344
380
|
message.min_tenure = object.min_tenure ?? 0;
|
|
345
381
|
message.rate_of_interest = object.rate_of_interest ?? 0;
|
|
346
|
-
message.
|
|
347
|
-
message.
|
|
382
|
+
message.exposure_limit_info_popup_heading = object.exposure_limit_info_popup_heading ?? "";
|
|
383
|
+
message.exposure_limit_info_popup_body = object.exposure_limit_info_popup_body ?? "";
|
|
348
384
|
message.sanctioned_limit_heading = object.sanctioned_limit_heading ?? "";
|
|
349
385
|
message.exposure_limit_heading = object.exposure_limit_heading ?? "";
|
|
350
386
|
message.request_max_percentage = object.request_max_percentage ?? 0;
|
|
@@ -352,6 +388,8 @@ exports.loanSummaryResponse = {
|
|
|
352
388
|
message.exposure_limit = object.exposure_limit ?? 0;
|
|
353
389
|
message.sanctioned_limit = object.sanctioned_limit ?? 0;
|
|
354
390
|
message.remaining_sanctioned_limit = object.remaining_sanctioned_limit ?? 0;
|
|
391
|
+
message.sanctioned_limit_info_popup_heading = object.sanctioned_limit_info_popup_heading ?? "";
|
|
392
|
+
message.sanctioned_limit_info_popup_body = object.sanctioned_limit_info_popup_body ?? "";
|
|
355
393
|
return message;
|
|
356
394
|
},
|
|
357
395
|
};
|
|
@@ -5,7 +5,7 @@ export interface paymentAllocationRequest {
|
|
|
5
5
|
amount: number;
|
|
6
6
|
}
|
|
7
7
|
export interface paymentAllocationResponse {
|
|
8
|
-
|
|
8
|
+
message: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const paymentAllocationRequest: {
|
|
11
11
|
encode(message: paymentAllocationRequest, writer?: _m0.Writer): _m0.Writer;
|