@stashfin/mysql2 1.4.627 → 1.4.629
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/Ckyc.d.ts +151 -0
- package/package.json +1 -1
- package/models/Banners.d.ts +0 -21
- package/models/Customerv1.d.ts +0 -15
- package/models/Customerv1.js +0 -2
- /package/models/{Banners.js → Ckyc.js} +0 -0
package/models/Ckyc.d.ts
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface CKYCCustomerDetailsTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
loan_id: number;
|
|
6
|
+
request_id?: string | null;
|
|
7
|
+
request_status?: string | null;
|
|
8
|
+
transaction_id?: number | null;
|
|
9
|
+
transaction_status?: string | null;
|
|
10
|
+
transaction_rejection_status?: string | null;
|
|
11
|
+
ckyc_available?: string | null;
|
|
12
|
+
ckyc_account_number?: string | null;
|
|
13
|
+
ckyc_id?: string | null;
|
|
14
|
+
ckyc_age?: number | null;
|
|
15
|
+
ckyc_father_name?: string | null;
|
|
16
|
+
ckyc_gen_date?: string | Date | null;
|
|
17
|
+
ckyc_name?: string | null;
|
|
18
|
+
ckyc_request_date?: string | null;
|
|
19
|
+
ckyc_update_date?: string | null;
|
|
20
|
+
ckyc_availableid_type?: string | null;
|
|
21
|
+
ckyc_availableid_type_status?: string | null;
|
|
22
|
+
ckyc_reference_id?: string | null;
|
|
23
|
+
create_date?: string | Date;
|
|
24
|
+
update_date?: string | Date;
|
|
25
|
+
}
|
|
26
|
+
export interface CKYCCustomerDetailsModel extends CKYCCustomerDetailsTable, RowDataPacket {
|
|
27
|
+
}
|
|
28
|
+
export interface CKYCCustomerDownloadTable {
|
|
29
|
+
id?: number;
|
|
30
|
+
customer_id: number;
|
|
31
|
+
loan_id: number;
|
|
32
|
+
request_id?: string | null;
|
|
33
|
+
request_status?: string | null;
|
|
34
|
+
transaction_id?: string | null;
|
|
35
|
+
transaction_status?: string | null;
|
|
36
|
+
ckyc_consti_type?: number | null;
|
|
37
|
+
ckyc_acc_type?: string | null;
|
|
38
|
+
ckyc_number?: string | null;
|
|
39
|
+
ckyc_name_prefix?: string | null;
|
|
40
|
+
ckyc_first_name?: string | null;
|
|
41
|
+
ckyc_middle_name?: string | null;
|
|
42
|
+
ckyc_last_name?: string | null;
|
|
43
|
+
ckyc_full_name?: string | null;
|
|
44
|
+
ckyc_father_name_prefix?: string | null;
|
|
45
|
+
ckyc_father_first_name?: string | null;
|
|
46
|
+
ckyc_father_middle_name?: string | null;
|
|
47
|
+
ckyc_father_last_name?: string | null;
|
|
48
|
+
ckyc_father_full_name?: string | null;
|
|
49
|
+
ckyc_gender?: string | null;
|
|
50
|
+
ckyc_dob?: string | null;
|
|
51
|
+
ckyc_pan?: string | null;
|
|
52
|
+
ckyc_phone?: string | null;
|
|
53
|
+
ckyc_email?: string | null;
|
|
54
|
+
ckyc_permanant_add1?: string | null;
|
|
55
|
+
ckyc_permanant_city?: string | null;
|
|
56
|
+
ckyc_permanant_add_district?: string | null;
|
|
57
|
+
ckyc_permanant_state?: string | null;
|
|
58
|
+
ckyc_permanant_country?: string | null;
|
|
59
|
+
ckyc_permanant_pin?: string | null;
|
|
60
|
+
ckyc_permanant_poa?: string | null;
|
|
61
|
+
ckyc_per_same_cor_address?: string | null;
|
|
62
|
+
ckyc_cor_add1?: string | null;
|
|
63
|
+
ckyc_cor_city?: string | null;
|
|
64
|
+
ckyc_cor_add_district?: string | null;
|
|
65
|
+
ckyc_cor_state?: string | null;
|
|
66
|
+
ckyc_cor_country?: string | null;
|
|
67
|
+
ckyc_cor_pin?: string | null;
|
|
68
|
+
ckyc_cor_poa?: string | null;
|
|
69
|
+
ckyc_place_of_declaration?: string | null;
|
|
70
|
+
ckyc_passport?: string | null;
|
|
71
|
+
ckyc_voter_id?: string | null;
|
|
72
|
+
ckyc_pan_number?: string | null;
|
|
73
|
+
ckyc_driving_license?: string | null;
|
|
74
|
+
ckyc_aadhar_uid?: string | null;
|
|
75
|
+
ckyc_nrega_job_card?: string | null;
|
|
76
|
+
ckyc_nprl_letter?: string | null;
|
|
77
|
+
ckyc_eckyc_auth?: string | null;
|
|
78
|
+
ckyc_offline_verificatin_adh?: string | null;
|
|
79
|
+
ckyc_identifier?: string | null;
|
|
80
|
+
ckyc_id_doc?: string | null;
|
|
81
|
+
ckyc_pan_doc?: string | null;
|
|
82
|
+
ckyc_passport_doc?: string | null;
|
|
83
|
+
ckyc_dl_doc?: string | null;
|
|
84
|
+
ckyc_voter_id_doc?: string | null;
|
|
85
|
+
ckyc_nrega_doc?: string | null;
|
|
86
|
+
ckyc_nprl_doc?: string | null;
|
|
87
|
+
ckyc_ekycauthentication_doc?: string | null;
|
|
88
|
+
ckyc_offline_verification_aadaahr_doc?: string | null;
|
|
89
|
+
ckyc_ration_card_doc?: string | null;
|
|
90
|
+
ckyc_utility_bill_doc?: string | null;
|
|
91
|
+
ckyc_property_tax_doc?: string | null;
|
|
92
|
+
ckyc_bs_doc?: string | null;
|
|
93
|
+
ckyc_pension_doc?: string | null;
|
|
94
|
+
ckyc_emphouse_letter_doc?: string | null;
|
|
95
|
+
ckyc_foreign_embasay_doc?: string | null;
|
|
96
|
+
ckyc_other_poac_kyc_doc?: string | null;
|
|
97
|
+
ckyc_photograph_doc?: string | null;
|
|
98
|
+
ckyc_ekycauth_doc?: string | null;
|
|
99
|
+
ckyc_update_date?: Date | string | null;
|
|
100
|
+
create_date?: Date | string;
|
|
101
|
+
update_date?: Date | string;
|
|
102
|
+
}
|
|
103
|
+
export interface CKYCCustomerDownloadModel extends CKYCCustomerDownloadTable, RowDataPacket {
|
|
104
|
+
}
|
|
105
|
+
export interface CustomerDocumentTable {
|
|
106
|
+
id?: number;
|
|
107
|
+
user_id?: number;
|
|
108
|
+
pan_proof?: string | null;
|
|
109
|
+
id_proof?: string | null;
|
|
110
|
+
address_proof?: string | null;
|
|
111
|
+
employee_id?: string | null;
|
|
112
|
+
salary_slip1?: string | null;
|
|
113
|
+
salary_slip2?: string | null;
|
|
114
|
+
salary_slip3?: string | null;
|
|
115
|
+
address_proof_id?: number | null;
|
|
116
|
+
id_proof_id?: number | null;
|
|
117
|
+
office_id?: string | null;
|
|
118
|
+
additional_income?: string | null;
|
|
119
|
+
create_date?: Date | string | null;
|
|
120
|
+
update_date?: Date | string | null;
|
|
121
|
+
status?: number | null;
|
|
122
|
+
add_user_id?: number | null;
|
|
123
|
+
update_user_id?: number | null;
|
|
124
|
+
move_to_s3?: number;
|
|
125
|
+
signature?: string | null;
|
|
126
|
+
signature_original?: string | null;
|
|
127
|
+
dcb_form?: string | null;
|
|
128
|
+
nach_form?: string | null;
|
|
129
|
+
unlinked?: number;
|
|
130
|
+
loan_agreement?: string | null;
|
|
131
|
+
pan_status?: number;
|
|
132
|
+
id_proof_status?: number;
|
|
133
|
+
address_status?: number;
|
|
134
|
+
common_approve_status?: number;
|
|
135
|
+
Registration_self_certificate?: string | null;
|
|
136
|
+
Registration_self_certificate_id?: number | null;
|
|
137
|
+
income_tax_return?: string | null;
|
|
138
|
+
income_tax_return_id?: number | null;
|
|
139
|
+
itr?: string | null;
|
|
140
|
+
gst?: string | null;
|
|
141
|
+
application_form_coapplicant?: string | null;
|
|
142
|
+
aadhaar_front_masked?: string | null;
|
|
143
|
+
application_form?: string | null;
|
|
144
|
+
income_tax_return2?: string | null;
|
|
145
|
+
income_tax_return2_id?: number | null;
|
|
146
|
+
aadhaar_back_masked?: string | null;
|
|
147
|
+
other_address_proof?: string | null;
|
|
148
|
+
cfaf_form?: string | null;
|
|
149
|
+
}
|
|
150
|
+
export interface CustomerDocumentModel extends CustomerDocumentTable, RowDataPacket {
|
|
151
|
+
}
|
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
|
-
}
|
package/models/Customerv1.js
DELETED
|
File without changes
|