@stashfin/mysql2 1.4.653 → 1.4.655

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.
@@ -46,6 +46,7 @@ export interface UPITransactionTable {
46
46
  created_at?: Date;
47
47
  updated_at?: Date;
48
48
  is_deleted?: number;
49
+ complaint_id?: number;
49
50
  }
50
51
  export interface UPITransactionModel extends UPITransactionTable, RowDataPacket {
51
52
  }
@@ -0,0 +1,25 @@
1
+ import { RowDataPacket } from "mysql2";
2
+ export declare enum ComplaintStatusEnum {
3
+ Pending = "pending",
4
+ Resolved = "resolved",
5
+ Rejected = "rejected"
6
+ }
7
+ export interface EqxComplaintTable {
8
+ id: string;
9
+ customer_id: number;
10
+ payer_vpa: string;
11
+ payee_vpa: string;
12
+ complaint_ref_no: string;
13
+ payer_name?: string;
14
+ payee_name?: string;
15
+ txn_amount: number;
16
+ status: ComplaintStatusEnum;
17
+ response_code?: string;
18
+ response_message?: string;
19
+ remarks?: string;
20
+ original_txn_id?: string;
21
+ created_at?: Date | null;
22
+ updated_at?: Date | null;
23
+ }
24
+ export interface EqxComplaintModel extends EqxComplaintTable, RowDataPacket {
25
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComplaintStatusEnum = void 0;
4
+ // Enum definitions for specific fields
5
+ var ComplaintStatusEnum;
6
+ (function (ComplaintStatusEnum) {
7
+ ComplaintStatusEnum["Pending"] = "pending";
8
+ ComplaintStatusEnum["Resolved"] = "resolved";
9
+ ComplaintStatusEnum["Rejected"] = "rejected";
10
+ })(ComplaintStatusEnum || (exports.ComplaintStatusEnum = ComplaintStatusEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.653",
3
+ "version": "1.4.655",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,24 +0,0 @@
1
- import { RowDataPacket } from "mysql2";
2
- interface EqxCustomersTable {
3
- id: number;
4
- mobile: string;
5
- first_name?: string;
6
- last_name?: string;
7
- upi_number?: string;
8
- upi_onboarding_status?: boolean;
9
- device_id?: string;
10
- push_id?: string;
11
- login_ip?: string;
12
- vpa?: string;
13
- referral_code?: string;
14
- token?: string;
15
- email?: string;
16
- biometric_enabled?: boolean;
17
- status?: string;
18
- is_deleted?: boolean;
19
- created_at?: Date;
20
- updated_at?: Date;
21
- }
22
- export interface EqxCustomerModel extends EqxCustomersTable, RowDataPacket {
23
- }
24
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- import { RowDataPacket } from "mysql2";
2
- export declare enum StatusEnum {
3
- Pending = "pending",
4
- Success = "success"
5
- }
6
- export declare enum YesNoEnum {
7
- Y = "Y",
8
- N = "N"
9
- }
10
- export interface DeviceBindingTable {
11
- id: number;
12
- customer_id: number;
13
- device_id: string;
14
- sim_no?: string | null;
15
- sim_network?: string | null;
16
- status: StatusEnum;
17
- is_active: YesNoEnum;
18
- created_at?: Date | null;
19
- updated_at?: Date | null;
20
- }
21
- export interface DeviceBindingModel extends DeviceBindingTable, RowDataPacket {
22
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.YesNoEnum = exports.StatusEnum = void 0;
4
- var StatusEnum;
5
- (function (StatusEnum) {
6
- StatusEnum["Pending"] = "pending";
7
- StatusEnum["Success"] = "success";
8
- })(StatusEnum || (exports.StatusEnum = StatusEnum = {}));
9
- var YesNoEnum;
10
- (function (YesNoEnum) {
11
- YesNoEnum["Y"] = "Y";
12
- YesNoEnum["N"] = "N";
13
- })(YesNoEnum || (exports.YesNoEnum = YesNoEnum = {}));
@@ -1,33 +0,0 @@
1
- import { RowDataPacket } from 'mysql2';
2
- interface Offers {
3
- id: number;
4
- title: string;
5
- description: string;
6
- offer_code: string;
7
- category_id: number;
8
- total_limit: number;
9
- user_daily_limit: number;
10
- user_weekly_limit: number;
11
- user_monthly_limit: number;
12
- backup_offer_id: number | null;
13
- tier: number | null;
14
- reward_type_id: number;
15
- reward_nature: string;
16
- min_value: number;
17
- max_value: number;
18
- probability: JSON;
19
- created_at: Date;
20
- updated_at: Date;
21
- }
22
- interface OfferCodeUsage {
23
- id: number;
24
- offer_id: number;
25
- user_id: number;
26
- created_at: Date;
27
- updated_at: Date;
28
- }
29
- export interface OffersModel extends Offers, RowDataPacket {
30
- }
31
- export interface OfferCodeUsageModel extends OfferCodeUsage, RowDataPacket {
32
- }
33
- export {};
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,14 +0,0 @@
1
- import { RowDataPacket } from 'mysql2';
2
- export interface WealthWebhookTable {
3
- id?: number;
4
- customer_id?: number;
5
- gateway_id?: string;
6
- event_type?: string;
7
- event_property?: string;
8
- event_status?: string;
9
- webhook_data?: string;
10
- created_at?: Date;
11
- updated_at?: Date;
12
- }
13
- export interface WealthWebhookModel extends WealthWebhookTable, RowDataPacket {
14
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });