@stashfin/mysql2 1.4.614 → 1.4.616

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.
@@ -7,7 +7,7 @@ export interface AppProfileTable {
7
7
  refresh_token?: string;
8
8
  push_id?: string;
9
9
  platform?: string;
10
- meta_data?: JSON;
10
+ meta_data?: string;
11
11
  created_at?: Date;
12
12
  updated_at?: Date;
13
13
  }
package/models/Offer.d.ts CHANGED
@@ -25,7 +25,7 @@ export interface OfferTable {
25
25
  sc_expiry: Date | string;
26
26
  expiry: Date | string;
27
27
  rules: Rules;
28
- metaData: MetaData;
28
+ metadata: MetaData;
29
29
  stats: Stat;
30
30
  created_at: Date | string;
31
31
  updated_at: Date | string;
@@ -0,0 +1,29 @@
1
+ import { RowDataPacket } from 'mysql2';
2
+ export interface StCkycCustomerDetailsTable {
3
+ id: number;
4
+ customer_id: number;
5
+ loan_id?: number;
6
+ request_id?: string;
7
+ request_status?: string;
8
+ transaction_id?: string;
9
+ transaction_status?: string;
10
+ transaction_rejection_status?: string;
11
+ ckyc_available?: string;
12
+ ckyc_account_number?: string;
13
+ ckyc_id?: string;
14
+ e_ckyc_id?: string;
15
+ ckyc_age?: string;
16
+ ckyc_father_name?: string;
17
+ ckyc_gen_date?: Date;
18
+ ckyc_name?: string;
19
+ ckyc_request_date?: string;
20
+ ckyc_update_date?: string;
21
+ ckyc_availableid_type?: string;
22
+ ckyc_availableid_type_status?: string;
23
+ create_date?: Date;
24
+ update_date?: Date;
25
+ e_ckyc_id_s?: string;
26
+ ckyc_reference_id?: string;
27
+ }
28
+ export interface StCkycCustomerDetailsModel extends StCkycCustomerDetailsTable, RowDataPacket {
29
+ }
@@ -12,13 +12,24 @@ export interface WealthTransactionTable {
12
12
  updated_at?: Date;
13
13
  is_deleted?: number;
14
14
  is_active?: number;
15
+ cashback_transaction_id?: number;
16
+ cashback_amount?: number;
17
+ cashback_status?: string;
15
18
  }
16
- export interface WealthEarningTable {
17
- id: number;
19
+ export interface EarningsTable {
20
+ id?: number;
18
21
  earnings: number;
19
22
  customer_id: number;
23
+ type: string;
24
+ offer_id: number;
25
+ offer_name: string;
26
+ status?: string;
27
+ is_deleted?: boolean;
28
+ is_active?: boolean;
29
+ created_at?: string;
30
+ updated_at?: string;
20
31
  }
21
- export interface WealthTransactionModel extends WealthTransactionTable, RowDataPacket {
32
+ export interface EarningsModel extends EarningsTable, RowDataPacket {
22
33
  }
23
- export interface WealthEarningModel extends WealthEarningTable, RowDataPacket {
34
+ export interface WealthTransactionModel extends WealthTransactionTable, RowDataPacket {
24
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.614",
3
+ "version": "1.4.616",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,21 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,24 +0,0 @@
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 {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
File without changes