expo-backend-types 0.36.0-EXPO-323-Enviar-mail-ticket.3 → 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.7

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.
Files changed (58) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -6
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -12
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -1
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -6
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -6
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -11
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -1
  8. package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -20
  9. package/dist/src/i18n/es.d.ts +5 -19
  10. package/dist/src/i18n/es.js +5 -19
  11. package/dist/src/i18n/es.js.map +1 -1
  12. package/dist/src/mi-expo/dto/get-me.dto.d.ts +11 -11
  13. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +19 -19
  14. package/dist/src/mi-expo/dto/login.dto.d.ts +20 -20
  15. package/dist/src/mi-expo/dto/update-me.dto.d.ts +17 -17
  16. package/dist/src/otp/dto/verify-otp.dto.d.ts +18 -18
  17. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -14
  18. package/dist/src/profile/dto/delete-profile.dto.d.ts +10 -10
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +18 -18
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +28 -28
  21. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +11 -11
  22. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +10 -10
  23. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +18 -18
  24. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +18 -18
  25. package/dist/src/profile/dto/find-trash.dto.d.ts +1 -1
  26. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +18 -18
  27. package/dist/src/profile/dto/profile.dto.d.ts +5 -5
  28. package/dist/src/profile/dto/update-profile.dto.d.ts +16 -16
  29. package/dist/src/schema/profile.schema.d.ts +5 -5
  30. package/dist/src/tag/dto/massive-allocation.dto.d.ts +18 -18
  31. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +18 -18
  32. package/dist/src/ticket/constants.d.ts +14 -95
  33. package/dist/src/ticket/constants.js +222 -254
  34. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +728 -0
  35. package/dist/src/ticket/dto/create-many-ticket.dto.js +58 -0
  36. package/dist/src/ticket/dto/create-ticket.dto.d.ts +1 -25
  37. package/dist/src/ticket/dto/create-ticket.dto.js +0 -2
  38. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +0 -12
  39. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -20
  40. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +26 -46
  41. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +26 -46
  42. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +26 -46
  43. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -20
  44. package/dist/src/ticket/dto/find-ticket.dto.d.ts +0 -12
  45. package/dist/src/ticket/dto/ticket.dto.d.ts +0 -12
  46. package/dist/src/ticket/dto/ticket.dto.js +0 -2
  47. package/dist/src/ticket/dto/update-ticket.dto.d.ts +0 -12
  48. package/dist/types/prisma-schema/edge.js +5 -7
  49. package/dist/types/prisma-schema/index-browser.js +2 -4
  50. package/dist/types/prisma-schema/index.d.ts +65 -193
  51. package/dist/types/prisma-schema/index.js +5 -7
  52. package/dist/types/prisma-schema/package.json +1 -1
  53. package/dist/types/prisma-schema/schema.prisma +1 -5
  54. package/dist/types/prisma-schema/wasm.js +2 -4
  55. package/dist/types/schema.d.ts +118 -100
  56. package/package.json +6 -6
  57. package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
  58. package/dist/src/ticket/dto/send-email.dto.js +0 -15
@@ -0,0 +1,58 @@
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
@@ -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").ZodNullable<import("zod").ZodNumber>;
18
16
  created_at: import("zod").ZodDate;
19
17
  updated_at: import("zod").ZodDate;
20
- }, "type" | "fullName" | "mail" | "eventId" | "status" | "seat" | "dni">, {
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 | null;
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 | null;
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").ZodNullable<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 | null;
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 | null;
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").ZodNullable<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 | null;
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 | null;
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").ZodNullable<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 | null;
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 | null;
306
- dni: string;
307
283
  created_at: string;
308
284
  updated_at: string;
309
285
  }>>;
@@ -12,8 +12,6 @@ exports.createTicketSchema = ticket_dto_1.ticketSchema
12
12
  status: true,
13
13
  fullName: true,
14
14
  mail: true,
15
- dni: true,
16
- seat: true,
17
15
  })
18
16
  .extend({
19
17
  profileId: profile_schema_1.profileSchema.shape.id.optional(),
@@ -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").ZodNullable<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 | null;
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 | null;
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").ZodNullable<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 | null;
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 | null;
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.ZodNullable<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 | null;
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 | null;
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 | null;
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 | null;
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.ZodNullable<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 | null;
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 | null;
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 | null;
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 | null;
214
- dni: string;
215
195
  created_at: string;
216
196
  updated_at: string;
217
197
  }[];