@carlosdiazz/lottodiz-shared 2.9.5 → 2.9.7

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.
@@ -4,7 +4,7 @@ export interface CompanyInterface {
4
4
  name: string;
5
5
  image?: string;
6
6
  active: boolean;
7
- code: number;
7
+ code: string;
8
8
  group?: GroupInterface[];
9
9
  create_at: Date;
10
10
  update_at: Date;
@@ -14,5 +14,5 @@ export interface CompanyFormInterface {
14
14
  name: string;
15
15
  image?: string;
16
16
  active: boolean;
17
- code: number;
17
+ code: string;
18
18
  }
@@ -2,5 +2,5 @@ export interface CreateCompanyInterface {
2
2
  name: string;
3
3
  image?: string;
4
4
  active?: boolean;
5
- code: number;
5
+ code: string;
6
6
  }
@@ -3,5 +3,5 @@ export interface UpdateCompanyInterface {
3
3
  name?: string;
4
4
  image?: string;
5
5
  active?: boolean;
6
- code?: number;
6
+ code?: string;
7
7
  }
@@ -1,6 +1,6 @@
1
1
  export interface CreateGroupInterface {
2
2
  name: string;
3
3
  active?: boolean;
4
- code: number;
4
+ code: string;
5
5
  id_company: number;
6
6
  }
@@ -4,7 +4,7 @@ export interface GroupInterface {
4
4
  id: number;
5
5
  name: string;
6
6
  active: boolean;
7
- code: number;
7
+ code: string;
8
8
  company?: CompanyInterface;
9
9
  pos?: PosInterface[];
10
10
  create_at: Date;
@@ -14,6 +14,6 @@ export interface GroupFormInterface {
14
14
  id: number;
15
15
  name: string;
16
16
  active: boolean;
17
- code: number;
17
+ code: string;
18
18
  id_company: number;
19
19
  }
@@ -2,6 +2,6 @@ export interface UpdateGroupInterface {
2
2
  id: number;
3
3
  name?: string;
4
4
  active?: boolean;
5
- code?: number;
5
+ code?: string;
6
6
  id_company?: number;
7
7
  }
@@ -2,6 +2,6 @@ export interface CreatePosInterface {
2
2
  name: string;
3
3
  image?: string;
4
4
  active?: boolean;
5
- code: number;
5
+ code: string;
6
6
  id_group: number;
7
7
  }
@@ -5,4 +5,6 @@ export interface ParamsPosInterface extends PaginationInterface {
5
5
  active: boolean;
6
6
  id_group?: number | null;
7
7
  id_company?: number | null;
8
+ is_pos_code?: boolean | null;
9
+ is_pos_monitor?: boolean | null;
8
10
  }
@@ -7,7 +7,7 @@ export interface PosInterface {
7
7
  name: string;
8
8
  image?: string;
9
9
  active: boolean;
10
- code: number;
10
+ code: string;
11
11
  group?: GroupInterface;
12
12
  pos_user?: PosUserInterface[];
13
13
  pos_monitor?: PosMonitorInterface;
@@ -20,6 +20,6 @@ export interface PosFormInterface {
20
20
  name: string;
21
21
  image?: string;
22
22
  active: boolean;
23
- code: number;
23
+ code: string;
24
24
  id_group: number;
25
25
  }
@@ -3,6 +3,6 @@ export interface UpdatePosInterface {
3
3
  name?: string;
4
4
  image?: string;
5
5
  active?: boolean;
6
- code?: number;
6
+ code?: string;
7
7
  id_group?: number;
8
8
  }
@@ -4,6 +4,5 @@ const main = async () => {
4
4
  const date = new Date("2025-12-03");
5
5
  const time_end = "11:40";
6
6
  //const time = getDelayFromDateTime(date, time_end);
7
- //console.log(time);
8
7
  };
9
8
  main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.9.5",
3
+ "version": "2.9.7",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,