@stashfin/mysql2 1.4.72 → 1.4.74

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.
@@ -8,6 +8,7 @@ export type JSONArray = Array<JSONValue>;
8
8
  export interface CustomerTable {
9
9
  id: number;
10
10
  mobile: string;
11
+ phone: string;
11
12
  email?: string | null;
12
13
  first_name?: string | null;
13
14
  middle_name?: string | null;
@@ -1,8 +1,8 @@
1
1
  import { RowDataPacket } from 'mysql2';
2
2
  export interface UserKYCBankTable {
3
3
  customer_id: number;
4
- account_no: number;
5
- ifsc_code: number;
4
+ account_no: string;
5
+ ifsc_code: string;
6
6
  }
7
- export interface UserKYCBankModel extends RowDataPacket {
7
+ export interface UserKYCBankModel extends UserKYCBankTable, RowDataPacket {
8
8
  }
@@ -1,14 +1,17 @@
1
1
  import { RowDataPacket } from 'mysql2';
2
2
  export interface KYCPanTable {
3
- pan_numeber: number;
4
- customer_id: number;
5
- is_active: number;
3
+ pan_number: string;
4
+ father_name: string;
5
+ dob: string;
6
+ first_name: string;
7
+ middle_name: string;
8
+ last_name: string;
6
9
  }
7
10
  export interface KYCPanFileTable {
8
11
  pan_proof: string;
9
12
  user_id: number;
10
13
  }
11
- export interface KYCPanModel extends RowDataPacket {
14
+ export interface KYCPanModel extends KYCPanTable, RowDataPacket {
12
15
  }
13
- export interface KYCPanFileModel extends RowDataPacket {
16
+ export interface KYCPanFileModel extends KYCPanFileTable, RowDataPacket {
14
17
  }
@@ -1,6 +1,11 @@
1
1
  import { RowDataPacket } from 'mysql2';
2
2
  export interface WealthUserTable {
3
3
  customer_id: number;
4
+ first_name: string;
5
+ last_name: string;
6
+ email: string;
7
+ phone: string;
8
+ grip_user_kyc_status?: string;
4
9
  user_external_id: string;
5
10
  gateway_id: string;
6
11
  grip_user_auth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.72",
3
+ "version": "1.4.74",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",