expo-backend-types 0.31.0-EXPO-318-EB-Generacion-de-PDF-de-Ticket.3 → 0.31.0-EXPO-311-EB-Modificar-DB-schema.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.
Files changed (59) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +115 -2
  2. package/dist/src/event/dto/create-event.dto.js +8 -0
  3. package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
  4. package/dist/src/event/dto/event-tickets.dto.d.ts +21 -0
  5. package/dist/src/event/dto/event-tickets.dto.js +21 -0
  6. package/dist/src/event/dto/event.dto.d.ts +9 -0
  7. package/dist/src/event/dto/event.dto.js +9 -0
  8. package/dist/src/event/dto/get-active-events.dto.d.ts +247 -0
  9. package/dist/src/event/dto/get-active-events.dto.js +19 -0
  10. package/dist/src/event/dto/get-all-event.dto.d.ts +264 -0
  11. package/dist/src/event/dto/get-by-id-event.dto.d.ts +160 -0
  12. package/dist/src/event/dto/get-by-id-event.dto.js +2 -0
  13. package/dist/src/event/dto/toggle-active-event.dto.d.ts +43 -0
  14. package/dist/src/event/dto/toggle-active-event.dto.js +6 -0
  15. package/dist/src/event/dto/update-event.dto.d.ts +173 -2
  16. package/dist/src/event/dto/update-event.dto.js +9 -0
  17. package/dist/src/event/exports.d.ts +3 -0
  18. package/dist/src/event/exports.js +3 -0
  19. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
  20. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
  21. package/dist/src/exports.d.ts +0 -3
  22. package/dist/src/exports.js +0 -3
  23. package/dist/src/i18n/es.d.ts +20 -59
  24. package/dist/src/i18n/es.js +20 -59
  25. package/dist/src/i18n/es.js.map +1 -1
  26. package/dist/src/message/dto/template.dto.d.ts +2 -2
  27. package/dist/types/prisma-schema/edge.js +23 -26
  28. package/dist/types/prisma-schema/index-browser.js +20 -23
  29. package/dist/types/prisma-schema/index.d.ts +1878 -1295
  30. package/dist/types/prisma-schema/index.js +23 -26
  31. package/dist/types/prisma-schema/package.json +1 -1
  32. package/dist/types/prisma-schema/schema.prisma +29 -32
  33. package/dist/types/prisma-schema/wasm.js +20 -23
  34. package/dist/types/schema.d.ts +136 -471
  35. package/package.json +2 -7
  36. package/dist/src/pdf/dto/find-ticket.dto.d.ts +0 -90
  37. package/dist/src/pdf/dto/find-ticket.dto.js +0 -20
  38. package/dist/src/pdf/dto/generate-pdf.dto.d.ts +0 -7
  39. package/dist/src/pdf/dto/generate-pdf.dto.js +0 -13
  40. package/dist/src/pdf/exports.d.ts +0 -2
  41. package/dist/src/pdf/exports.js +0 -19
  42. package/dist/src/ticket/dto/create-ticket.dto.d.ts +0 -130
  43. package/dist/src/ticket/dto/create-ticket.dto.js +0 -20
  44. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +0 -73
  45. package/dist/src/ticket/dto/delete-ticket.dto.js +0 -10
  46. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -196
  47. package/dist/src/ticket/dto/find-all-tickets.dto.js +0 -23
  48. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -196
  49. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -23
  50. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -196
  51. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -20
  52. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -196
  53. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -23
  54. package/dist/src/ticket/dto/ticket.dto.d.ts +0 -74
  55. package/dist/src/ticket/dto/ticket.dto.js +0 -29
  56. package/dist/src/ticket/dto/update-ticket.dto.d.ts +0 -121
  57. package/dist/src/ticket/dto/update-ticket.dto.js +0 -21
  58. package/dist/src/ticket/exports.d.ts +0 -8
  59. package/dist/src/ticket/exports.js +0 -25
@@ -0,0 +1,247 @@
1
+ import z from 'zod';
2
+ export declare const getActiveEventsResponseSchema: z.ZodObject<{
3
+ events: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ date: z.ZodDate;
7
+ startingDate: z.ZodDate;
8
+ endingDate: z.ZodDate;
9
+ location: z.ZodString;
10
+ folderId: z.ZodNullable<z.ZodString>;
11
+ tagAssistedId: z.ZodString;
12
+ tagConfirmedId: z.ZodString;
13
+ active: z.ZodBoolean;
14
+ supraEventId: z.ZodNullable<z.ZodString>;
15
+ created_at: z.ZodDate;
16
+ updated_at: z.ZodDate;
17
+ }, {
18
+ eventTickets: z.ZodArray<z.ZodObject<{
19
+ id: z.ZodString;
20
+ amount: z.ZodNumber;
21
+ type: z.ZodNativeEnum<{
22
+ PARTICIPANT: "PARTICIPANT";
23
+ STAFF: "STAFF";
24
+ SPECTATOR: "SPECTATOR";
25
+ }>;
26
+ price: z.ZodNullable<z.ZodNumber>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ id: string;
29
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
30
+ amount: number;
31
+ price: number | null;
32
+ }, {
33
+ id: string;
34
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
35
+ amount: number;
36
+ price: number | null;
37
+ }>, "many">;
38
+ }>, "strip", z.ZodTypeAny, {
39
+ location: string;
40
+ id: string;
41
+ name: string;
42
+ date: Date;
43
+ startingDate: Date;
44
+ endingDate: Date;
45
+ created_at: Date;
46
+ updated_at: Date;
47
+ active: boolean;
48
+ eventTickets: {
49
+ id: string;
50
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
51
+ amount: number;
52
+ price: number | null;
53
+ }[];
54
+ folderId: string | null;
55
+ tagAssistedId: string;
56
+ tagConfirmedId: string;
57
+ supraEventId: string | null;
58
+ }, {
59
+ location: string;
60
+ id: string;
61
+ name: string;
62
+ date: Date;
63
+ startingDate: Date;
64
+ endingDate: Date;
65
+ created_at: Date;
66
+ updated_at: Date;
67
+ active: boolean;
68
+ eventTickets: {
69
+ id: string;
70
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
71
+ amount: number;
72
+ price: number | null;
73
+ }[];
74
+ folderId: string | null;
75
+ tagAssistedId: string;
76
+ tagConfirmedId: string;
77
+ supraEventId: string | null;
78
+ }>, "many">;
79
+ }, "strip", z.ZodTypeAny, {
80
+ events: {
81
+ location: string;
82
+ id: string;
83
+ name: string;
84
+ date: Date;
85
+ startingDate: Date;
86
+ endingDate: Date;
87
+ created_at: Date;
88
+ updated_at: Date;
89
+ active: boolean;
90
+ eventTickets: {
91
+ id: string;
92
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
93
+ amount: number;
94
+ price: number | null;
95
+ }[];
96
+ folderId: string | null;
97
+ tagAssistedId: string;
98
+ tagConfirmedId: string;
99
+ supraEventId: string | null;
100
+ }[];
101
+ }, {
102
+ events: {
103
+ location: string;
104
+ id: string;
105
+ name: string;
106
+ date: Date;
107
+ startingDate: Date;
108
+ endingDate: Date;
109
+ created_at: Date;
110
+ updated_at: Date;
111
+ active: boolean;
112
+ eventTickets: {
113
+ id: string;
114
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
115
+ amount: number;
116
+ price: number | null;
117
+ }[];
118
+ folderId: string | null;
119
+ tagAssistedId: string;
120
+ tagConfirmedId: string;
121
+ supraEventId: string | null;
122
+ }[];
123
+ }>;
124
+ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
125
+ events: z.ZodArray<z.ZodObject<{
126
+ id: z.ZodString;
127
+ name: z.ZodString;
128
+ date: z.ZodString;
129
+ startingDate: z.ZodString;
130
+ endingDate: z.ZodString;
131
+ location: z.ZodString;
132
+ folderId: z.ZodNullable<z.ZodString>;
133
+ tagAssistedId: z.ZodString;
134
+ tagConfirmedId: z.ZodString;
135
+ active: z.ZodBoolean;
136
+ supraEventId: z.ZodNullable<z.ZodString>;
137
+ created_at: z.ZodString;
138
+ updated_at: z.ZodString;
139
+ eventTickets: z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ amount: z.ZodNumber;
142
+ type: z.ZodNativeEnum<{
143
+ PARTICIPANT: "PARTICIPANT";
144
+ STAFF: "STAFF";
145
+ SPECTATOR: "SPECTATOR";
146
+ }>;
147
+ price: z.ZodNullable<z.ZodNumber>;
148
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
149
+ id: string;
150
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
151
+ amount: number;
152
+ price: number | null;
153
+ }, {
154
+ id: string;
155
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
156
+ amount: number;
157
+ price: number | null;
158
+ }>, "many">;
159
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
160
+ location: string;
161
+ id: string;
162
+ name: string;
163
+ date: string;
164
+ startingDate: string;
165
+ endingDate: string;
166
+ created_at: string;
167
+ updated_at: string;
168
+ active: boolean;
169
+ eventTickets: {
170
+ id: string;
171
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
172
+ amount: number;
173
+ price: number | null;
174
+ }[];
175
+ folderId: string | null;
176
+ tagAssistedId: string;
177
+ tagConfirmedId: string;
178
+ supraEventId: string | null;
179
+ }, {
180
+ location: string;
181
+ id: string;
182
+ name: string;
183
+ date: string;
184
+ startingDate: string;
185
+ endingDate: string;
186
+ created_at: string;
187
+ updated_at: string;
188
+ active: boolean;
189
+ eventTickets: {
190
+ id: string;
191
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
192
+ amount: number;
193
+ price: number | null;
194
+ }[];
195
+ folderId: string | null;
196
+ tagAssistedId: string;
197
+ tagConfirmedId: string;
198
+ supraEventId: string | null;
199
+ }>, "many">;
200
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
201
+ events: {
202
+ location: string;
203
+ id: string;
204
+ name: string;
205
+ date: string;
206
+ startingDate: string;
207
+ endingDate: string;
208
+ created_at: string;
209
+ updated_at: string;
210
+ active: boolean;
211
+ eventTickets: {
212
+ id: string;
213
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
214
+ amount: number;
215
+ price: number | null;
216
+ }[];
217
+ folderId: string | null;
218
+ tagAssistedId: string;
219
+ tagConfirmedId: string;
220
+ supraEventId: string | null;
221
+ }[];
222
+ }, {
223
+ events: {
224
+ location: string;
225
+ id: string;
226
+ name: string;
227
+ date: string;
228
+ startingDate: string;
229
+ endingDate: string;
230
+ created_at: string;
231
+ updated_at: string;
232
+ active: boolean;
233
+ eventTickets: {
234
+ id: string;
235
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
236
+ amount: number;
237
+ price: number | null;
238
+ }[];
239
+ folderId: string | null;
240
+ tagAssistedId: string;
241
+ tagConfirmedId: string;
242
+ supraEventId: string | null;
243
+ }[];
244
+ }>>;
245
+ export declare class GetActiveEventsResponseDto extends GetActiveEventsResponseDto_base {
246
+ }
247
+ export {};
@@ -0,0 +1,19 @@
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.GetActiveEventsResponseDto = exports.getActiveEventsResponseSchema = void 0;
7
+ const event_tickets_dto_1 = require("./event-tickets.dto");
8
+ const event_dto_1 = require("./event.dto");
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
+ exports.getActiveEventsResponseSchema = zod_1.default.object({
12
+ events: zod_1.default.array(event_dto_1.eventSchema.extend({
13
+ eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
14
+ })),
15
+ });
16
+ class GetActiveEventsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getActiveEventsResponseSchema) {
17
+ }
18
+ exports.GetActiveEventsResponseDto = GetActiveEventsResponseDto;
19
+ //# sourceMappingURL=get-active-events.dto.js.map