@stashfin/mysql2 1.4.583 → 1.4.585
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/ApprovalStateCapture.d.ts +77 -0
- package/models/StNachRegistration.d.ts +32 -0
- package/models/StPanToAadhaarLinkValidation.d.ts +23 -0
- package/models/StPanToAadhaarLinkValidation.js +2 -0
- package/package.json +1 -1
- package/models/Banners.d.ts +0 -21
- package/models/Customerv1.d.ts +0 -15
- /package/models/{Banners.js → ApprovalStateCapture.js} +0 -0
- /package/models/{Customerv1.js → StNachRegistration.js} +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { RowDataPacket } from "mysql2";
|
|
2
|
+
import { JSONValue } from "./Customer";
|
|
3
|
+
export interface ApprovalStateCaptureTable {
|
|
4
|
+
id: number;
|
|
5
|
+
loan_id: number;
|
|
6
|
+
customer_id: number;
|
|
7
|
+
cibil_score: string | null;
|
|
8
|
+
salary: number | null;
|
|
9
|
+
is_office_email_given: string | null;
|
|
10
|
+
is_office_email_verified: string | null;
|
|
11
|
+
pre_dbr: number | null;
|
|
12
|
+
recent_loan_in_bs: number | null;
|
|
13
|
+
dpd: string | null;
|
|
14
|
+
ownership_type: string | null;
|
|
15
|
+
company_category: string | null;
|
|
16
|
+
bounces_in_bs: number | null;
|
|
17
|
+
epf_in_bs: string | null;
|
|
18
|
+
name_match_with_bs: number | null;
|
|
19
|
+
is_office_residence_address_same: string | null;
|
|
20
|
+
is_pan_matched: string | null;
|
|
21
|
+
post_dbr: number | null;
|
|
22
|
+
approved_amount: number | null;
|
|
23
|
+
approved_tenure: number | null;
|
|
24
|
+
approved_rate: number | null;
|
|
25
|
+
is_based_on_dbr_ratio: string | null;
|
|
26
|
+
product_id: number | null;
|
|
27
|
+
is_new_grid: string | null;
|
|
28
|
+
is_approved_by_system: string | null;
|
|
29
|
+
color: string | null;
|
|
30
|
+
product_color: string | null;
|
|
31
|
+
create_date: Date | null;
|
|
32
|
+
update_date: Date | null;
|
|
33
|
+
karza_dob_match: number | null;
|
|
34
|
+
karza_pan_name: number | null;
|
|
35
|
+
bank_score: string | null;
|
|
36
|
+
city: number | null;
|
|
37
|
+
pincode: number | null;
|
|
38
|
+
dob: Date | null;
|
|
39
|
+
pan_number: string | null;
|
|
40
|
+
device_id: string | null;
|
|
41
|
+
phone: string | null;
|
|
42
|
+
salary_mode: number | null;
|
|
43
|
+
occupation: string | null;
|
|
44
|
+
ovd_number: string | null;
|
|
45
|
+
ovd_id: number | null;
|
|
46
|
+
email: string | null;
|
|
47
|
+
account_number: string | null;
|
|
48
|
+
ifsc_code: string | null;
|
|
49
|
+
office_email: string | null;
|
|
50
|
+
age: number | null;
|
|
51
|
+
appcount: number | null;
|
|
52
|
+
sfscore: number | null;
|
|
53
|
+
product_code: string | null;
|
|
54
|
+
bureau: string | null;
|
|
55
|
+
lid: number | null;
|
|
56
|
+
salary_date: number | null;
|
|
57
|
+
salary_new: number | null;
|
|
58
|
+
estimateSalary: string | null;
|
|
59
|
+
approvalPolicy: number | null;
|
|
60
|
+
salaryDedupe: string | null;
|
|
61
|
+
salaryDedupeCustomers: string | null;
|
|
62
|
+
bankApi: string | null;
|
|
63
|
+
salary_flag: number | null;
|
|
64
|
+
sanction_amount: number | null;
|
|
65
|
+
secure_loan: string | null;
|
|
66
|
+
all_policies: JSONValue | null;
|
|
67
|
+
tradeline: string | null;
|
|
68
|
+
approval_data: JSONValue | null;
|
|
69
|
+
credit_debit_ratio: number | null;
|
|
70
|
+
customer_segment: number | null;
|
|
71
|
+
new_customer_segment: number | null;
|
|
72
|
+
banking_required: number | null;
|
|
73
|
+
scorecard_approval_policy: number | null;
|
|
74
|
+
scorecard_offer: JSONValue | null;
|
|
75
|
+
}
|
|
76
|
+
export interface ApprovalStateCaptureModel extends ApprovalStateCaptureTable, RowDataPacket {
|
|
77
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RowDataPacket } from "mysql2";
|
|
2
|
+
export interface StNachRegistrationTable {
|
|
3
|
+
id: number;
|
|
4
|
+
vendor: number;
|
|
5
|
+
customer_id: number;
|
|
6
|
+
txn_no?: string | null;
|
|
7
|
+
status?: string | null;
|
|
8
|
+
max_amount?: number | null;
|
|
9
|
+
mandate_start_date?: string | null;
|
|
10
|
+
mandate_end_date?: string | null;
|
|
11
|
+
umrn?: string | null;
|
|
12
|
+
mandate_ref_no?: string | null;
|
|
13
|
+
acceptance_ref_no?: string | null;
|
|
14
|
+
error_code?: string | null;
|
|
15
|
+
error_msg?: string | null;
|
|
16
|
+
bank_account_id?: number | null;
|
|
17
|
+
create_date: string;
|
|
18
|
+
update_date?: string | null;
|
|
19
|
+
response_url?: string | null;
|
|
20
|
+
mode?: string | null;
|
|
21
|
+
response_body?: string | null;
|
|
22
|
+
request_body?: string | null;
|
|
23
|
+
vendor_status?: string | null;
|
|
24
|
+
bank_ifsc?: string | null;
|
|
25
|
+
customer_name?: string | null;
|
|
26
|
+
webhook_entity_id?: string | null;
|
|
27
|
+
vpa_id?: string | null;
|
|
28
|
+
external_order_id?: string | null;
|
|
29
|
+
client_id?: number | null;
|
|
30
|
+
}
|
|
31
|
+
export interface StNachRegistrationModel extends StNachRegistrationTable, RowDataPacket {
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface StPanToAadhaarLinkValidationTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id?: number;
|
|
5
|
+
aadhaar_number?: string | null;
|
|
6
|
+
e_aadhaar_number?: Buffer | null;
|
|
7
|
+
pan_number?: string | null;
|
|
8
|
+
e_pan_number?: Buffer | null;
|
|
9
|
+
matched?: boolean | null;
|
|
10
|
+
create_date?: Date;
|
|
11
|
+
raw_data?: string | null;
|
|
12
|
+
resp_code?: string | null;
|
|
13
|
+
msg?: string | null;
|
|
14
|
+
msg_type?: string | null;
|
|
15
|
+
uidaiDataMismatchFlag?: string | null;
|
|
16
|
+
isMigrated?: string | null;
|
|
17
|
+
sentFlag?: string | null;
|
|
18
|
+
resp_status?: string | null;
|
|
19
|
+
e_aadhaar_number_s?: Buffer | null;
|
|
20
|
+
e_pan_number_s?: Buffer | null;
|
|
21
|
+
}
|
|
22
|
+
export interface StPanToAadhaarLinkValidationModel extends StPanToAadhaarLinkValidationTable, RowDataPacket {
|
|
23
|
+
}
|
package/package.json
CHANGED
package/models/Banners.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from 'mysql2';
|
|
2
|
-
export type JSONPrimitive = string | number | boolean | null;
|
|
3
|
-
export type JSONValue = JSONObject | JSONArray;
|
|
4
|
-
export type JSONObject = {
|
|
5
|
-
[member: string]: JSONPrimitive;
|
|
6
|
-
};
|
|
7
|
-
export type JSONArray = Array<JSONValue>;
|
|
8
|
-
export interface BannerTable {
|
|
9
|
-
id: number;
|
|
10
|
-
name: string;
|
|
11
|
-
image_url: string;
|
|
12
|
-
web_url?: string | null;
|
|
13
|
-
landing_page?: string | null;
|
|
14
|
-
api_mode?: string | null;
|
|
15
|
-
app_version: number;
|
|
16
|
-
status: string;
|
|
17
|
-
created_at: Date;
|
|
18
|
-
updated_at: Date;
|
|
19
|
-
}
|
|
20
|
-
export interface BannerModel extends BannerTable, RowDataPacket {
|
|
21
|
-
}
|
package/models/Customerv1.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from 'mysql2';
|
|
2
|
-
export interface StCustomerDetailsTable {
|
|
3
|
-
id?: number;
|
|
4
|
-
first_name: string;
|
|
5
|
-
middle_name?: string | null;
|
|
6
|
-
last_name: string;
|
|
7
|
-
pan?: string | null;
|
|
8
|
-
dob?: string | null;
|
|
9
|
-
email?: string | null;
|
|
10
|
-
phone: string | null;
|
|
11
|
-
is_otp_done: boolean;
|
|
12
|
-
is_email_verify_done: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface StCustomerDetailsModel extends StCustomerDetailsTable, RowDataPacket {
|
|
15
|
-
}
|
|
File without changes
|
|
File without changes
|