@stashfin/mysql2 1.4.125 → 1.4.126

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,11 @@
1
+ import { RowDataPacket } from 'mysql2';
2
+ export interface EnachTransactionsTable {
3
+ id?: number;
4
+ created_at?: Date | null;
5
+ customer_id?: number | null;
6
+ status?: string | null;
7
+ txn_id?: string | null;
8
+ updated_at?: Date | null;
9
+ }
10
+ export interface EnachTransactionsModel extends EnachTransactionsTable, RowDataPacket {
11
+ }
@@ -5,8 +5,8 @@ export interface LamfPledgedFunds {
5
5
  folio: string;
6
6
  isin: string;
7
7
  nav: number;
8
- request_id: number;
9
8
  nav_date: Date;
9
+ request_id: number;
10
10
  type: string;
11
11
  status: string;
12
12
  lien_units: number;
@@ -7,5 +7,5 @@ export interface UserAuthTokenTable {
7
7
  published: number;
8
8
  device_id: string;
9
9
  }
10
- export interface UserAuthTokenModel extends UserAuthTokenTable, RowDataPacket {
10
+ export interface UserAuthTokenModel extends RowDataPacket {
11
11
  }
@@ -0,0 +1,22 @@
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
+ interface SetuTransaction {
9
+ id: number;
10
+ customer_id: number;
11
+ request_id: string;
12
+ upi_bill_id: string;
13
+ status: 'pending' | 'success' | 'failed';
14
+ data?: {
15
+ [key: string]: any;
16
+ };
17
+ bank_id: number;
18
+ created_at: string;
19
+ }
20
+ export interface SetuTransactionModel extends SetuTransaction, RowDataPacket {
21
+ }
22
+ export {};
@@ -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.125",
3
+ "version": "1.4.126",
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
- }
File without changes