@stashfin/mysql2 1.4.589 → 1.4.591

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,8 @@
1
+ import { RowDataPacket } from 'mysql2';
2
+ export interface BankDetailsTable {
3
+ ifsc_code: string;
4
+ bank_name: number;
5
+ account_no: string;
6
+ }
7
+ export interface BankDetailsModel extends BankDetailsTable, RowDataPacket {
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -22,11 +22,20 @@ export interface PaymentClientsModel {
22
22
  service_name?: string;
23
23
  acknowledgement_fn?: string;
24
24
  }
25
- export interface StConfig {
25
+ type LoadDistribution = {
26
26
  digio?: number;
27
- lotus?: number;
28
- [key: string]: any;
29
- }
27
+ lotuspay?: number;
28
+ [key: string]: number | undefined;
29
+ };
30
+ type Redirection = {
31
+ url: string;
32
+ [key: string]: unknown;
33
+ };
34
+ export type StConfig = {
35
+ load_distribution?: LoadDistribution;
36
+ redirection?: Redirection;
37
+ [key: string]: unknown;
38
+ };
30
39
  export interface StPaymentClientModel {
31
40
  id: number;
32
41
  service: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.589",
3
+ "version": "1.4.591",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",