@stashfin/mysql2 1.4.259 → 1.4.260
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/models/CoApplicantData.d.ts +35 -0
- package/models/CoApplicantData.js +2 -0
- package/models/Guarantor.d.ts +35 -0
- package/models/Guarantor.js +2 -0
- package/models/PartnerDocuments.d.ts +21 -0
- package/models/PartnerDocuments.js +2 -0
- package/models/Partners.d.ts +1 -0
- package/models/PartnersCustomer.d.ts +13 -1
- package/models/Pincodes.d.ts +14 -0
- package/models/Pincodes.js +2 -0
- package/models/StCity.d.ts +16 -0
- package/models/StCity.js +2 -0
- package/models/StCustomerDetail.d.ts +1 -1
- package/models/StState.d.ts +20 -0
- package/models/StState.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { RowDataPacket } from "mysql2";
|
|
2
|
+
export interface CoApplicantDataTable {
|
|
3
|
+
id?: bigint;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
co_applicant_name: string | null;
|
|
6
|
+
relationship?: string | null;
|
|
7
|
+
house_flat_no?: string | null;
|
|
8
|
+
address_line_1?: string | null;
|
|
9
|
+
address_line_2?: string | null;
|
|
10
|
+
address?: string | null;
|
|
11
|
+
landmark?: string | null;
|
|
12
|
+
state_id?: number | null;
|
|
13
|
+
city_id?: number | null;
|
|
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;
|
|
33
|
+
}
|
|
34
|
+
export interface CoApplicantDataModel extends CoApplicantDataTable, RowDataPacket {
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { RowDataPacket } from "mysql2";
|
|
2
|
+
export interface GuarantorTable {
|
|
3
|
+
id?: bigint;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
co_applicant_name: string | null;
|
|
6
|
+
relationship?: string | null;
|
|
7
|
+
house_flat_no?: string | null;
|
|
8
|
+
address_line_1?: string | null;
|
|
9
|
+
address_line_2?: string | null;
|
|
10
|
+
address?: string | null;
|
|
11
|
+
landmark?: string | null;
|
|
12
|
+
state_id?: number | null;
|
|
13
|
+
city_id?: number | null;
|
|
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;
|
|
33
|
+
}
|
|
34
|
+
export interface GuarantorModel extends GuarantorTable, RowDataPacket {
|
|
35
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface PartnerDocumentsTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
akara_lead_id?: number | null;
|
|
5
|
+
akara_loan_id?: number | null;
|
|
6
|
+
partner_lead_id?: number | null;
|
|
7
|
+
partner_loan_id?: number | null;
|
|
8
|
+
doc_type?: string | null;
|
|
9
|
+
doc_path?: string | null;
|
|
10
|
+
doc_password?: string | null;
|
|
11
|
+
is_received?: 'yes' | 'no' | 'failed' | null;
|
|
12
|
+
received_date?: Date | null;
|
|
13
|
+
is_verified?: 'yes' | 'no' | 'failed' | null;
|
|
14
|
+
request?: Record<string, any> | null;
|
|
15
|
+
response?: Record<string, any> | null;
|
|
16
|
+
reference_id?: string | null;
|
|
17
|
+
created_at?: Date;
|
|
18
|
+
updated_at?: Date | null;
|
|
19
|
+
}
|
|
20
|
+
export interface PartnerDocumentsModel extends PartnerDocumentsTable, RowDataPacket {
|
|
21
|
+
}
|
package/models/Partners.d.ts
CHANGED
|
@@ -7,7 +7,19 @@ export interface PartnerCustomerTable {
|
|
|
7
7
|
partner_lead_status?: number;
|
|
8
8
|
utm_source: string;
|
|
9
9
|
partner_loan_status?: number;
|
|
10
|
-
|
|
10
|
+
phone_matched?: 'yes' | 'no' | null;
|
|
11
|
+
dob_matched?: 'yes' | 'no' | null;
|
|
12
|
+
nsdl_dob_matched?: 'yes' | 'no' | null;
|
|
13
|
+
alternate_contact_number?: string | null;
|
|
14
|
+
mobile_verified?: 'yes' | 'no' | null;
|
|
15
|
+
email_verified?: 'yes' | 'no' | null;
|
|
16
|
+
dedupe_check_step?: number | null;
|
|
17
|
+
profile_ingestion_step?: number | null;
|
|
18
|
+
kyc_doc_update_step?: number | null;
|
|
19
|
+
loan_agreement_update_step?: number | null;
|
|
20
|
+
enach_subscription_step?: number | null;
|
|
21
|
+
loan_disbursal_step?: number | null;
|
|
22
|
+
create_date?: Date;
|
|
11
23
|
update_date: Date;
|
|
12
24
|
}
|
|
13
25
|
export interface PartnerCustomerModel extends PartnerCustomerTable, RowDataPacket {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface PincodesTable {
|
|
3
|
+
id: number;
|
|
4
|
+
office_name: string;
|
|
5
|
+
pin_code: string;
|
|
6
|
+
city: string;
|
|
7
|
+
state_name?: string | null;
|
|
8
|
+
is_blocked?: boolean | null;
|
|
9
|
+
is_elv_blocked?: boolean | null;
|
|
10
|
+
is_frdm_blocked?: boolean | null;
|
|
11
|
+
state_id?: number | null;
|
|
12
|
+
}
|
|
13
|
+
export interface PincodesModel extends PincodesTable, RowDataPacket {
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface StCityTable {
|
|
3
|
+
id: number;
|
|
4
|
+
state_id: number | null;
|
|
5
|
+
city_name: string | null;
|
|
6
|
+
status?: boolean | null;
|
|
7
|
+
pin_code?: string | null;
|
|
8
|
+
is_operational?: boolean | null;
|
|
9
|
+
is_elevate_operational?: number | null;
|
|
10
|
+
min_age?: number | null;
|
|
11
|
+
max_age?: number | null;
|
|
12
|
+
collection_state_id?: number | null;
|
|
13
|
+
elev8_HighIntRate?: boolean | null;
|
|
14
|
+
}
|
|
15
|
+
export interface StCityModel extends StCityTable, RowDataPacket {
|
|
16
|
+
}
|
package/models/StCity.js
ADDED
|
@@ -11,7 +11,7 @@ export interface StCustomerDetailTable {
|
|
|
11
11
|
e_phone?: Buffer | null;
|
|
12
12
|
company_name?: string | null;
|
|
13
13
|
salary?: string | null;
|
|
14
|
-
salary_date?:
|
|
14
|
+
salary_date?: Date | string;
|
|
15
15
|
mode_of_salary?: number | null;
|
|
16
16
|
dob?: Date | null;
|
|
17
17
|
age?: string | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface StStateTable {
|
|
3
|
+
id: number;
|
|
4
|
+
state_name: string;
|
|
5
|
+
state_code: string;
|
|
6
|
+
minPinPrefix?: number | null;
|
|
7
|
+
maxPinPrefix?: number | null;
|
|
8
|
+
status: boolean;
|
|
9
|
+
is_operational?: boolean | null;
|
|
10
|
+
cibil_state_code?: string | null;
|
|
11
|
+
incred_state_code?: number | null;
|
|
12
|
+
equifax_state_code?: string | null;
|
|
13
|
+
isg_state_code?: string | null;
|
|
14
|
+
credavenue_state_code?: string | null;
|
|
15
|
+
nr_state_code?: string | null;
|
|
16
|
+
arka_is_operational?: boolean | null;
|
|
17
|
+
crif_state_code?: string | null;
|
|
18
|
+
}
|
|
19
|
+
export interface StStateModel extends StStateTable, RowDataPacket {
|
|
20
|
+
}
|