@stashfin/mysql2 1.4.260 → 1.4.261

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.
@@ -12,24 +12,32 @@ export interface CoApplicantDataTable {
12
12
  state_id?: number | null;
13
13
  city_id?: number | null;
14
14
  pin?: number | null;
15
- alternate_contact_number: string | null;
16
- father_name: string | null;
17
- company_name: string | null;
18
- aadhar: string | null;
19
- mobile_verified: 'yes' | 'no' | null;
20
- email_verified: 'yes' | 'no' | null;
21
- status: string | null;
22
- avg_salary: number | null;
23
- aadhar_name: string | null;
24
- latitude: string | null;
25
- longitude: string | null;
26
- marital_status: 'single' | 'married' | 'divorced' | 'widowed' | null;
27
- salary_date: Date | null;
28
- phone_matched: 'yes' | 'no' | null;
29
- dob_matched: 'yes' | 'no' | null;
30
- nsdl_dob_matched: 'yes' | 'no' | null;
31
- created_at: Date | null;
32
- updated_at: Date | null;
15
+ current_house_flat_no?: string | null;
16
+ current_address_line_1?: string | null;
17
+ current_address_line_2?: string | null;
18
+ current_address?: string | null;
19
+ current_landmark?: string | null;
20
+ current_state_id?: number | null;
21
+ current_city_id?: number | null;
22
+ current_pin?: number | null;
23
+ alternate_contact_number?: string | null;
24
+ father_name?: string | null;
25
+ company_name?: string | null;
26
+ aadhar?: string | null;
27
+ mobile_verified?: 'yes' | 'no' | null;
28
+ email_verified?: 'yes' | 'no' | null;
29
+ status?: string | null;
30
+ avg_salary?: number | null;
31
+ aadhar_name?: string | null;
32
+ latitude?: string | null;
33
+ longitude?: string | null;
34
+ marital_status?: 'single' | 'married' | 'divorced' | 'widowed' | null;
35
+ salary_date?: Date | null;
36
+ phone_matched?: 'yes' | 'no' | null;
37
+ dob_matched?: 'yes' | 'no' | null;
38
+ nsdl_dob_matched?: 'yes' | 'no' | null;
39
+ created_at?: Date | null;
40
+ updated_at?: Date | null;
33
41
  }
34
42
  export interface CoApplicantDataModel extends CoApplicantDataTable, RowDataPacket {
35
43
  }
@@ -12,24 +12,32 @@ export interface GuarantorTable {
12
12
  state_id?: number | null;
13
13
  city_id?: number | null;
14
14
  pin?: number | null;
15
- alternate_contact_number: string | null;
16
- father_name: string | null;
17
- company_name: string | null;
18
- aadhar: string | null;
19
- mobile_verified: 'yes' | 'no' | null;
20
- email_verified: 'yes' | 'no' | null;
21
- status: string | null;
22
- avg_salary: number | null;
23
- aadhar_name: string | null;
24
- latitude: string | null;
25
- longitude: string | null;
26
- marital_status: 'single' | 'married' | 'divorced' | 'widowed' | null;
27
- salary_date: Date | null;
28
- phone_matched: 'yes' | 'no' | null;
29
- dob_matched: 'yes' | 'no' | null;
30
- nsdl_dob_matched: 'yes' | 'no' | null;
31
- created_at: Date | null;
32
- updated_at: Date | null;
15
+ current_house_flat_no?: string | null;
16
+ current_address_line_1?: string | null;
17
+ current_address_line_2?: string | null;
18
+ current_address?: string | null;
19
+ current_landmark?: string | null;
20
+ current_state_id?: number | null;
21
+ current_city_id?: number | null;
22
+ current_pin?: number | null;
23
+ alternate_contact_number?: string | null;
24
+ father_name?: string | null;
25
+ company_name?: string | null;
26
+ aadhar?: string | null;
27
+ mobile_verified?: 'yes' | 'no' | null;
28
+ email_verified?: 'yes' | 'no' | null;
29
+ status?: string | null;
30
+ avg_salary?: number | null;
31
+ aadhar_name?: string | null;
32
+ latitude?: string | null;
33
+ longitude?: string | null;
34
+ marital_status?: 'single' | 'married' | 'divorced' | 'widowed' | null;
35
+ salary_date?: Date | null;
36
+ phone_matched?: 'yes' | 'no' | null;
37
+ dob_matched?: 'yes' | 'no' | null;
38
+ nsdl_dob_matched?: 'yes' | 'no' | null;
39
+ created_at?: Date | null;
40
+ updated_at?: Date | null;
33
41
  }
34
42
  export interface GuarantorModel extends GuarantorTable, RowDataPacket {
35
43
  }
@@ -0,0 +1,41 @@
1
+ import { RowDataPacket } from 'mysql2';
2
+ export interface PartnerLoansTable {
3
+ id?: number;
4
+ customer_id: number;
5
+ loan_id?: number;
6
+ partner_name?: string;
7
+ partner_code?: string;
8
+ product_code?: 'PL' | 'LAMF' | 'EV';
9
+ downpayment_amount?: number;
10
+ installment_amount?: number;
11
+ loan_status?: number;
12
+ lead_status?: number;
13
+ status?: string;
14
+ loan_creation_date?: Date;
15
+ loan_approval_date?: Date;
16
+ loan_disbursal_date?: Date;
17
+ loan_closure_date?: Date;
18
+ loan_amount?: number;
19
+ approved_amount?: number;
20
+ approved_tenure?: string;
21
+ approved_rate?: number;
22
+ approved_disbursal_date?: Date;
23
+ approved_emi_start_date?: Date;
24
+ rate_per_day?: number;
25
+ disbursal_amount?: number;
26
+ disbursal_mode?: number;
27
+ processing_fees?: number;
28
+ other_fees?: number;
29
+ other_calculate_gst?: number;
30
+ spdc_amount?: number;
31
+ loan_tenure?: number;
32
+ loan_rate?: number;
33
+ create_date?: Date;
34
+ update_date?: Date;
35
+ upfront?: number;
36
+ closing_date?: Date;
37
+ advance_emi_total?: number;
38
+ advance_emi_tenure?: number;
39
+ }
40
+ export interface PartnerLoansModel extends PartnerLoansTable, RowDataPacket {
41
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.260",
3
+ "version": "1.4.261",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",