@stashfin/mysql2 1.4.165 → 1.4.167

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,21 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -259,6 +259,26 @@ export interface ThirdPartyLogTable {
259
259
  provider: string;
260
260
  logs: string;
261
261
  }
262
+ export interface CustomerAppTable {
263
+ id: number;
264
+ customer_id: number;
265
+ device_id: string;
266
+ name: string;
267
+ app_code: string;
268
+ created_at?: Date;
269
+ updated_at?: Date;
270
+ }
271
+ export interface CommentsTable {
272
+ id: number;
273
+ customer_id: number;
274
+ loan_id?: number | null;
275
+ comment: string;
276
+ created_at?: Date;
277
+ }
278
+ export interface CommentsModel extends CommentsTable, RowDataPacket {
279
+ }
280
+ export interface CustomerAppModel extends CustomerAppTable, RowDataPacket {
281
+ }
262
282
  export interface CustomerModel extends CustomerTable, RowDataPacket {
263
283
  }
264
284
  export interface CustomerBanksModel extends CustomerBanksTable, RowDataPacket {
@@ -17,6 +17,7 @@ export interface NachRegistrationTable {
17
17
  gateway_error_msg?: string;
18
18
  customer_info?: JSON;
19
19
  external_order_id: string;
20
+ client_id: string;
20
21
  }
21
22
  export interface NachPresentationTable {
22
23
  id: bigint;
@@ -35,6 +36,7 @@ export interface NachPresentationTable {
35
36
  gateway_error_msg?: string;
36
37
  is_presented_to_gateway?: boolean;
37
38
  external_order_id: string;
39
+ client_id: string;
38
40
  }
39
41
  export interface NachPresentationModel extends NachPresentationTable, RowDataPacket {
40
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.165",
3
+ "version": "1.4.167",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",