@stashfin/grpc 1.2.98 → 1.2.100
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/loans/creditlimit.d.ts +6 -0
- package/ts/loans/creditlimit.js +102 -0
- package/ts/loans/getsummarystaticfields.d.ts +80 -0
- package/ts/loans/getsummarystaticfields.js +700 -0
- package/ts/loans/loansummary.d.ts +37 -21
- package/ts/loans/loansummary.js +398 -171
- package/ts/loans.d.ts +11 -11
- package/ts/loans.js +7 -7
package/ts/loans.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { calculateEmiRequest, calculateEmiResponse } from "./loans/calculateemi"
|
|
|
5
5
|
import { creditLimitRequest, creditLimitResponse } from "./loans/creditlimit";
|
|
6
6
|
import { getCustomerLoanStatusRequest, getCustomerLoanStatusResponse } from "./loans/getcustomerloanstatus";
|
|
7
7
|
import { getPendingEmiAmountRequest, getPendingEmiAmountResponse } from "./loans/getpendingemiamount";
|
|
8
|
-
import {
|
|
8
|
+
import { getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse } from "./loans/getsummarystaticfields";
|
|
9
9
|
import { loanSummaryRequest, loanSummaryResponse } from "./loans/loansummary";
|
|
10
10
|
import { paymentAllocationRequest, paymentAllocationResponse } from "./loans/paymentallocation";
|
|
11
11
|
import { restructureLoanRequest, restructureLoanResponse } from "./loans/restructureloan";
|
|
@@ -143,14 +143,14 @@ export declare const loansService: {
|
|
|
143
143
|
readonly responseSerialize: (value: getPendingEmiAmountResponse) => Buffer;
|
|
144
144
|
readonly responseDeserialize: (value: Buffer) => getPendingEmiAmountResponse;
|
|
145
145
|
};
|
|
146
|
-
readonly
|
|
147
|
-
readonly path: "/service.loans/
|
|
146
|
+
readonly getSummaryStaticFields: {
|
|
147
|
+
readonly path: "/service.loans/getSummaryStaticFields";
|
|
148
148
|
readonly requestStream: false;
|
|
149
149
|
readonly responseStream: false;
|
|
150
|
-
readonly requestSerialize: (value:
|
|
151
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
152
|
-
readonly responseSerialize: (value:
|
|
153
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
150
|
+
readonly requestSerialize: (value: getSummaryStaticFieldsRequest) => Buffer;
|
|
151
|
+
readonly requestDeserialize: (value: Buffer) => getSummaryStaticFieldsRequest;
|
|
152
|
+
readonly responseSerialize: (value: getSummaryStaticFieldsResponse) => Buffer;
|
|
153
|
+
readonly responseDeserialize: (value: Buffer) => getSummaryStaticFieldsResponse;
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
156
|
export interface loansServer extends UntypedServiceImplementation {
|
|
@@ -168,7 +168,7 @@ export interface loansServer extends UntypedServiceImplementation {
|
|
|
168
168
|
sendEmail: handleUnaryCall<sendEmailRequest, sendEmailResponse>;
|
|
169
169
|
sendNocEmail: handleUnaryCall<sendNocEmailRequest, sendNocEmailResponse>;
|
|
170
170
|
getPendingEmiAmount: handleUnaryCall<getPendingEmiAmountRequest, getPendingEmiAmountResponse>;
|
|
171
|
-
|
|
171
|
+
getSummaryStaticFields: handleUnaryCall<getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse>;
|
|
172
172
|
}
|
|
173
173
|
export interface loansClient extends Client {
|
|
174
174
|
creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
|
|
@@ -213,9 +213,9 @@ export interface loansClient extends Client {
|
|
|
213
213
|
getPendingEmiAmount(request: getPendingEmiAmountRequest, callback: (error: ServiceError | null, response: getPendingEmiAmountResponse) => void): ClientUnaryCall;
|
|
214
214
|
getPendingEmiAmount(request: getPendingEmiAmountRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getPendingEmiAmountResponse) => void): ClientUnaryCall;
|
|
215
215
|
getPendingEmiAmount(request: getPendingEmiAmountRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getPendingEmiAmountResponse) => void): ClientUnaryCall;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
getSummaryStaticFields(request: getSummaryStaticFieldsRequest, callback: (error: ServiceError | null, response: getSummaryStaticFieldsResponse) => void): ClientUnaryCall;
|
|
217
|
+
getSummaryStaticFields(request: getSummaryStaticFieldsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getSummaryStaticFieldsResponse) => void): ClientUnaryCall;
|
|
218
|
+
getSummaryStaticFields(request: getSummaryStaticFieldsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getSummaryStaticFieldsResponse) => void): ClientUnaryCall;
|
|
219
219
|
}
|
|
220
220
|
export declare const loansClient: {
|
|
221
221
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
|
package/ts/loans.js
CHANGED
|
@@ -14,7 +14,7 @@ const calculateemi_1 = require("./loans/calculateemi");
|
|
|
14
14
|
const creditlimit_1 = require("./loans/creditlimit");
|
|
15
15
|
const getcustomerloanstatus_1 = require("./loans/getcustomerloanstatus");
|
|
16
16
|
const getpendingemiamount_1 = require("./loans/getpendingemiamount");
|
|
17
|
-
const
|
|
17
|
+
const getsummarystaticfields_1 = require("./loans/getsummarystaticfields");
|
|
18
18
|
const loansummary_1 = require("./loans/loansummary");
|
|
19
19
|
const paymentallocation_1 = require("./loans/paymentallocation");
|
|
20
20
|
const restructureloan_1 = require("./loans/restructureloan");
|
|
@@ -151,14 +151,14 @@ exports.loansService = {
|
|
|
151
151
|
responseSerialize: (value) => Buffer.from(getpendingemiamount_1.getPendingEmiAmountResponse.encode(value).finish()),
|
|
152
152
|
responseDeserialize: (value) => getpendingemiamount_1.getPendingEmiAmountResponse.decode(value),
|
|
153
153
|
},
|
|
154
|
-
|
|
155
|
-
path: "/service.loans/
|
|
154
|
+
getSummaryStaticFields: {
|
|
155
|
+
path: "/service.loans/getSummaryStaticFields",
|
|
156
156
|
requestStream: false,
|
|
157
157
|
responseStream: false,
|
|
158
|
-
requestSerialize: (value) => Buffer.from(
|
|
159
|
-
requestDeserialize: (value) =>
|
|
160
|
-
responseSerialize: (value) => Buffer.from(
|
|
161
|
-
responseDeserialize: (value) =>
|
|
158
|
+
requestSerialize: (value) => Buffer.from(getsummarystaticfields_1.getSummaryStaticFieldsRequest.encode(value).finish()),
|
|
159
|
+
requestDeserialize: (value) => getsummarystaticfields_1.getSummaryStaticFieldsRequest.decode(value),
|
|
160
|
+
responseSerialize: (value) => Buffer.from(getsummarystaticfields_1.getSummaryStaticFieldsResponse.encode(value).finish()),
|
|
161
|
+
responseDeserialize: (value) => getsummarystaticfields_1.getSummaryStaticFieldsResponse.decode(value),
|
|
162
162
|
},
|
|
163
163
|
};
|
|
164
164
|
exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");
|