@stashfin/mysql2 1.4.603 → 1.4.605

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 });
@@ -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 });
@@ -18,6 +18,9 @@ interface EqxCustomersTable {
18
18
  auth_token?: string | null;
19
19
  refresh_token?: string | null;
20
20
  profile_id?: number | null;
21
+ dob?: Date | null;
22
+ pin_code?: string | null;
23
+ pan_number?: string | null;
21
24
  vpa?: string | null;
22
25
  biometric_enabled: YesNoEnum;
23
26
  tnc_accepted: YesNoEnum;
package/models/Offer.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { RowDataPacket } from "mysql2";
2
- import { MetaData, Rules, Stat } from "./Common";
1
+ import { RowDataPacket } from 'mysql2';
2
+ import { MetaData, Rules, Stat } from './Common';
3
3
  export interface OfferTable {
4
4
  id: number;
5
5
  title: string;
@@ -20,14 +20,14 @@ export interface OfferTable {
20
20
  is_active: boolean;
21
21
  deleted: boolean;
22
22
  csv_segment: number;
23
- sc_expiry: Date;
24
- expiry: Date;
23
+ sc_expiry: Date | string;
24
+ expiry: Date | string;
25
25
  rules: Rules;
26
26
  metaData: MetaData;
27
27
  stats: Stat;
28
- created_at: Date;
29
- updated_at: Date;
30
- created_by: string;
28
+ created_at: Date | string;
29
+ updated_at: Date | string;
30
+ created_by: string | Date;
31
31
  }
32
32
  export interface OfferModel extends OfferTable, RowDataPacket {
33
33
  }
@@ -0,0 +1,14 @@
1
+ import { RowDataPacket } from 'mysql2';
2
+ export interface PerfiosAccountModel {
3
+ id: number;
4
+ customer_id: number;
5
+ loan_id?: number;
6
+ bank: string;
7
+ instId?: number;
8
+ accountNo: string;
9
+ accountType: string;
10
+ perfios_count_id?: number | null;
11
+ ifsc: string;
12
+ }
13
+ export interface PerfiosAccountTable extends PerfiosAccountModel, 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.603",
3
+ "version": "1.4.605",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",