@stashfin/mysql2 1.4.650 → 1.4.651

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,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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
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 {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
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 DeviceBindingTable {
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
+ is_active: YesNoEnum;
18
+ created_at?: Date | null;
19
+ updated_at?: Date | null;
20
+ }
21
+ export interface DeviceBindingModel extends DeviceBindingTable, RowDataPacket {
22
+ }
@@ -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 = {}));
@@ -0,0 +1,33 @@
1
+ import { RowDataPacket } from 'mysql2';
2
+ interface Offers {
3
+ id: number;
4
+ title: string;
5
+ description: string;
6
+ offer_code: string;
7
+ category_id: number;
8
+ total_limit: number;
9
+ user_daily_limit: number;
10
+ user_weekly_limit: number;
11
+ user_monthly_limit: number;
12
+ backup_offer_id: number | null;
13
+ tier: number | null;
14
+ reward_type_id: number;
15
+ reward_nature: string;
16
+ min_value: number;
17
+ max_value: number;
18
+ probability: JSON;
19
+ created_at: Date;
20
+ updated_at: Date;
21
+ }
22
+ interface OfferCodeUsage {
23
+ id: number;
24
+ offer_id: number;
25
+ user_id: number;
26
+ created_at: Date;
27
+ updated_at: Date;
28
+ }
29
+ export interface OffersModel extends Offers, RowDataPacket {
30
+ }
31
+ export interface OfferCodeUsageModel extends OfferCodeUsage, RowDataPacket {
32
+ }
33
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ import { RowDataPacket } from 'mysql2';
2
+ export interface WealthWebhookTable {
3
+ id?: number;
4
+ customer_id?: number;
5
+ gateway_id?: string;
6
+ event_type?: string;
7
+ event_property?: string;
8
+ event_status?: string;
9
+ webhook_data?: string;
10
+ created_at?: Date;
11
+ updated_at?: Date;
12
+ }
13
+ export interface WealthWebhookModel extends WealthWebhookTable, RowDataPacket {
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.650",
3
+ "version": "1.4.651",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",