@carlosdiazz/lottodiz-shared 3.0.0 → 3.0.1
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 +4 -4
- package/dist/enum/method-valid.js +4 -4
- package/dist/enum/permission-valid.d.ts +4 -4
- package/dist/enum/permission-valid.js +4 -4
- package/dist/models/pos/create-pos.base.d.ts +0 -4
- package/dist/models/pos/index.d.ts +0 -1
- package/dist/models/pos/index.js +0 -1
- package/dist/models/pos/pos.controller.d.ts +1 -5
- package/dist/models/pos/pos.datasource.d.ts +1 -5
- package/dist/models/pos/pos.resolver.d.ts +1 -5
- package/dist/models/temporary_code/create-temporary_code.base.d.ts +4 -0
- package/dist/models/temporary_code/temporary_code.controller.d.ts +5 -1
- package/dist/models/temporary_code/temporary_code.datasource.d.ts +5 -2
- package/dist/models/temporary_code/temporary_code.resolver.d.ts +6 -1
- package/dist/models/temporary_code/temporary_code.service.d.ts +5 -1
- package/package.json +1 -1
|
@@ -158,10 +158,6 @@ export declare class MethodValid {
|
|
|
158
158
|
static POS_REMOVE: string;
|
|
159
159
|
static POS_FIND_BY_POS_CODE: string;
|
|
160
160
|
static POS_FIND_BY_POS_MONITOR: string;
|
|
161
|
-
static CREATE_POS_CODE_BY_CODE: string;
|
|
162
|
-
static CREATE_POS_MONITOR_BY_CODE: string;
|
|
163
|
-
static DELETE_POS_CODE_BY_CODE: string;
|
|
164
|
-
static DELETE_POS_MONITOR_BY_CODE: string;
|
|
165
161
|
static POS_USER_CREATE: string;
|
|
166
162
|
static POS_USER_FIND_ONE: string;
|
|
167
163
|
static POS_USER_FIND_ALL: string;
|
|
@@ -203,5 +199,9 @@ export declare class MethodValid {
|
|
|
203
199
|
static TEMPORARY_CODE_UPDATE: string;
|
|
204
200
|
static TEMPORARY_CODE_REMOVE: string;
|
|
205
201
|
static TEMPORARY_CODE_FIND_ONE_BY_CODE: string;
|
|
202
|
+
static TEMPORARY_CODE_CREATE_POS_CODE: string;
|
|
203
|
+
static TEMPORARY_CODE_CREATE_POS_MONITOR: string;
|
|
204
|
+
static TEMPORARY_CODE_DELETE_POS_CODE: string;
|
|
205
|
+
static TEMPORARY_CODE_DELETE_POS_MONITOR: string;
|
|
206
206
|
static OBS_EXECUTE_ACTION: string;
|
|
207
207
|
}
|
|
@@ -190,10 +190,6 @@ MethodValid.POS_UPDATE = "POS_UPDATE";
|
|
|
190
190
|
MethodValid.POS_REMOVE = "POS_REMOVE";
|
|
191
191
|
MethodValid.POS_FIND_BY_POS_CODE = "POS_FIND_BY_POS_CODE";
|
|
192
192
|
MethodValid.POS_FIND_BY_POS_MONITOR = "POS_FIND_BY_POS_MONITOR";
|
|
193
|
-
MethodValid.CREATE_POS_CODE_BY_CODE = "CREATE_POS_CODE_BY_CODE";
|
|
194
|
-
MethodValid.CREATE_POS_MONITOR_BY_CODE = "CREATE_POS_MONITOR_BY_CODE";
|
|
195
|
-
MethodValid.DELETE_POS_CODE_BY_CODE = "DELETE_POS_CODE_BY_CODE";
|
|
196
|
-
MethodValid.DELETE_POS_MONITOR_BY_CODE = "DELETE_POS_MONITOR_BY_CODE";
|
|
197
193
|
//POS USER
|
|
198
194
|
MethodValid.POS_USER_CREATE = "POS_USER_CREATE";
|
|
199
195
|
MethodValid.POS_USER_FIND_ONE = "POS_USER_FIND_ONE";
|
|
@@ -243,5 +239,9 @@ MethodValid.TEMPORARY_CODE_FIND_ALL = "TEMPORARY_CODE_FIND_ALL";
|
|
|
243
239
|
MethodValid.TEMPORARY_CODE_UPDATE = "TEMPORARY_CODE_UPDATE";
|
|
244
240
|
MethodValid.TEMPORARY_CODE_REMOVE = "TEMPORARY_CODE_REMOVE";
|
|
245
241
|
MethodValid.TEMPORARY_CODE_FIND_ONE_BY_CODE = "TEMPORARY_CODE_FIND_ONE_BY_CODE";
|
|
242
|
+
MethodValid.TEMPORARY_CODE_CREATE_POS_CODE = "TEMPORARY_CODE_CREATE_POS_CODE";
|
|
243
|
+
MethodValid.TEMPORARY_CODE_CREATE_POS_MONITOR = "TEMPORARY_CODE_CREATE_POS_MONITOR";
|
|
244
|
+
MethodValid.TEMPORARY_CODE_DELETE_POS_CODE = "TEMPORARY_CODE_DELETE_POS_CODE";
|
|
245
|
+
MethodValid.TEMPORARY_CODE_DELETE_POS_MONITOR = "TEMPORARY_CODE_DELETE_POS_MONITOR";
|
|
246
246
|
//OBS
|
|
247
247
|
MethodValid.OBS_EXECUTE_ACTION = "OBS_EXECUTE_ACTION";
|
|
@@ -103,10 +103,6 @@ export declare class PermissionValid {
|
|
|
103
103
|
static POS_VIEW: string;
|
|
104
104
|
static POS_UPDATE: string;
|
|
105
105
|
static POS_DELETE: string;
|
|
106
|
-
static CREATE_POS_CODE_BY_CODE: string;
|
|
107
|
-
static CREATE_POS_MONITOR_BY_CODE: string;
|
|
108
|
-
static DELETE_POS_CODE_BY_CODE: string;
|
|
109
|
-
static DELETE_POS_MONITOR_BY_CODE: string;
|
|
110
106
|
static POS_USER_CREATE: string;
|
|
111
107
|
static POS_USER_VIEW: string;
|
|
112
108
|
static POS_USER_UPDATE: string;
|
|
@@ -139,5 +135,9 @@ export declare class PermissionValid {
|
|
|
139
135
|
static TEMPORARY_CODE_UPDATE: string;
|
|
140
136
|
static TEMPORARY_CODE_DELETE: string;
|
|
141
137
|
static TEMPORARY_CODE_FIND_ONE_BY_CODE: string;
|
|
138
|
+
static TEMPORARY_CODE_CREATE_POS_CODE: string;
|
|
139
|
+
static TEMPORARY_CODE_CREATE_POS_MONITOR: string;
|
|
140
|
+
static TEMPORARY_CODE_DELETE_POS_CODE: string;
|
|
141
|
+
static TEMPORARY_CODE_DELETE_POS_MONITOR: string;
|
|
142
142
|
static OBS_EXECUTE_ACTION: string;
|
|
143
143
|
}
|
|
@@ -133,10 +133,6 @@ PermissionValid.POS_CREATE = "POS_CREATE";
|
|
|
133
133
|
PermissionValid.POS_VIEW = "POS_VIEW";
|
|
134
134
|
PermissionValid.POS_UPDATE = "POS_UPDATE";
|
|
135
135
|
PermissionValid.POS_DELETE = "POS_DELETE";
|
|
136
|
-
PermissionValid.CREATE_POS_CODE_BY_CODE = "CREATE_POS_CODE_BY_CODE";
|
|
137
|
-
PermissionValid.CREATE_POS_MONITOR_BY_CODE = "CREATE_POS_MONITOR_BY_CODE";
|
|
138
|
-
PermissionValid.DELETE_POS_CODE_BY_CODE = "DELETE_POS_CODE_BY_CODE";
|
|
139
|
-
PermissionValid.DELETE_POS_MONITOR_BY_CODE = "DELETE_POS_MONITOR_BY_CODE";
|
|
140
136
|
//POS USER
|
|
141
137
|
PermissionValid.POS_USER_CREATE = "POS_USER_CREATE";
|
|
142
138
|
PermissionValid.POS_USER_VIEW = "POS_USER_VIEW";
|
|
@@ -177,5 +173,9 @@ PermissionValid.TEMPORARY_CODE_VIEW = "TEMPORARY_CODE_VIEW";
|
|
|
177
173
|
PermissionValid.TEMPORARY_CODE_UPDATE = "TEMPORARY_CODE_UPDATE";
|
|
178
174
|
PermissionValid.TEMPORARY_CODE_DELETE = "TEMPORARY_CODE_DELETE";
|
|
179
175
|
PermissionValid.TEMPORARY_CODE_FIND_ONE_BY_CODE = "TEMPORARY_CODE_FIND_ONE_BY_CODE";
|
|
176
|
+
PermissionValid.TEMPORARY_CODE_CREATE_POS_CODE = "TEMPORARY_CODE_CREATE_POS_CODE";
|
|
177
|
+
PermissionValid.TEMPORARY_CODE_CREATE_POS_MONITOR = "TEMPORARY_CODE_CREATE_POS_MONITOR";
|
|
178
|
+
PermissionValid.TEMPORARY_CODE_DELETE_POS_CODE = "TEMPORARY_CODE_DELETE_POS_CODE";
|
|
179
|
+
PermissionValid.TEMPORARY_CODE_DELETE_POS_MONITOR = "TEMPORARY_CODE_DELETE_POS_MONITOR";
|
|
180
180
|
//OBS
|
|
181
181
|
PermissionValid.OBS_EXECUTE_ACTION = "OBS_EXECUTE_ACTION";
|
|
@@ -2,7 +2,6 @@ export * from "./pos.base";
|
|
|
2
2
|
export * from "./pos.controller";
|
|
3
3
|
export * from "./pos.datasource";
|
|
4
4
|
export * from "./pos.resolver";
|
|
5
|
-
export * from "./pos.service";
|
|
6
5
|
export * from "./create-pos.base";
|
|
7
6
|
export * from "./params-pos.base";
|
|
8
7
|
export * from "./response-pos.base";
|
package/dist/models/pos/index.js
CHANGED
|
@@ -18,7 +18,6 @@ __exportStar(require("./pos.base"), exports);
|
|
|
18
18
|
__exportStar(require("./pos.controller"), exports);
|
|
19
19
|
__exportStar(require("./pos.datasource"), exports);
|
|
20
20
|
__exportStar(require("./pos.resolver"), exports);
|
|
21
|
-
__exportStar(require("./pos.service"), exports);
|
|
22
21
|
__exportStar(require("./create-pos.base"), exports);
|
|
23
22
|
__exportStar(require("./params-pos.base"), exports);
|
|
24
23
|
__exportStar(require("./response-pos.base"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PosInterface } from "./pos.base";
|
|
2
|
-
import {
|
|
2
|
+
import { CreatePosInterface } from "./create-pos.base";
|
|
3
3
|
import { ParamsPosInterface } from "./params-pos.base";
|
|
4
4
|
import { ResponsePosInterface } from "./response-pos.base";
|
|
5
5
|
import { UpdatePosInterface } from "./update-pos.base";
|
|
@@ -12,8 +12,4 @@ export interface PosControllerInterface {
|
|
|
12
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
13
|
findByPosCode(uuid: string): Promise<PosInterface>;
|
|
14
14
|
findByPosMonitor(uuid: string): Promise<PosInterface>;
|
|
15
|
-
createPosCodeByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
16
|
-
createPosMonitorByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
17
|
-
deletePosCodeByCode(id: number): Promise<ResponseInterface>;
|
|
18
|
-
deletePosMonitorByCode(id: number): Promise<ResponseInterface>;
|
|
19
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PosInterface } from "./pos.base";
|
|
2
|
-
import {
|
|
2
|
+
import { CreatePosInterface } from "./create-pos.base";
|
|
3
3
|
import { ParamsPosInterface } from "./params-pos.base";
|
|
4
4
|
import { ResponsePosInterface } from "./response-pos.base";
|
|
5
5
|
import { UpdatePosInterface } from "./update-pos.base";
|
|
@@ -10,8 +10,4 @@ export interface PosDatasourceInterface {
|
|
|
10
10
|
findOne(id: number): Promise<PosInterface>;
|
|
11
11
|
update(dto: UpdatePosInterface): Promise<PosInterface>;
|
|
12
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
|
-
createPosCodeByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
14
|
-
createPosMonitorByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
15
|
-
deletePosCodeByCode(id: number): Promise<ResponseInterface>;
|
|
16
|
-
deletePosMonitorByCode(id: number): Promise<ResponseInterface>;
|
|
17
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
import { UserInterface } from "../user";
|
|
3
3
|
import { PosInterface } from "./pos.base";
|
|
4
|
-
import {
|
|
4
|
+
import { CreatePosInterface } from "./create-pos.base";
|
|
5
5
|
import { ParamsPosInterface } from "./params-pos.base";
|
|
6
6
|
import { ResponsePosInterface } from "./response-pos.base";
|
|
7
7
|
import { UpdatePosInterface } from "./update-pos.base";
|
|
@@ -13,8 +13,4 @@ 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
|
-
createPosCodeByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
17
|
-
createPosMonitorByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
18
|
-
deletePosCodeByCode(id: number): Promise<ResponseInterface>;
|
|
19
|
-
deletePosMonitorByCode(id: number): Promise<ResponseInterface>;
|
|
20
16
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { TemporaryCodeInterface } from "./temporary_code.base";
|
|
2
|
-
import { CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
2
|
+
import { CreatePosByTemporaryCodeInterface, CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
3
3
|
import { ResponseInterface } from "../common";
|
|
4
4
|
export interface TemporaryCodeControllerInterface {
|
|
5
5
|
create(dto: CreateTemporaryCodeInterface): Promise<TemporaryCodeInterface>;
|
|
6
6
|
findOne(id: number): Promise<TemporaryCodeInterface>;
|
|
7
7
|
remove(id: number): Promise<ResponseInterface>;
|
|
8
8
|
findOneByCode(code: string): Promise<TemporaryCodeInterface>;
|
|
9
|
+
createPosCodeByTemporaryCode(dto: CreatePosByTemporaryCodeInterface): Promise<ResponseInterface>;
|
|
10
|
+
createPosMonitorByTemporyCode(dto: CreatePosByTemporaryCodeInterface): Promise<ResponseInterface>;
|
|
11
|
+
deletePosCodeByTemporaryCode(id: number): Promise<ResponseInterface>;
|
|
12
|
+
deletePosMonitorByTemporaryCode(id: number): Promise<ResponseInterface>;
|
|
9
13
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { TemporaryCodeInterface } from "./temporary_code.base";
|
|
2
|
-
import { CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
2
|
+
import { CreatePosByTemporaryCodeInterface, CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
3
3
|
import { ResponseInterface } from "../common";
|
|
4
4
|
export interface TemporaryCodeDatasourceInterface {
|
|
5
5
|
create(dto: CreateTemporaryCodeInterface): Promise<TemporaryCodeInterface>;
|
|
6
6
|
findOne(id: number): Promise<TemporaryCodeInterface>;
|
|
7
|
-
remove(id: number): Promise<ResponseInterface>;
|
|
8
7
|
findOneByCode(code: string): Promise<TemporaryCodeInterface>;
|
|
8
|
+
createPosCodeByTemporaryCode(dto: CreatePosByTemporaryCodeInterface): Promise<ResponseInterface>;
|
|
9
|
+
createPosMonitorByTemporyCode(dto: CreatePosByTemporaryCodeInterface): Promise<ResponseInterface>;
|
|
10
|
+
deletePosCodeByTemporaryCode(id: number): Promise<ResponseInterface>;
|
|
11
|
+
deletePosMonitorByTemporaryCode(id: number): Promise<ResponseInterface>;
|
|
9
12
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { UserInterface } from "../user";
|
|
2
2
|
import { TemporaryCodeInterface } from "./temporary_code.base";
|
|
3
|
-
import { CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
3
|
+
import { CreatePosByTemporaryCodeInterface, CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
4
|
+
import { ResponseInterface } from "../common";
|
|
4
5
|
export interface TemporaryCodeResolverInterface {
|
|
5
6
|
create(dto: CreateTemporaryCodeInterface, user?: UserInterface): Promise<TemporaryCodeInterface>;
|
|
6
7
|
findOne(id: number, user?: UserInterface): Promise<TemporaryCodeInterface>;
|
|
7
8
|
findOneByCode(code: string, user?: UserInterface): Promise<TemporaryCodeInterface>;
|
|
9
|
+
createPosCodeByTemporaryCode(dto: CreatePosByTemporaryCodeInterface, user?: UserInterface): Promise<ResponseInterface>;
|
|
10
|
+
createPosMonitorByTemporyCode(dto: CreatePosByTemporaryCodeInterface, user?: UserInterface): Promise<ResponseInterface>;
|
|
11
|
+
deletePosCodeByTemporaryCode(id: number, user?: UserInterface): Promise<ResponseInterface>;
|
|
12
|
+
deletePosMonitorByTemporaryCode(id: number, user?: UserInterface): Promise<ResponseInterface>;
|
|
8
13
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
import { TemporaryCodeInterface } from "./temporary_code.base";
|
|
3
|
-
import { CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
3
|
+
import { CreatePosByTemporaryCodeInterface, CreateTemporaryCodeInterface } from "./create-temporary_code.base";
|
|
4
4
|
export interface TemporaryCodeServiceInterface {
|
|
5
5
|
create(dto: CreateTemporaryCodeInterface): Promise<TemporaryCodeInterface>;
|
|
6
6
|
findOne(id: number): Promise<TemporaryCodeInterface>;
|
|
7
7
|
remove(id: number): Promise<ResponseInterface>;
|
|
8
8
|
findOneByCode(code: string): Promise<TemporaryCodeInterface>;
|
|
9
|
+
createPosCodeByTemporaryCode(dto: CreatePosByTemporaryCodeInterface): Promise<ResponseInterface>;
|
|
10
|
+
createPosMonitorByTemporyCode(dto: CreatePosByTemporaryCodeInterface): Promise<ResponseInterface>;
|
|
11
|
+
deletePosCodeByTemporaryCode(id: number): Promise<ResponseInterface>;
|
|
12
|
+
deletePosMonitorByTemporaryCode(id: number): Promise<ResponseInterface>;
|
|
9
13
|
}
|