@carlosdiazz/lottodiz-shared 2.9.8 → 2.9.9

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.
@@ -156,6 +156,8 @@ export declare class MethodValid {
156
156
  static POS_FIND_ALL: string;
157
157
  static POS_UPDATE: string;
158
158
  static POS_REMOVE: string;
159
+ static POS_FIND_BY_POS_CODE: string;
160
+ static POS_FIND_BY_POS_MONITOR: string;
159
161
  static POS_USER_CREATE: string;
160
162
  static POS_USER_FIND_ONE: string;
161
163
  static POS_USER_FIND_ALL: string;
@@ -188,6 +188,8 @@ MethodValid.POS_FIND_ONE = "POS_FIND_ONE";
188
188
  MethodValid.POS_FIND_ALL = "POS_FIND_ALL";
189
189
  MethodValid.POS_UPDATE = "POS_UPDATE";
190
190
  MethodValid.POS_REMOVE = "POS_REMOVE";
191
+ MethodValid.POS_FIND_BY_POS_CODE = "POS_FIND_BY_POS_CODE";
192
+ MethodValid.POS_FIND_BY_POS_MONITOR = "POS_FIND_BY_POS_MONITOR";
191
193
  //POS USER
192
194
  MethodValid.POS_USER_CREATE = "POS_USER_CREATE";
193
195
  MethodValid.POS_USER_FIND_ONE = "POS_USER_FIND_ONE";
@@ -10,4 +10,6 @@ export interface PosControllerInterface {
10
10
  findOne(id: number): Promise<PosInterface>;
11
11
  update(dto: UpdatePosInterface): Promise<PosInterface>;
12
12
  remove(id: number): Promise<ResponseInterface>;
13
+ findByPosCode(uuid: string): Promise<PosInterface>;
14
+ findByPosMonitor(uuid: string): Promise<PosInterface>;
13
15
  }
@@ -10,4 +10,6 @@ export interface PosServiceInterface {
10
10
  findOne(id: number): Promise<PosInterface>;
11
11
  update(dto: UpdatePosInterface): Promise<PosInterface>;
12
12
  remove(id: number): Promise<ResponseInterface>;
13
+ findByPosCode(uuid: string): Promise<PosInterface>;
14
+ findByPosMonitor(uuid: string): Promise<PosInterface>;
13
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.9.8",
3
+ "version": "2.9.9",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,