@stashfin/mysql2 1.4.614 → 1.4.616
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/EqxCustomerTokens.d.ts +1 -1
- package/models/Offer.d.ts +1 -1
- package/models/StCkycCustomerDetails.d.ts +29 -0
- package/models/WealthTransactions.d.ts +15 -4
- 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/EQXCustomerModels.d.ts +0 -24
- package/models/EQXCustomerModels.js +0 -2
- /package/models/{Banners.js → StCkycCustomerDetails.js} +0 -0
package/models/Offer.d.ts
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface StCkycCustomerDetailsTable {
|
|
3
|
+
id: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
loan_id?: number;
|
|
6
|
+
request_id?: string;
|
|
7
|
+
request_status?: string;
|
|
8
|
+
transaction_id?: string;
|
|
9
|
+
transaction_status?: string;
|
|
10
|
+
transaction_rejection_status?: string;
|
|
11
|
+
ckyc_available?: string;
|
|
12
|
+
ckyc_account_number?: string;
|
|
13
|
+
ckyc_id?: string;
|
|
14
|
+
e_ckyc_id?: string;
|
|
15
|
+
ckyc_age?: string;
|
|
16
|
+
ckyc_father_name?: string;
|
|
17
|
+
ckyc_gen_date?: Date;
|
|
18
|
+
ckyc_name?: string;
|
|
19
|
+
ckyc_request_date?: string;
|
|
20
|
+
ckyc_update_date?: string;
|
|
21
|
+
ckyc_availableid_type?: string;
|
|
22
|
+
ckyc_availableid_type_status?: string;
|
|
23
|
+
create_date?: Date;
|
|
24
|
+
update_date?: Date;
|
|
25
|
+
e_ckyc_id_s?: string;
|
|
26
|
+
ckyc_reference_id?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface StCkycCustomerDetailsModel extends StCkycCustomerDetailsTable, RowDataPacket {
|
|
29
|
+
}
|
|
@@ -12,13 +12,24 @@ export interface WealthTransactionTable {
|
|
|
12
12
|
updated_at?: Date;
|
|
13
13
|
is_deleted?: number;
|
|
14
14
|
is_active?: number;
|
|
15
|
+
cashback_transaction_id?: number;
|
|
16
|
+
cashback_amount?: number;
|
|
17
|
+
cashback_status?: string;
|
|
15
18
|
}
|
|
16
|
-
export interface
|
|
17
|
-
id
|
|
19
|
+
export interface EarningsTable {
|
|
20
|
+
id?: number;
|
|
18
21
|
earnings: number;
|
|
19
22
|
customer_id: number;
|
|
23
|
+
type: string;
|
|
24
|
+
offer_id: number;
|
|
25
|
+
offer_name: string;
|
|
26
|
+
status?: string;
|
|
27
|
+
is_deleted?: boolean;
|
|
28
|
+
is_active?: boolean;
|
|
29
|
+
created_at?: string;
|
|
30
|
+
updated_at?: string;
|
|
20
31
|
}
|
|
21
|
-
export interface
|
|
32
|
+
export interface EarningsModel extends EarningsTable, RowDataPacket {
|
|
22
33
|
}
|
|
23
|
-
export interface
|
|
34
|
+
export interface WealthTransactionModel extends WealthTransactionTable, RowDataPacket {
|
|
24
35
|
}
|
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
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from "mysql2";
|
|
2
|
-
interface EqxCustomersTable {
|
|
3
|
-
id: number;
|
|
4
|
-
mobile: string;
|
|
5
|
-
first_name?: string;
|
|
6
|
-
last_name?: string;
|
|
7
|
-
upi_number?: string;
|
|
8
|
-
upi_onboarding_status?: boolean;
|
|
9
|
-
device_id?: string;
|
|
10
|
-
push_id?: string;
|
|
11
|
-
login_ip?: string;
|
|
12
|
-
vpa?: string;
|
|
13
|
-
referral_code?: string;
|
|
14
|
-
token?: string;
|
|
15
|
-
email?: string;
|
|
16
|
-
biometric_enabled?: boolean;
|
|
17
|
-
status?: string;
|
|
18
|
-
is_deleted?: boolean;
|
|
19
|
-
created_at?: Date;
|
|
20
|
-
updated_at?: Date;
|
|
21
|
-
}
|
|
22
|
-
export interface EqxCustomerModel extends EqxCustomersTable, RowDataPacket {
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
File without changes
|