@stashfin/grpc 1.2.610 → 1.2.611

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.610",
3
+ "version": "1.2.611",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -0,0 +1,165 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getlocwithdraw";
3
+ export interface GetLocWithdrawlRequest {
4
+ amount: number;
5
+ tenure: number;
6
+ gateway_enable: number;
7
+ is_fip: boolean;
8
+ credit_shield_enable: boolean;
9
+ pcr_enable: boolean;
10
+ gateway_type: string;
11
+ credit_shield_opt: boolean;
12
+ pcr_opt: boolean;
13
+ }
14
+ export interface AgreementLinks {
15
+ required: boolean;
16
+ error_msg: string;
17
+ applicant_pdf_url: string;
18
+ co_applicant_pdf_url: string;
19
+ colender_agreement: string;
20
+ colender: string;
21
+ credit_line_detail_sheet: string;
22
+ payment_undertaking: string;
23
+ tc_online_disbursal: string;
24
+ schedule_for_charges: string;
25
+ acknowledge_by_borrower: string;
26
+ venacular_declaration: string;
27
+ Declaration: string;
28
+ }
29
+ export interface InsuranceDesc {
30
+ title: string;
31
+ desc: string;
32
+ icon: string;
33
+ }
34
+ export interface GetLocWithdrawlResponse {
35
+ gateway_fees: number;
36
+ striked_gateway_fees: number;
37
+ bill_date: string;
38
+ matched: boolean;
39
+ remaining_loc: number;
40
+ requested_amount: number;
41
+ tenure: number;
42
+ emi_amount: number;
43
+ net_amount_payable: number;
44
+ first_emi_date: string;
45
+ emi_date: string;
46
+ final_disbursal_amount: number;
47
+ upfront_interest: number;
48
+ approved_amount: number;
49
+ processing_fees: number;
50
+ gst: number;
51
+ rate_of_interest: number;
52
+ bill_amount: number;
53
+ early_foreclosure_fees: number;
54
+ convenience_fees: number;
55
+ total_interest_pay: number;
56
+ effective_annual_rate: number;
57
+ transaction_rate: number;
58
+ transaction_fee_amount: number;
59
+ emi_date_l: string;
60
+ emi_amount_l: string;
61
+ first_emi_date_l: string;
62
+ final_disbursal_amount_l: string;
63
+ upfront_interest_l: string;
64
+ processing_fees_l: string;
65
+ gst_l: string;
66
+ rate_of_interest_l: string;
67
+ bill_amount_l: string;
68
+ early_foreclosure_fees_l: string;
69
+ convenience_fees_l: string;
70
+ total_interest_pay_l: string;
71
+ effective_annual_rate_l: string;
72
+ transaction_fee_bill_amount: number;
73
+ processing_fee_plus_gst: number;
74
+ trans_fee_plus_gst: number;
75
+ trans_fee_plus_gst_l: string;
76
+ processing_fee_plus_gst_l: string;
77
+ max_amount_l: string;
78
+ credit_report_fees_l: string;
79
+ fee_and_charges_l: string;
80
+ fee_and_charges: number;
81
+ fee_and_charges_bill: number;
82
+ add_on_l: string;
83
+ total_loan_amount_l: string;
84
+ loan_amount_l: string;
85
+ disbursed_amount_l: string;
86
+ total_payable_amount_l: string;
87
+ disbursal_amount_l: string;
88
+ fcp_interest: number;
89
+ number_of_emi_l: string;
90
+ first_emi_amt_l: string;
91
+ subsequent_emi_l: string;
92
+ effective_roi_l: string;
93
+ effective_roi: number;
94
+ effective_annual_roi_l: string;
95
+ effective_annual_roi: number;
96
+ insurance_l: string;
97
+ emi_card_description: string;
98
+ bill_card_description: string;
99
+ loan_id: string;
100
+ apr_title: string;
101
+ apr_value: string;
102
+ apr_type: string;
103
+ colender_id: number;
104
+ credit_line_details_sheet: string;
105
+ Acknowledgement: string;
106
+ payment_undertaking: string;
107
+ key_fact_statement: string;
108
+ sanction_letter: string;
109
+ financing_documents: string;
110
+ landers_credit_facility_form: string;
111
+ agreement_links: AgreementLinks | undefined;
112
+ max_amount: number;
113
+ credit_report_fees: number;
114
+ credit_report_actual_fees: number;
115
+ plan_id: string;
116
+ lender_name: string;
117
+ free_loc_eligible_bank: string;
118
+ insurance_title: string;
119
+ insurance_desc: InsuranceDesc[];
120
+ upfront_interest_description: string;
121
+ txn_id: string;
122
+ }
123
+ export declare const GetLocWithdrawlRequest: {
124
+ encode(message: GetLocWithdrawlRequest, writer?: _m0.Writer): _m0.Writer;
125
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetLocWithdrawlRequest;
126
+ fromJSON(object: any): GetLocWithdrawlRequest;
127
+ toJSON(message: GetLocWithdrawlRequest): unknown;
128
+ create<I extends Exact<DeepPartial<GetLocWithdrawlRequest>, I>>(base?: I): GetLocWithdrawlRequest;
129
+ fromPartial<I extends Exact<DeepPartial<GetLocWithdrawlRequest>, I>>(object: I): GetLocWithdrawlRequest;
130
+ };
131
+ export declare const AgreementLinks: {
132
+ encode(message: AgreementLinks, writer?: _m0.Writer): _m0.Writer;
133
+ decode(input: _m0.Reader | Uint8Array, length?: number): AgreementLinks;
134
+ fromJSON(object: any): AgreementLinks;
135
+ toJSON(message: AgreementLinks): unknown;
136
+ create<I extends Exact<DeepPartial<AgreementLinks>, I>>(base?: I): AgreementLinks;
137
+ fromPartial<I extends Exact<DeepPartial<AgreementLinks>, I>>(object: I): AgreementLinks;
138
+ };
139
+ export declare const InsuranceDesc: {
140
+ encode(message: InsuranceDesc, writer?: _m0.Writer): _m0.Writer;
141
+ decode(input: _m0.Reader | Uint8Array, length?: number): InsuranceDesc;
142
+ fromJSON(object: any): InsuranceDesc;
143
+ toJSON(message: InsuranceDesc): unknown;
144
+ create<I extends Exact<DeepPartial<InsuranceDesc>, I>>(base?: I): InsuranceDesc;
145
+ fromPartial<I extends Exact<DeepPartial<InsuranceDesc>, I>>(object: I): InsuranceDesc;
146
+ };
147
+ export declare const GetLocWithdrawlResponse: {
148
+ encode(message: GetLocWithdrawlResponse, writer?: _m0.Writer): _m0.Writer;
149
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetLocWithdrawlResponse;
150
+ fromJSON(object: any): GetLocWithdrawlResponse;
151
+ toJSON(message: GetLocWithdrawlResponse): unknown;
152
+ create<I extends Exact<DeepPartial<GetLocWithdrawlResponse>, I>>(base?: I): GetLocWithdrawlResponse;
153
+ fromPartial<I extends Exact<DeepPartial<GetLocWithdrawlResponse>, I>>(object: I): GetLocWithdrawlResponse;
154
+ };
155
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
156
+ 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 {} ? {
157
+ [K in keyof T]?: DeepPartial<T[K]>;
158
+ } : Partial<T>;
159
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
160
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
161
+ [K in keyof P]: Exact<P[K], I[K]>;
162
+ } & {
163
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
164
+ };
165
+ export {};