expo-backend-types 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.4 → 0.37.0-EXPO-326-Oscar-Ruggeri.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/src/account/dto/get-global-filter.dto.d.ts +8 -8
- package/dist/src/account/dto/get-me.dto.d.ts +16 -16
- package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -8
- package/dist/src/event/dto/create-event.dto.d.ts +8 -8
- package/dist/src/event/dto/event-tickets.dto.d.ts +2 -2
- package/dist/src/event/dto/get-active-events.dto.d.ts +12 -12
- package/dist/src/event/dto/get-all-event.dto.d.ts +56 -56
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +68 -50
- package/dist/src/event/dto/update-event.dto.d.ts +24 -24
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +21 -36
- package/dist/src/i18n/es.js +21 -36
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -12
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -20
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -8
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -12
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -12
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -12
- package/dist/src/tag/dto/create-tag.dto.d.ts +4 -4
- package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -4
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -8
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -8
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -4
- package/dist/src/tag/dto/tag.dto.d.ts +4 -4
- package/dist/src/tag/dto/update-tag.dto.d.ts +4 -4
- package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -12
- package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -12
- package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -8
- package/dist/src/ticket/constants.d.ts +12 -14
- package/dist/src/ticket/constants.js +355 -248
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +44 -21
- package/dist/src/ticket/dto/create-ticket.dto.js +1 -1
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +24 -10
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +36 -18
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +36 -18
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +36 -18
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +36 -18
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +36 -18
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +24 -10
- package/dist/src/ticket/dto/send-email.dto.d.ts +18 -0
- package/dist/src/ticket/dto/send-email.dto.js +15 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +24 -10
- package/dist/src/ticket/dto/ticket.dto.js +4 -2
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +42 -26
- package/dist/src/ticket/dto/update-ticket.dto.js +1 -2
- package/dist/types/prisma-schema/edge.js +6 -15
- package/dist/types/prisma-schema/index-browser.js +3 -12
- package/dist/types/prisma-schema/index.d.ts +359 -2257
- package/dist/types/prisma-schema/index.js +6 -15
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +7 -23
- package/dist/types/prisma-schema/wasm.js +3 -12
- package/dist/types/schema.d.ts +29 -317
- package/package.json +6 -6
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -730
- package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -59
- package/dist/src/ticket/dto/find-by-event-type-ticket.dto.d.ts +0 -48
- package/dist/src/ticket/dto/find-by-event-type-ticket.dto.js +0 -20
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -356
- package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -32
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -20
- package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
- package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
- package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
- package/dist/src/ticket-group/exports.d.ts +0 -5
- package/dist/src/ticket-group/exports.js +0 -22
@@ -1,27 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.TicketGroupDto = exports.ticketGroupSchema = void 0;
|
7
|
-
const event_dto_1 = require("../../event/dto/event.dto");
|
8
|
-
const translate_1 = require("../../i18n/translate");
|
9
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
-
const zod_1 = __importDefault(require("zod"));
|
11
|
-
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
12
|
-
exports.ticketGroupSchema = zod_1.default.object({
|
13
|
-
id: zod_1.default.string().uuid({ message: (0, translate_1.translate)('model.ticketGroup.id.uuid') }),
|
14
|
-
amountTickets: zod_1.default
|
15
|
-
.number()
|
16
|
-
.min(0, (0, translate_1.translate)('model.ticketGroup.amountTickets')),
|
17
|
-
status: zod_1.default.nativeEnum(prisma_schema_1.TicketGroupStatus, {
|
18
|
-
message: (0, translate_1.translate)('model.ticketGroup.status.invalid'),
|
19
|
-
}),
|
20
|
-
eventId: event_dto_1.eventSchema.shape.id,
|
21
|
-
created_at: zod_1.default.date(),
|
22
|
-
updated_at: zod_1.default.date(),
|
23
|
-
});
|
24
|
-
class TicketGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.ticketGroupSchema) {
|
25
|
-
}
|
26
|
-
exports.TicketGroupDto = TicketGroupDto;
|
27
|
-
//# sourceMappingURL=ticket-group.dto.js.map
|
@@ -1,79 +0,0 @@
|
|
1
|
-
export declare const updateTicketGroupSchema: import("zod").ZodObject<{
|
2
|
-
status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
|
3
|
-
BOOKED: "BOOKED";
|
4
|
-
PAID: "PAID";
|
5
|
-
FREE: "FREE";
|
6
|
-
}>>;
|
7
|
-
}, "strip", import("zod").ZodTypeAny, {
|
8
|
-
status?: "BOOKED" | "PAID" | "FREE" | undefined;
|
9
|
-
}, {
|
10
|
-
status?: "BOOKED" | "PAID" | "FREE" | undefined;
|
11
|
-
}>;
|
12
|
-
declare const UpdateTicketGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
13
|
-
status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
|
14
|
-
BOOKED: "BOOKED";
|
15
|
-
PAID: "PAID";
|
16
|
-
FREE: "FREE";
|
17
|
-
}>>;
|
18
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
19
|
-
status?: "BOOKED" | "PAID" | "FREE" | undefined;
|
20
|
-
}, {
|
21
|
-
status?: "BOOKED" | "PAID" | "FREE" | undefined;
|
22
|
-
}>>;
|
23
|
-
export declare class UpdateTicketGroupDto extends UpdateTicketGroupDto_base {
|
24
|
-
}
|
25
|
-
export declare const updateTicketGroupResponseSchema: import("zod").ZodObject<{
|
26
|
-
id: import("zod").ZodString;
|
27
|
-
amountTickets: import("zod").ZodNumber;
|
28
|
-
status: import("zod").ZodNativeEnum<{
|
29
|
-
BOOKED: "BOOKED";
|
30
|
-
PAID: "PAID";
|
31
|
-
FREE: "FREE";
|
32
|
-
}>;
|
33
|
-
eventId: import("zod").ZodString;
|
34
|
-
created_at: import("zod").ZodDate;
|
35
|
-
updated_at: import("zod").ZodDate;
|
36
|
-
}, "strip", import("zod").ZodTypeAny, {
|
37
|
-
id: string;
|
38
|
-
eventId: string;
|
39
|
-
status: "BOOKED" | "PAID" | "FREE";
|
40
|
-
amountTickets: number;
|
41
|
-
created_at: Date;
|
42
|
-
updated_at: Date;
|
43
|
-
}, {
|
44
|
-
id: string;
|
45
|
-
eventId: string;
|
46
|
-
status: "BOOKED" | "PAID" | "FREE";
|
47
|
-
amountTickets: number;
|
48
|
-
created_at: Date;
|
49
|
-
updated_at: Date;
|
50
|
-
}>;
|
51
|
-
declare const UpdateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
52
|
-
id: import("zod").ZodString;
|
53
|
-
amountTickets: import("zod").ZodNumber;
|
54
|
-
status: import("zod").ZodNativeEnum<{
|
55
|
-
BOOKED: "BOOKED";
|
56
|
-
PAID: "PAID";
|
57
|
-
FREE: "FREE";
|
58
|
-
}>;
|
59
|
-
eventId: import("zod").ZodString;
|
60
|
-
created_at: import("zod").ZodString;
|
61
|
-
updated_at: import("zod").ZodString;
|
62
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
63
|
-
id: string;
|
64
|
-
eventId: string;
|
65
|
-
status: "BOOKED" | "PAID" | "FREE";
|
66
|
-
amountTickets: number;
|
67
|
-
created_at: string;
|
68
|
-
updated_at: string;
|
69
|
-
}, {
|
70
|
-
id: string;
|
71
|
-
eventId: string;
|
72
|
-
status: "BOOKED" | "PAID" | "FREE";
|
73
|
-
amountTickets: number;
|
74
|
-
created_at: string;
|
75
|
-
updated_at: string;
|
76
|
-
}>>;
|
77
|
-
export declare class UpdateTicketGroupResponseDto extends UpdateTicketGroupResponseDto_base {
|
78
|
-
}
|
79
|
-
export {};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateTicketGroupResponseDto = exports.updateTicketGroupResponseSchema = exports.UpdateTicketGroupDto = exports.updateTicketGroupSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
-
const ticket_group_dto_1 = require("./ticket-group.dto");
|
6
|
-
exports.updateTicketGroupSchema = ticket_group_dto_1.ticketGroupSchema
|
7
|
-
.pick({
|
8
|
-
status: true,
|
9
|
-
})
|
10
|
-
.partial();
|
11
|
-
class UpdateTicketGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTicketGroupSchema) {
|
12
|
-
}
|
13
|
-
exports.UpdateTicketGroupDto = UpdateTicketGroupDto;
|
14
|
-
exports.updateTicketGroupResponseSchema = ticket_group_dto_1.ticketGroupSchema;
|
15
|
-
class UpdateTicketGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTicketGroupResponseSchema) {
|
16
|
-
}
|
17
|
-
exports.UpdateTicketGroupResponseDto = UpdateTicketGroupResponseDto;
|
18
|
-
//# sourceMappingURL=update-ticket-group.dto.js.map
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./dto/create-ticket-group.dto"), exports);
|
18
|
-
__exportStar(require("./dto/delete-ticket-group.dto"), exports);
|
19
|
-
__exportStar(require("./dto/find-tickets-by-event.dto"), exports);
|
20
|
-
__exportStar(require("./dto/ticket-group.dto"), exports);
|
21
|
-
__exportStar(require("./dto/update-ticket-group.dto"), exports);
|
22
|
-
//# sourceMappingURL=exports.js.map
|