@stashfin/mysql2 1.4.50 → 1.4.52
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
|
@@ -189,6 +189,11 @@ export interface CustomerRCProfile {
|
|
|
189
189
|
createdAt?: Date;
|
|
190
190
|
updatedAt?: Date;
|
|
191
191
|
}
|
|
192
|
+
export interface SuspendedAppsTable {
|
|
193
|
+
id?: number;
|
|
194
|
+
app_id: string;
|
|
195
|
+
app_name: string;
|
|
196
|
+
}
|
|
192
197
|
export interface CustomerModel extends CustomerTable, RowDataPacket {
|
|
193
198
|
}
|
|
194
199
|
export interface CustomerBanksModel extends CustomerBanksTable, RowDataPacket {
|
|
@@ -209,3 +214,5 @@ export interface CustomerContactsModel extends CustomerContactsTable, RowDataPac
|
|
|
209
214
|
}
|
|
210
215
|
export interface CustomerRCProfileModel extends CustomerRCProfile, RowDataPacket {
|
|
211
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
|
+
}
|
package/models/WealthUser.d.ts
CHANGED
|
@@ -13,11 +13,15 @@ export interface WealthTransactionTable {
|
|
|
13
13
|
id?: number;
|
|
14
14
|
customer_id: number;
|
|
15
15
|
gateway: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
rrn?: string;
|
|
17
|
+
user_external_id?: string;
|
|
18
|
+
amount?: number;
|
|
19
19
|
kyc_status?: 'pending' | 'rejected' | 'completed';
|
|
20
|
-
|
|
20
|
+
kyc_stage?: string;
|
|
21
|
+
created_at?: Date;
|
|
22
|
+
updated_at?: Date;
|
|
23
|
+
is_deleted?: boolean;
|
|
24
|
+
is_active?: boolean;
|
|
21
25
|
}
|
|
22
26
|
export interface WealthEarningTable {
|
|
23
27
|
id: number;
|