expo-backend-types 0.36.0-EXPO-323-Enviar-mail-ticket.1 → 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.4
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 +1 -1
- package/dist/src/account/dto/get-me.dto.d.ts +6 -6
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -6
- 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/get-by-id-event.dto.d.ts +0 -20
- package/dist/src/i18n/es.d.ts +5 -19
- package/dist/src/i18n/es.js +5 -19
- 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 +18 -18
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +28 -28
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +11 -11
- 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 +18 -18
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +18 -18
- package/dist/src/profile/dto/find-trash.dto.d.ts +1 -1
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +18 -18
- 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/massive-allocation.dto.d.ts +18 -18
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +18 -18
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +688 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.js +57 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +1 -25
- package/dist/src/ticket/dto/create-ticket.dto.js +0 -2
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +0 -12
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -20
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +26 -46
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +26 -46
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +26 -46
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -20
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +0 -12
- package/dist/src/ticket/dto/ticket.dto.d.ts +0 -12
- package/dist/src/ticket/dto/ticket.dto.js +0 -2
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +0 -12
- package/dist/types/prisma-schema/edge.js +5 -7
- package/dist/types/prisma-schema/index-browser.js +2 -4
- package/dist/types/prisma-schema/index.d.ts +3 -131
- package/dist/types/prisma-schema/index.js +5 -7
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -4
- package/dist/types/prisma-schema/wasm.js +2 -4
- package/dist/types/schema.d.ts +116 -100
- package/package.json +2 -2
- package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
- package/dist/src/ticket/dto/send-email.dto.js +0 -15
@@ -0,0 +1,57 @@
|
|
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 = ticket_dto_1.ticketSchema
|
13
|
+
.pick({
|
14
|
+
eventId: true,
|
15
|
+
type: true,
|
16
|
+
status: true,
|
17
|
+
fullName: true,
|
18
|
+
mail: true,
|
19
|
+
})
|
20
|
+
.extend({
|
21
|
+
profileId: profile_schema_1.profileSchema.shape.id.optional(),
|
22
|
+
})
|
23
|
+
.array();
|
24
|
+
class CreateManyTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketSchema) {
|
25
|
+
}
|
26
|
+
exports.CreateManyTicketDto = CreateManyTicketDto;
|
27
|
+
exports.generateMultiplePdfTicketsSchema = zod_1.default
|
28
|
+
.object({
|
29
|
+
ticketId: zod_1.default.string(),
|
30
|
+
pdf: zod_1.default.instanceof(Blob),
|
31
|
+
})
|
32
|
+
.array();
|
33
|
+
class GenerateMultiplePdfTicketsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.generateMultiplePdfTicketsSchema) {
|
34
|
+
}
|
35
|
+
exports.GenerateMultiplePdfTicketsResponseDto = GenerateMultiplePdfTicketsResponseDto;
|
36
|
+
class GenerateMultiplePdfTicketsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.generateMultiplePdfTicketsSchema) {
|
37
|
+
}
|
38
|
+
exports.GenerateMultiplePdfTicketsDto = GenerateMultiplePdfTicketsDto;
|
39
|
+
exports.createManyTicketResponseSchema = ticket_dto_1.ticketSchema
|
40
|
+
.extend({
|
41
|
+
event: event_dto_1.eventSchema,
|
42
|
+
})
|
43
|
+
.array();
|
44
|
+
class CreateManyTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketResponseSchema) {
|
45
|
+
}
|
46
|
+
exports.CreateManyTicketResponseDto = CreateManyTicketResponseDto;
|
47
|
+
exports.createManyTicketWithPdfsResponseSchema = zod_1.default.object({
|
48
|
+
tickets: exports.createManyTicketResponseSchema,
|
49
|
+
pdfs: zod_1.default.array(zod_1.default.object({
|
50
|
+
ticketId: zod_1.default.string(),
|
51
|
+
pdfBase64: zod_1.default.string(),
|
52
|
+
})),
|
53
|
+
});
|
54
|
+
class CreateManyTicketWithPdfsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketWithPdfsResponseSchema) {
|
55
|
+
}
|
56
|
+
exports.CreateManyTicketWithPdfsResponseDto = CreateManyTicketWithPdfsResponseDto;
|
57
|
+
//# sourceMappingURL=create-many-ticket.dto.js.map
|
@@ -13,11 +13,9 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
13
13
|
}>;
|
14
14
|
fullName: import("zod").ZodString;
|
15
15
|
mail: import("zod").ZodString;
|
16
|
-
dni: import("zod").ZodString;
|
17
|
-
seat: import("zod").ZodNumber;
|
18
16
|
created_at: import("zod").ZodDate;
|
19
17
|
updated_at: import("zod").ZodDate;
|
20
|
-
}, "type" | "fullName" | "mail" | "eventId" | "status"
|
18
|
+
}, "type" | "fullName" | "mail" | "eventId" | "status">, {
|
21
19
|
profileId: import("zod").ZodOptional<import("zod").ZodString>;
|
22
20
|
}>, "strip", import("zod").ZodTypeAny, {
|
23
21
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -25,8 +23,6 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
25
23
|
mail: string;
|
26
24
|
eventId: string;
|
27
25
|
status: "BOOKED" | "PAID" | "FREE";
|
28
|
-
seat: number;
|
29
|
-
dni: string;
|
30
26
|
profileId?: string | undefined;
|
31
27
|
}, {
|
32
28
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -34,8 +30,6 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
34
30
|
mail: string;
|
35
31
|
eventId: string;
|
36
32
|
status: "BOOKED" | "PAID" | "FREE";
|
37
|
-
seat: number;
|
38
|
-
dni: string;
|
39
33
|
profileId?: string | undefined;
|
40
34
|
}>;
|
41
35
|
declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
@@ -52,8 +46,6 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
52
46
|
PAID: "PAID";
|
53
47
|
FREE: "FREE";
|
54
48
|
}>;
|
55
|
-
seat: import("zod").ZodNumber;
|
56
|
-
dni: import("zod").ZodString;
|
57
49
|
profileId: import("zod").ZodOptional<import("zod").ZodString>;
|
58
50
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
59
51
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -61,8 +53,6 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
61
53
|
mail: string;
|
62
54
|
eventId: string;
|
63
55
|
status: "BOOKED" | "PAID" | "FREE";
|
64
|
-
seat: number;
|
65
|
-
dni: string;
|
66
56
|
profileId?: string | undefined;
|
67
57
|
}, {
|
68
58
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
@@ -70,8 +60,6 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
70
60
|
mail: string;
|
71
61
|
eventId: string;
|
72
62
|
status: "BOOKED" | "PAID" | "FREE";
|
73
|
-
seat: number;
|
74
|
-
dni: string;
|
75
63
|
profileId?: string | undefined;
|
76
64
|
}>>;
|
77
65
|
export declare class CreateTicketDto extends CreateTicketDto_base {
|
@@ -91,8 +79,6 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
91
79
|
}>;
|
92
80
|
fullName: import("zod").ZodString;
|
93
81
|
mail: import("zod").ZodString;
|
94
|
-
dni: import("zod").ZodString;
|
95
|
-
seat: import("zod").ZodNumber;
|
96
82
|
created_at: import("zod").ZodDate;
|
97
83
|
updated_at: import("zod").ZodDate;
|
98
84
|
}, {
|
@@ -161,8 +147,6 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
161
147
|
mail: string;
|
162
148
|
eventId: string;
|
163
149
|
status: "BOOKED" | "PAID" | "FREE";
|
164
|
-
seat: number;
|
165
|
-
dni: string;
|
166
150
|
created_at: Date;
|
167
151
|
updated_at: Date;
|
168
152
|
}, {
|
@@ -187,8 +171,6 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
187
171
|
mail: string;
|
188
172
|
eventId: string;
|
189
173
|
status: "BOOKED" | "PAID" | "FREE";
|
190
|
-
seat: number;
|
191
|
-
dni: string;
|
192
174
|
created_at: Date;
|
193
175
|
updated_at: Date;
|
194
176
|
}>;
|
@@ -207,8 +189,6 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
207
189
|
}>;
|
208
190
|
fullName: import("zod").ZodString;
|
209
191
|
mail: import("zod").ZodString;
|
210
|
-
dni: import("zod").ZodString;
|
211
|
-
seat: import("zod").ZodNumber;
|
212
192
|
created_at: import("zod").ZodString;
|
213
193
|
updated_at: import("zod").ZodString;
|
214
194
|
event: import("zod").ZodObject<{
|
@@ -276,8 +256,6 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
276
256
|
mail: string;
|
277
257
|
eventId: string;
|
278
258
|
status: "BOOKED" | "PAID" | "FREE";
|
279
|
-
seat: number;
|
280
|
-
dni: string;
|
281
259
|
created_at: string;
|
282
260
|
updated_at: string;
|
283
261
|
}, {
|
@@ -302,8 +280,6 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
302
280
|
mail: string;
|
303
281
|
eventId: string;
|
304
282
|
status: "BOOKED" | "PAID" | "FREE";
|
305
|
-
seat: number;
|
306
|
-
dni: string;
|
307
283
|
created_at: string;
|
308
284
|
updated_at: string;
|
309
285
|
}>>;
|
@@ -13,8 +13,6 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
|
|
13
13
|
}>;
|
14
14
|
fullName: import("zod").ZodString;
|
15
15
|
mail: import("zod").ZodString;
|
16
|
-
dni: import("zod").ZodString;
|
17
|
-
seat: import("zod").ZodNumber;
|
18
16
|
created_at: import("zod").ZodDate;
|
19
17
|
updated_at: import("zod").ZodDate;
|
20
18
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -24,8 +22,6 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
|
|
24
22
|
mail: string;
|
25
23
|
eventId: string;
|
26
24
|
status: "BOOKED" | "PAID" | "FREE";
|
27
|
-
seat: number;
|
28
|
-
dni: string;
|
29
25
|
created_at: Date;
|
30
26
|
updated_at: Date;
|
31
27
|
}, {
|
@@ -35,8 +31,6 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
|
|
35
31
|
mail: string;
|
36
32
|
eventId: string;
|
37
33
|
status: "BOOKED" | "PAID" | "FREE";
|
38
|
-
seat: number;
|
39
|
-
dni: string;
|
40
34
|
created_at: Date;
|
41
35
|
updated_at: Date;
|
42
36
|
}>;
|
@@ -55,8 +49,6 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
55
49
|
}>;
|
56
50
|
fullName: import("zod").ZodString;
|
57
51
|
mail: import("zod").ZodString;
|
58
|
-
dni: import("zod").ZodString;
|
59
|
-
seat: import("zod").ZodNumber;
|
60
52
|
created_at: import("zod").ZodString;
|
61
53
|
updated_at: import("zod").ZodString;
|
62
54
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
@@ -66,8 +58,6 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
66
58
|
mail: string;
|
67
59
|
eventId: string;
|
68
60
|
status: "BOOKED" | "PAID" | "FREE";
|
69
|
-
seat: number;
|
70
|
-
dni: string;
|
71
61
|
created_at: string;
|
72
62
|
updated_at: string;
|
73
63
|
}, {
|
@@ -77,8 +67,6 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
77
67
|
mail: string;
|
78
68
|
eventId: string;
|
79
69
|
status: "BOOKED" | "PAID" | "FREE";
|
80
|
-
seat: number;
|
81
|
-
dni: string;
|
82
70
|
created_at: string;
|
83
71
|
updated_at: string;
|
84
72
|
}>>;
|
@@ -15,8 +15,6 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
15
15
|
}>;
|
16
16
|
fullName: z.ZodString;
|
17
17
|
mail: z.ZodString;
|
18
|
-
dni: z.ZodString;
|
19
|
-
seat: z.ZodNumber;
|
20
18
|
created_at: z.ZodDate;
|
21
19
|
updated_at: z.ZodDate;
|
22
20
|
}, {
|
@@ -55,8 +53,6 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
55
53
|
mail: string;
|
56
54
|
eventId: string;
|
57
55
|
status: "BOOKED" | "PAID" | "FREE";
|
58
|
-
seat: number;
|
59
|
-
dni: string;
|
60
56
|
created_at: Date;
|
61
57
|
updated_at: Date;
|
62
58
|
}, {
|
@@ -71,8 +67,6 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
71
67
|
mail: string;
|
72
68
|
eventId: string;
|
73
69
|
status: "BOOKED" | "PAID" | "FREE";
|
74
|
-
seat: number;
|
75
|
-
dni: string;
|
76
70
|
created_at: Date;
|
77
71
|
updated_at: Date;
|
78
72
|
}>, "many">;
|
@@ -89,8 +83,6 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
89
83
|
mail: string;
|
90
84
|
eventId: string;
|
91
85
|
status: "BOOKED" | "PAID" | "FREE";
|
92
|
-
seat: number;
|
93
|
-
dni: string;
|
94
86
|
created_at: Date;
|
95
87
|
updated_at: Date;
|
96
88
|
}[];
|
@@ -107,8 +99,6 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
107
99
|
mail: string;
|
108
100
|
eventId: string;
|
109
101
|
status: "BOOKED" | "PAID" | "FREE";
|
110
|
-
seat: number;
|
111
|
-
dni: string;
|
112
102
|
created_at: Date;
|
113
103
|
updated_at: Date;
|
114
104
|
}[];
|
@@ -129,8 +119,6 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
129
119
|
}>;
|
130
120
|
fullName: z.ZodString;
|
131
121
|
mail: z.ZodString;
|
132
|
-
dni: z.ZodString;
|
133
|
-
seat: z.ZodNumber;
|
134
122
|
created_at: z.ZodString;
|
135
123
|
updated_at: z.ZodString;
|
136
124
|
event: z.ZodObject<{
|
@@ -158,8 +146,6 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
158
146
|
mail: string;
|
159
147
|
eventId: string;
|
160
148
|
status: "BOOKED" | "PAID" | "FREE";
|
161
|
-
seat: number;
|
162
|
-
dni: string;
|
163
149
|
created_at: string;
|
164
150
|
updated_at: string;
|
165
151
|
}, {
|
@@ -174,8 +160,6 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
174
160
|
mail: string;
|
175
161
|
eventId: string;
|
176
162
|
status: "BOOKED" | "PAID" | "FREE";
|
177
|
-
seat: number;
|
178
|
-
dni: string;
|
179
163
|
created_at: string;
|
180
164
|
updated_at: string;
|
181
165
|
}>, "many">;
|
@@ -192,8 +176,6 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
192
176
|
mail: string;
|
193
177
|
eventId: string;
|
194
178
|
status: "BOOKED" | "PAID" | "FREE";
|
195
|
-
seat: number;
|
196
|
-
dni: string;
|
197
179
|
created_at: string;
|
198
180
|
updated_at: string;
|
199
181
|
}[];
|
@@ -210,8 +192,6 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
210
192
|
mail: string;
|
211
193
|
eventId: string;
|
212
194
|
status: "BOOKED" | "PAID" | "FREE";
|
213
|
-
seat: number;
|
214
|
-
dni: string;
|
215
195
|
created_at: string;
|
216
196
|
updated_at: string;
|
217
197
|
}[];
|