@carlosdiazz/lottodiz-shared 3.8.0 → 3.8.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/models/account_type/params-account-type.base.d.ts +3 -3
- package/dist/models/company/params-company.base.d.ts +3 -3
- package/dist/models/config_obs/params-config_obs.base.d.ts +3 -3
- package/dist/models/country/params-country.base.d.ts +3 -3
- package/dist/models/draw/params.draw.d.ts +3 -3
- package/dist/models/draw_statistic/params.draw_statics.d.ts +3 -3
- package/dist/models/draw_webscraping/params-draw_webscraping.base.d.ts +3 -3
- package/dist/models/group/params-group.base.d.ts +3 -3
- package/dist/models/lottery/params-lottery.d.ts +3 -3
- package/dist/models/page_webscraping/params-page_webscraping.d.ts +3 -0
- package/dist/models/pos/params-pos.base.d.ts +3 -3
- package/dist/models/pos_user/params-pos_user.base.d.ts +3 -3
- package/dist/models/template_draw/params-template_draw.base.d.ts +3 -3
- package/dist/models/template_draw_webscraping/paramas-template_draw_webscraping.d.ts +3 -3
- package/dist/models/template_video/params-template_video.base.d.ts +3 -3
- package/dist/models/ticket/create-ticket.base.d.ts +0 -3
- package/dist/models/ticket/ticket.resolver.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsConfigObsInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_template_video?: number | null;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsCountryInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_platform?: number | null;
|
|
7
7
|
view_screen?: boolean | null;
|
|
8
8
|
is_global?: boolean | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsDrawInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_platform?: number | null;
|
|
7
7
|
id_country?: number | null;
|
|
8
8
|
id_lottery?: number | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsDrawStaticsInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_platform?: number | null;
|
|
7
7
|
id_country?: number | null;
|
|
8
8
|
id_lottery?: number | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsDrawWebscrapingInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
is_completed?: boolean | null;
|
|
7
7
|
is_init?: boolean | null;
|
|
8
8
|
is_error?: boolean | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsGroupInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_company?: string | null;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsLotteryInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_platform?: number | null;
|
|
7
7
|
id_country?: number | null;
|
|
8
8
|
view_screen?: boolean | null;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsPageWebscrapingInterface extends PaginationInterface {
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
3
6
|
id_template_page_webscraping?: number | null;
|
|
4
7
|
id_template_draw_webscraping?: number | null;
|
|
5
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsPosInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_group?: string | null;
|
|
7
7
|
id_company?: string | null;
|
|
8
8
|
is_pos_code?: boolean | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsTemplateDrawInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_day?: number | null;
|
|
7
7
|
id_lottery?: number | null;
|
|
8
8
|
id_country?: number | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsTemplateDrawWebscrapingInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_lottery?: number | null;
|
|
7
7
|
id_country?: number | null;
|
|
8
8
|
id_platform?: number | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaginationInterface } from "../common";
|
|
2
2
|
export interface ParamsTemplateVideoInterface extends PaginationInterface {
|
|
3
|
-
offset
|
|
4
|
-
limit
|
|
5
|
-
active
|
|
3
|
+
offset?: number;
|
|
4
|
+
limit?: number;
|
|
5
|
+
active?: boolean;
|
|
6
6
|
id_channel_yt?: number | null;
|
|
7
7
|
id_day?: number | null;
|
|
8
8
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UserInterface } from "../user";
|
|
2
1
|
export interface CreateTicketDetailInterface {
|
|
3
2
|
number_played: number[];
|
|
4
3
|
amount: number;
|
|
@@ -7,9 +6,7 @@ export interface CreateTicketDetailInterface {
|
|
|
7
6
|
export interface CreateTicketInterface {
|
|
8
7
|
id_draw: number;
|
|
9
8
|
details: CreateTicketDetailInterface[];
|
|
10
|
-
user?: UserInterface;
|
|
11
9
|
}
|
|
12
10
|
export interface FindByCodeInterface {
|
|
13
11
|
code: string;
|
|
14
|
-
user?: UserInterface;
|
|
15
12
|
}
|
|
@@ -4,9 +4,9 @@ import { CreateTicketInterface } from "./create-ticket.base";
|
|
|
4
4
|
import { ParamsTicketInterface } from "./params-ticket.base";
|
|
5
5
|
import { ResponseInterface } from "../common";
|
|
6
6
|
export interface TicketResolverInterface {
|
|
7
|
-
create(dto: CreateTicketInterface, user
|
|
7
|
+
create(dto: CreateTicketInterface, user: UserInterface): Promise<TicketInterface>;
|
|
8
8
|
findAll(pagination: ParamsTicketInterface, user?: UserInterface): Promise<TicketInterface[]>;
|
|
9
|
-
findByCode(code: string, user
|
|
10
|
-
cancelByCode(code: string, user
|
|
11
|
-
payByCode(code: string, user
|
|
9
|
+
findByCode(code: string, user: UserInterface): Promise<ResponseFindTicketInterface>;
|
|
10
|
+
cancelByCode(code: string, user: UserInterface): Promise<ResponseInterface>;
|
|
11
|
+
payByCode(code: string, user: UserInterface): Promise<ResponseInterface>;
|
|
12
12
|
}
|