@stashfin/mysql2 1.4.49 → 1.4.51
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/Customer.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export interface DemographicsTable {
|
|
|
103
103
|
nsdl_dob?: Date | null;
|
|
104
104
|
state?: string | null;
|
|
105
105
|
avg_salary?: number | null;
|
|
106
|
+
suspended_apps?: number | null;
|
|
106
107
|
}
|
|
107
108
|
export interface CustomerBanksTable {
|
|
108
109
|
id?: number;
|
|
@@ -188,6 +189,11 @@ export interface CustomerRCProfile {
|
|
|
188
189
|
createdAt?: Date;
|
|
189
190
|
updatedAt?: Date;
|
|
190
191
|
}
|
|
192
|
+
export interface SuspendedAppsTable {
|
|
193
|
+
id?: number;
|
|
194
|
+
app_id: string;
|
|
195
|
+
app_name: string;
|
|
196
|
+
}
|
|
191
197
|
export interface CustomerModel extends CustomerTable, RowDataPacket {
|
|
192
198
|
}
|
|
193
199
|
export interface CustomerBanksModel extends CustomerBanksTable, RowDataPacket {
|
|
@@ -208,3 +214,5 @@ export interface CustomerContactsModel extends CustomerContactsTable, RowDataPac
|
|
|
208
214
|
}
|
|
209
215
|
export interface CustomerRCProfileModel extends CustomerRCProfile, RowDataPacket {
|
|
210
216
|
}
|
|
217
|
+
export interface SuspendedAppsModel extends SuspendedAppsTable, RowDataPacket {
|
|
218
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface PaymentAllocationTable {
|
|
3
|
+
id?: number | null;
|
|
4
|
+
payment_id: number | null;
|
|
5
|
+
loan_id: number | null;
|
|
6
|
+
installment_id: number | null;
|
|
7
|
+
amount: number | null;
|
|
8
|
+
principal: number | null;
|
|
9
|
+
interest: number | null;
|
|
10
|
+
penalty: number | null;
|
|
11
|
+
pif_principal: number | null;
|
|
12
|
+
pif_interest: number | null;
|
|
13
|
+
pif_penalty: number | null;
|
|
14
|
+
created_at?: Date | null;
|
|
15
|
+
/** Defaults to: CURRENT_TIMESTAMP. */
|
|
16
|
+
updated_at?: Date | null;
|
|
17
|
+
/** Defaults to: 1. */
|
|
18
|
+
is_active?: number | null;
|
|
19
|
+
/** Defaults to: 0. */
|
|
20
|
+
is_deleted?: number | null;
|
|
21
|
+
}
|
|
22
|
+
export interface PaymentAllocationModel extends PaymentAllocationTable, RowDataPacket {
|
|
23
|
+
}
|