@stashfin/mysql2 1.4.624 → 1.4.626

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.
@@ -33,6 +33,7 @@ export interface StashCashTrascationTable {
33
33
  updated_at?: Date | null;
34
34
  is_active?: boolean;
35
35
  is_deleted?: boolean;
36
+ product: string;
36
37
  }
37
38
  export interface StashCashModel extends StashCashTable, RowDataPacket {
38
39
  }
package/models/TnC.d.ts CHANGED
@@ -1,15 +1,18 @@
1
1
  import { RowDataPacket } from 'mysql2';
2
- type TncStatus = 'DRAFT' | 'PUBLISHED' | 'DEPRECATED';
3
- interface TncTable {
4
- id: number;
2
+ export interface TncTable {
3
+ id?: number;
5
4
  version: string;
6
5
  content: string;
7
6
  title: string;
8
- status: TncStatus;
7
+ status: 'DRAFT' | 'PUBLISHED' | 'DEPRECATED';
9
8
  created_at: Date;
10
9
  updated_at: Date;
11
10
  effective_from: Date;
11
+ consent_type: 'TNC' | 'PRIVACY_POLICY' | 'WHATSAPP_OPTIN' | 'BUREAU_CONSENT';
12
+ tag?: string | null;
13
+ product?: string | null;
14
+ file_url?: string | null;
15
+ is_mandatory: boolean;
12
16
  }
13
17
  export interface TncModel extends TncTable, RowDataPacket {
14
18
  }
15
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/mysql2",
3
- "version": "1.4.624",
3
+ "version": "1.4.626",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",