@stashfin/mysql2 1.4.24 → 1.4.26
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.
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface CustomerParams {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export type CustomerParamsArray = CustomerParams[];
|
|
7
|
+
export interface BBPSCustomerBillProviderTable {
|
|
8
|
+
id: number;
|
|
9
|
+
customer_id: number;
|
|
10
|
+
biller_id: string;
|
|
11
|
+
utility_id: number;
|
|
12
|
+
utility_name: string;
|
|
13
|
+
provider_name: string;
|
|
14
|
+
provider_logo: string;
|
|
15
|
+
customer_name: string;
|
|
16
|
+
account_no: number;
|
|
17
|
+
bill_amount: number;
|
|
18
|
+
bill_number: string;
|
|
19
|
+
customer_params: CustomerParamsArray;
|
|
20
|
+
bill_date: Date;
|
|
21
|
+
}
|
|
22
|
+
export interface BBPSCustomerBillProviderModel extends BBPSCustomerBillProviderTable, RowDataPacket {
|
|
23
|
+
}
|
package/models/Customer.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export interface DemographicsTable {
|
|
|
84
84
|
salary_mode?: string | null;
|
|
85
85
|
selfie_url?: string | null;
|
|
86
86
|
kyc_type?: string | null;
|
|
87
|
+
emi_date?: Date | null;
|
|
87
88
|
phone_matched?: number | null;
|
|
88
89
|
dob_matched?: number | null;
|
|
89
90
|
/** Defaults to: CURRENT_TIMESTAMP. */
|
|
@@ -117,10 +118,21 @@ export interface CustomerReferenceTable {
|
|
|
117
118
|
pincode: string;
|
|
118
119
|
created_at?: Date | null;
|
|
119
120
|
}
|
|
121
|
+
export interface CustomerDocumentsTable {
|
|
122
|
+
id?: number;
|
|
123
|
+
customer_id?: number | null;
|
|
124
|
+
pan_url?: string | null;
|
|
125
|
+
aadhaar_url?: string | null;
|
|
126
|
+
address_proof_url?: string | null;
|
|
127
|
+
created_at?: Date | null;
|
|
128
|
+
updated_at?: Date | null;
|
|
129
|
+
}
|
|
120
130
|
export interface CustomerModel extends CustomerTable, RowDataPacket {
|
|
121
131
|
}
|
|
122
132
|
export interface CustomerBanksModel extends CustomerBanksTable, RowDataPacket {
|
|
123
133
|
}
|
|
134
|
+
export interface CustomerDocumentsModel extends CustomerDocumentsTable, RowDataPacket {
|
|
135
|
+
}
|
|
124
136
|
export interface DemographicsModel extends DemographicsTable, RowDataPacket {
|
|
125
137
|
}
|
|
126
138
|
export interface CustomerReferenceModel extends CustomerReferenceTable, RowDataPacket {
|