@stashfin/mysql2 1.4.650 → 1.4.652
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/akara-growth-models/AccountDetails.d.ts +45 -0
- package/akara-growth-models/AccountDetails.js +2 -0
- package/akara-growth-models/AccountHolders.d.ts +20 -0
- package/akara-growth-models/AccountHolders.js +2 -0
- package/akara-growth-models/AccountRawDataLinks.d.ts +15 -0
- package/akara-growth-models/AccountRawDataLinks.js +2 -0
- package/akara-growth-models/ApiTrack.d.ts +14 -0
- package/akara-growth-models/ApiTrack.js +2 -0
- package/akara-growth-models/ConsentDetails.d.ts +25 -0
- package/akara-growth-models/ConsentDetails.js +2 -0
- package/akara-growth-models/Transactions.d.ts +28 -0
- package/akara-growth-models/Transactions.js +2 -0
- package/akara-growth-models/User.d.ts +11 -0
- package/akara-growth-models/User.js +2 -0
- package/akara-growth-models/Webhooks.d.ts +12 -0
- package/akara-growth-models/Webhooks.js +2 -0
- package/models/EqxUpiDeviceInfo.d.ts +27 -0
- package/models/EqxUpiDeviceInfo.js +13 -0
- package/models/EqxUpiNumbers.d.ts +1 -0
- package/models/EqxUpiProfile.d.ts +6 -6
- package/models/EqxUpiProfile.js +1 -0
- package/models/EqxUpiVpa.d.ts +21 -0
- package/models/EqxUpiVpa.js +13 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface AccountDetailsTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id: number | null;
|
|
5
|
+
link_ref_number: string | null;
|
|
6
|
+
account_number: string | null;
|
|
7
|
+
balance_date_time: Date | null;
|
|
8
|
+
branch: string | null;
|
|
9
|
+
ifsc: string | null;
|
|
10
|
+
micr_code: string | null;
|
|
11
|
+
opening_date: Date | null;
|
|
12
|
+
maturity_amount: number | null;
|
|
13
|
+
maturity_date: Date | null;
|
|
14
|
+
description: string | null;
|
|
15
|
+
interest_payout: string | null;
|
|
16
|
+
interest_rate: number | null;
|
|
17
|
+
principal_amount: number | null;
|
|
18
|
+
tenure_days: number | null;
|
|
19
|
+
tenure_months: number | null;
|
|
20
|
+
tenure_years: number | null;
|
|
21
|
+
interest_computation: string | null;
|
|
22
|
+
compounding_frequency: string | null;
|
|
23
|
+
interest_periodic_payout_amount: number | null;
|
|
24
|
+
interest_on_maturity: number | null;
|
|
25
|
+
current_value: number | null;
|
|
26
|
+
recurring_amount: number | null;
|
|
27
|
+
recurring_deposit_day: number | null;
|
|
28
|
+
transaction_start_date: Date | null;
|
|
29
|
+
transaction_end_date: Date | null;
|
|
30
|
+
bank_code: string | null;
|
|
31
|
+
current_balance: number | null;
|
|
32
|
+
currency: string | null;
|
|
33
|
+
exchange_rate: number | null;
|
|
34
|
+
type: string | null;
|
|
35
|
+
facility: string | null;
|
|
36
|
+
current_od_limit: number | null;
|
|
37
|
+
drawing_limit: number | null;
|
|
38
|
+
status: string | null;
|
|
39
|
+
pending: string | null;
|
|
40
|
+
account_type: string | null;
|
|
41
|
+
create_date: Date;
|
|
42
|
+
update_date: Date;
|
|
43
|
+
}
|
|
44
|
+
export interface AccountDetailsModel extends AccountDetailsTable, RowDataPacket {
|
|
45
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface AccountHoldersTable {
|
|
3
|
+
id?: number | null;
|
|
4
|
+
customer_id: number | null;
|
|
5
|
+
link_ref_number: string | null;
|
|
6
|
+
account_number: string | null;
|
|
7
|
+
name: string | null;
|
|
8
|
+
dob: Date | null;
|
|
9
|
+
pan: string | null;
|
|
10
|
+
mobile: string | null;
|
|
11
|
+
nominee: string | null;
|
|
12
|
+
landline: string | null;
|
|
13
|
+
address: string | null;
|
|
14
|
+
email: string | null;
|
|
15
|
+
ckyc_compliance: number | null;
|
|
16
|
+
create_date: Date;
|
|
17
|
+
update_date: Date;
|
|
18
|
+
}
|
|
19
|
+
export interface AccountHoldersModel extends AccountHoldersTable, RowDataPacket {
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface PfmAccountRawDataLinksTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
account_number: string;
|
|
6
|
+
link_ref_number: string;
|
|
7
|
+
session_id?: string;
|
|
8
|
+
from_date: Date;
|
|
9
|
+
to_date: Date;
|
|
10
|
+
s3_key?: string | null;
|
|
11
|
+
create_date?: Date;
|
|
12
|
+
update_date?: Date;
|
|
13
|
+
}
|
|
14
|
+
export interface PfmAccountRawDataLinksModel extends PfmAccountRawDataLinksTable, RowDataPacket {
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface PfmApiTrackTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
meta?: string;
|
|
6
|
+
redirect_url?: string;
|
|
7
|
+
api_type: string;
|
|
8
|
+
status?: string;
|
|
9
|
+
reference_id?: string;
|
|
10
|
+
create_date?: Date;
|
|
11
|
+
update_date?: Date;
|
|
12
|
+
}
|
|
13
|
+
export interface PfmApiTrackModel extends PfmApiTrackTable, RowDataPacket {
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface PfmConsentDetailsTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
fip_id?: string;
|
|
6
|
+
fi_type?: string;
|
|
7
|
+
account_type?: string;
|
|
8
|
+
fip_name?: string;
|
|
9
|
+
link_ref_number?: string;
|
|
10
|
+
masked_account_number?: string;
|
|
11
|
+
reference_id?: string;
|
|
12
|
+
vua_id?: string;
|
|
13
|
+
data_life?: Record<string, any>;
|
|
14
|
+
fi_data_range?: Record<string, any>;
|
|
15
|
+
purpose?: Record<string, any>;
|
|
16
|
+
consent_start_date?: Date;
|
|
17
|
+
consent_end_date?: Date;
|
|
18
|
+
consent_types?: Record<string, any>;
|
|
19
|
+
raw_data_url?: string;
|
|
20
|
+
status?: string;
|
|
21
|
+
create_date?: Date;
|
|
22
|
+
update_date?: Date;
|
|
23
|
+
}
|
|
24
|
+
export interface PfmConsentDetailsModel extends PfmConsentDetailsTable, RowDataPacket {
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface TransactionsTable {
|
|
3
|
+
id: number;
|
|
4
|
+
customer_id: number | null;
|
|
5
|
+
link_ref_number: string | null;
|
|
6
|
+
account_number: string | null;
|
|
7
|
+
unique_id: string | null;
|
|
8
|
+
reference: string | null;
|
|
9
|
+
narration: string | null;
|
|
10
|
+
counter_party: string | null;
|
|
11
|
+
payment_mode: string | null;
|
|
12
|
+
type: string | null;
|
|
13
|
+
amount: number | null;
|
|
14
|
+
balance: number | null;
|
|
15
|
+
date_of_transaction: Date | null;
|
|
16
|
+
value_date: Date | null;
|
|
17
|
+
category: string | null;
|
|
18
|
+
subcategory: string | null;
|
|
19
|
+
account: string | null;
|
|
20
|
+
merchant_name: string | null;
|
|
21
|
+
category_code: string | null;
|
|
22
|
+
merchant_logo_code: string | null;
|
|
23
|
+
linked_acc_ref: string | null;
|
|
24
|
+
recurring: number | null;
|
|
25
|
+
bank: string | null;
|
|
26
|
+
}
|
|
27
|
+
export interface TransactionsModel extends TransactionsTable, RowDataPacket {
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface UsersTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
ext_customer_id: number;
|
|
5
|
+
phone_number: number;
|
|
6
|
+
pan?: string | null;
|
|
7
|
+
create_date?: Date;
|
|
8
|
+
update_date?: Date;
|
|
9
|
+
}
|
|
10
|
+
export interface UsersModel extends UsersTable, RowDataPacket {
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface PfmWebhooksTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
webhook_type: string;
|
|
6
|
+
session_id?: string;
|
|
7
|
+
s3_url?: string | null;
|
|
8
|
+
create_date?: Date;
|
|
9
|
+
update_date?: Date;
|
|
10
|
+
}
|
|
11
|
+
export interface PfmWebhooksModel extends PfmWebhooksTable, RowDataPacket {
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RowDataPacket } from "mysql2";
|
|
2
|
+
export declare enum StatusEnum {
|
|
3
|
+
Pending = "pending",
|
|
4
|
+
Success = "success"
|
|
5
|
+
}
|
|
6
|
+
export declare enum YesNoEnum {
|
|
7
|
+
Y = "Y",
|
|
8
|
+
N = "N"
|
|
9
|
+
}
|
|
10
|
+
export interface EqxUpiDeviceInfoTable {
|
|
11
|
+
id: number;
|
|
12
|
+
customer_id: number;
|
|
13
|
+
device_id: string;
|
|
14
|
+
sim_no?: string | null;
|
|
15
|
+
sim_network?: string | null;
|
|
16
|
+
status: StatusEnum;
|
|
17
|
+
fcm_token?: string;
|
|
18
|
+
apps_flyer_id?: string;
|
|
19
|
+
platform?: string;
|
|
20
|
+
is_blocked?: YesNoEnum;
|
|
21
|
+
blocked_till?: Date;
|
|
22
|
+
is_active: YesNoEnum;
|
|
23
|
+
created_at?: Date | null;
|
|
24
|
+
updated_at?: Date | null;
|
|
25
|
+
}
|
|
26
|
+
export interface EqxUpiDeviceInfoModel extends EqxUpiDeviceInfoTable, RowDataPacket {
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.YesNoEnum = exports.StatusEnum = void 0;
|
|
4
|
+
var StatusEnum;
|
|
5
|
+
(function (StatusEnum) {
|
|
6
|
+
StatusEnum["Pending"] = "pending";
|
|
7
|
+
StatusEnum["Success"] = "success";
|
|
8
|
+
})(StatusEnum || (exports.StatusEnum = StatusEnum = {}));
|
|
9
|
+
var YesNoEnum;
|
|
10
|
+
(function (YesNoEnum) {
|
|
11
|
+
YesNoEnum["Y"] = "Y";
|
|
12
|
+
YesNoEnum["N"] = "N";
|
|
13
|
+
})(YesNoEnum || (exports.YesNoEnum = YesNoEnum = {}));
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { RowDataPacket } from "mysql2";
|
|
2
2
|
export declare enum StatusEnum {
|
|
3
3
|
Pending = "pending",
|
|
4
|
-
Success = "success"
|
|
4
|
+
Success = "success",
|
|
5
|
+
Dergistered = "deregistered"
|
|
5
6
|
}
|
|
6
7
|
export declare enum YesNoEnum {
|
|
7
8
|
Y = "Y",
|
|
@@ -10,15 +11,14 @@ export declare enum YesNoEnum {
|
|
|
10
11
|
export interface EqxUpiProfileTable {
|
|
11
12
|
id: number;
|
|
12
13
|
customer_id: number;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
profile_id?: string | null;
|
|
17
|
-
sim_network?: string | null;
|
|
14
|
+
name?: string;
|
|
15
|
+
mobile?: string;
|
|
16
|
+
email?: string;
|
|
18
17
|
status: StatusEnum;
|
|
19
18
|
is_active: YesNoEnum;
|
|
20
19
|
created_at?: Date | null;
|
|
21
20
|
updated_at?: Date | null;
|
|
21
|
+
deregistered_at?: Date;
|
|
22
22
|
}
|
|
23
23
|
export interface EqxUpiProfileModel extends EqxUpiProfileTable, RowDataPacket {
|
|
24
24
|
}
|
package/models/EqxUpiProfile.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { RowDataPacket } from "mysql2";
|
|
2
|
+
export declare enum StatusEnum {
|
|
3
|
+
Pending = "pending",
|
|
4
|
+
Success = "success"
|
|
5
|
+
}
|
|
6
|
+
export declare enum YesNoEnum {
|
|
7
|
+
Y = "Y",
|
|
8
|
+
N = "N"
|
|
9
|
+
}
|
|
10
|
+
export interface EqxUpiVpaTable {
|
|
11
|
+
id: number;
|
|
12
|
+
customer_id: number;
|
|
13
|
+
vpa: string | null;
|
|
14
|
+
profile_id?: string | null;
|
|
15
|
+
status: StatusEnum;
|
|
16
|
+
is_active: YesNoEnum;
|
|
17
|
+
created_at?: Date | null;
|
|
18
|
+
updated_at?: Date | null;
|
|
19
|
+
}
|
|
20
|
+
export interface EqxUpiVpaModel extends EqxUpiVpaTable, RowDataPacket {
|
|
21
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.YesNoEnum = exports.StatusEnum = void 0;
|
|
4
|
+
var StatusEnum;
|
|
5
|
+
(function (StatusEnum) {
|
|
6
|
+
StatusEnum["Pending"] = "pending";
|
|
7
|
+
StatusEnum["Success"] = "success";
|
|
8
|
+
})(StatusEnum || (exports.StatusEnum = StatusEnum = {}));
|
|
9
|
+
var YesNoEnum;
|
|
10
|
+
(function (YesNoEnum) {
|
|
11
|
+
YesNoEnum["Y"] = "Y";
|
|
12
|
+
YesNoEnum["N"] = "N";
|
|
13
|
+
})(YesNoEnum || (exports.YesNoEnum = YesNoEnum = {}));
|