@stashfin/mysql2 1.4.40 → 1.4.43

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.
@@ -168,6 +168,11 @@ export interface SuspendedCustomer {
168
168
  created_at?: Date;
169
169
  updated_at?: Date;
170
170
  }
171
+ export interface CustomerContactsTable {
172
+ id?: number;
173
+ customer_id: bigint;
174
+ mobile: string;
175
+ }
171
176
  export interface CustomerModel extends CustomerTable, RowDataPacket {
172
177
  }
173
178
  export interface CustomerBanksModel extends CustomerBanksTable, RowDataPacket {
@@ -184,3 +189,5 @@ export interface UsersAppModel extends UsersApp, RowDataPacket {
184
189
  }
185
190
  export interface SuspendedCustomerModel extends SuspendedCustomer, RowDataPacket {
186
191
  }
192
+ export interface CustomerContactsModel extends CustomerContactsTable, RowDataPacket {
193
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.40",
3
+ "version": "1.4.43",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });