@stashfin/mysql2 1.4.21 → 1.4.23
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.
- package/models/KycDetails.d.ts +1 -1
- package/models/Location.d.ts +19 -0
- package/models/Location.js +2 -0
- package/models/PanDetails.d.ts +1 -1
- package/package.json +1 -1
package/models/KycDetails.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type JSONObject = {
|
|
|
7
7
|
export type JSONArray = Array<JSONValue>;
|
|
8
8
|
export interface KycDetailsTable {
|
|
9
9
|
id?: number;
|
|
10
|
-
|
|
10
|
+
customer_id?: number | null;
|
|
11
11
|
partner?: string | null;
|
|
12
12
|
response?: JSONValue | null;
|
|
13
13
|
txn_id?: string | null;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 State {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export interface City {
|
|
13
|
+
id: number;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
16
|
+
export interface StateModel extends State, RowDataPacket {
|
|
17
|
+
}
|
|
18
|
+
export interface CityModel extends City, RowDataPacket {
|
|
19
|
+
}
|
package/models/PanDetails.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type JSONObject = {
|
|
|
7
7
|
export type JSONArray = Array<JSONValue>;
|
|
8
8
|
export interface PanDetailsTable {
|
|
9
9
|
id?: number;
|
|
10
|
-
|
|
10
|
+
customer_id?: number | null;
|
|
11
11
|
response?: JSONValue | null;
|
|
12
12
|
/** Defaults to: CURRENT_TIMESTAMP. */
|
|
13
13
|
created_at?: Date | null;
|