@stashfin/mysql2 1.4.131 → 1.4.133

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.
@@ -43,6 +43,7 @@ export interface CustomerTable {
43
43
  category?: Category | null;
44
44
  loc_limit?: number | null;
45
45
  max_loc_limit?: number | null;
46
+ lead_status?: string | null;
46
47
  /** Defaults to: active. */
47
48
  status?: 'active' | 'inactive' | null;
48
49
  loc_disabled?: boolean;
@@ -70,6 +71,7 @@ export interface CustomerTable {
70
71
  /** Defaults to: 0. */
71
72
  is_deleted?: number | null;
72
73
  journey_updated_at?: Date | null;
74
+ emi_date?: number | null;
73
75
  }
74
76
  export interface DemographicsTable {
75
77
  id?: number;
@@ -87,6 +89,7 @@ export interface DemographicsTable {
87
89
  office_addr?: JSONValue | null;
88
90
  organization?: string | null;
89
91
  pan_url?: string | null;
92
+ pan_name?: string | null;
90
93
  perm_addr?: JSONValue | null;
91
94
  res_addr?: JSONValue | null;
92
95
  salary?: number | null;
@@ -114,6 +117,8 @@ export interface DemographicsTable {
114
117
  selfie_match?: number | null;
115
118
  selfie_match_score?: number | null;
116
119
  limit_option?: string | null;
120
+ name_matched?: boolean | null;
121
+ additional_phones?: JSONValue | null;
117
122
  }
118
123
  export interface CustomerBanksTable {
119
124
  id?: number;
@@ -122,6 +127,8 @@ export interface CustomerBanksTable {
122
127
  address?: string | null;
123
128
  bank_name?: string | null;
124
129
  ifsc_code?: string | null;
130
+ holder_name?: string | null;
131
+ source?: string | null;
125
132
  /** Defaults to: active. */
126
133
  status?: 'active' | 'inactive';
127
134
  is_primary?: boolean;
@@ -219,6 +226,7 @@ export interface AaTransactionsTable {
219
226
  reference?: string | null;
220
227
  sub_category?: string | null;
221
228
  txn_date?: string | null;
229
+ details_id?: number | null;
222
230
  txn_id?: string | null;
223
231
  type?: string | null;
224
232
  created_at?: Date | null;
@@ -0,0 +1,25 @@
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 PaymentTrackerTable {
9
+ id?: number | null;
10
+ customer_id: number | null;
11
+ client_id: string | null;
12
+ order_id: string | null;
13
+ amount: number | null;
14
+ fees?: JSONValue | null;
15
+ payment_fees?: JSONValue | null;
16
+ total_amount: number | null;
17
+ status?: 'initiated' | 'success' | 'failed' | null;
18
+ additional_info?: JSONValue | null;
19
+ created_at?: Date | null;
20
+ updated_at?: Date | null;
21
+ is_active?: number | null;
22
+ is_deleted?: number | null;
23
+ }
24
+ export interface PaymentTrackerModel extends PaymentTrackerTable, RowDataPacket {
25
+ }
@@ -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.131",
3
+ "version": "1.4.133",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",