expo-backend-types 0.31.0-EXPO-317-EB-CRUD-Tickets.10 → 0.31.0-EXPO-311-EB-Modificar-DB-schema.2

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 (44) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +106 -2
  2. package/dist/src/event/dto/create-event.dto.js +12 -0
  3. package/dist/src/event/dto/delete-event.dto.d.ts +12 -0
  4. package/dist/src/event/dto/event.dto.d.ts +6 -0
  5. package/dist/src/event/dto/event.dto.js +8 -0
  6. package/dist/src/event/dto/get-all-event.dto.d.ts +176 -0
  7. package/dist/src/event/dto/get-by-id-event.dto.d.ts +64 -0
  8. package/dist/src/event/dto/update-event.dto.d.ts +46 -2
  9. package/dist/src/event/dto/update-event.dto.js +4 -0
  10. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +28 -0
  11. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +20 -0
  12. package/dist/src/exports.d.ts +0 -2
  13. package/dist/src/exports.js +0 -2
  14. package/dist/src/i18n/es.d.ts +10 -51
  15. package/dist/src/i18n/es.js +10 -51
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/src/message/dto/template.dto.d.ts +2 -2
  18. package/dist/types/prisma-schema/edge.js +22 -26
  19. package/dist/types/prisma-schema/index-browser.js +19 -23
  20. package/dist/types/prisma-schema/index.d.ts +1816 -1295
  21. package/dist/types/prisma-schema/index.js +22 -26
  22. package/dist/types/prisma-schema/package.json +1 -1
  23. package/dist/types/prisma-schema/schema.prisma +27 -32
  24. package/dist/types/prisma-schema/wasm.js +19 -23
  25. package/dist/types/schema.d.ts +46 -410
  26. package/package.json +1 -1
  27. package/dist/src/ticket/dto/create-ticket.dto.d.ts +0 -130
  28. package/dist/src/ticket/dto/create-ticket.dto.js +0 -20
  29. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +0 -73
  30. package/dist/src/ticket/dto/delete-ticket.dto.js +0 -10
  31. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -196
  32. package/dist/src/ticket/dto/find-all-tickets.dto.js +0 -23
  33. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -196
  34. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -23
  35. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -196
  36. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -20
  37. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -196
  38. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -23
  39. package/dist/src/ticket/dto/ticket.dto.d.ts +0 -74
  40. package/dist/src/ticket/dto/ticket.dto.js +0 -29
  41. package/dist/src/ticket/dto/update-ticket.dto.d.ts +0 -121
  42. package/dist/src/ticket/dto/update-ticket.dto.js +0 -21
  43. package/dist/src/ticket/exports.d.ts +0 -8
  44. package/dist/src/ticket/exports.js +0 -25
@@ -1,130 +0,0 @@
1
- export declare const createTicketSchema: import("zod").ZodObject<Pick<{
2
- id: import("zod").ZodString;
3
- eventId: import("zod").ZodString;
4
- type: import("zod").ZodNativeEnum<{
5
- PARTICIPANT: "PARTICIPANT";
6
- SPECTATOR: "SPECTATOR";
7
- STAFF: "STAFF";
8
- }>;
9
- status: import("zod").ZodNativeEnum<{
10
- BOOKED: "BOOKED";
11
- PAID: "PAID";
12
- }>;
13
- fullName: import("zod").ZodString;
14
- mail: import("zod").ZodString;
15
- created_at: import("zod").ZodDate;
16
- updated_at: import("zod").ZodDate;
17
- }, "type" | "fullName" | "mail" | "eventId" | "status">, "strip", import("zod").ZodTypeAny, {
18
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
19
- fullName: string;
20
- mail: string;
21
- eventId: string;
22
- status: "BOOKED" | "PAID";
23
- }, {
24
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
25
- fullName: string;
26
- mail: string;
27
- eventId: string;
28
- status: "BOOKED" | "PAID";
29
- }>;
30
- declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
31
- type: import("zod").ZodNativeEnum<{
32
- PARTICIPANT: "PARTICIPANT";
33
- SPECTATOR: "SPECTATOR";
34
- STAFF: "STAFF";
35
- }>;
36
- fullName: import("zod").ZodString;
37
- mail: import("zod").ZodString;
38
- eventId: import("zod").ZodString;
39
- status: import("zod").ZodNativeEnum<{
40
- BOOKED: "BOOKED";
41
- PAID: "PAID";
42
- }>;
43
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
44
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
45
- fullName: string;
46
- mail: string;
47
- eventId: string;
48
- status: "BOOKED" | "PAID";
49
- }, {
50
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
51
- fullName: string;
52
- mail: string;
53
- eventId: string;
54
- status: "BOOKED" | "PAID";
55
- }>>;
56
- export declare class CreateTicketDto extends CreateTicketDto_base {
57
- }
58
- export declare const createTicketResponseSchema: import("zod").ZodObject<{
59
- id: import("zod").ZodString;
60
- eventId: import("zod").ZodString;
61
- type: import("zod").ZodNativeEnum<{
62
- PARTICIPANT: "PARTICIPANT";
63
- SPECTATOR: "SPECTATOR";
64
- STAFF: "STAFF";
65
- }>;
66
- status: import("zod").ZodNativeEnum<{
67
- BOOKED: "BOOKED";
68
- PAID: "PAID";
69
- }>;
70
- fullName: import("zod").ZodString;
71
- mail: import("zod").ZodString;
72
- created_at: import("zod").ZodDate;
73
- updated_at: import("zod").ZodDate;
74
- }, "strip", import("zod").ZodTypeAny, {
75
- id: string;
76
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
77
- fullName: string;
78
- mail: string;
79
- eventId: string;
80
- status: "BOOKED" | "PAID";
81
- created_at: Date;
82
- updated_at: Date;
83
- }, {
84
- id: string;
85
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
86
- fullName: string;
87
- mail: string;
88
- eventId: string;
89
- status: "BOOKED" | "PAID";
90
- created_at: Date;
91
- updated_at: Date;
92
- }>;
93
- declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
94
- id: import("zod").ZodString;
95
- eventId: import("zod").ZodString;
96
- type: import("zod").ZodNativeEnum<{
97
- PARTICIPANT: "PARTICIPANT";
98
- SPECTATOR: "SPECTATOR";
99
- STAFF: "STAFF";
100
- }>;
101
- status: import("zod").ZodNativeEnum<{
102
- BOOKED: "BOOKED";
103
- PAID: "PAID";
104
- }>;
105
- fullName: import("zod").ZodString;
106
- mail: import("zod").ZodString;
107
- created_at: import("zod").ZodString;
108
- updated_at: import("zod").ZodString;
109
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
110
- id: string;
111
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
112
- fullName: string;
113
- mail: string;
114
- eventId: string;
115
- status: "BOOKED" | "PAID";
116
- created_at: string;
117
- updated_at: string;
118
- }, {
119
- id: string;
120
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
121
- fullName: string;
122
- mail: string;
123
- eventId: string;
124
- status: "BOOKED" | "PAID";
125
- created_at: string;
126
- updated_at: string;
127
- }>>;
128
- export declare class CreateTicketResponseDto extends CreateTicketResponseDto_base {
129
- }
130
- export {};
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTicketResponseDto = exports.createTicketResponseSchema = exports.CreateTicketDto = exports.createTicketSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const ticket_dto_1 = require("./ticket.dto");
6
- exports.createTicketSchema = ticket_dto_1.ticketSchema.pick({
7
- eventId: true,
8
- type: true,
9
- status: true,
10
- fullName: true,
11
- mail: true,
12
- });
13
- class CreateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketSchema) {
14
- }
15
- exports.CreateTicketDto = CreateTicketDto;
16
- exports.createTicketResponseSchema = ticket_dto_1.ticketSchema;
17
- class CreateTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketResponseSchema) {
18
- }
19
- exports.CreateTicketResponseDto = CreateTicketResponseDto;
20
- //# sourceMappingURL=create-ticket.dto.js.map
@@ -1,73 +0,0 @@
1
- export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
2
- id: import("zod").ZodString;
3
- eventId: import("zod").ZodString;
4
- type: import("zod").ZodNativeEnum<{
5
- PARTICIPANT: "PARTICIPANT";
6
- SPECTATOR: "SPECTATOR";
7
- STAFF: "STAFF";
8
- }>;
9
- status: import("zod").ZodNativeEnum<{
10
- BOOKED: "BOOKED";
11
- PAID: "PAID";
12
- }>;
13
- fullName: import("zod").ZodString;
14
- mail: import("zod").ZodString;
15
- created_at: import("zod").ZodDate;
16
- updated_at: import("zod").ZodDate;
17
- }, "strip", import("zod").ZodTypeAny, {
18
- id: string;
19
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
20
- fullName: string;
21
- mail: string;
22
- eventId: string;
23
- status: "BOOKED" | "PAID";
24
- created_at: Date;
25
- updated_at: Date;
26
- }, {
27
- id: string;
28
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
29
- fullName: string;
30
- mail: string;
31
- eventId: string;
32
- status: "BOOKED" | "PAID";
33
- created_at: Date;
34
- updated_at: Date;
35
- }>;
36
- declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
37
- id: import("zod").ZodString;
38
- eventId: import("zod").ZodString;
39
- type: import("zod").ZodNativeEnum<{
40
- PARTICIPANT: "PARTICIPANT";
41
- SPECTATOR: "SPECTATOR";
42
- STAFF: "STAFF";
43
- }>;
44
- status: import("zod").ZodNativeEnum<{
45
- BOOKED: "BOOKED";
46
- PAID: "PAID";
47
- }>;
48
- fullName: import("zod").ZodString;
49
- mail: import("zod").ZodString;
50
- created_at: import("zod").ZodString;
51
- updated_at: import("zod").ZodString;
52
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
53
- id: string;
54
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
55
- fullName: string;
56
- mail: string;
57
- eventId: string;
58
- status: "BOOKED" | "PAID";
59
- created_at: string;
60
- updated_at: string;
61
- }, {
62
- id: string;
63
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
64
- fullName: string;
65
- mail: string;
66
- eventId: string;
67
- status: "BOOKED" | "PAID";
68
- created_at: string;
69
- updated_at: string;
70
- }>>;
71
- export declare class DeleteTicketResponseDto extends DeleteTicketResponseDto_base {
72
- }
73
- export {};
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteTicketResponseDto = exports.deleteTicketResponseSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const ticket_dto_1 = require("./ticket.dto");
6
- exports.deleteTicketResponseSchema = ticket_dto_1.ticketSchema;
7
- class DeleteTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteTicketResponseSchema) {
8
- }
9
- exports.DeleteTicketResponseDto = DeleteTicketResponseDto;
10
- //# sourceMappingURL=delete-ticket.dto.js.map
@@ -1,196 +0,0 @@
1
- import z from 'zod';
2
- export declare const findAllTicketsResponseSchema: z.ZodObject<{
3
- tickets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
- id: z.ZodString;
5
- eventId: z.ZodString;
6
- type: z.ZodNativeEnum<{
7
- PARTICIPANT: "PARTICIPANT";
8
- SPECTATOR: "SPECTATOR";
9
- STAFF: "STAFF";
10
- }>;
11
- status: z.ZodNativeEnum<{
12
- BOOKED: "BOOKED";
13
- PAID: "PAID";
14
- }>;
15
- fullName: z.ZodString;
16
- mail: z.ZodString;
17
- created_at: z.ZodDate;
18
- updated_at: z.ZodDate;
19
- }, {
20
- event: z.ZodObject<Pick<{
21
- id: z.ZodString;
22
- name: z.ZodString;
23
- date: z.ZodDate;
24
- location: z.ZodString;
25
- folderId: z.ZodNullable<z.ZodString>;
26
- tagAssistedId: z.ZodString;
27
- tagConfirmedId: z.ZodString;
28
- supraEventId: z.ZodNullable<z.ZodString>;
29
- created_at: z.ZodDate;
30
- updated_at: z.ZodDate;
31
- }, "location" | "name" | "date">, "strip", z.ZodTypeAny, {
32
- location: string;
33
- name: string;
34
- date: Date;
35
- }, {
36
- location: string;
37
- name: string;
38
- date: Date;
39
- }>;
40
- }>, "strip", z.ZodTypeAny, {
41
- event: {
42
- location: string;
43
- name: string;
44
- date: Date;
45
- };
46
- id: string;
47
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
48
- fullName: string;
49
- mail: string;
50
- eventId: string;
51
- status: "BOOKED" | "PAID";
52
- created_at: Date;
53
- updated_at: Date;
54
- }, {
55
- event: {
56
- location: string;
57
- name: string;
58
- date: Date;
59
- };
60
- id: string;
61
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
62
- fullName: string;
63
- mail: string;
64
- eventId: string;
65
- status: "BOOKED" | "PAID";
66
- created_at: Date;
67
- updated_at: Date;
68
- }>, "many">;
69
- }, "strip", z.ZodTypeAny, {
70
- tickets: {
71
- event: {
72
- location: string;
73
- name: string;
74
- date: Date;
75
- };
76
- id: string;
77
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
78
- fullName: string;
79
- mail: string;
80
- eventId: string;
81
- status: "BOOKED" | "PAID";
82
- created_at: Date;
83
- updated_at: Date;
84
- }[];
85
- }, {
86
- tickets: {
87
- event: {
88
- location: string;
89
- name: string;
90
- date: Date;
91
- };
92
- id: string;
93
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
94
- fullName: string;
95
- mail: string;
96
- eventId: string;
97
- status: "BOOKED" | "PAID";
98
- created_at: Date;
99
- updated_at: Date;
100
- }[];
101
- }>;
102
- declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
103
- tickets: z.ZodArray<z.ZodObject<{
104
- id: z.ZodString;
105
- eventId: z.ZodString;
106
- type: z.ZodNativeEnum<{
107
- PARTICIPANT: "PARTICIPANT";
108
- SPECTATOR: "SPECTATOR";
109
- STAFF: "STAFF";
110
- }>;
111
- status: z.ZodNativeEnum<{
112
- BOOKED: "BOOKED";
113
- PAID: "PAID";
114
- }>;
115
- fullName: z.ZodString;
116
- mail: z.ZodString;
117
- created_at: z.ZodString;
118
- updated_at: z.ZodString;
119
- event: z.ZodObject<{
120
- location: z.ZodString;
121
- name: z.ZodString;
122
- date: z.ZodString;
123
- }, z.UnknownKeysParam, z.ZodTypeAny, {
124
- location: string;
125
- name: string;
126
- date: string;
127
- }, {
128
- location: string;
129
- name: string;
130
- date: string;
131
- }>;
132
- }, z.UnknownKeysParam, z.ZodTypeAny, {
133
- event: {
134
- location: string;
135
- name: string;
136
- date: string;
137
- };
138
- id: string;
139
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
140
- fullName: string;
141
- mail: string;
142
- eventId: string;
143
- status: "BOOKED" | "PAID";
144
- created_at: string;
145
- updated_at: string;
146
- }, {
147
- event: {
148
- location: string;
149
- name: string;
150
- date: string;
151
- };
152
- id: string;
153
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
154
- fullName: string;
155
- mail: string;
156
- eventId: string;
157
- status: "BOOKED" | "PAID";
158
- created_at: string;
159
- updated_at: string;
160
- }>, "many">;
161
- }, z.UnknownKeysParam, z.ZodTypeAny, {
162
- tickets: {
163
- event: {
164
- location: string;
165
- name: string;
166
- date: string;
167
- };
168
- id: string;
169
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
170
- fullName: string;
171
- mail: string;
172
- eventId: string;
173
- status: "BOOKED" | "PAID";
174
- created_at: string;
175
- updated_at: string;
176
- }[];
177
- }, {
178
- tickets: {
179
- event: {
180
- location: string;
181
- name: string;
182
- date: string;
183
- };
184
- id: string;
185
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
186
- fullName: string;
187
- mail: string;
188
- eventId: string;
189
- status: "BOOKED" | "PAID";
190
- created_at: string;
191
- updated_at: string;
192
- }[];
193
- }>>;
194
- export declare class FindAllTicketsResponseDto extends FindAllTicketsResponseDto_base {
195
- }
196
- export {};
@@ -1,23 +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.FindAllTicketsResponseDto = exports.findAllTicketsResponseSchema = void 0;
7
- const event_dto_1 = require("../../event/dto/event.dto");
8
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const zod_1 = __importDefault(require("zod"));
10
- const ticket_dto_1 = require("./ticket.dto");
11
- exports.findAllTicketsResponseSchema = zod_1.default.object({
12
- tickets: zod_1.default.array(ticket_dto_1.ticketSchema.merge(zod_1.default.object({
13
- event: event_dto_1.eventSchema.pick({
14
- name: true,
15
- date: true,
16
- location: true,
17
- }),
18
- }))),
19
- });
20
- class FindAllTicketsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllTicketsResponseSchema) {
21
- }
22
- exports.FindAllTicketsResponseDto = FindAllTicketsResponseDto;
23
- //# sourceMappingURL=find-all-tickets.dto.js.map
@@ -1,196 +0,0 @@
1
- import z from 'zod';
2
- export declare const findByEventTicketResponseSchema: z.ZodObject<{
3
- tickets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
- id: z.ZodString;
5
- eventId: z.ZodString;
6
- type: z.ZodNativeEnum<{
7
- PARTICIPANT: "PARTICIPANT";
8
- SPECTATOR: "SPECTATOR";
9
- STAFF: "STAFF";
10
- }>;
11
- status: z.ZodNativeEnum<{
12
- BOOKED: "BOOKED";
13
- PAID: "PAID";
14
- }>;
15
- fullName: z.ZodString;
16
- mail: z.ZodString;
17
- created_at: z.ZodDate;
18
- updated_at: z.ZodDate;
19
- }, {
20
- event: z.ZodObject<Pick<{
21
- id: z.ZodString;
22
- name: z.ZodString;
23
- date: z.ZodDate;
24
- location: z.ZodString;
25
- folderId: z.ZodNullable<z.ZodString>;
26
- tagAssistedId: z.ZodString;
27
- tagConfirmedId: z.ZodString;
28
- supraEventId: z.ZodNullable<z.ZodString>;
29
- created_at: z.ZodDate;
30
- updated_at: z.ZodDate;
31
- }, "location" | "name" | "date">, "strip", z.ZodTypeAny, {
32
- location: string;
33
- name: string;
34
- date: Date;
35
- }, {
36
- location: string;
37
- name: string;
38
- date: Date;
39
- }>;
40
- }>, "strip", z.ZodTypeAny, {
41
- event: {
42
- location: string;
43
- name: string;
44
- date: Date;
45
- };
46
- id: string;
47
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
48
- fullName: string;
49
- mail: string;
50
- eventId: string;
51
- status: "BOOKED" | "PAID";
52
- created_at: Date;
53
- updated_at: Date;
54
- }, {
55
- event: {
56
- location: string;
57
- name: string;
58
- date: Date;
59
- };
60
- id: string;
61
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
62
- fullName: string;
63
- mail: string;
64
- eventId: string;
65
- status: "BOOKED" | "PAID";
66
- created_at: Date;
67
- updated_at: Date;
68
- }>, "many">;
69
- }, "strip", z.ZodTypeAny, {
70
- tickets: {
71
- event: {
72
- location: string;
73
- name: string;
74
- date: Date;
75
- };
76
- id: string;
77
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
78
- fullName: string;
79
- mail: string;
80
- eventId: string;
81
- status: "BOOKED" | "PAID";
82
- created_at: Date;
83
- updated_at: Date;
84
- }[];
85
- }, {
86
- tickets: {
87
- event: {
88
- location: string;
89
- name: string;
90
- date: Date;
91
- };
92
- id: string;
93
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
94
- fullName: string;
95
- mail: string;
96
- eventId: string;
97
- status: "BOOKED" | "PAID";
98
- created_at: Date;
99
- updated_at: Date;
100
- }[];
101
- }>;
102
- declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
103
- tickets: z.ZodArray<z.ZodObject<{
104
- id: z.ZodString;
105
- eventId: z.ZodString;
106
- type: z.ZodNativeEnum<{
107
- PARTICIPANT: "PARTICIPANT";
108
- SPECTATOR: "SPECTATOR";
109
- STAFF: "STAFF";
110
- }>;
111
- status: z.ZodNativeEnum<{
112
- BOOKED: "BOOKED";
113
- PAID: "PAID";
114
- }>;
115
- fullName: z.ZodString;
116
- mail: z.ZodString;
117
- created_at: z.ZodString;
118
- updated_at: z.ZodString;
119
- event: z.ZodObject<{
120
- location: z.ZodString;
121
- name: z.ZodString;
122
- date: z.ZodString;
123
- }, z.UnknownKeysParam, z.ZodTypeAny, {
124
- location: string;
125
- name: string;
126
- date: string;
127
- }, {
128
- location: string;
129
- name: string;
130
- date: string;
131
- }>;
132
- }, z.UnknownKeysParam, z.ZodTypeAny, {
133
- event: {
134
- location: string;
135
- name: string;
136
- date: string;
137
- };
138
- id: string;
139
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
140
- fullName: string;
141
- mail: string;
142
- eventId: string;
143
- status: "BOOKED" | "PAID";
144
- created_at: string;
145
- updated_at: string;
146
- }, {
147
- event: {
148
- location: string;
149
- name: string;
150
- date: string;
151
- };
152
- id: string;
153
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
154
- fullName: string;
155
- mail: string;
156
- eventId: string;
157
- status: "BOOKED" | "PAID";
158
- created_at: string;
159
- updated_at: string;
160
- }>, "many">;
161
- }, z.UnknownKeysParam, z.ZodTypeAny, {
162
- tickets: {
163
- event: {
164
- location: string;
165
- name: string;
166
- date: string;
167
- };
168
- id: string;
169
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
170
- fullName: string;
171
- mail: string;
172
- eventId: string;
173
- status: "BOOKED" | "PAID";
174
- created_at: string;
175
- updated_at: string;
176
- }[];
177
- }, {
178
- tickets: {
179
- event: {
180
- location: string;
181
- name: string;
182
- date: string;
183
- };
184
- id: string;
185
- type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
186
- fullName: string;
187
- mail: string;
188
- eventId: string;
189
- status: "BOOKED" | "PAID";
190
- created_at: string;
191
- updated_at: string;
192
- }[];
193
- }>>;
194
- export declare class FindByEventTicketResponseDto extends FindByEventTicketResponseDto_base {
195
- }
196
- export {};
@@ -1,23 +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.FindByEventTicketResponseDto = exports.findByEventTicketResponseSchema = void 0;
7
- const event_dto_1 = require("../../event/dto/event.dto");
8
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const zod_1 = __importDefault(require("zod"));
10
- const ticket_dto_1 = require("./ticket.dto");
11
- exports.findByEventTicketResponseSchema = zod_1.default.object({
12
- tickets: zod_1.default.array(ticket_dto_1.ticketSchema.merge(zod_1.default.object({
13
- event: event_dto_1.eventSchema.pick({
14
- name: true,
15
- date: true,
16
- location: true,
17
- }),
18
- }))),
19
- });
20
- class FindByEventTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByEventTicketResponseSchema) {
21
- }
22
- exports.FindByEventTicketResponseDto = FindByEventTicketResponseDto;
23
- //# sourceMappingURL=find-by-event-ticket.dto.js.map