@stashfin/grpc 1.2.859 → 1.2.861
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/bbps/updatetxnsstatus.d.ts +41 -0
- package/ts/bbps/updatetxnsstatus.js +197 -0
- package/ts/bbps.d.ts +14 -0
- package/ts/bbps.js +10 -0
- package/ts/loans/getlocdetails.d.ts +24 -26
- package/ts/loans/getlocdetails.js +149 -173
- package/ts/loans/getlocwithdraw.d.ts +5 -7
- package/ts/loans/getlocwithdraw.js +53 -85
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "bbps.updatetxnsstatus";
|
|
3
|
+
/** Request message */
|
|
4
|
+
export interface updateTxnsStatusRequest {
|
|
5
|
+
txn_id: string;
|
|
6
|
+
payment_ref_id: string;
|
|
7
|
+
payment_status?: string | undefined;
|
|
8
|
+
biller_status?: string | undefined;
|
|
9
|
+
refund_status?: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface updateTxnsStatusResponse {
|
|
12
|
+
status: string;
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const updateTxnsStatusRequest: {
|
|
16
|
+
encode(message: updateTxnsStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
17
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateTxnsStatusRequest;
|
|
18
|
+
fromJSON(object: any): updateTxnsStatusRequest;
|
|
19
|
+
toJSON(message: updateTxnsStatusRequest): unknown;
|
|
20
|
+
create<I extends Exact<DeepPartial<updateTxnsStatusRequest>, I>>(base?: I): updateTxnsStatusRequest;
|
|
21
|
+
fromPartial<I extends Exact<DeepPartial<updateTxnsStatusRequest>, I>>(object: I): updateTxnsStatusRequest;
|
|
22
|
+
};
|
|
23
|
+
export declare const updateTxnsStatusResponse: {
|
|
24
|
+
encode(message: updateTxnsStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateTxnsStatusResponse;
|
|
26
|
+
fromJSON(object: any): updateTxnsStatusResponse;
|
|
27
|
+
toJSON(message: updateTxnsStatusResponse): unknown;
|
|
28
|
+
create<I extends Exact<DeepPartial<updateTxnsStatusResponse>, I>>(base?: I): updateTxnsStatusResponse;
|
|
29
|
+
fromPartial<I extends Exact<DeepPartial<updateTxnsStatusResponse>, I>>(object: I): updateTxnsStatusResponse;
|
|
30
|
+
};
|
|
31
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
32
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
33
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
34
|
+
} : Partial<T>;
|
|
35
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
36
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
37
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
38
|
+
} & {
|
|
39
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
40
|
+
};
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
|
+
// source: bbps/updatetxnsstatus.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.updateTxnsStatusResponse = exports.updateTxnsStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "bbps.updatetxnsstatus";
|
|
15
|
+
function createBaseupdateTxnsStatusRequest() {
|
|
16
|
+
return {
|
|
17
|
+
txn_id: "",
|
|
18
|
+
payment_ref_id: "",
|
|
19
|
+
payment_status: undefined,
|
|
20
|
+
biller_status: undefined,
|
|
21
|
+
refund_status: undefined,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
exports.updateTxnsStatusRequest = {
|
|
25
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
26
|
+
if (message.txn_id !== "") {
|
|
27
|
+
writer.uint32(10).string(message.txn_id);
|
|
28
|
+
}
|
|
29
|
+
if (message.payment_ref_id !== "") {
|
|
30
|
+
writer.uint32(18).string(message.payment_ref_id);
|
|
31
|
+
}
|
|
32
|
+
if (message.payment_status !== undefined) {
|
|
33
|
+
writer.uint32(26).string(message.payment_status);
|
|
34
|
+
}
|
|
35
|
+
if (message.biller_status !== undefined) {
|
|
36
|
+
writer.uint32(34).string(message.biller_status);
|
|
37
|
+
}
|
|
38
|
+
if (message.refund_status !== undefined) {
|
|
39
|
+
writer.uint32(42).string(message.refund_status);
|
|
40
|
+
}
|
|
41
|
+
return writer;
|
|
42
|
+
},
|
|
43
|
+
decode(input, length) {
|
|
44
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
45
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
46
|
+
const message = createBaseupdateTxnsStatusRequest();
|
|
47
|
+
while (reader.pos < end) {
|
|
48
|
+
const tag = reader.uint32();
|
|
49
|
+
switch (tag >>> 3) {
|
|
50
|
+
case 1:
|
|
51
|
+
if (tag !== 10) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.txn_id = reader.string();
|
|
55
|
+
continue;
|
|
56
|
+
case 2:
|
|
57
|
+
if (tag !== 18) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
message.payment_ref_id = reader.string();
|
|
61
|
+
continue;
|
|
62
|
+
case 3:
|
|
63
|
+
if (tag !== 26) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.payment_status = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
case 4:
|
|
69
|
+
if (tag !== 34) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.biller_status = reader.string();
|
|
73
|
+
continue;
|
|
74
|
+
case 5:
|
|
75
|
+
if (tag !== 42) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.refund_status = reader.string();
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
reader.skipType(tag & 7);
|
|
85
|
+
}
|
|
86
|
+
return message;
|
|
87
|
+
},
|
|
88
|
+
fromJSON(object) {
|
|
89
|
+
return {
|
|
90
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
91
|
+
payment_ref_id: isSet(object.payment_ref_id) ? globalThis.String(object.payment_ref_id) : "",
|
|
92
|
+
payment_status: isSet(object.payment_status) ? globalThis.String(object.payment_status) : undefined,
|
|
93
|
+
biller_status: isSet(object.biller_status) ? globalThis.String(object.biller_status) : undefined,
|
|
94
|
+
refund_status: isSet(object.refund_status) ? globalThis.String(object.refund_status) : undefined,
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
toJSON(message) {
|
|
98
|
+
const obj = {};
|
|
99
|
+
if (message.txn_id !== "") {
|
|
100
|
+
obj.txn_id = message.txn_id;
|
|
101
|
+
}
|
|
102
|
+
if (message.payment_ref_id !== "") {
|
|
103
|
+
obj.payment_ref_id = message.payment_ref_id;
|
|
104
|
+
}
|
|
105
|
+
if (message.payment_status !== undefined) {
|
|
106
|
+
obj.payment_status = message.payment_status;
|
|
107
|
+
}
|
|
108
|
+
if (message.biller_status !== undefined) {
|
|
109
|
+
obj.biller_status = message.biller_status;
|
|
110
|
+
}
|
|
111
|
+
if (message.refund_status !== undefined) {
|
|
112
|
+
obj.refund_status = message.refund_status;
|
|
113
|
+
}
|
|
114
|
+
return obj;
|
|
115
|
+
},
|
|
116
|
+
create(base) {
|
|
117
|
+
return exports.updateTxnsStatusRequest.fromPartial(base ?? {});
|
|
118
|
+
},
|
|
119
|
+
fromPartial(object) {
|
|
120
|
+
const message = createBaseupdateTxnsStatusRequest();
|
|
121
|
+
message.txn_id = object.txn_id ?? "";
|
|
122
|
+
message.payment_ref_id = object.payment_ref_id ?? "";
|
|
123
|
+
message.payment_status = object.payment_status ?? undefined;
|
|
124
|
+
message.biller_status = object.biller_status ?? undefined;
|
|
125
|
+
message.refund_status = object.refund_status ?? undefined;
|
|
126
|
+
return message;
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
function createBaseupdateTxnsStatusResponse() {
|
|
130
|
+
return { status: "", message: "" };
|
|
131
|
+
}
|
|
132
|
+
exports.updateTxnsStatusResponse = {
|
|
133
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
134
|
+
if (message.status !== "") {
|
|
135
|
+
writer.uint32(10).string(message.status);
|
|
136
|
+
}
|
|
137
|
+
if (message.message !== "") {
|
|
138
|
+
writer.uint32(18).string(message.message);
|
|
139
|
+
}
|
|
140
|
+
return writer;
|
|
141
|
+
},
|
|
142
|
+
decode(input, length) {
|
|
143
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
144
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
145
|
+
const message = createBaseupdateTxnsStatusResponse();
|
|
146
|
+
while (reader.pos < end) {
|
|
147
|
+
const tag = reader.uint32();
|
|
148
|
+
switch (tag >>> 3) {
|
|
149
|
+
case 1:
|
|
150
|
+
if (tag !== 10) {
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
message.status = reader.string();
|
|
154
|
+
continue;
|
|
155
|
+
case 2:
|
|
156
|
+
if (tag !== 18) {
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
message.message = reader.string();
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
reader.skipType(tag & 7);
|
|
166
|
+
}
|
|
167
|
+
return message;
|
|
168
|
+
},
|
|
169
|
+
fromJSON(object) {
|
|
170
|
+
return {
|
|
171
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
172
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
173
|
+
};
|
|
174
|
+
},
|
|
175
|
+
toJSON(message) {
|
|
176
|
+
const obj = {};
|
|
177
|
+
if (message.status !== "") {
|
|
178
|
+
obj.status = message.status;
|
|
179
|
+
}
|
|
180
|
+
if (message.message !== "") {
|
|
181
|
+
obj.message = message.message;
|
|
182
|
+
}
|
|
183
|
+
return obj;
|
|
184
|
+
},
|
|
185
|
+
create(base) {
|
|
186
|
+
return exports.updateTxnsStatusResponse.fromPartial(base ?? {});
|
|
187
|
+
},
|
|
188
|
+
fromPartial(object) {
|
|
189
|
+
const message = createBaseupdateTxnsStatusResponse();
|
|
190
|
+
message.status = object.status ?? "";
|
|
191
|
+
message.message = object.message ?? "";
|
|
192
|
+
return message;
|
|
193
|
+
},
|
|
194
|
+
};
|
|
195
|
+
function isSet(value) {
|
|
196
|
+
return value !== null && value !== undefined;
|
|
197
|
+
}
|
package/ts/bbps.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { getAllBbpsTnxRequest, getAllBbpsTnxResponse } from "./bbps/getallbbpstr
|
|
|
3
3
|
import { getAllCategoryRequest, getAllCategoryResponse } from "./bbps/getallcategory";
|
|
4
4
|
import { getBillsRequest, getBillsResponse } from "./bbps/getbills";
|
|
5
5
|
import { BDTransactionRequest, BDTransactionResponse } from "./bbps/processwebhook";
|
|
6
|
+
import { updateTxnsStatusRequest, updateTxnsStatusResponse } from "./bbps/updatetxnsstatus";
|
|
6
7
|
export declare const protobufPackage = "service";
|
|
7
8
|
export type bbpsService = typeof bbpsService;
|
|
8
9
|
export declare const bbpsService: {
|
|
@@ -42,12 +43,22 @@ export declare const bbpsService: {
|
|
|
42
43
|
readonly responseSerialize: (value: getAllCategoryResponse) => Buffer;
|
|
43
44
|
readonly responseDeserialize: (value: Buffer) => getAllCategoryResponse;
|
|
44
45
|
};
|
|
46
|
+
readonly updateBbpsTxnsStatus: {
|
|
47
|
+
readonly path: "/service.bbps/updateBBPSTxnsStatus";
|
|
48
|
+
readonly requestStream: false;
|
|
49
|
+
readonly responseStream: false;
|
|
50
|
+
readonly requestSerialize: (value: updateTxnsStatusRequest) => Buffer;
|
|
51
|
+
readonly requestDeserialize: (value: Buffer) => updateTxnsStatusRequest;
|
|
52
|
+
readonly responseSerialize: (value: updateTxnsStatusResponse) => Buffer;
|
|
53
|
+
readonly responseDeserialize: (value: Buffer) => updateTxnsStatusResponse;
|
|
54
|
+
};
|
|
45
55
|
};
|
|
46
56
|
export interface bbpsServer extends UntypedServiceImplementation {
|
|
47
57
|
getBillList: handleUnaryCall<getBillsRequest, getBillsResponse>;
|
|
48
58
|
processWebhook: handleUnaryCall<BDTransactionRequest, BDTransactionResponse>;
|
|
49
59
|
getAllBbpsTnxs: handleUnaryCall<getAllBbpsTnxRequest, getAllBbpsTnxResponse>;
|
|
50
60
|
getAllBbpsCategory: handleUnaryCall<getAllCategoryRequest, getAllCategoryResponse>;
|
|
61
|
+
updateBbpsTxnsStatus: handleUnaryCall<updateTxnsStatusRequest, updateTxnsStatusResponse>;
|
|
51
62
|
}
|
|
52
63
|
export interface bbpsClient extends Client {
|
|
53
64
|
getBillList(request: getBillsRequest, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
@@ -62,6 +73,9 @@ export interface bbpsClient extends Client {
|
|
|
62
73
|
getAllBbpsCategory(request: getAllCategoryRequest, callback: (error: ServiceError | null, response: getAllCategoryResponse) => void): ClientUnaryCall;
|
|
63
74
|
getAllBbpsCategory(request: getAllCategoryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAllCategoryResponse) => void): ClientUnaryCall;
|
|
64
75
|
getAllBbpsCategory(request: getAllCategoryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAllCategoryResponse) => void): ClientUnaryCall;
|
|
76
|
+
updateBbpsTxnsStatus(request: updateTxnsStatusRequest, callback: (error: ServiceError | null, response: updateTxnsStatusResponse) => void): ClientUnaryCall;
|
|
77
|
+
updateBbpsTxnsStatus(request: updateTxnsStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateTxnsStatusResponse) => void): ClientUnaryCall;
|
|
78
|
+
updateBbpsTxnsStatus(request: updateTxnsStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateTxnsStatusResponse) => void): ClientUnaryCall;
|
|
65
79
|
}
|
|
66
80
|
export declare const bbpsClient: {
|
|
67
81
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): bbpsClient;
|
package/ts/bbps.js
CHANGED
|
@@ -12,6 +12,7 @@ const getallbbpstransactions_1 = require("./bbps/getallbbpstransactions");
|
|
|
12
12
|
const getallcategory_1 = require("./bbps/getallcategory");
|
|
13
13
|
const getbills_1 = require("./bbps/getbills");
|
|
14
14
|
const processwebhook_1 = require("./bbps/processwebhook");
|
|
15
|
+
const updatetxnsstatus_1 = require("./bbps/updatetxnsstatus");
|
|
15
16
|
exports.protobufPackage = "service";
|
|
16
17
|
exports.bbpsService = {
|
|
17
18
|
getBillList: {
|
|
@@ -50,5 +51,14 @@ exports.bbpsService = {
|
|
|
50
51
|
responseSerialize: (value) => Buffer.from(getallcategory_1.getAllCategoryResponse.encode(value).finish()),
|
|
51
52
|
responseDeserialize: (value) => getallcategory_1.getAllCategoryResponse.decode(value),
|
|
52
53
|
},
|
|
54
|
+
updateBbpsTxnsStatus: {
|
|
55
|
+
path: "/service.bbps/updateBBPSTxnsStatus",
|
|
56
|
+
requestStream: false,
|
|
57
|
+
responseStream: false,
|
|
58
|
+
requestSerialize: (value) => Buffer.from(updatetxnsstatus_1.updateTxnsStatusRequest.encode(value).finish()),
|
|
59
|
+
requestDeserialize: (value) => updatetxnsstatus_1.updateTxnsStatusRequest.decode(value),
|
|
60
|
+
responseSerialize: (value) => Buffer.from(updatetxnsstatus_1.updateTxnsStatusResponse.encode(value).finish()),
|
|
61
|
+
responseDeserialize: (value) => updatetxnsstatus_1.updateTxnsStatusResponse.decode(value),
|
|
62
|
+
},
|
|
53
63
|
};
|
|
54
64
|
exports.bbpsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.bbpsService, "service.bbps");
|
|
@@ -28,12 +28,12 @@ export interface GetLocDetailsResponse {
|
|
|
28
28
|
loan_id: string;
|
|
29
29
|
rate_of_interest: number;
|
|
30
30
|
bill_amount?: string | undefined;
|
|
31
|
-
early_foreclosure_fees
|
|
32
|
-
convenience_fees
|
|
33
|
-
total_interest_pay
|
|
34
|
-
effective_annual_rate
|
|
35
|
-
transaction_rate
|
|
36
|
-
transaction_fee_amount
|
|
31
|
+
early_foreclosure_fees?: number | undefined;
|
|
32
|
+
convenience_fees?: number | undefined;
|
|
33
|
+
total_interest_pay?: number | undefined;
|
|
34
|
+
effective_annual_rate?: number | undefined;
|
|
35
|
+
transaction_rate?: number | undefined;
|
|
36
|
+
transaction_fee_amount?: number | undefined;
|
|
37
37
|
emi_date_l: string;
|
|
38
38
|
emi_amount_l: string;
|
|
39
39
|
first_emi_date_l: string;
|
|
@@ -42,8 +42,8 @@ export interface GetLocDetailsResponse {
|
|
|
42
42
|
processing_fees_l: string;
|
|
43
43
|
gst_l: string;
|
|
44
44
|
rate_of_interest_l: string;
|
|
45
|
-
trans_fee_plus_gst
|
|
46
|
-
processing_fee_plus_gst
|
|
45
|
+
trans_fee_plus_gst?: number | undefined;
|
|
46
|
+
processing_fee_plus_gst?: number | undefined;
|
|
47
47
|
bill_amount_l: string;
|
|
48
48
|
early_foreclosure_fees_l: string;
|
|
49
49
|
convenience_fees_l: string;
|
|
@@ -54,20 +54,20 @@ export interface GetLocDetailsResponse {
|
|
|
54
54
|
max_amount_l: string;
|
|
55
55
|
credit_report_fees_l: string;
|
|
56
56
|
fee_and_charges_l: string;
|
|
57
|
-
fee_and_charges
|
|
57
|
+
fee_and_charges?: number | undefined;
|
|
58
58
|
add_on_l: string;
|
|
59
59
|
total_loan_amount_l: string;
|
|
60
60
|
loan_amount_l: string;
|
|
61
61
|
disbursed_amount_l: string;
|
|
62
62
|
total_payable_amount_l: string;
|
|
63
63
|
disbursal_amount_l: string;
|
|
64
|
-
fcp_interest
|
|
64
|
+
fcp_interest?: number | undefined;
|
|
65
65
|
number_of_emi_l: string;
|
|
66
66
|
first_emi_amt_l: string;
|
|
67
67
|
subsequent_emi_l: string;
|
|
68
|
-
effective_roi
|
|
68
|
+
effective_roi?: number | undefined;
|
|
69
69
|
effective_roi_l: string;
|
|
70
|
-
effective_annual_roi
|
|
70
|
+
effective_annual_roi?: number | undefined;
|
|
71
71
|
effective_annual_roi_l: string;
|
|
72
72
|
insurance_l: string;
|
|
73
73
|
emi_card_description: string;
|
|
@@ -76,21 +76,19 @@ export interface GetLocDetailsResponse {
|
|
|
76
76
|
apr_title?: string | undefined;
|
|
77
77
|
apr_value?: string | undefined;
|
|
78
78
|
apr_type?: string | undefined;
|
|
79
|
-
credit_line_details_sheet
|
|
80
|
-
Acknowledgement
|
|
81
|
-
payment_undertaking
|
|
82
|
-
key_fact_statement
|
|
83
|
-
sanction_letter
|
|
84
|
-
financing_documents
|
|
85
|
-
max_amount
|
|
86
|
-
credit_report_fees
|
|
87
|
-
|
|
79
|
+
credit_line_details_sheet?: string | undefined;
|
|
80
|
+
Acknowledgement?: string | undefined;
|
|
81
|
+
payment_undertaking?: string | undefined;
|
|
82
|
+
key_fact_statement?: string | undefined;
|
|
83
|
+
sanction_letter?: string | undefined;
|
|
84
|
+
financing_documents?: string | undefined;
|
|
85
|
+
max_amount?: number | undefined;
|
|
86
|
+
credit_report_fees?: number | undefined;
|
|
87
|
+
credit_report_actual_fees?: number | undefined;
|
|
88
|
+
plan_id?: string | undefined;
|
|
89
|
+
insurance_title?: string | undefined;
|
|
88
90
|
insurance_desc: InsuranceDescItem[];
|
|
89
|
-
upfront_interest_description
|
|
90
|
-
credit_report_actual_fees_int?: number | undefined;
|
|
91
|
-
credit_report_actual_fees_str?: string | undefined;
|
|
92
|
-
plan_id_int?: number | undefined;
|
|
93
|
-
plan_id_str?: string | undefined;
|
|
91
|
+
upfront_interest_description?: string | undefined;
|
|
94
92
|
}
|
|
95
93
|
export declare const GetLocDetailsRequest: {
|
|
96
94
|
encode(message: GetLocDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -219,12 +219,12 @@ function createBaseGetLocDetailsResponse() {
|
|
|
219
219
|
loan_id: "",
|
|
220
220
|
rate_of_interest: 0,
|
|
221
221
|
bill_amount: undefined,
|
|
222
|
-
early_foreclosure_fees:
|
|
223
|
-
convenience_fees:
|
|
224
|
-
total_interest_pay:
|
|
225
|
-
effective_annual_rate:
|
|
226
|
-
transaction_rate:
|
|
227
|
-
transaction_fee_amount:
|
|
222
|
+
early_foreclosure_fees: undefined,
|
|
223
|
+
convenience_fees: undefined,
|
|
224
|
+
total_interest_pay: undefined,
|
|
225
|
+
effective_annual_rate: undefined,
|
|
226
|
+
transaction_rate: undefined,
|
|
227
|
+
transaction_fee_amount: undefined,
|
|
228
228
|
emi_date_l: "",
|
|
229
229
|
emi_amount_l: "",
|
|
230
230
|
first_emi_date_l: "",
|
|
@@ -233,8 +233,8 @@ function createBaseGetLocDetailsResponse() {
|
|
|
233
233
|
processing_fees_l: "",
|
|
234
234
|
gst_l: "",
|
|
235
235
|
rate_of_interest_l: "",
|
|
236
|
-
trans_fee_plus_gst:
|
|
237
|
-
processing_fee_plus_gst:
|
|
236
|
+
trans_fee_plus_gst: undefined,
|
|
237
|
+
processing_fee_plus_gst: undefined,
|
|
238
238
|
bill_amount_l: "",
|
|
239
239
|
early_foreclosure_fees_l: "",
|
|
240
240
|
convenience_fees_l: "",
|
|
@@ -245,20 +245,20 @@ function createBaseGetLocDetailsResponse() {
|
|
|
245
245
|
max_amount_l: "",
|
|
246
246
|
credit_report_fees_l: "",
|
|
247
247
|
fee_and_charges_l: "",
|
|
248
|
-
fee_and_charges:
|
|
248
|
+
fee_and_charges: undefined,
|
|
249
249
|
add_on_l: "",
|
|
250
250
|
total_loan_amount_l: "",
|
|
251
251
|
loan_amount_l: "",
|
|
252
252
|
disbursed_amount_l: "",
|
|
253
253
|
total_payable_amount_l: "",
|
|
254
254
|
disbursal_amount_l: "",
|
|
255
|
-
fcp_interest:
|
|
255
|
+
fcp_interest: undefined,
|
|
256
256
|
number_of_emi_l: "",
|
|
257
257
|
first_emi_amt_l: "",
|
|
258
258
|
subsequent_emi_l: "",
|
|
259
|
-
effective_roi:
|
|
259
|
+
effective_roi: undefined,
|
|
260
260
|
effective_roi_l: "",
|
|
261
|
-
effective_annual_roi:
|
|
261
|
+
effective_annual_roi: undefined,
|
|
262
262
|
effective_annual_roi_l: "",
|
|
263
263
|
insurance_l: "",
|
|
264
264
|
emi_card_description: "",
|
|
@@ -267,21 +267,19 @@ function createBaseGetLocDetailsResponse() {
|
|
|
267
267
|
apr_title: undefined,
|
|
268
268
|
apr_value: undefined,
|
|
269
269
|
apr_type: undefined,
|
|
270
|
-
credit_line_details_sheet:
|
|
271
|
-
Acknowledgement:
|
|
272
|
-
payment_undertaking:
|
|
273
|
-
key_fact_statement:
|
|
274
|
-
sanction_letter:
|
|
275
|
-
financing_documents:
|
|
276
|
-
max_amount:
|
|
277
|
-
credit_report_fees:
|
|
278
|
-
|
|
270
|
+
credit_line_details_sheet: undefined,
|
|
271
|
+
Acknowledgement: undefined,
|
|
272
|
+
payment_undertaking: undefined,
|
|
273
|
+
key_fact_statement: undefined,
|
|
274
|
+
sanction_letter: undefined,
|
|
275
|
+
financing_documents: undefined,
|
|
276
|
+
max_amount: undefined,
|
|
277
|
+
credit_report_fees: undefined,
|
|
278
|
+
credit_report_actual_fees: undefined,
|
|
279
|
+
plan_id: undefined,
|
|
280
|
+
insurance_title: undefined,
|
|
279
281
|
insurance_desc: [],
|
|
280
|
-
upfront_interest_description:
|
|
281
|
-
credit_report_actual_fees_int: undefined,
|
|
282
|
-
credit_report_actual_fees_str: undefined,
|
|
283
|
-
plan_id_int: undefined,
|
|
284
|
-
plan_id_str: undefined,
|
|
282
|
+
upfront_interest_description: undefined,
|
|
285
283
|
};
|
|
286
284
|
}
|
|
287
285
|
exports.GetLocDetailsResponse = {
|
|
@@ -331,22 +329,22 @@ exports.GetLocDetailsResponse = {
|
|
|
331
329
|
if (message.bill_amount !== undefined) {
|
|
332
330
|
writer.uint32(122).string(message.bill_amount);
|
|
333
331
|
}
|
|
334
|
-
if (message.early_foreclosure_fees !==
|
|
332
|
+
if (message.early_foreclosure_fees !== undefined) {
|
|
335
333
|
writer.uint32(128).int32(message.early_foreclosure_fees);
|
|
336
334
|
}
|
|
337
|
-
if (message.convenience_fees !==
|
|
335
|
+
if (message.convenience_fees !== undefined) {
|
|
338
336
|
writer.uint32(136).int32(message.convenience_fees);
|
|
339
337
|
}
|
|
340
|
-
if (message.total_interest_pay !==
|
|
338
|
+
if (message.total_interest_pay !== undefined) {
|
|
341
339
|
writer.uint32(144).int32(message.total_interest_pay);
|
|
342
340
|
}
|
|
343
|
-
if (message.effective_annual_rate !==
|
|
341
|
+
if (message.effective_annual_rate !== undefined) {
|
|
344
342
|
writer.uint32(157).float(message.effective_annual_rate);
|
|
345
343
|
}
|
|
346
|
-
if (message.transaction_rate !==
|
|
344
|
+
if (message.transaction_rate !== undefined) {
|
|
347
345
|
writer.uint32(165).float(message.transaction_rate);
|
|
348
346
|
}
|
|
349
|
-
if (message.transaction_fee_amount !==
|
|
347
|
+
if (message.transaction_fee_amount !== undefined) {
|
|
350
348
|
writer.uint32(168).int32(message.transaction_fee_amount);
|
|
351
349
|
}
|
|
352
350
|
if (message.emi_date_l !== "") {
|
|
@@ -373,10 +371,10 @@ exports.GetLocDetailsResponse = {
|
|
|
373
371
|
if (message.rate_of_interest_l !== "") {
|
|
374
372
|
writer.uint32(234).string(message.rate_of_interest_l);
|
|
375
373
|
}
|
|
376
|
-
if (message.trans_fee_plus_gst !==
|
|
374
|
+
if (message.trans_fee_plus_gst !== undefined) {
|
|
377
375
|
writer.uint32(240).int32(message.trans_fee_plus_gst);
|
|
378
376
|
}
|
|
379
|
-
if (message.processing_fee_plus_gst !==
|
|
377
|
+
if (message.processing_fee_plus_gst !== undefined) {
|
|
380
378
|
writer.uint32(248).int32(message.processing_fee_plus_gst);
|
|
381
379
|
}
|
|
382
380
|
if (message.bill_amount_l !== "") {
|
|
@@ -409,7 +407,7 @@ exports.GetLocDetailsResponse = {
|
|
|
409
407
|
if (message.fee_and_charges_l !== "") {
|
|
410
408
|
writer.uint32(330).string(message.fee_and_charges_l);
|
|
411
409
|
}
|
|
412
|
-
if (message.fee_and_charges !==
|
|
410
|
+
if (message.fee_and_charges !== undefined) {
|
|
413
411
|
writer.uint32(336).int32(message.fee_and_charges);
|
|
414
412
|
}
|
|
415
413
|
if (message.add_on_l !== "") {
|
|
@@ -430,7 +428,7 @@ exports.GetLocDetailsResponse = {
|
|
|
430
428
|
if (message.disbursal_amount_l !== "") {
|
|
431
429
|
writer.uint32(386).string(message.disbursal_amount_l);
|
|
432
430
|
}
|
|
433
|
-
if (message.fcp_interest !==
|
|
431
|
+
if (message.fcp_interest !== undefined) {
|
|
434
432
|
writer.uint32(392).int32(message.fcp_interest);
|
|
435
433
|
}
|
|
436
434
|
if (message.number_of_emi_l !== "") {
|
|
@@ -442,13 +440,13 @@ exports.GetLocDetailsResponse = {
|
|
|
442
440
|
if (message.subsequent_emi_l !== "") {
|
|
443
441
|
writer.uint32(418).string(message.subsequent_emi_l);
|
|
444
442
|
}
|
|
445
|
-
if (message.effective_roi !==
|
|
443
|
+
if (message.effective_roi !== undefined) {
|
|
446
444
|
writer.uint32(429).float(message.effective_roi);
|
|
447
445
|
}
|
|
448
446
|
if (message.effective_roi_l !== "") {
|
|
449
447
|
writer.uint32(434).string(message.effective_roi_l);
|
|
450
448
|
}
|
|
451
|
-
if (message.effective_annual_roi !==
|
|
449
|
+
if (message.effective_annual_roi !== undefined) {
|
|
452
450
|
writer.uint32(445).float(message.effective_annual_roi);
|
|
453
451
|
}
|
|
454
452
|
if (message.effective_annual_roi_l !== "") {
|
|
@@ -475,51 +473,45 @@ exports.GetLocDetailsResponse = {
|
|
|
475
473
|
if (message.apr_type !== undefined) {
|
|
476
474
|
writer.uint32(506).string(message.apr_type);
|
|
477
475
|
}
|
|
478
|
-
if (message.credit_line_details_sheet !==
|
|
476
|
+
if (message.credit_line_details_sheet !== undefined) {
|
|
479
477
|
writer.uint32(514).string(message.credit_line_details_sheet);
|
|
480
478
|
}
|
|
481
|
-
if (message.Acknowledgement !==
|
|
479
|
+
if (message.Acknowledgement !== undefined) {
|
|
482
480
|
writer.uint32(522).string(message.Acknowledgement);
|
|
483
481
|
}
|
|
484
|
-
if (message.payment_undertaking !==
|
|
482
|
+
if (message.payment_undertaking !== undefined) {
|
|
485
483
|
writer.uint32(530).string(message.payment_undertaking);
|
|
486
484
|
}
|
|
487
|
-
if (message.key_fact_statement !==
|
|
485
|
+
if (message.key_fact_statement !== undefined) {
|
|
488
486
|
writer.uint32(538).string(message.key_fact_statement);
|
|
489
487
|
}
|
|
490
|
-
if (message.sanction_letter !==
|
|
488
|
+
if (message.sanction_letter !== undefined) {
|
|
491
489
|
writer.uint32(546).string(message.sanction_letter);
|
|
492
490
|
}
|
|
493
|
-
if (message.financing_documents !==
|
|
491
|
+
if (message.financing_documents !== undefined) {
|
|
494
492
|
writer.uint32(554).string(message.financing_documents);
|
|
495
493
|
}
|
|
496
|
-
if (message.max_amount !==
|
|
494
|
+
if (message.max_amount !== undefined) {
|
|
497
495
|
writer.uint32(560).int32(message.max_amount);
|
|
498
496
|
}
|
|
499
|
-
if (message.credit_report_fees !==
|
|
497
|
+
if (message.credit_report_fees !== undefined) {
|
|
500
498
|
writer.uint32(568).int32(message.credit_report_fees);
|
|
501
499
|
}
|
|
502
|
-
if (message.
|
|
500
|
+
if (message.credit_report_actual_fees !== undefined) {
|
|
501
|
+
writer.uint32(576).int32(message.credit_report_actual_fees);
|
|
502
|
+
}
|
|
503
|
+
if (message.plan_id !== undefined) {
|
|
504
|
+
writer.uint32(586).string(message.plan_id);
|
|
505
|
+
}
|
|
506
|
+
if (message.insurance_title !== undefined) {
|
|
503
507
|
writer.uint32(594).string(message.insurance_title);
|
|
504
508
|
}
|
|
505
509
|
for (const v of message.insurance_desc) {
|
|
506
510
|
exports.InsuranceDescItem.encode(v, writer.uint32(602).fork()).ldelim();
|
|
507
511
|
}
|
|
508
|
-
if (message.upfront_interest_description !==
|
|
512
|
+
if (message.upfront_interest_description !== undefined) {
|
|
509
513
|
writer.uint32(610).string(message.upfront_interest_description);
|
|
510
514
|
}
|
|
511
|
-
if (message.credit_report_actual_fees_int !== undefined) {
|
|
512
|
-
writer.uint32(576).int32(message.credit_report_actual_fees_int);
|
|
513
|
-
}
|
|
514
|
-
if (message.credit_report_actual_fees_str !== undefined) {
|
|
515
|
-
writer.uint32(618).string(message.credit_report_actual_fees_str);
|
|
516
|
-
}
|
|
517
|
-
if (message.plan_id_int !== undefined) {
|
|
518
|
-
writer.uint32(584).int32(message.plan_id_int);
|
|
519
|
-
}
|
|
520
|
-
if (message.plan_id_str !== undefined) {
|
|
521
|
-
writer.uint32(626).string(message.plan_id_str);
|
|
522
|
-
}
|
|
523
515
|
return writer;
|
|
524
516
|
},
|
|
525
517
|
decode(input, length) {
|
|
@@ -955,6 +947,18 @@ exports.GetLocDetailsResponse = {
|
|
|
955
947
|
}
|
|
956
948
|
message.credit_report_fees = reader.int32();
|
|
957
949
|
continue;
|
|
950
|
+
case 72:
|
|
951
|
+
if (tag !== 576) {
|
|
952
|
+
break;
|
|
953
|
+
}
|
|
954
|
+
message.credit_report_actual_fees = reader.int32();
|
|
955
|
+
continue;
|
|
956
|
+
case 73:
|
|
957
|
+
if (tag !== 586) {
|
|
958
|
+
break;
|
|
959
|
+
}
|
|
960
|
+
message.plan_id = reader.string();
|
|
961
|
+
continue;
|
|
958
962
|
case 74:
|
|
959
963
|
if (tag !== 594) {
|
|
960
964
|
break;
|
|
@@ -973,30 +977,6 @@ exports.GetLocDetailsResponse = {
|
|
|
973
977
|
}
|
|
974
978
|
message.upfront_interest_description = reader.string();
|
|
975
979
|
continue;
|
|
976
|
-
case 72:
|
|
977
|
-
if (tag !== 576) {
|
|
978
|
-
break;
|
|
979
|
-
}
|
|
980
|
-
message.credit_report_actual_fees_int = reader.int32();
|
|
981
|
-
continue;
|
|
982
|
-
case 77:
|
|
983
|
-
if (tag !== 618) {
|
|
984
|
-
break;
|
|
985
|
-
}
|
|
986
|
-
message.credit_report_actual_fees_str = reader.string();
|
|
987
|
-
continue;
|
|
988
|
-
case 73:
|
|
989
|
-
if (tag !== 584) {
|
|
990
|
-
break;
|
|
991
|
-
}
|
|
992
|
-
message.plan_id_int = reader.int32();
|
|
993
|
-
continue;
|
|
994
|
-
case 78:
|
|
995
|
-
if (tag !== 626) {
|
|
996
|
-
break;
|
|
997
|
-
}
|
|
998
|
-
message.plan_id_str = reader.string();
|
|
999
|
-
continue;
|
|
1000
980
|
}
|
|
1001
981
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1002
982
|
break;
|
|
@@ -1026,14 +1006,16 @@ exports.GetLocDetailsResponse = {
|
|
|
1026
1006
|
bill_amount: isSet(object.bill_amount) ? globalThis.String(object.bill_amount) : undefined,
|
|
1027
1007
|
early_foreclosure_fees: isSet(object.early_foreclosure_fees)
|
|
1028
1008
|
? globalThis.Number(object.early_foreclosure_fees)
|
|
1029
|
-
:
|
|
1030
|
-
convenience_fees: isSet(object.convenience_fees) ? globalThis.Number(object.convenience_fees) :
|
|
1031
|
-
total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) :
|
|
1032
|
-
effective_annual_rate: isSet(object.effective_annual_rate)
|
|
1033
|
-
|
|
1009
|
+
: undefined,
|
|
1010
|
+
convenience_fees: isSet(object.convenience_fees) ? globalThis.Number(object.convenience_fees) : undefined,
|
|
1011
|
+
total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) : undefined,
|
|
1012
|
+
effective_annual_rate: isSet(object.effective_annual_rate)
|
|
1013
|
+
? globalThis.Number(object.effective_annual_rate)
|
|
1014
|
+
: undefined,
|
|
1015
|
+
transaction_rate: isSet(object.transaction_rate) ? globalThis.Number(object.transaction_rate) : undefined,
|
|
1034
1016
|
transaction_fee_amount: isSet(object.transaction_fee_amount)
|
|
1035
1017
|
? globalThis.Number(object.transaction_fee_amount)
|
|
1036
|
-
:
|
|
1018
|
+
: undefined,
|
|
1037
1019
|
emi_date_l: isSet(object.emi_date_l) ? globalThis.String(object.emi_date_l) : "",
|
|
1038
1020
|
emi_amount_l: isSet(object.emi_amount_l) ? globalThis.String(object.emi_amount_l) : "",
|
|
1039
1021
|
first_emi_date_l: isSet(object.first_emi_date_l) ? globalThis.String(object.first_emi_date_l) : "",
|
|
@@ -1044,10 +1026,10 @@ exports.GetLocDetailsResponse = {
|
|
|
1044
1026
|
processing_fees_l: isSet(object.processing_fees_l) ? globalThis.String(object.processing_fees_l) : "",
|
|
1045
1027
|
gst_l: isSet(object.gst_l) ? globalThis.String(object.gst_l) : "",
|
|
1046
1028
|
rate_of_interest_l: isSet(object.rate_of_interest_l) ? globalThis.String(object.rate_of_interest_l) : "",
|
|
1047
|
-
trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) :
|
|
1029
|
+
trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) : undefined,
|
|
1048
1030
|
processing_fee_plus_gst: isSet(object.processing_fee_plus_gst)
|
|
1049
1031
|
? globalThis.Number(object.processing_fee_plus_gst)
|
|
1050
|
-
:
|
|
1032
|
+
: undefined,
|
|
1051
1033
|
bill_amount_l: isSet(object.bill_amount_l) ? globalThis.String(object.bill_amount_l) : "",
|
|
1052
1034
|
early_foreclosure_fees_l: isSet(object.early_foreclosure_fees_l)
|
|
1053
1035
|
? globalThis.String(object.early_foreclosure_fees_l)
|
|
@@ -1064,7 +1046,7 @@ exports.GetLocDetailsResponse = {
|
|
|
1064
1046
|
max_amount_l: isSet(object.max_amount_l) ? globalThis.String(object.max_amount_l) : "",
|
|
1065
1047
|
credit_report_fees_l: isSet(object.credit_report_fees_l) ? globalThis.String(object.credit_report_fees_l) : "",
|
|
1066
1048
|
fee_and_charges_l: isSet(object.fee_and_charges_l) ? globalThis.String(object.fee_and_charges_l) : "",
|
|
1067
|
-
fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) :
|
|
1049
|
+
fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) : undefined,
|
|
1068
1050
|
add_on_l: isSet(object.add_on_l) ? globalThis.String(object.add_on_l) : "",
|
|
1069
1051
|
total_loan_amount_l: isSet(object.total_loan_amount_l) ? globalThis.String(object.total_loan_amount_l) : "",
|
|
1070
1052
|
loan_amount_l: isSet(object.loan_amount_l) ? globalThis.String(object.loan_amount_l) : "",
|
|
@@ -1073,13 +1055,15 @@ exports.GetLocDetailsResponse = {
|
|
|
1073
1055
|
? globalThis.String(object.total_payable_amount_l)
|
|
1074
1056
|
: "",
|
|
1075
1057
|
disbursal_amount_l: isSet(object.disbursal_amount_l) ? globalThis.String(object.disbursal_amount_l) : "",
|
|
1076
|
-
fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) :
|
|
1058
|
+
fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : undefined,
|
|
1077
1059
|
number_of_emi_l: isSet(object.number_of_emi_l) ? globalThis.String(object.number_of_emi_l) : "",
|
|
1078
1060
|
first_emi_amt_l: isSet(object.first_emi_amt_l) ? globalThis.String(object.first_emi_amt_l) : "",
|
|
1079
1061
|
subsequent_emi_l: isSet(object.subsequent_emi_l) ? globalThis.String(object.subsequent_emi_l) : "",
|
|
1080
|
-
effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) :
|
|
1062
|
+
effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) : undefined,
|
|
1081
1063
|
effective_roi_l: isSet(object.effective_roi_l) ? globalThis.String(object.effective_roi_l) : "",
|
|
1082
|
-
effective_annual_roi: isSet(object.effective_annual_roi)
|
|
1064
|
+
effective_annual_roi: isSet(object.effective_annual_roi)
|
|
1065
|
+
? globalThis.Number(object.effective_annual_roi)
|
|
1066
|
+
: undefined,
|
|
1083
1067
|
effective_annual_roi_l: isSet(object.effective_annual_roi_l)
|
|
1084
1068
|
? globalThis.String(object.effective_annual_roi_l)
|
|
1085
1069
|
: "",
|
|
@@ -1092,29 +1076,29 @@ exports.GetLocDetailsResponse = {
|
|
|
1092
1076
|
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : undefined,
|
|
1093
1077
|
credit_line_details_sheet: isSet(object.credit_line_details_sheet)
|
|
1094
1078
|
? globalThis.String(object.credit_line_details_sheet)
|
|
1095
|
-
:
|
|
1096
|
-
Acknowledgement: isSet(object.Acknowledgement) ? globalThis.String(object.Acknowledgement) :
|
|
1097
|
-
payment_undertaking: isSet(object.payment_undertaking)
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1079
|
+
: undefined,
|
|
1080
|
+
Acknowledgement: isSet(object.Acknowledgement) ? globalThis.String(object.Acknowledgement) : undefined,
|
|
1081
|
+
payment_undertaking: isSet(object.payment_undertaking)
|
|
1082
|
+
? globalThis.String(object.payment_undertaking)
|
|
1083
|
+
: undefined,
|
|
1084
|
+
key_fact_statement: isSet(object.key_fact_statement) ? globalThis.String(object.key_fact_statement) : undefined,
|
|
1085
|
+
sanction_letter: isSet(object.sanction_letter) ? globalThis.String(object.sanction_letter) : undefined,
|
|
1086
|
+
financing_documents: isSet(object.financing_documents)
|
|
1087
|
+
? globalThis.String(object.financing_documents)
|
|
1088
|
+
: undefined,
|
|
1089
|
+
max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : undefined,
|
|
1090
|
+
credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : undefined,
|
|
1091
|
+
credit_report_actual_fees: isSet(object.credit_report_actual_fees)
|
|
1092
|
+
? globalThis.Number(object.credit_report_actual_fees)
|
|
1093
|
+
: undefined,
|
|
1094
|
+
plan_id: isSet(object.plan_id) ? globalThis.String(object.plan_id) : undefined,
|
|
1095
|
+
insurance_title: isSet(object.insurance_title) ? globalThis.String(object.insurance_title) : undefined,
|
|
1104
1096
|
insurance_desc: globalThis.Array.isArray(object?.insurance_desc)
|
|
1105
1097
|
? object.insurance_desc.map((e) => exports.InsuranceDescItem.fromJSON(e))
|
|
1106
1098
|
: [],
|
|
1107
1099
|
upfront_interest_description: isSet(object.upfront_interest_description)
|
|
1108
1100
|
? globalThis.String(object.upfront_interest_description)
|
|
1109
|
-
: "",
|
|
1110
|
-
credit_report_actual_fees_int: isSet(object.credit_report_actual_fees_int)
|
|
1111
|
-
? globalThis.Number(object.credit_report_actual_fees_int)
|
|
1112
|
-
: undefined,
|
|
1113
|
-
credit_report_actual_fees_str: isSet(object.credit_report_actual_fees_str)
|
|
1114
|
-
? globalThis.String(object.credit_report_actual_fees_str)
|
|
1115
1101
|
: undefined,
|
|
1116
|
-
plan_id_int: isSet(object.plan_id_int) ? globalThis.Number(object.plan_id_int) : undefined,
|
|
1117
|
-
plan_id_str: isSet(object.plan_id_str) ? globalThis.String(object.plan_id_str) : undefined,
|
|
1118
1102
|
};
|
|
1119
1103
|
},
|
|
1120
1104
|
toJSON(message) {
|
|
@@ -1164,22 +1148,22 @@ exports.GetLocDetailsResponse = {
|
|
|
1164
1148
|
if (message.bill_amount !== undefined) {
|
|
1165
1149
|
obj.bill_amount = message.bill_amount;
|
|
1166
1150
|
}
|
|
1167
|
-
if (message.early_foreclosure_fees !==
|
|
1151
|
+
if (message.early_foreclosure_fees !== undefined) {
|
|
1168
1152
|
obj.early_foreclosure_fees = Math.round(message.early_foreclosure_fees);
|
|
1169
1153
|
}
|
|
1170
|
-
if (message.convenience_fees !==
|
|
1154
|
+
if (message.convenience_fees !== undefined) {
|
|
1171
1155
|
obj.convenience_fees = Math.round(message.convenience_fees);
|
|
1172
1156
|
}
|
|
1173
|
-
if (message.total_interest_pay !==
|
|
1157
|
+
if (message.total_interest_pay !== undefined) {
|
|
1174
1158
|
obj.total_interest_pay = Math.round(message.total_interest_pay);
|
|
1175
1159
|
}
|
|
1176
|
-
if (message.effective_annual_rate !==
|
|
1160
|
+
if (message.effective_annual_rate !== undefined) {
|
|
1177
1161
|
obj.effective_annual_rate = message.effective_annual_rate;
|
|
1178
1162
|
}
|
|
1179
|
-
if (message.transaction_rate !==
|
|
1163
|
+
if (message.transaction_rate !== undefined) {
|
|
1180
1164
|
obj.transaction_rate = message.transaction_rate;
|
|
1181
1165
|
}
|
|
1182
|
-
if (message.transaction_fee_amount !==
|
|
1166
|
+
if (message.transaction_fee_amount !== undefined) {
|
|
1183
1167
|
obj.transaction_fee_amount = Math.round(message.transaction_fee_amount);
|
|
1184
1168
|
}
|
|
1185
1169
|
if (message.emi_date_l !== "") {
|
|
@@ -1206,10 +1190,10 @@ exports.GetLocDetailsResponse = {
|
|
|
1206
1190
|
if (message.rate_of_interest_l !== "") {
|
|
1207
1191
|
obj.rate_of_interest_l = message.rate_of_interest_l;
|
|
1208
1192
|
}
|
|
1209
|
-
if (message.trans_fee_plus_gst !==
|
|
1193
|
+
if (message.trans_fee_plus_gst !== undefined) {
|
|
1210
1194
|
obj.trans_fee_plus_gst = Math.round(message.trans_fee_plus_gst);
|
|
1211
1195
|
}
|
|
1212
|
-
if (message.processing_fee_plus_gst !==
|
|
1196
|
+
if (message.processing_fee_plus_gst !== undefined) {
|
|
1213
1197
|
obj.processing_fee_plus_gst = Math.round(message.processing_fee_plus_gst);
|
|
1214
1198
|
}
|
|
1215
1199
|
if (message.bill_amount_l !== "") {
|
|
@@ -1242,7 +1226,7 @@ exports.GetLocDetailsResponse = {
|
|
|
1242
1226
|
if (message.fee_and_charges_l !== "") {
|
|
1243
1227
|
obj.fee_and_charges_l = message.fee_and_charges_l;
|
|
1244
1228
|
}
|
|
1245
|
-
if (message.fee_and_charges !==
|
|
1229
|
+
if (message.fee_and_charges !== undefined) {
|
|
1246
1230
|
obj.fee_and_charges = Math.round(message.fee_and_charges);
|
|
1247
1231
|
}
|
|
1248
1232
|
if (message.add_on_l !== "") {
|
|
@@ -1263,7 +1247,7 @@ exports.GetLocDetailsResponse = {
|
|
|
1263
1247
|
if (message.disbursal_amount_l !== "") {
|
|
1264
1248
|
obj.disbursal_amount_l = message.disbursal_amount_l;
|
|
1265
1249
|
}
|
|
1266
|
-
if (message.fcp_interest !==
|
|
1250
|
+
if (message.fcp_interest !== undefined) {
|
|
1267
1251
|
obj.fcp_interest = Math.round(message.fcp_interest);
|
|
1268
1252
|
}
|
|
1269
1253
|
if (message.number_of_emi_l !== "") {
|
|
@@ -1275,13 +1259,13 @@ exports.GetLocDetailsResponse = {
|
|
|
1275
1259
|
if (message.subsequent_emi_l !== "") {
|
|
1276
1260
|
obj.subsequent_emi_l = message.subsequent_emi_l;
|
|
1277
1261
|
}
|
|
1278
|
-
if (message.effective_roi !==
|
|
1262
|
+
if (message.effective_roi !== undefined) {
|
|
1279
1263
|
obj.effective_roi = message.effective_roi;
|
|
1280
1264
|
}
|
|
1281
1265
|
if (message.effective_roi_l !== "") {
|
|
1282
1266
|
obj.effective_roi_l = message.effective_roi_l;
|
|
1283
1267
|
}
|
|
1284
|
-
if (message.effective_annual_roi !==
|
|
1268
|
+
if (message.effective_annual_roi !== undefined) {
|
|
1285
1269
|
obj.effective_annual_roi = message.effective_annual_roi;
|
|
1286
1270
|
}
|
|
1287
1271
|
if (message.effective_annual_roi_l !== "") {
|
|
@@ -1308,51 +1292,45 @@ exports.GetLocDetailsResponse = {
|
|
|
1308
1292
|
if (message.apr_type !== undefined) {
|
|
1309
1293
|
obj.apr_type = message.apr_type;
|
|
1310
1294
|
}
|
|
1311
|
-
if (message.credit_line_details_sheet !==
|
|
1295
|
+
if (message.credit_line_details_sheet !== undefined) {
|
|
1312
1296
|
obj.credit_line_details_sheet = message.credit_line_details_sheet;
|
|
1313
1297
|
}
|
|
1314
|
-
if (message.Acknowledgement !==
|
|
1298
|
+
if (message.Acknowledgement !== undefined) {
|
|
1315
1299
|
obj.Acknowledgement = message.Acknowledgement;
|
|
1316
1300
|
}
|
|
1317
|
-
if (message.payment_undertaking !==
|
|
1301
|
+
if (message.payment_undertaking !== undefined) {
|
|
1318
1302
|
obj.payment_undertaking = message.payment_undertaking;
|
|
1319
1303
|
}
|
|
1320
|
-
if (message.key_fact_statement !==
|
|
1304
|
+
if (message.key_fact_statement !== undefined) {
|
|
1321
1305
|
obj.key_fact_statement = message.key_fact_statement;
|
|
1322
1306
|
}
|
|
1323
|
-
if (message.sanction_letter !==
|
|
1307
|
+
if (message.sanction_letter !== undefined) {
|
|
1324
1308
|
obj.sanction_letter = message.sanction_letter;
|
|
1325
1309
|
}
|
|
1326
|
-
if (message.financing_documents !==
|
|
1310
|
+
if (message.financing_documents !== undefined) {
|
|
1327
1311
|
obj.financing_documents = message.financing_documents;
|
|
1328
1312
|
}
|
|
1329
|
-
if (message.max_amount !==
|
|
1313
|
+
if (message.max_amount !== undefined) {
|
|
1330
1314
|
obj.max_amount = Math.round(message.max_amount);
|
|
1331
1315
|
}
|
|
1332
|
-
if (message.credit_report_fees !==
|
|
1316
|
+
if (message.credit_report_fees !== undefined) {
|
|
1333
1317
|
obj.credit_report_fees = Math.round(message.credit_report_fees);
|
|
1334
1318
|
}
|
|
1335
|
-
if (message.
|
|
1319
|
+
if (message.credit_report_actual_fees !== undefined) {
|
|
1320
|
+
obj.credit_report_actual_fees = Math.round(message.credit_report_actual_fees);
|
|
1321
|
+
}
|
|
1322
|
+
if (message.plan_id !== undefined) {
|
|
1323
|
+
obj.plan_id = message.plan_id;
|
|
1324
|
+
}
|
|
1325
|
+
if (message.insurance_title !== undefined) {
|
|
1336
1326
|
obj.insurance_title = message.insurance_title;
|
|
1337
1327
|
}
|
|
1338
1328
|
if (message.insurance_desc?.length) {
|
|
1339
1329
|
obj.insurance_desc = message.insurance_desc.map((e) => exports.InsuranceDescItem.toJSON(e));
|
|
1340
1330
|
}
|
|
1341
|
-
if (message.upfront_interest_description !==
|
|
1331
|
+
if (message.upfront_interest_description !== undefined) {
|
|
1342
1332
|
obj.upfront_interest_description = message.upfront_interest_description;
|
|
1343
1333
|
}
|
|
1344
|
-
if (message.credit_report_actual_fees_int !== undefined) {
|
|
1345
|
-
obj.credit_report_actual_fees_int = Math.round(message.credit_report_actual_fees_int);
|
|
1346
|
-
}
|
|
1347
|
-
if (message.credit_report_actual_fees_str !== undefined) {
|
|
1348
|
-
obj.credit_report_actual_fees_str = message.credit_report_actual_fees_str;
|
|
1349
|
-
}
|
|
1350
|
-
if (message.plan_id_int !== undefined) {
|
|
1351
|
-
obj.plan_id_int = Math.round(message.plan_id_int);
|
|
1352
|
-
}
|
|
1353
|
-
if (message.plan_id_str !== undefined) {
|
|
1354
|
-
obj.plan_id_str = message.plan_id_str;
|
|
1355
|
-
}
|
|
1356
1334
|
return obj;
|
|
1357
1335
|
},
|
|
1358
1336
|
create(base) {
|
|
@@ -1375,12 +1353,12 @@ exports.GetLocDetailsResponse = {
|
|
|
1375
1353
|
message.loan_id = object.loan_id ?? "";
|
|
1376
1354
|
message.rate_of_interest = object.rate_of_interest ?? 0;
|
|
1377
1355
|
message.bill_amount = object.bill_amount ?? undefined;
|
|
1378
|
-
message.early_foreclosure_fees = object.early_foreclosure_fees ??
|
|
1379
|
-
message.convenience_fees = object.convenience_fees ??
|
|
1380
|
-
message.total_interest_pay = object.total_interest_pay ??
|
|
1381
|
-
message.effective_annual_rate = object.effective_annual_rate ??
|
|
1382
|
-
message.transaction_rate = object.transaction_rate ??
|
|
1383
|
-
message.transaction_fee_amount = object.transaction_fee_amount ??
|
|
1356
|
+
message.early_foreclosure_fees = object.early_foreclosure_fees ?? undefined;
|
|
1357
|
+
message.convenience_fees = object.convenience_fees ?? undefined;
|
|
1358
|
+
message.total_interest_pay = object.total_interest_pay ?? undefined;
|
|
1359
|
+
message.effective_annual_rate = object.effective_annual_rate ?? undefined;
|
|
1360
|
+
message.transaction_rate = object.transaction_rate ?? undefined;
|
|
1361
|
+
message.transaction_fee_amount = object.transaction_fee_amount ?? undefined;
|
|
1384
1362
|
message.emi_date_l = object.emi_date_l ?? "";
|
|
1385
1363
|
message.emi_amount_l = object.emi_amount_l ?? "";
|
|
1386
1364
|
message.first_emi_date_l = object.first_emi_date_l ?? "";
|
|
@@ -1389,8 +1367,8 @@ exports.GetLocDetailsResponse = {
|
|
|
1389
1367
|
message.processing_fees_l = object.processing_fees_l ?? "";
|
|
1390
1368
|
message.gst_l = object.gst_l ?? "";
|
|
1391
1369
|
message.rate_of_interest_l = object.rate_of_interest_l ?? "";
|
|
1392
|
-
message.trans_fee_plus_gst = object.trans_fee_plus_gst ??
|
|
1393
|
-
message.processing_fee_plus_gst = object.processing_fee_plus_gst ??
|
|
1370
|
+
message.trans_fee_plus_gst = object.trans_fee_plus_gst ?? undefined;
|
|
1371
|
+
message.processing_fee_plus_gst = object.processing_fee_plus_gst ?? undefined;
|
|
1394
1372
|
message.bill_amount_l = object.bill_amount_l ?? "";
|
|
1395
1373
|
message.early_foreclosure_fees_l = object.early_foreclosure_fees_l ?? "";
|
|
1396
1374
|
message.convenience_fees_l = object.convenience_fees_l ?? "";
|
|
@@ -1401,20 +1379,20 @@ exports.GetLocDetailsResponse = {
|
|
|
1401
1379
|
message.max_amount_l = object.max_amount_l ?? "";
|
|
1402
1380
|
message.credit_report_fees_l = object.credit_report_fees_l ?? "";
|
|
1403
1381
|
message.fee_and_charges_l = object.fee_and_charges_l ?? "";
|
|
1404
|
-
message.fee_and_charges = object.fee_and_charges ??
|
|
1382
|
+
message.fee_and_charges = object.fee_and_charges ?? undefined;
|
|
1405
1383
|
message.add_on_l = object.add_on_l ?? "";
|
|
1406
1384
|
message.total_loan_amount_l = object.total_loan_amount_l ?? "";
|
|
1407
1385
|
message.loan_amount_l = object.loan_amount_l ?? "";
|
|
1408
1386
|
message.disbursed_amount_l = object.disbursed_amount_l ?? "";
|
|
1409
1387
|
message.total_payable_amount_l = object.total_payable_amount_l ?? "";
|
|
1410
1388
|
message.disbursal_amount_l = object.disbursal_amount_l ?? "";
|
|
1411
|
-
message.fcp_interest = object.fcp_interest ??
|
|
1389
|
+
message.fcp_interest = object.fcp_interest ?? undefined;
|
|
1412
1390
|
message.number_of_emi_l = object.number_of_emi_l ?? "";
|
|
1413
1391
|
message.first_emi_amt_l = object.first_emi_amt_l ?? "";
|
|
1414
1392
|
message.subsequent_emi_l = object.subsequent_emi_l ?? "";
|
|
1415
|
-
message.effective_roi = object.effective_roi ??
|
|
1393
|
+
message.effective_roi = object.effective_roi ?? undefined;
|
|
1416
1394
|
message.effective_roi_l = object.effective_roi_l ?? "";
|
|
1417
|
-
message.effective_annual_roi = object.effective_annual_roi ??
|
|
1395
|
+
message.effective_annual_roi = object.effective_annual_roi ?? undefined;
|
|
1418
1396
|
message.effective_annual_roi_l = object.effective_annual_roi_l ?? "";
|
|
1419
1397
|
message.insurance_l = object.insurance_l ?? "";
|
|
1420
1398
|
message.emi_card_description = object.emi_card_description ?? "";
|
|
@@ -1423,21 +1401,19 @@ exports.GetLocDetailsResponse = {
|
|
|
1423
1401
|
message.apr_title = object.apr_title ?? undefined;
|
|
1424
1402
|
message.apr_value = object.apr_value ?? undefined;
|
|
1425
1403
|
message.apr_type = object.apr_type ?? undefined;
|
|
1426
|
-
message.credit_line_details_sheet = object.credit_line_details_sheet ??
|
|
1427
|
-
message.Acknowledgement = object.Acknowledgement ??
|
|
1428
|
-
message.payment_undertaking = object.payment_undertaking ??
|
|
1429
|
-
message.key_fact_statement = object.key_fact_statement ??
|
|
1430
|
-
message.sanction_letter = object.sanction_letter ??
|
|
1431
|
-
message.financing_documents = object.financing_documents ??
|
|
1432
|
-
message.max_amount = object.max_amount ??
|
|
1433
|
-
message.credit_report_fees = object.credit_report_fees ??
|
|
1434
|
-
message.
|
|
1404
|
+
message.credit_line_details_sheet = object.credit_line_details_sheet ?? undefined;
|
|
1405
|
+
message.Acknowledgement = object.Acknowledgement ?? undefined;
|
|
1406
|
+
message.payment_undertaking = object.payment_undertaking ?? undefined;
|
|
1407
|
+
message.key_fact_statement = object.key_fact_statement ?? undefined;
|
|
1408
|
+
message.sanction_letter = object.sanction_letter ?? undefined;
|
|
1409
|
+
message.financing_documents = object.financing_documents ?? undefined;
|
|
1410
|
+
message.max_amount = object.max_amount ?? undefined;
|
|
1411
|
+
message.credit_report_fees = object.credit_report_fees ?? undefined;
|
|
1412
|
+
message.credit_report_actual_fees = object.credit_report_actual_fees ?? undefined;
|
|
1413
|
+
message.plan_id = object.plan_id ?? undefined;
|
|
1414
|
+
message.insurance_title = object.insurance_title ?? undefined;
|
|
1435
1415
|
message.insurance_desc = object.insurance_desc?.map((e) => exports.InsuranceDescItem.fromPartial(e)) || [];
|
|
1436
|
-
message.upfront_interest_description = object.upfront_interest_description ??
|
|
1437
|
-
message.credit_report_actual_fees_int = object.credit_report_actual_fees_int ?? undefined;
|
|
1438
|
-
message.credit_report_actual_fees_str = object.credit_report_actual_fees_str ?? undefined;
|
|
1439
|
-
message.plan_id_int = object.plan_id_int ?? undefined;
|
|
1440
|
-
message.plan_id_str = object.plan_id_str ?? undefined;
|
|
1416
|
+
message.upfront_interest_description = object.upfront_interest_description ?? undefined;
|
|
1441
1417
|
return message;
|
|
1442
1418
|
},
|
|
1443
1419
|
};
|
|
@@ -98,9 +98,9 @@ export interface GetLocWithdrawlResponse {
|
|
|
98
98
|
bill_card_description: string;
|
|
99
99
|
loan_id?: string | undefined;
|
|
100
100
|
installment_amounts: string;
|
|
101
|
-
apr_title
|
|
102
|
-
apr_value
|
|
103
|
-
apr_type
|
|
101
|
+
apr_title: string;
|
|
102
|
+
apr_value: string;
|
|
103
|
+
apr_type: string;
|
|
104
104
|
colender_id?: number | undefined;
|
|
105
105
|
credit_line_details_sheet?: string | undefined;
|
|
106
106
|
Acknowledgement?: string | undefined;
|
|
@@ -112,16 +112,14 @@ export interface GetLocWithdrawlResponse {
|
|
|
112
112
|
agreement_links: AgreementLinks | undefined;
|
|
113
113
|
max_amount?: number | undefined;
|
|
114
114
|
credit_report_fees?: number | undefined;
|
|
115
|
+
credit_report_actual_fees?: number | undefined;
|
|
116
|
+
plan_id?: number | undefined;
|
|
115
117
|
lender_name?: string | undefined;
|
|
116
118
|
free_loc_eligible_bank?: string | undefined;
|
|
117
119
|
insurance_title?: string | undefined;
|
|
118
120
|
insurance_desc: InsuranceDesc[];
|
|
119
121
|
upfront_interest_description?: string | undefined;
|
|
120
122
|
txn_id?: string | undefined;
|
|
121
|
-
credit_report_actual_fees_int?: number | undefined;
|
|
122
|
-
credit_report_actual_fees_str?: string | undefined;
|
|
123
|
-
plan_id_int?: number | undefined;
|
|
124
|
-
plan_id_str?: string | undefined;
|
|
125
123
|
}
|
|
126
124
|
export declare const GetLocWithdrawlRequest: {
|
|
127
125
|
encode(message: GetLocWithdrawlRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -584,9 +584,9 @@ function createBaseGetLocWithdrawlResponse() {
|
|
|
584
584
|
bill_card_description: "",
|
|
585
585
|
loan_id: undefined,
|
|
586
586
|
installment_amounts: "",
|
|
587
|
-
apr_title:
|
|
588
|
-
apr_value:
|
|
589
|
-
apr_type:
|
|
587
|
+
apr_title: "",
|
|
588
|
+
apr_value: "",
|
|
589
|
+
apr_type: "",
|
|
590
590
|
colender_id: undefined,
|
|
591
591
|
credit_line_details_sheet: undefined,
|
|
592
592
|
Acknowledgement: undefined,
|
|
@@ -598,16 +598,14 @@ function createBaseGetLocWithdrawlResponse() {
|
|
|
598
598
|
agreement_links: undefined,
|
|
599
599
|
max_amount: undefined,
|
|
600
600
|
credit_report_fees: undefined,
|
|
601
|
+
credit_report_actual_fees: undefined,
|
|
602
|
+
plan_id: undefined,
|
|
601
603
|
lender_name: undefined,
|
|
602
604
|
free_loc_eligible_bank: undefined,
|
|
603
605
|
insurance_title: undefined,
|
|
604
606
|
insurance_desc: [],
|
|
605
607
|
upfront_interest_description: undefined,
|
|
606
608
|
txn_id: undefined,
|
|
607
|
-
credit_report_actual_fees_int: undefined,
|
|
608
|
-
credit_report_actual_fees_str: undefined,
|
|
609
|
-
plan_id_int: undefined,
|
|
610
|
-
plan_id_str: undefined,
|
|
611
609
|
};
|
|
612
610
|
}
|
|
613
611
|
exports.GetLocWithdrawlResponse = {
|
|
@@ -810,13 +808,13 @@ exports.GetLocWithdrawlResponse = {
|
|
|
810
808
|
if (message.installment_amounts !== "") {
|
|
811
809
|
writer.uint32(530).string(message.installment_amounts);
|
|
812
810
|
}
|
|
813
|
-
if (message.apr_title !==
|
|
811
|
+
if (message.apr_title !== "") {
|
|
814
812
|
writer.uint32(538).string(message.apr_title);
|
|
815
813
|
}
|
|
816
|
-
if (message.apr_value !==
|
|
814
|
+
if (message.apr_value !== "") {
|
|
817
815
|
writer.uint32(546).string(message.apr_value);
|
|
818
816
|
}
|
|
819
|
-
if (message.apr_type !==
|
|
817
|
+
if (message.apr_type !== "") {
|
|
820
818
|
writer.uint32(554).string(message.apr_type);
|
|
821
819
|
}
|
|
822
820
|
if (message.colender_id !== undefined) {
|
|
@@ -852,11 +850,17 @@ exports.GetLocWithdrawlResponse = {
|
|
|
852
850
|
if (message.credit_report_fees !== undefined) {
|
|
853
851
|
writer.uint32(640).int32(message.credit_report_fees);
|
|
854
852
|
}
|
|
853
|
+
if (message.credit_report_actual_fees !== undefined) {
|
|
854
|
+
writer.uint32(648).int32(message.credit_report_actual_fees);
|
|
855
|
+
}
|
|
856
|
+
if (message.plan_id !== undefined) {
|
|
857
|
+
writer.uint32(656).int32(message.plan_id);
|
|
858
|
+
}
|
|
855
859
|
if (message.lender_name !== undefined) {
|
|
856
|
-
writer.uint32(
|
|
860
|
+
writer.uint32(666).string(message.lender_name);
|
|
857
861
|
}
|
|
858
862
|
if (message.free_loc_eligible_bank !== undefined) {
|
|
859
|
-
writer.uint32(
|
|
863
|
+
writer.uint32(674).string(message.free_loc_eligible_bank);
|
|
860
864
|
}
|
|
861
865
|
if (message.insurance_title !== undefined) {
|
|
862
866
|
writer.uint32(682).string(message.insurance_title);
|
|
@@ -870,18 +874,6 @@ exports.GetLocWithdrawlResponse = {
|
|
|
870
874
|
if (message.txn_id !== undefined) {
|
|
871
875
|
writer.uint32(706).string(message.txn_id);
|
|
872
876
|
}
|
|
873
|
-
if (message.credit_report_actual_fees_int !== undefined) {
|
|
874
|
-
writer.uint32(648).int32(message.credit_report_actual_fees_int);
|
|
875
|
-
}
|
|
876
|
-
if (message.credit_report_actual_fees_str !== undefined) {
|
|
877
|
-
writer.uint32(658).string(message.credit_report_actual_fees_str);
|
|
878
|
-
}
|
|
879
|
-
if (message.plan_id_int !== undefined) {
|
|
880
|
-
writer.uint32(664).int32(message.plan_id_int);
|
|
881
|
-
}
|
|
882
|
-
if (message.plan_id_str !== undefined) {
|
|
883
|
-
writer.uint32(674).string(message.plan_id_str);
|
|
884
|
-
}
|
|
885
877
|
return writer;
|
|
886
878
|
},
|
|
887
879
|
decode(input, length) {
|
|
@@ -1371,14 +1363,26 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1371
1363
|
}
|
|
1372
1364
|
message.credit_report_fees = reader.int32();
|
|
1373
1365
|
continue;
|
|
1374
|
-
case
|
|
1375
|
-
if (tag !==
|
|
1366
|
+
case 81:
|
|
1367
|
+
if (tag !== 648) {
|
|
1368
|
+
break;
|
|
1369
|
+
}
|
|
1370
|
+
message.credit_report_actual_fees = reader.int32();
|
|
1371
|
+
continue;
|
|
1372
|
+
case 82:
|
|
1373
|
+
if (tag !== 656) {
|
|
1374
|
+
break;
|
|
1375
|
+
}
|
|
1376
|
+
message.plan_id = reader.int32();
|
|
1377
|
+
continue;
|
|
1378
|
+
case 83:
|
|
1379
|
+
if (tag !== 666) {
|
|
1376
1380
|
break;
|
|
1377
1381
|
}
|
|
1378
1382
|
message.lender_name = reader.string();
|
|
1379
1383
|
continue;
|
|
1380
|
-
case
|
|
1381
|
-
if (tag !==
|
|
1384
|
+
case 84:
|
|
1385
|
+
if (tag !== 674) {
|
|
1382
1386
|
break;
|
|
1383
1387
|
}
|
|
1384
1388
|
message.free_loc_eligible_bank = reader.string();
|
|
@@ -1407,30 +1411,6 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1407
1411
|
}
|
|
1408
1412
|
message.txn_id = reader.string();
|
|
1409
1413
|
continue;
|
|
1410
|
-
case 81:
|
|
1411
|
-
if (tag !== 648) {
|
|
1412
|
-
break;
|
|
1413
|
-
}
|
|
1414
|
-
message.credit_report_actual_fees_int = reader.int32();
|
|
1415
|
-
continue;
|
|
1416
|
-
case 82:
|
|
1417
|
-
if (tag !== 658) {
|
|
1418
|
-
break;
|
|
1419
|
-
}
|
|
1420
|
-
message.credit_report_actual_fees_str = reader.string();
|
|
1421
|
-
continue;
|
|
1422
|
-
case 83:
|
|
1423
|
-
if (tag !== 664) {
|
|
1424
|
-
break;
|
|
1425
|
-
}
|
|
1426
|
-
message.plan_id_int = reader.int32();
|
|
1427
|
-
continue;
|
|
1428
|
-
case 84:
|
|
1429
|
-
if (tag !== 674) {
|
|
1430
|
-
break;
|
|
1431
|
-
}
|
|
1432
|
-
message.plan_id_str = reader.string();
|
|
1433
|
-
continue;
|
|
1434
1414
|
}
|
|
1435
1415
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1436
1416
|
break;
|
|
@@ -1537,9 +1517,9 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1537
1517
|
bill_card_description: isSet(object.bill_card_description) ? globalThis.String(object.bill_card_description) : "",
|
|
1538
1518
|
loan_id: isSet(object.loan_id) ? globalThis.String(object.loan_id) : undefined,
|
|
1539
1519
|
installment_amounts: isSet(object.installment_amounts) ? globalThis.String(object.installment_amounts) : "",
|
|
1540
|
-
apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) :
|
|
1541
|
-
apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) :
|
|
1542
|
-
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) :
|
|
1520
|
+
apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) : "",
|
|
1521
|
+
apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) : "",
|
|
1522
|
+
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : "",
|
|
1543
1523
|
colender_id: isSet(object.colender_id) ? globalThis.Number(object.colender_id) : undefined,
|
|
1544
1524
|
credit_line_details_sheet: isSet(object.credit_line_details_sheet)
|
|
1545
1525
|
? globalThis.String(object.credit_line_details_sheet)
|
|
@@ -1559,6 +1539,10 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1559
1539
|
agreement_links: isSet(object.agreement_links) ? exports.AgreementLinks.fromJSON(object.agreement_links) : undefined,
|
|
1560
1540
|
max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : undefined,
|
|
1561
1541
|
credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : undefined,
|
|
1542
|
+
credit_report_actual_fees: isSet(object.credit_report_actual_fees)
|
|
1543
|
+
? globalThis.Number(object.credit_report_actual_fees)
|
|
1544
|
+
: undefined,
|
|
1545
|
+
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : undefined,
|
|
1562
1546
|
lender_name: isSet(object.lender_name) ? globalThis.String(object.lender_name) : undefined,
|
|
1563
1547
|
free_loc_eligible_bank: isSet(object.free_loc_eligible_bank)
|
|
1564
1548
|
? globalThis.String(object.free_loc_eligible_bank)
|
|
@@ -1571,14 +1555,6 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1571
1555
|
? globalThis.String(object.upfront_interest_description)
|
|
1572
1556
|
: undefined,
|
|
1573
1557
|
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : undefined,
|
|
1574
|
-
credit_report_actual_fees_int: isSet(object.credit_report_actual_fees_int)
|
|
1575
|
-
? globalThis.Number(object.credit_report_actual_fees_int)
|
|
1576
|
-
: undefined,
|
|
1577
|
-
credit_report_actual_fees_str: isSet(object.credit_report_actual_fees_str)
|
|
1578
|
-
? globalThis.String(object.credit_report_actual_fees_str)
|
|
1579
|
-
: undefined,
|
|
1580
|
-
plan_id_int: isSet(object.plan_id_int) ? globalThis.Number(object.plan_id_int) : undefined,
|
|
1581
|
-
plan_id_str: isSet(object.plan_id_str) ? globalThis.String(object.plan_id_str) : undefined,
|
|
1582
1558
|
};
|
|
1583
1559
|
},
|
|
1584
1560
|
toJSON(message) {
|
|
@@ -1781,13 +1757,13 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1781
1757
|
if (message.installment_amounts !== "") {
|
|
1782
1758
|
obj.installment_amounts = message.installment_amounts;
|
|
1783
1759
|
}
|
|
1784
|
-
if (message.apr_title !==
|
|
1760
|
+
if (message.apr_title !== "") {
|
|
1785
1761
|
obj.apr_title = message.apr_title;
|
|
1786
1762
|
}
|
|
1787
|
-
if (message.apr_value !==
|
|
1763
|
+
if (message.apr_value !== "") {
|
|
1788
1764
|
obj.apr_value = message.apr_value;
|
|
1789
1765
|
}
|
|
1790
|
-
if (message.apr_type !==
|
|
1766
|
+
if (message.apr_type !== "") {
|
|
1791
1767
|
obj.apr_type = message.apr_type;
|
|
1792
1768
|
}
|
|
1793
1769
|
if (message.colender_id !== undefined) {
|
|
@@ -1823,6 +1799,12 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1823
1799
|
if (message.credit_report_fees !== undefined) {
|
|
1824
1800
|
obj.credit_report_fees = Math.round(message.credit_report_fees);
|
|
1825
1801
|
}
|
|
1802
|
+
if (message.credit_report_actual_fees !== undefined) {
|
|
1803
|
+
obj.credit_report_actual_fees = Math.round(message.credit_report_actual_fees);
|
|
1804
|
+
}
|
|
1805
|
+
if (message.plan_id !== undefined) {
|
|
1806
|
+
obj.plan_id = Math.round(message.plan_id);
|
|
1807
|
+
}
|
|
1826
1808
|
if (message.lender_name !== undefined) {
|
|
1827
1809
|
obj.lender_name = message.lender_name;
|
|
1828
1810
|
}
|
|
@@ -1841,18 +1823,6 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1841
1823
|
if (message.txn_id !== undefined) {
|
|
1842
1824
|
obj.txn_id = message.txn_id;
|
|
1843
1825
|
}
|
|
1844
|
-
if (message.credit_report_actual_fees_int !== undefined) {
|
|
1845
|
-
obj.credit_report_actual_fees_int = Math.round(message.credit_report_actual_fees_int);
|
|
1846
|
-
}
|
|
1847
|
-
if (message.credit_report_actual_fees_str !== undefined) {
|
|
1848
|
-
obj.credit_report_actual_fees_str = message.credit_report_actual_fees_str;
|
|
1849
|
-
}
|
|
1850
|
-
if (message.plan_id_int !== undefined) {
|
|
1851
|
-
obj.plan_id_int = Math.round(message.plan_id_int);
|
|
1852
|
-
}
|
|
1853
|
-
if (message.plan_id_str !== undefined) {
|
|
1854
|
-
obj.plan_id_str = message.plan_id_str;
|
|
1855
|
-
}
|
|
1856
1826
|
return obj;
|
|
1857
1827
|
},
|
|
1858
1828
|
create(base) {
|
|
@@ -1926,9 +1896,9 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1926
1896
|
message.bill_card_description = object.bill_card_description ?? "";
|
|
1927
1897
|
message.loan_id = object.loan_id ?? undefined;
|
|
1928
1898
|
message.installment_amounts = object.installment_amounts ?? "";
|
|
1929
|
-
message.apr_title = object.apr_title ??
|
|
1930
|
-
message.apr_value = object.apr_value ??
|
|
1931
|
-
message.apr_type = object.apr_type ??
|
|
1899
|
+
message.apr_title = object.apr_title ?? "";
|
|
1900
|
+
message.apr_value = object.apr_value ?? "";
|
|
1901
|
+
message.apr_type = object.apr_type ?? "";
|
|
1932
1902
|
message.colender_id = object.colender_id ?? undefined;
|
|
1933
1903
|
message.credit_line_details_sheet = object.credit_line_details_sheet ?? undefined;
|
|
1934
1904
|
message.Acknowledgement = object.Acknowledgement ?? undefined;
|
|
@@ -1942,16 +1912,14 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1942
1912
|
: undefined;
|
|
1943
1913
|
message.max_amount = object.max_amount ?? undefined;
|
|
1944
1914
|
message.credit_report_fees = object.credit_report_fees ?? undefined;
|
|
1915
|
+
message.credit_report_actual_fees = object.credit_report_actual_fees ?? undefined;
|
|
1916
|
+
message.plan_id = object.plan_id ?? undefined;
|
|
1945
1917
|
message.lender_name = object.lender_name ?? undefined;
|
|
1946
1918
|
message.free_loc_eligible_bank = object.free_loc_eligible_bank ?? undefined;
|
|
1947
1919
|
message.insurance_title = object.insurance_title ?? undefined;
|
|
1948
1920
|
message.insurance_desc = object.insurance_desc?.map((e) => exports.InsuranceDesc.fromPartial(e)) || [];
|
|
1949
1921
|
message.upfront_interest_description = object.upfront_interest_description ?? undefined;
|
|
1950
1922
|
message.txn_id = object.txn_id ?? undefined;
|
|
1951
|
-
message.credit_report_actual_fees_int = object.credit_report_actual_fees_int ?? undefined;
|
|
1952
|
-
message.credit_report_actual_fees_str = object.credit_report_actual_fees_str ?? undefined;
|
|
1953
|
-
message.plan_id_int = object.plan_id_int ?? undefined;
|
|
1954
|
-
message.plan_id_str = object.plan_id_str ?? undefined;
|
|
1955
1923
|
return message;
|
|
1956
1924
|
},
|
|
1957
1925
|
};
|