@stashfin/mysql2 1.4.598 → 1.4.600

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.
@@ -1,10 +1,11 @@
1
1
  import { RowDataPacket } from 'mysql2';
2
2
  export interface BankIfscTable {
3
- id?: number | null;
4
- bank?: string | null;
5
- ifsc?: string | null;
6
- micr?: string | null;
7
- branch_address?: string | null;
3
+ id: number;
4
+ bank: string;
5
+ ifsc: string;
6
+ micr?: string;
7
+ bank_id?: number;
8
+ branch_address?: string;
8
9
  }
9
10
  export interface BankIfscModel extends BankIfscTable, RowDataPacket {
10
11
  }
@@ -0,0 +1,21 @@
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
+ }
@@ -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 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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
1
  import { RowDataPacket } from 'mysql2';
2
- interface DisbursalSheetTable {
2
+ export interface DisbursalSheetTable {
3
3
  id: number;
4
- customer_id?: number;
4
+ customer_id: number;
5
5
  loan_id?: number;
6
6
  loan_type?: string;
7
7
  city_id?: string;
@@ -78,4 +78,3 @@ interface DisbursalSheetTable {
78
78
  }
79
79
  export interface DisbursalSheetModel extends DisbursalSheetTable, RowDataPacket {
80
80
  }
81
- export {};
@@ -0,0 +1,15 @@
1
+ import { RowDataPacket } from "mysql2";
2
+ export interface LocLanderMixTable {
3
+ id?: number;
4
+ customer_id?: number | null;
5
+ loc_id?: number | null;
6
+ lander_id?: number | null;
7
+ rate_of_interest?: number | null;
8
+ percentage_contribution?: number | null;
9
+ status?: number | null;
10
+ admin_id?: number | null;
11
+ create_date?: string | null;
12
+ update_date?: string | null;
13
+ }
14
+ export interface LocLanderMixModel extends LocLanderMixTable, RowDataPacket {
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import { RowDataPacket } from "mysql2";
2
+ export interface TransactionTable {
3
+ id: number;
4
+ customer_id: number;
5
+ txn_id: string;
6
+ order_id?: string;
7
+ amount?: number | null;
8
+ mode?: number;
9
+ status: number;
10
+ processor: string;
11
+ notes?: Record<string, any>;
12
+ created_date?: string;
13
+ updated_date?: string | null;
14
+ }
15
+ export interface TransactionModel extends TransactionTable, RowDataPacket {
16
+ }
@@ -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.598",
3
+ "version": "1.4.600",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",