@stashfin/mysql2 1.4.254 → 1.4.256

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.
@@ -8,6 +8,8 @@ export interface UPIMandatesTable {
8
8
  amount: number;
9
9
  payee_mobile: string;
10
10
  vpa: string;
11
+ ext_txn_id?: string;
12
+ action?: string;
11
13
  status: string;
12
14
  start_date: string;
13
15
  end_date: string;
@@ -1,7 +1,7 @@
1
1
  import { RowDataPacket } from "mysql2";
2
2
  import { MetaData, Rules, Stat } from "./Common";
3
3
  export interface StatusAttributes {
4
- account_creation?: boolean;
4
+ account_created?: boolean;
5
5
  first_emi_paid?: boolean;
6
6
  [key: string]: any;
7
7
  }
@@ -24,6 +24,10 @@ export interface CommissionRule {
24
24
  first: number;
25
25
  trailing: number;
26
26
  }
27
+ export declare enum OfferTarget {
28
+ Referrer = "referrer",
29
+ Referred = "referred"
30
+ }
27
31
  export interface ReferralOfferTable {
28
32
  id: number;
29
33
  title: string;
@@ -32,6 +36,7 @@ export interface ReferralOfferTable {
32
36
  sc_type: string;
33
37
  sc_calculation_type: string;
34
38
  icon: string;
39
+ offer_target: OfferTarget;
35
40
  product_name: string;
36
41
  product_sub_type: string;
37
42
  description: string;
@@ -1,2 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OfferTarget = void 0;
4
+ var OfferTarget;
5
+ (function (OfferTarget) {
6
+ OfferTarget["Referrer"] = "referrer";
7
+ OfferTarget["Referred"] = "referred";
8
+ })(OfferTarget || (exports.OfferTarget = OfferTarget = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.254",
3
+ "version": "1.4.256",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",