@carlosdiazz/lottodiz-shared 3.1.0 → 3.1.2
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.
- package/dist/enum/method-valid.d.ts +1 -1
- package/dist/enum/method-valid.js +1 -1
- package/dist/models/pos/pos.controller.d.ts +2 -0
- package/dist/models/pos/pos.resolver.d.ts +1 -0
- package/dist/models/pos/pos.service.d.ts +2 -0
- package/dist/models/pos/response-pos.base.d.ts +3 -0
- package/dist/models/pos_user/check-pos.base.d.ts +8 -0
- package/dist/models/pos_user/check-pos.base.js +2 -0
- package/dist/models/template_draw/create-template_draw.base.d.ts +1 -0
- package/dist/models/template_draw/template_draw.base.d.ts +2 -0
- package/dist/models/template_draw/update-template_draw.base.d.ts +1 -0
- package/package.json +1 -1
|
@@ -161,12 +161,12 @@ export declare class MethodValid {
|
|
|
161
161
|
static POS_FIND_BY_POS_MONITOR: string;
|
|
162
162
|
static POS_SEND_WS: string;
|
|
163
163
|
static POS_CODE_SEND_WS: string;
|
|
164
|
+
static POS_CHECK_POS: string;
|
|
164
165
|
static POS_USER_CREATE: string;
|
|
165
166
|
static POS_USER_FIND_ONE: string;
|
|
166
167
|
static POS_USER_FIND_ALL: string;
|
|
167
168
|
static POS_USER_UPDATE: string;
|
|
168
169
|
static POS_USER_REMOVE: string;
|
|
169
|
-
static POS_USER_LOGIN: string;
|
|
170
170
|
static FIREBASE_CREATE_POS_USER: string;
|
|
171
171
|
static FIREBASE_DELETE_POS_USER: string;
|
|
172
172
|
static FIREBASE_UPDATE_PASSWORD_POS_USER: string;
|
|
@@ -193,13 +193,13 @@ MethodValid.POS_FIND_BY_POS_CODE = "POS_FIND_BY_POS_CODE";
|
|
|
193
193
|
MethodValid.POS_FIND_BY_POS_MONITOR = "POS_FIND_BY_POS_MONITOR";
|
|
194
194
|
MethodValid.POS_SEND_WS = "POS_SEND_WS";
|
|
195
195
|
MethodValid.POS_CODE_SEND_WS = "POS_CODE_SEND_WS";
|
|
196
|
+
MethodValid.POS_CHECK_POS = "POS_CHECK_POS";
|
|
196
197
|
//POS USER
|
|
197
198
|
MethodValid.POS_USER_CREATE = "POS_USER_CREATE";
|
|
198
199
|
MethodValid.POS_USER_FIND_ONE = "POS_USER_FIND_ONE";
|
|
199
200
|
MethodValid.POS_USER_FIND_ALL = "POS_USER_FIND_ALL";
|
|
200
201
|
MethodValid.POS_USER_UPDATE = "POS_USER_UPDATE";
|
|
201
202
|
MethodValid.POS_USER_REMOVE = "POS_USER_REMOVE";
|
|
202
|
-
MethodValid.POS_USER_LOGIN = "POS_USER_LOGIN";
|
|
203
203
|
//FIREBASE POS USER
|
|
204
204
|
MethodValid.FIREBASE_CREATE_POS_USER = "FIREBASE_CREATE_POS_USER";
|
|
205
205
|
MethodValid.FIREBASE_DELETE_POS_USER = "FIREBASE_DELETE_POS_USER";
|
|
@@ -4,6 +4,7 @@ import { ParamsPosInterface } from "./params-pos.base";
|
|
|
4
4
|
import { ResponsePosInterface } from "./response-pos.base";
|
|
5
5
|
import { UpdatePosInterface } from "./update-pos.base";
|
|
6
6
|
import { ResponseInterface } from "../common";
|
|
7
|
+
import { UserInterface } from "../user";
|
|
7
8
|
export interface PosControllerInterface {
|
|
8
9
|
create(dto: CreatePosInterface): Promise<PosInterface>;
|
|
9
10
|
findAll(pagination: ParamsPosInterface): Promise<ResponsePosInterface>;
|
|
@@ -12,4 +13,5 @@ export interface PosControllerInterface {
|
|
|
12
13
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
14
|
findByPosCode(uuid: string): Promise<PosInterface>;
|
|
14
15
|
findByPosMonitor(uuid: string): Promise<PosInterface>;
|
|
16
|
+
checkPosCode(uuid: string, user: UserInterface): Promise<PosInterface>;
|
|
15
17
|
}
|
|
@@ -13,4 +13,5 @@ export interface PosResolverInterface {
|
|
|
13
13
|
remove(id: number, user?: UserInterface): Promise<ResponseInterface>;
|
|
14
14
|
findByPosCode(uuid: string, user?: UserInterface): Promise<PosInterface>;
|
|
15
15
|
findByPosMonitor(uuid: string, user?: UserInterface): Promise<PosInterface>;
|
|
16
|
+
checkPosCode(uuid: string, user: UserInterface): Promise<PosInterface>;
|
|
16
17
|
}
|
|
@@ -4,6 +4,7 @@ import { CreatePosInterface } from "./create-pos.base";
|
|
|
4
4
|
import { ParamsPosInterface } from "./params-pos.base";
|
|
5
5
|
import { ResponsePosInterface } from "./response-pos.base";
|
|
6
6
|
import { UpdatePosInterface } from "./update-pos.base";
|
|
7
|
+
import { UserInterface } from "../user";
|
|
7
8
|
export interface PosServiceInterface {
|
|
8
9
|
create(dto: CreatePosInterface): Promise<PosInterface>;
|
|
9
10
|
findAll(pagination: ParamsPosInterface): Promise<ResponsePosInterface>;
|
|
@@ -12,4 +13,5 @@ export interface PosServiceInterface {
|
|
|
12
13
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
14
|
findByPosCode(uuid: string): Promise<PosInterface>;
|
|
14
15
|
findByPosMonitor(uuid: string): Promise<PosInterface>;
|
|
16
|
+
checkPosCode(uuid: string, user: UserInterface): Promise<PosInterface>;
|
|
15
17
|
}
|
|
@@ -24,6 +24,7 @@ export interface TemplateDrawInterface {
|
|
|
24
24
|
channel_id?: string;
|
|
25
25
|
api_name?: string | null;
|
|
26
26
|
find_automatic_video?: boolean;
|
|
27
|
+
site_name: string;
|
|
27
28
|
lottery?: LotteryInterface;
|
|
28
29
|
template_result?: TemplateResultInterface;
|
|
29
30
|
draw_number?: DrawNumberInterface;
|
|
@@ -56,4 +57,5 @@ export interface TemplateDrawFormInterface {
|
|
|
56
57
|
id_template_result: number;
|
|
57
58
|
id_number_draw: number;
|
|
58
59
|
find_automatic_video?: boolean;
|
|
60
|
+
site_name?: string;
|
|
59
61
|
}
|