@stashfin/mysql2 1.4.611 → 1.4.613

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,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 });
@@ -14,6 +14,7 @@ export interface MetaData {
14
14
  eligibility: string[];
15
15
  tnc: string[];
16
16
  minimun_investment: string;
17
+ process: string[];
17
18
  }
18
19
  export interface Stat {
19
20
  count: number;
@@ -7,6 +7,15 @@ export interface CustomerBankDetailsTable {
7
7
  ifsc_code: string;
8
8
  create_date: Date;
9
9
  customer_name: string;
10
+ meta_data: MetaData;
11
+ }
12
+ interface MetaData {
13
+ request: string;
14
+ response: string;
15
+ resp_status: string;
16
+ bank_service: string;
17
+ pd_attempt: number;
10
18
  }
11
19
  export interface CustomerBankDetailsModel extends CustomerBankDetailsTable, RowDataPacket {
12
20
  }
21
+ export {};
@@ -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 });
package/models/Offer.d.ts CHANGED
@@ -30,6 +30,7 @@ export interface OfferTable {
30
30
  created_at: Date | string;
31
31
  updated_at: Date | string;
32
32
  created_by: string | Date;
33
+ offer_code?: string;
33
34
  }
34
35
  export interface OfferModel extends OfferTable, RowDataPacket {
35
36
  }
@@ -83,6 +83,7 @@ export interface StCustomerDetailTable {
83
83
  e_pan_number_s?: Buffer | null;
84
84
  e_aadhar_number_s?: Buffer | null;
85
85
  e_ovd_number_s?: Buffer | null;
86
+ is_pan_rejected?: boolean | null;
86
87
  }
87
88
  export interface StCustomerDetailModel extends StCustomerDetailTable, RowDataPacket {
88
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.611",
3
+ "version": "1.4.613",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",