expo-backend-types 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.9 → 0.36.0-EXPO-323-Enviar-mail-ticket.5
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/account.dto.d.ts +6 -6
- package/dist/src/account/dto/create-account.dto.d.ts +12 -12
- package/dist/src/account/dto/get-global-filter.dto.d.ts +9 -9
- package/dist/src/account/dto/get-me.dto.d.ts +22 -22
- package/dist/src/account/dto/update-global-filter.dto.d.ts +14 -14
- package/dist/src/auth/dto/login.dto.d.ts +11 -11
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -1
- 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 +60 -40
- package/dist/src/event/dto/update-event.dto.d.ts +24 -24
- package/dist/src/i18n/es.d.ts +25 -5
- package/dist/src/i18n/es.js +25 -5
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +11 -11
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +19 -19
- package/dist/src/mi-expo/dto/login.dto.d.ts +20 -20
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +17 -17
- package/dist/src/otp/dto/verify-otp.dto.d.ts +18 -18
- package/dist/src/profile/dto/create-profile.dto.d.ts +14 -14
- package/dist/src/profile/dto/delete-profile.dto.d.ts +10 -10
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +30 -30
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +48 -48
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +19 -19
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +10 -10
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +30 -30
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +30 -30
- package/dist/src/profile/dto/find-trash.dto.d.ts +1 -1
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +30 -30
- package/dist/src/profile/dto/profile.dto.d.ts +5 -5
- package/dist/src/profile/dto/update-profile.dto.d.ts +16 -16
- package/dist/src/schema/profile.schema.d.ts +5 -5
- 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/massive-allocation.dto.d.ts +18 -18
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +18 -18
- 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 -267
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +28 -9
- package/dist/src/ticket/dto/create-ticket.dto.js +1 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +16 -4
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +28 -8
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +54 -34
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +54 -34
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +54 -34
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +28 -8
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +16 -4
- 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 +16 -4
- package/dist/src/ticket/dto/ticket.dto.js +2 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +20 -8
- package/dist/types/prisma-schema/edge.js +7 -5
- package/dist/types/prisma-schema/index-browser.js +4 -2
- package/dist/types/prisma-schema/index.d.ts +193 -65
- package/dist/types/prisma-schema/index.js +7 -5
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +5 -1
- package/dist/types/prisma-schema/wasm.js +4 -2
- package/dist/types/schema.d.ts +99 -118
- package/package.json +8 -8
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -728
- package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -58
@@ -1,58 +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.CreateManyTicketWithPdfsResponseDto = exports.createManyTicketWithPdfsResponseSchema = exports.CreateManyTicketResponseDto = exports.createManyTicketResponseSchema = exports.GenerateMultiplePdfTicketsDto = exports.GenerateMultiplePdfTicketsResponseDto = exports.generateMultiplePdfTicketsSchema = exports.CreateManyTicketDto = exports.createManyTicketSchema = void 0;
|
7
|
-
const event_dto_1 = require("../../event/dto/event.dto");
|
8
|
-
const profile_schema_1 = require("../../schema/profile.schema");
|
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 ticket_dto_1 = require("./ticket.dto");
|
12
|
-
exports.createManyTicketSchema = zod_1.default.object({
|
13
|
-
tickets: zod_1.default.array(ticket_dto_1.ticketSchema
|
14
|
-
.pick({
|
15
|
-
eventId: true,
|
16
|
-
type: true,
|
17
|
-
status: true,
|
18
|
-
fullName: true,
|
19
|
-
mail: true,
|
20
|
-
})
|
21
|
-
.extend({
|
22
|
-
profileId: profile_schema_1.profileSchema.shape.id.optional(),
|
23
|
-
})),
|
24
|
-
});
|
25
|
-
class CreateManyTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketSchema) {
|
26
|
-
}
|
27
|
-
exports.CreateManyTicketDto = CreateManyTicketDto;
|
28
|
-
exports.generateMultiplePdfTicketsSchema = zod_1.default
|
29
|
-
.object({
|
30
|
-
ticketId: zod_1.default.string(),
|
31
|
-
pdf: zod_1.default.instanceof(Blob),
|
32
|
-
})
|
33
|
-
.array();
|
34
|
-
class GenerateMultiplePdfTicketsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.generateMultiplePdfTicketsSchema) {
|
35
|
-
}
|
36
|
-
exports.GenerateMultiplePdfTicketsResponseDto = GenerateMultiplePdfTicketsResponseDto;
|
37
|
-
class GenerateMultiplePdfTicketsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.generateMultiplePdfTicketsSchema) {
|
38
|
-
}
|
39
|
-
exports.GenerateMultiplePdfTicketsDto = GenerateMultiplePdfTicketsDto;
|
40
|
-
exports.createManyTicketResponseSchema = ticket_dto_1.ticketSchema
|
41
|
-
.extend({
|
42
|
-
event: event_dto_1.eventSchema,
|
43
|
-
})
|
44
|
-
.array();
|
45
|
-
class CreateManyTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketResponseSchema) {
|
46
|
-
}
|
47
|
-
exports.CreateManyTicketResponseDto = CreateManyTicketResponseDto;
|
48
|
-
exports.createManyTicketWithPdfsResponseSchema = zod_1.default.object({
|
49
|
-
tickets: exports.createManyTicketResponseSchema,
|
50
|
-
pdfs: zod_1.default.array(zod_1.default.object({
|
51
|
-
ticketId: zod_1.default.string(),
|
52
|
-
pdfBase64: zod_1.default.string(),
|
53
|
-
})),
|
54
|
-
});
|
55
|
-
class CreateManyTicketWithPdfsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketWithPdfsResponseSchema) {
|
56
|
-
}
|
57
|
-
exports.CreateManyTicketWithPdfsResponseDto = CreateManyTicketWithPdfsResponseDto;
|
58
|
-
//# sourceMappingURL=create-many-ticket.dto.js.map
|