@stashfin/mysql2 1.4.89 → 1.4.91
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/Customer.d.ts +5 -4
- package/package.json +1 -1
- package/models/Banners.d.ts +0 -21
- package/models/Banners.js +0 -2
- package/models/PaymentClients.d.ts +0 -14
- package/models/PaymentClients.js +0 -2
- package/models/PaymentGateways.d.ts +0 -15
- package/models/PaymentGateways.js +0 -2
- package/models/Payments.d.ts +0 -19
- package/models/Payments.js +0 -2
- package/models/PaymentsAddOns.d.ts +0 -11
- package/models/PaymentsAddOns.js +0 -2
- package/models/PaymentsNach.d.ts +0 -40
- package/models/PaymentsNach.js +0 -2
package/models/Customer.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ export interface CustomerDocumentsTable {
|
|
|
146
146
|
aadhaar_url?: string | null;
|
|
147
147
|
address_proof_url?: string | null;
|
|
148
148
|
selfiee_url?: string | null;
|
|
149
|
+
account_analytics_url?: string | null;
|
|
149
150
|
created_at?: Date | null;
|
|
150
151
|
updated_at?: Date | null;
|
|
151
152
|
}
|
|
@@ -207,14 +208,14 @@ export interface AaTransactionsTable {
|
|
|
207
208
|
amount?: number | null;
|
|
208
209
|
balance?: number | null;
|
|
209
210
|
category?: string | null;
|
|
210
|
-
|
|
211
|
+
category_code?: string | null;
|
|
211
212
|
customer_id?: number | null;
|
|
212
|
-
|
|
213
|
+
merchant_name?: string | null;
|
|
213
214
|
narration?: string | null;
|
|
214
215
|
payment_mode?: string | null;
|
|
215
216
|
reference?: string | null;
|
|
216
|
-
|
|
217
|
-
txn_date?:
|
|
217
|
+
sub_category?: string | null;
|
|
218
|
+
txn_date?: string | null;
|
|
218
219
|
txn_id?: string | null;
|
|
219
220
|
type?: string | null;
|
|
220
221
|
created_at?: Date | null;
|
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
|
-
}
|
package/models/Banners.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from "mysql2";
|
|
2
|
-
interface ClientPaymentModes {
|
|
3
|
-
modes: string[];
|
|
4
|
-
gateway_id: string;
|
|
5
|
-
}
|
|
6
|
-
export interface PaymentClientsModel {
|
|
7
|
-
client_id: string;
|
|
8
|
-
client_iss: string;
|
|
9
|
-
client_secret: string;
|
|
10
|
-
client_payment_modes: ClientPaymentModes[];
|
|
11
|
-
}
|
|
12
|
-
export interface PaymentClientsTable extends PaymentClientsModel, RowDataPacket {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
package/models/PaymentClients.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from "mysql2";
|
|
2
|
-
export interface PaymentGatewayModel {
|
|
3
|
-
gateway_id: string;
|
|
4
|
-
gateway_name: string;
|
|
5
|
-
gateway_access_key_id: string;
|
|
6
|
-
gateway_secret: string;
|
|
7
|
-
currency: string;
|
|
8
|
-
callback_url: string;
|
|
9
|
-
create_order_url: string;
|
|
10
|
-
initiate_payment_url: string;
|
|
11
|
-
process_refund_url: string;
|
|
12
|
-
check_transaction_status_url: string;
|
|
13
|
-
}
|
|
14
|
-
export interface PaymentGatewayTable extends PaymentGatewayModel, RowDataPacket {
|
|
15
|
-
}
|
package/models/Payments.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from "mysql2";
|
|
2
|
-
export interface PaymentsModel {
|
|
3
|
-
customer_id: number;
|
|
4
|
-
customer_info: JSON;
|
|
5
|
-
mobile: string;
|
|
6
|
-
external_order_id?: string;
|
|
7
|
-
gateway_id: string;
|
|
8
|
-
fees?: JSON;
|
|
9
|
-
gateway_data?: JSON;
|
|
10
|
-
amount: number;
|
|
11
|
-
mode: string;
|
|
12
|
-
status: string;
|
|
13
|
-
client_id: string;
|
|
14
|
-
notes?: JSON;
|
|
15
|
-
created_date: Date;
|
|
16
|
-
updated_date: Date;
|
|
17
|
-
}
|
|
18
|
-
export interface PaymentsTable extends PaymentsModel, RowDataPacket {
|
|
19
|
-
}
|
package/models/Payments.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from "mysql2";
|
|
2
|
-
export interface PaymentAddOnsTable {
|
|
3
|
-
customer_id: number;
|
|
4
|
-
linked_payment_order_id: string;
|
|
5
|
-
plan_id?: string;
|
|
6
|
-
type: string;
|
|
7
|
-
amount: number;
|
|
8
|
-
meta_data: JSON;
|
|
9
|
-
}
|
|
10
|
-
export interface PaymentAddOnsModel extends PaymentAddOnsTable, RowDataPacket {
|
|
11
|
-
}
|
package/models/PaymentsAddOns.js
DELETED
package/models/PaymentsNach.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { RowDataPacket } from "mysql2";
|
|
2
|
-
export interface NachRegistrationTable {
|
|
3
|
-
id: number;
|
|
4
|
-
gateway: string;
|
|
5
|
-
customer_id: bigint;
|
|
6
|
-
transaction_id?: string;
|
|
7
|
-
status?: string;
|
|
8
|
-
max_amount?: number;
|
|
9
|
-
mandate_start_date?: Date;
|
|
10
|
-
mandate_end_date?: Date;
|
|
11
|
-
umrn?: string;
|
|
12
|
-
gateway_ref_no?: string;
|
|
13
|
-
created_date: Date;
|
|
14
|
-
updated_date: Date;
|
|
15
|
-
mandate_type?: string;
|
|
16
|
-
gateway_error_code?: string;
|
|
17
|
-
gateway_error_msg?: string;
|
|
18
|
-
customer_info?: JSON;
|
|
19
|
-
}
|
|
20
|
-
export interface NachPresentationTable {
|
|
21
|
-
id: bigint;
|
|
22
|
-
gateway: string;
|
|
23
|
-
customer_id: bigint;
|
|
24
|
-
transaction_id?: string;
|
|
25
|
-
umrn?: string;
|
|
26
|
-
status: string;
|
|
27
|
-
amount?: number;
|
|
28
|
-
collection_date?: Date;
|
|
29
|
-
presentation_date: Date;
|
|
30
|
-
created_date: Date;
|
|
31
|
-
updated_date?: Date;
|
|
32
|
-
mandate_type?: string;
|
|
33
|
-
gateway_error_code?: string;
|
|
34
|
-
gateway_error_msg?: string;
|
|
35
|
-
is_presented_to_gateway?: boolean;
|
|
36
|
-
}
|
|
37
|
-
export interface NachPresentationModel extends NachPresentationTable, RowDataPacket {
|
|
38
|
-
}
|
|
39
|
-
export interface NachRegistrationModel extends NachRegistrationTable, RowDataPacket {
|
|
40
|
-
}
|
package/models/PaymentsNach.js
DELETED