@stashfin/grpc 1.2.638 → 1.2.640

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.638",
3
+ "version": "1.2.640",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -30,7 +30,7 @@ function createBaseGetLocConfirmRequest() {
30
30
  exports.GetLocConfirmRequest = {
31
31
  encode(message, writer = minimal_1.default.Writer.create()) {
32
32
  if (message.amount !== 0) {
33
- writer.uint32(9).double(message.amount);
33
+ writer.uint32(8).int32(message.amount);
34
34
  }
35
35
  if (message.tenure !== 0) {
36
36
  writer.uint32(16).int32(message.tenure);
@@ -72,10 +72,10 @@ exports.GetLocConfirmRequest = {
72
72
  const tag = reader.uint32();
73
73
  switch (tag >>> 3) {
74
74
  case 1:
75
- if (tag !== 9) {
75
+ if (tag !== 8) {
76
76
  break;
77
77
  }
78
- message.amount = reader.double();
78
+ message.amount = reader.int32();
79
79
  continue;
80
80
  case 2:
81
81
  if (tag !== 16) {
@@ -163,7 +163,7 @@ exports.GetLocConfirmRequest = {
163
163
  toJSON(message) {
164
164
  const obj = {};
165
165
  if (message.amount !== 0) {
166
- obj.amount = message.amount;
166
+ obj.amount = Math.round(message.amount);
167
167
  }
168
168
  if (message.tenure !== 0) {
169
169
  obj.tenure = Math.round(message.tenure);
@@ -12,24 +12,24 @@ export interface GetLocWithdrawlRequest {
12
12
  pcr_opt: boolean;
13
13
  }
14
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;
15
+ required?: boolean | undefined;
16
+ error_msg?: string | undefined;
17
+ applicant_pdf_url?: string | undefined;
18
+ co_applicant_pdf_url?: string | undefined;
19
+ colender_agreement?: string | undefined;
20
+ colender?: string | undefined;
21
+ credit_line_detail_sheet?: string | undefined;
22
+ payment_undertaking?: string | undefined;
23
+ tc_online_disbursal?: string | undefined;
24
+ schedule_for_charges?: string | undefined;
25
+ acknowledge_by_borrower?: string | undefined;
26
+ venacular_declaration?: string | undefined;
27
+ Declaration?: string | undefined;
28
28
  }
29
29
  export interface InsuranceDesc {
30
30
  title: string;
31
- desc: string;
32
- icon: string;
31
+ desc?: string | undefined;
32
+ icon?: string | undefined;
33
33
  }
34
34
  export interface GetLocWithdrawlResponse {
35
35
  gateway_fees?: number | undefined;
@@ -44,18 +44,18 @@ export interface GetLocWithdrawlResponse {
44
44
  first_emi_date: string;
45
45
  emi_date: string;
46
46
  final_disbursal_amount: number;
47
- upfront_interest: number;
47
+ upfront_interest?: number | undefined;
48
48
  approved_amount: number;
49
- processing_fees: number;
50
- gst: number;
51
- rate_of_interest: number;
49
+ processing_fees?: number | undefined;
50
+ gst?: number | undefined;
51
+ rate_of_interest?: number | undefined;
52
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;
53
+ early_foreclosure_fees?: number | undefined;
54
+ convenience_fees?: number | undefined;
55
+ total_interest_pay?: number | undefined;
56
+ effective_annual_rate?: number | undefined;
57
+ transaction_rate?: number | undefined;
58
+ transaction_fee_amount?: number | undefined;
59
59
  emi_date_l: string;
60
60
  emi_amount_l: string;
61
61
  first_emi_date_l: string;
@@ -69,56 +69,57 @@ export interface GetLocWithdrawlResponse {
69
69
  convenience_fees_l: string;
70
70
  total_interest_pay_l: string;
71
71
  effective_annual_rate_l: string;
72
- transaction_fee_bill_amount: number;
73
- processing_fee_plus_gst: number;
74
- trans_fee_plus_gst: number;
72
+ transaction_fee_bill_amount?: number | undefined;
73
+ processing_fee_plus_gst?: number | undefined;
74
+ trans_fee_plus_gst?: number | undefined;
75
75
  trans_fee_plus_gst_l: string;
76
76
  processing_fee_plus_gst_l: string;
77
77
  max_amount_l: string;
78
78
  credit_report_fees_l: string;
79
79
  fee_and_charges_l: string;
80
- fee_and_charges: number;
81
- fee_and_charges_bill: number;
80
+ fee_and_charges?: number | undefined;
81
+ fee_and_charges_bill?: number | undefined;
82
82
  add_on_l: string;
83
83
  total_loan_amount_l: string;
84
84
  loan_amount_l: string;
85
85
  disbursed_amount_l: string;
86
86
  total_payable_amount_l: string;
87
87
  disbursal_amount_l: string;
88
- fcp_interest: number;
88
+ fcp_interest?: number | undefined;
89
89
  number_of_emi_l: string;
90
90
  first_emi_amt_l: string;
91
91
  subsequent_emi_l: string;
92
92
  effective_roi_l: string;
93
- effective_roi: number;
93
+ effective_roi?: number | undefined;
94
94
  effective_annual_roi_l: string;
95
- effective_annual_roi: number;
95
+ effective_annual_roi?: number | undefined;
96
96
  insurance_l: string;
97
97
  emi_card_description: string;
98
98
  bill_card_description: string;
99
99
  loan_id: string;
100
+ installment_amounts: string;
100
101
  apr_title: string;
101
102
  apr_value: string;
102
103
  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;
104
+ colender_id?: number | undefined;
105
+ credit_line_details_sheet?: string | undefined;
106
+ Acknowledgement?: string | undefined;
107
+ payment_undertaking?: string | undefined;
108
+ key_fact_statement?: string | undefined;
109
+ sanction_letter?: string | undefined;
110
+ financing_documents?: string | undefined;
111
+ landers_credit_facility_form?: string | undefined;
111
112
  agreement_links: AgreementLinks | undefined;
112
- max_amount: number;
113
- credit_report_fees: number;
114
- credit_report_actual_fees: number;
115
- plan_id: string;
113
+ max_amount?: number | undefined;
114
+ credit_report_fees?: number | undefined;
115
+ credit_report_actual_fees?: number | undefined;
116
+ plan_id?: number | undefined;
116
117
  lender_name?: string | undefined;
117
- free_loc_eligible_bank: string;
118
- insurance_title: string;
118
+ free_loc_eligible_bank?: string | undefined;
119
+ insurance_title?: string | undefined;
119
120
  insurance_desc: InsuranceDesc[];
120
- upfront_interest_description: string;
121
- txn_id: string;
121
+ upfront_interest_description?: string | undefined;
122
+ txn_id?: string | undefined;
122
123
  }
123
124
  export declare const GetLocWithdrawlRequest: {
124
125
  encode(message: GetLocWithdrawlRequest, writer?: _m0.Writer): _m0.Writer;