@stashfin/mysql2 1.4.125 → 1.4.127
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/Enach.d.ts +11 -0
- package/models/LamfPledgeData.d.ts +1 -1
- package/models/RazorpayBanks.d.ts +10 -0
- package/models/RazorpayBanks.js +2 -0
- package/models/UserAuthToken.d.ts +1 -1
- package/models/setuTransactions.d.ts +22 -0
- package/models/setuTransactions.js +2 -0
- package/package.json +1 -1
- package/models/Banners.d.ts +0 -21
- /package/models/{Banners.js → Enach.js} +0 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface RazorpayBanksTable {
|
|
3
|
+
active?: number | null;
|
|
4
|
+
bank_code?: string | null;
|
|
5
|
+
bank_name?: string | null;
|
|
6
|
+
id?: number;
|
|
7
|
+
is_popular?: number | null;
|
|
8
|
+
}
|
|
9
|
+
export interface RazorpayBanksModel extends RazorpayBanksTable, RowDataPacket {
|
|
10
|
+
}
|
|
@@ -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 {};
|
package/package.json
CHANGED
package/models/Banners.d.ts
DELETED
|
@@ -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
|