@stashfin/mysql2 1.4.42 → 1.4.44
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/Bureau.d.ts +16 -17
- package/models/Customer.d.ts +8 -0
- package/package.json +1 -1
package/models/Bureau.d.ts
CHANGED
|
@@ -3,11 +3,10 @@ export interface genericInter {
|
|
|
3
3
|
[key: string]: string | number | JSON | undefined | Date | null | boolean;
|
|
4
4
|
}
|
|
5
5
|
export interface BureauReportTable {
|
|
6
|
-
id
|
|
6
|
+
id?: number;
|
|
7
7
|
customer_id: number;
|
|
8
8
|
score?: number;
|
|
9
9
|
bureau_id?: number;
|
|
10
|
-
status?: string;
|
|
11
10
|
product_code?: string;
|
|
12
11
|
member_reference_no?: string;
|
|
13
12
|
enquiry_control_no?: string;
|
|
@@ -20,8 +19,8 @@ export interface BureauReportTable {
|
|
|
20
19
|
occupation?: string;
|
|
21
20
|
income?: number;
|
|
22
21
|
extra_params?: JSON;
|
|
23
|
-
created_at?: Date
|
|
24
|
-
updated_at?: Date
|
|
22
|
+
created_at?: Date;
|
|
23
|
+
updated_at?: Date;
|
|
25
24
|
is_active?: boolean;
|
|
26
25
|
is_deleted?: boolean;
|
|
27
26
|
}
|
|
@@ -36,8 +35,8 @@ export interface BureauAccountTypeTable {
|
|
|
36
35
|
account_type_code_cibil?: string;
|
|
37
36
|
sf_account_type?: string;
|
|
38
37
|
account_type_crif?: string;
|
|
39
|
-
created_at?: Date
|
|
40
|
-
updated_at?: Date
|
|
38
|
+
created_at?: Date;
|
|
39
|
+
updated_at?: Date;
|
|
41
40
|
is_active?: boolean;
|
|
42
41
|
is_deleted?: boolean;
|
|
43
42
|
}
|
|
@@ -51,12 +50,12 @@ export interface BureauDemogsTable extends genericInter {
|
|
|
51
50
|
extra_params?: JSON;
|
|
52
51
|
pin_code?: number;
|
|
53
52
|
city?: number;
|
|
54
|
-
created_at?: Date
|
|
55
|
-
updated_at?: Date
|
|
53
|
+
created_at?: Date;
|
|
54
|
+
updated_at?: Date;
|
|
56
55
|
is_active?: boolean;
|
|
57
56
|
is_deleted?: boolean;
|
|
58
57
|
}
|
|
59
|
-
export interface BureauAccountListTable
|
|
58
|
+
export interface BureauAccountListTable {
|
|
60
59
|
id?: number;
|
|
61
60
|
report_id?: number;
|
|
62
61
|
account_type?: number;
|
|
@@ -73,13 +72,13 @@ export interface BureauAccountListTable extends genericInter {
|
|
|
73
72
|
settled_status?: string;
|
|
74
73
|
credit_limit?: number;
|
|
75
74
|
emi_amount?: number;
|
|
76
|
-
create_date?: Date;
|
|
77
75
|
account_status?: number;
|
|
78
76
|
extra_params?: JSON;
|
|
79
|
-
created_at?: Date
|
|
80
|
-
updated_at?: Date
|
|
77
|
+
created_at?: Date;
|
|
78
|
+
updated_at?: Date;
|
|
81
79
|
is_active?: boolean;
|
|
82
80
|
is_deleted?: boolean;
|
|
81
|
+
account_history: BureauAccountHistoryTable[];
|
|
83
82
|
}
|
|
84
83
|
export interface BureauAccountHistoryTable extends genericInter {
|
|
85
84
|
id?: number;
|
|
@@ -89,21 +88,21 @@ export interface BureauAccountHistoryTable extends genericInter {
|
|
|
89
88
|
month_number?: number;
|
|
90
89
|
dpd_char?: string;
|
|
91
90
|
dpd?: number;
|
|
92
|
-
create_date?: Date;
|
|
93
91
|
extra_params?: JSON;
|
|
94
|
-
created_at?: Date
|
|
95
|
-
updated_at?: Date
|
|
92
|
+
created_at?: Date;
|
|
93
|
+
updated_at?: Date;
|
|
96
94
|
is_active?: boolean;
|
|
97
95
|
is_deleted?: boolean;
|
|
98
96
|
}
|
|
99
97
|
export interface BureauEnquiryTable extends genericInter {
|
|
98
|
+
id?: number;
|
|
100
99
|
report_id?: number;
|
|
101
100
|
date_reported?: Date;
|
|
102
101
|
enquiry_purpose?: number;
|
|
103
102
|
reporting_member?: string;
|
|
104
103
|
extra_params?: JSON;
|
|
105
|
-
created_at?: Date
|
|
106
|
-
updated_at?: Date
|
|
104
|
+
created_at?: Date;
|
|
105
|
+
updated_at?: Date;
|
|
107
106
|
is_active?: boolean;
|
|
108
107
|
is_deleted?: boolean;
|
|
109
108
|
}
|
package/models/Customer.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export interface CustomerTable {
|
|
|
38
38
|
loc_limit?: number | null;
|
|
39
39
|
/** Defaults to: active. */
|
|
40
40
|
status?: 'active' | 'inactive' | null;
|
|
41
|
+
loc_disabled?: boolean;
|
|
41
42
|
source?: string | null;
|
|
42
43
|
tnc_version?: string | null;
|
|
43
44
|
login_date?: Date | null;
|
|
@@ -168,6 +169,11 @@ export interface SuspendedCustomer {
|
|
|
168
169
|
created_at?: Date;
|
|
169
170
|
updated_at?: Date;
|
|
170
171
|
}
|
|
172
|
+
export interface CustomerContactsTable {
|
|
173
|
+
id?: number;
|
|
174
|
+
customer_id: bigint;
|
|
175
|
+
mobile: string;
|
|
176
|
+
}
|
|
171
177
|
export interface CustomerModel extends CustomerTable, RowDataPacket {
|
|
172
178
|
}
|
|
173
179
|
export interface CustomerBanksModel extends CustomerBanksTable, RowDataPacket {
|
|
@@ -184,3 +190,5 @@ export interface UsersAppModel extends UsersApp, RowDataPacket {
|
|
|
184
190
|
}
|
|
185
191
|
export interface SuspendedCustomerModel extends SuspendedCustomer, RowDataPacket {
|
|
186
192
|
}
|
|
193
|
+
export interface CustomerContactsModel extends CustomerContactsTable, RowDataPacket {
|
|
194
|
+
}
|