expo-backend-types 0.33.0-EXPO-308-auth.1 → 0.33.0-EXPO-308-auth.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 (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 +424 -160
  11. package/dist/src/event/dto/get-by-id-event.dto.d.ts +208 -48
  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 +193 -22
  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 +2 -0
  22. package/dist/src/exports.js +2 -0
  23. package/dist/src/i18n/es.d.ts +88 -0
  24. package/dist/src/i18n/es.js +88 -0
  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/src/ticket/constants.d.ts +16 -0
  28. package/dist/src/ticket/constants.js +272 -0
  29. package/dist/src/ticket/dto/create-ticket.dto.d.ts +134 -0
  30. package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
  31. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +75 -0
  32. package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
  33. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +201 -0
  34. package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
  35. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +201 -0
  36. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
  37. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +201 -0
  38. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
  39. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +201 -0
  40. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
  41. package/dist/src/ticket/dto/find-ticket.dto.d.ts +75 -0
  42. package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
  43. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
  44. package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
  45. package/dist/src/ticket/dto/ticket.dto.d.ts +76 -0
  46. package/dist/src/ticket/dto/ticket.dto.js +29 -0
  47. package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
  48. package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
  49. package/dist/src/ticket/exports.d.ts +10 -0
  50. package/dist/src/ticket/exports.js +27 -0
  51. package/dist/types/prisma-schema/edge.js +42 -4
  52. package/dist/types/prisma-schema/index-browser.js +39 -1
  53. package/dist/types/prisma-schema/index.d.ts +4552 -366
  54. package/dist/types/prisma-schema/index.js +42 -4
  55. package/dist/types/prisma-schema/package.json +1 -1
  56. package/dist/types/prisma-schema/schema.prisma +57 -5
  57. package/dist/types/prisma-schema/wasm.js +39 -1
  58. package/dist/types/schema.d.ts +734 -12
  59. package/package.json +13 -3
@@ -0,0 +1,201 @@
1
+ import z from 'zod';
2
+ export declare const findByMailTicketResponseSchema: 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
+ STAFF: "STAFF";
9
+ SPECTATOR: "SPECTATOR";
10
+ }>;
11
+ status: z.ZodNativeEnum<{
12
+ BOOKED: "BOOKED";
13
+ PAID: "PAID";
14
+ FREE: "FREE";
15
+ }>;
16
+ fullName: z.ZodString;
17
+ mail: z.ZodString;
18
+ created_at: z.ZodDate;
19
+ updated_at: z.ZodDate;
20
+ }, {
21
+ event: z.ZodObject<Pick<{
22
+ id: z.ZodString;
23
+ name: z.ZodString;
24
+ date: z.ZodDate;
25
+ startingDate: z.ZodDate;
26
+ endingDate: z.ZodDate;
27
+ location: z.ZodString;
28
+ folderId: z.ZodNullable<z.ZodString>;
29
+ tagAssistedId: z.ZodString;
30
+ tagConfirmedId: z.ZodString;
31
+ active: z.ZodBoolean;
32
+ supraEventId: z.ZodNullable<z.ZodString>;
33
+ created_at: z.ZodDate;
34
+ updated_at: z.ZodDate;
35
+ }, "location" | "name" | "date">, "strip", z.ZodTypeAny, {
36
+ location: string;
37
+ name: string;
38
+ date: Date;
39
+ }, {
40
+ location: string;
41
+ name: string;
42
+ date: Date;
43
+ }>;
44
+ }>, "strip", z.ZodTypeAny, {
45
+ event: {
46
+ location: string;
47
+ name: string;
48
+ date: Date;
49
+ };
50
+ id: string;
51
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
52
+ fullName: string;
53
+ mail: string;
54
+ eventId: string;
55
+ status: "BOOKED" | "PAID" | "FREE";
56
+ created_at: Date;
57
+ updated_at: Date;
58
+ }, {
59
+ event: {
60
+ location: string;
61
+ name: string;
62
+ date: Date;
63
+ };
64
+ id: string;
65
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
66
+ fullName: string;
67
+ mail: string;
68
+ eventId: string;
69
+ status: "BOOKED" | "PAID" | "FREE";
70
+ created_at: Date;
71
+ updated_at: Date;
72
+ }>, "many">;
73
+ }, "strip", z.ZodTypeAny, {
74
+ tickets: {
75
+ event: {
76
+ location: string;
77
+ name: string;
78
+ date: Date;
79
+ };
80
+ id: string;
81
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
82
+ fullName: string;
83
+ mail: string;
84
+ eventId: string;
85
+ status: "BOOKED" | "PAID" | "FREE";
86
+ created_at: Date;
87
+ updated_at: Date;
88
+ }[];
89
+ }, {
90
+ tickets: {
91
+ event: {
92
+ location: string;
93
+ name: string;
94
+ date: Date;
95
+ };
96
+ id: string;
97
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
98
+ fullName: string;
99
+ mail: string;
100
+ eventId: string;
101
+ status: "BOOKED" | "PAID" | "FREE";
102
+ created_at: Date;
103
+ updated_at: Date;
104
+ }[];
105
+ }>;
106
+ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
107
+ tickets: z.ZodArray<z.ZodObject<{
108
+ id: z.ZodString;
109
+ eventId: z.ZodString;
110
+ type: z.ZodNativeEnum<{
111
+ PARTICIPANT: "PARTICIPANT";
112
+ STAFF: "STAFF";
113
+ SPECTATOR: "SPECTATOR";
114
+ }>;
115
+ status: z.ZodNativeEnum<{
116
+ BOOKED: "BOOKED";
117
+ PAID: "PAID";
118
+ FREE: "FREE";
119
+ }>;
120
+ fullName: z.ZodString;
121
+ mail: z.ZodString;
122
+ created_at: z.ZodString;
123
+ updated_at: z.ZodString;
124
+ event: z.ZodObject<{
125
+ location: z.ZodString;
126
+ name: z.ZodString;
127
+ date: z.ZodString;
128
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
129
+ location: string;
130
+ name: string;
131
+ date: string;
132
+ }, {
133
+ location: string;
134
+ name: string;
135
+ date: string;
136
+ }>;
137
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
138
+ event: {
139
+ location: string;
140
+ name: string;
141
+ date: string;
142
+ };
143
+ id: string;
144
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
145
+ fullName: string;
146
+ mail: string;
147
+ eventId: string;
148
+ status: "BOOKED" | "PAID" | "FREE";
149
+ created_at: string;
150
+ updated_at: string;
151
+ }, {
152
+ event: {
153
+ location: string;
154
+ name: string;
155
+ date: string;
156
+ };
157
+ id: string;
158
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
159
+ fullName: string;
160
+ mail: string;
161
+ eventId: string;
162
+ status: "BOOKED" | "PAID" | "FREE";
163
+ created_at: string;
164
+ updated_at: string;
165
+ }>, "many">;
166
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
167
+ tickets: {
168
+ event: {
169
+ location: string;
170
+ name: string;
171
+ date: string;
172
+ };
173
+ id: string;
174
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
175
+ fullName: string;
176
+ mail: string;
177
+ eventId: string;
178
+ status: "BOOKED" | "PAID" | "FREE";
179
+ created_at: string;
180
+ updated_at: string;
181
+ }[];
182
+ }, {
183
+ tickets: {
184
+ event: {
185
+ location: string;
186
+ name: string;
187
+ date: string;
188
+ };
189
+ id: string;
190
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
191
+ fullName: string;
192
+ mail: string;
193
+ eventId: string;
194
+ status: "BOOKED" | "PAID" | "FREE";
195
+ created_at: string;
196
+ updated_at: string;
197
+ }[];
198
+ }>>;
199
+ export declare class FindByMailTicketResponseDto extends FindByMailTicketResponseDto_base {
200
+ }
201
+ export {};
@@ -0,0 +1,23 @@
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.FindByMailTicketResponseDto = exports.findByMailTicketResponseSchema = 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.findByMailTicketResponseSchema = 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 FindByMailTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByMailTicketResponseSchema) {
21
+ }
22
+ exports.FindByMailTicketResponseDto = FindByMailTicketResponseDto;
23
+ //# sourceMappingURL=find-by-mail-ticket.dto.js.map
@@ -0,0 +1,75 @@
1
+ export declare const findTicketResponseSchema: import("zod").ZodObject<{
2
+ id: import("zod").ZodString;
3
+ eventId: import("zod").ZodString;
4
+ type: import("zod").ZodNativeEnum<{
5
+ PARTICIPANT: "PARTICIPANT";
6
+ STAFF: "STAFF";
7
+ SPECTATOR: "SPECTATOR";
8
+ }>;
9
+ status: import("zod").ZodNativeEnum<{
10
+ BOOKED: "BOOKED";
11
+ PAID: "PAID";
12
+ FREE: "FREE";
13
+ }>;
14
+ fullName: import("zod").ZodString;
15
+ mail: import("zod").ZodString;
16
+ created_at: import("zod").ZodDate;
17
+ updated_at: import("zod").ZodDate;
18
+ }, "strip", import("zod").ZodTypeAny, {
19
+ id: string;
20
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
21
+ fullName: string;
22
+ mail: string;
23
+ eventId: string;
24
+ status: "BOOKED" | "PAID" | "FREE";
25
+ created_at: Date;
26
+ updated_at: Date;
27
+ }, {
28
+ id: string;
29
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
30
+ fullName: string;
31
+ mail: string;
32
+ eventId: string;
33
+ status: "BOOKED" | "PAID" | "FREE";
34
+ created_at: Date;
35
+ updated_at: Date;
36
+ }>;
37
+ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
38
+ id: import("zod").ZodString;
39
+ eventId: import("zod").ZodString;
40
+ type: import("zod").ZodNativeEnum<{
41
+ PARTICIPANT: "PARTICIPANT";
42
+ STAFF: "STAFF";
43
+ SPECTATOR: "SPECTATOR";
44
+ }>;
45
+ status: import("zod").ZodNativeEnum<{
46
+ BOOKED: "BOOKED";
47
+ PAID: "PAID";
48
+ FREE: "FREE";
49
+ }>;
50
+ fullName: import("zod").ZodString;
51
+ mail: import("zod").ZodString;
52
+ created_at: import("zod").ZodString;
53
+ updated_at: import("zod").ZodString;
54
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
55
+ id: string;
56
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
57
+ fullName: string;
58
+ mail: string;
59
+ eventId: string;
60
+ status: "BOOKED" | "PAID" | "FREE";
61
+ created_at: string;
62
+ updated_at: string;
63
+ }, {
64
+ id: string;
65
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
66
+ fullName: string;
67
+ mail: string;
68
+ eventId: string;
69
+ status: "BOOKED" | "PAID" | "FREE";
70
+ created_at: string;
71
+ updated_at: string;
72
+ }>>;
73
+ export declare class FindTicketResponseDto extends FindTicketResponseDto_base {
74
+ }
75
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FindTicketResponseDto = exports.findTicketResponseSchema = 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.findTicketResponseSchema = ticket_dto_1.ticketSchema;
7
+ class FindTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findTicketResponseSchema) {
8
+ }
9
+ exports.FindTicketResponseDto = FindTicketResponseDto;
10
+ //# sourceMappingURL=find-ticket.dto.js.map
@@ -0,0 +1,7 @@
1
+ /// <reference types="node" />
2
+ import z from 'zod';
3
+ export declare const generatePdfResponseSchema: z.ZodType<Buffer, z.ZodTypeDef, Buffer>;
4
+ declare const GeneratePdfResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>;
5
+ export declare class GeneratePdfResponseDto extends GeneratePdfResponseDto_base {
6
+ }
7
+ export {};
@@ -0,0 +1,13 @@
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.GeneratePdfResponseDto = exports.generatePdfResponseSchema = void 0;
7
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
+ const zod_1 = __importDefault(require("zod"));
9
+ exports.generatePdfResponseSchema = zod_1.default.instanceof(Buffer);
10
+ class GeneratePdfResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.generatePdfResponseSchema) {
11
+ }
12
+ exports.GeneratePdfResponseDto = GeneratePdfResponseDto;
13
+ //# sourceMappingURL=generate-pdf.dto.js.map
@@ -0,0 +1,76 @@
1
+ import z from 'zod';
2
+ export declare const ticketSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ eventId: z.ZodString;
5
+ type: z.ZodNativeEnum<{
6
+ PARTICIPANT: "PARTICIPANT";
7
+ STAFF: "STAFF";
8
+ SPECTATOR: "SPECTATOR";
9
+ }>;
10
+ status: z.ZodNativeEnum<{
11
+ BOOKED: "BOOKED";
12
+ PAID: "PAID";
13
+ FREE: "FREE";
14
+ }>;
15
+ fullName: z.ZodString;
16
+ mail: z.ZodString;
17
+ created_at: z.ZodDate;
18
+ updated_at: z.ZodDate;
19
+ }, "strip", z.ZodTypeAny, {
20
+ id: string;
21
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
22
+ fullName: string;
23
+ mail: string;
24
+ eventId: string;
25
+ status: "BOOKED" | "PAID" | "FREE";
26
+ created_at: Date;
27
+ updated_at: Date;
28
+ }, {
29
+ id: string;
30
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
31
+ fullName: string;
32
+ mail: string;
33
+ eventId: string;
34
+ status: "BOOKED" | "PAID" | "FREE";
35
+ created_at: Date;
36
+ updated_at: Date;
37
+ }>;
38
+ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
39
+ id: z.ZodString;
40
+ eventId: z.ZodString;
41
+ type: z.ZodNativeEnum<{
42
+ PARTICIPANT: "PARTICIPANT";
43
+ STAFF: "STAFF";
44
+ SPECTATOR: "SPECTATOR";
45
+ }>;
46
+ status: z.ZodNativeEnum<{
47
+ BOOKED: "BOOKED";
48
+ PAID: "PAID";
49
+ FREE: "FREE";
50
+ }>;
51
+ fullName: z.ZodString;
52
+ mail: z.ZodString;
53
+ created_at: z.ZodString;
54
+ updated_at: z.ZodString;
55
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
56
+ id: string;
57
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
58
+ fullName: string;
59
+ mail: string;
60
+ eventId: string;
61
+ status: "BOOKED" | "PAID" | "FREE";
62
+ created_at: string;
63
+ updated_at: string;
64
+ }, {
65
+ id: string;
66
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
67
+ fullName: string;
68
+ mail: string;
69
+ eventId: string;
70
+ status: "BOOKED" | "PAID" | "FREE";
71
+ created_at: string;
72
+ updated_at: string;
73
+ }>>;
74
+ export declare class TicketDto extends TicketDto_base {
75
+ }
76
+ export {};
@@ -0,0 +1,29 @@
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.TicketDto = exports.ticketSchema = void 0;
7
+ const event_dto_1 = require("../../event/dto/event.dto");
8
+ const translate_1 = require("../../i18n/translate");
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 prisma_schema_1 = require("../../../types/prisma-schema/index.js");
12
+ exports.ticketSchema = zod_1.default.object({
13
+ id: zod_1.default.string().uuid({ message: (0, translate_1.translate)('model.ticket.id.uuid') }),
14
+ eventId: event_dto_1.eventSchema.shape.id,
15
+ type: zod_1.default.nativeEnum(prisma_schema_1.TicketType, {
16
+ message: (0, translate_1.translate)('model.ticket.type.invalid'),
17
+ }),
18
+ status: zod_1.default.nativeEnum(prisma_schema_1.TicketStatus, {
19
+ message: (0, translate_1.translate)('model.ticket.status.invalid'),
20
+ }),
21
+ fullName: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.fullName.required')),
22
+ mail: zod_1.default.string().email((0, translate_1.translate)('model.ticket.mail.email')),
23
+ created_at: zod_1.default.date(),
24
+ updated_at: zod_1.default.date(),
25
+ });
26
+ class TicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.ticketSchema) {
27
+ }
28
+ exports.TicketDto = TicketDto;
29
+ //# sourceMappingURL=ticket.dto.js.map
@@ -0,0 +1,125 @@
1
+ export declare const updateTicketSchema: import("zod").ZodObject<{
2
+ type: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
3
+ PARTICIPANT: "PARTICIPANT";
4
+ STAFF: "STAFF";
5
+ SPECTATOR: "SPECTATOR";
6
+ }>>;
7
+ fullName: import("zod").ZodOptional<import("zod").ZodString>;
8
+ mail: import("zod").ZodOptional<import("zod").ZodString>;
9
+ status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
10
+ BOOKED: "BOOKED";
11
+ PAID: "PAID";
12
+ FREE: "FREE";
13
+ }>>;
14
+ }, "strip", import("zod").ZodTypeAny, {
15
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
16
+ fullName?: string | undefined;
17
+ mail?: string | undefined;
18
+ status?: "BOOKED" | "PAID" | "FREE" | undefined;
19
+ }, {
20
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
21
+ fullName?: string | undefined;
22
+ mail?: string | undefined;
23
+ status?: "BOOKED" | "PAID" | "FREE" | undefined;
24
+ }>;
25
+ declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
26
+ type: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
27
+ PARTICIPANT: "PARTICIPANT";
28
+ STAFF: "STAFF";
29
+ SPECTATOR: "SPECTATOR";
30
+ }>>;
31
+ fullName: import("zod").ZodOptional<import("zod").ZodString>;
32
+ mail: import("zod").ZodOptional<import("zod").ZodString>;
33
+ status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
34
+ BOOKED: "BOOKED";
35
+ PAID: "PAID";
36
+ FREE: "FREE";
37
+ }>>;
38
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
39
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
40
+ fullName?: string | undefined;
41
+ mail?: string | undefined;
42
+ status?: "BOOKED" | "PAID" | "FREE" | undefined;
43
+ }, {
44
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
45
+ fullName?: string | undefined;
46
+ mail?: string | undefined;
47
+ status?: "BOOKED" | "PAID" | "FREE" | undefined;
48
+ }>>;
49
+ export declare class UpdateTicketDto extends UpdateTicketDto_base {
50
+ }
51
+ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
52
+ id: import("zod").ZodString;
53
+ eventId: import("zod").ZodString;
54
+ type: import("zod").ZodNativeEnum<{
55
+ PARTICIPANT: "PARTICIPANT";
56
+ STAFF: "STAFF";
57
+ SPECTATOR: "SPECTATOR";
58
+ }>;
59
+ status: import("zod").ZodNativeEnum<{
60
+ BOOKED: "BOOKED";
61
+ PAID: "PAID";
62
+ FREE: "FREE";
63
+ }>;
64
+ fullName: import("zod").ZodString;
65
+ mail: import("zod").ZodString;
66
+ created_at: import("zod").ZodDate;
67
+ updated_at: import("zod").ZodDate;
68
+ }, "strip", import("zod").ZodTypeAny, {
69
+ id: string;
70
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
71
+ fullName: string;
72
+ mail: string;
73
+ eventId: string;
74
+ status: "BOOKED" | "PAID" | "FREE";
75
+ created_at: Date;
76
+ updated_at: Date;
77
+ }, {
78
+ id: string;
79
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
80
+ fullName: string;
81
+ mail: string;
82
+ eventId: string;
83
+ status: "BOOKED" | "PAID" | "FREE";
84
+ created_at: Date;
85
+ updated_at: Date;
86
+ }>;
87
+ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
88
+ id: import("zod").ZodString;
89
+ eventId: import("zod").ZodString;
90
+ type: import("zod").ZodNativeEnum<{
91
+ PARTICIPANT: "PARTICIPANT";
92
+ STAFF: "STAFF";
93
+ SPECTATOR: "SPECTATOR";
94
+ }>;
95
+ status: import("zod").ZodNativeEnum<{
96
+ BOOKED: "BOOKED";
97
+ PAID: "PAID";
98
+ FREE: "FREE";
99
+ }>;
100
+ fullName: import("zod").ZodString;
101
+ mail: import("zod").ZodString;
102
+ created_at: import("zod").ZodString;
103
+ updated_at: import("zod").ZodString;
104
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
105
+ id: string;
106
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
107
+ fullName: string;
108
+ mail: string;
109
+ eventId: string;
110
+ status: "BOOKED" | "PAID" | "FREE";
111
+ created_at: string;
112
+ updated_at: string;
113
+ }, {
114
+ id: string;
115
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
116
+ fullName: string;
117
+ mail: string;
118
+ eventId: string;
119
+ status: "BOOKED" | "PAID" | "FREE";
120
+ created_at: string;
121
+ updated_at: string;
122
+ }>>;
123
+ export declare class UpdateTicketResponseDto extends UpdateTicketResponseDto_base {
124
+ }
125
+ export {};
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateTicketResponseDto = exports.updateTicketResponseSchema = exports.UpdateTicketDto = exports.updateTicketSchema = 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.updateTicketSchema = ticket_dto_1.ticketSchema
7
+ .pick({
8
+ type: true,
9
+ status: true,
10
+ fullName: true,
11
+ mail: true,
12
+ })
13
+ .partial();
14
+ class UpdateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTicketSchema) {
15
+ }
16
+ exports.UpdateTicketDto = UpdateTicketDto;
17
+ exports.updateTicketResponseSchema = ticket_dto_1.ticketSchema;
18
+ class UpdateTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTicketResponseSchema) {
19
+ }
20
+ exports.UpdateTicketResponseDto = UpdateTicketResponseDto;
21
+ //# sourceMappingURL=update-ticket.dto.js.map
@@ -0,0 +1,10 @@
1
+ export * from './dto/create-ticket.dto';
2
+ export * from './dto/delete-ticket.dto';
3
+ export * from './dto/find-all-tickets.dto';
4
+ export * from './dto/find-by-event-ticket.dto';
5
+ export * from './dto/find-by-id-ticket.dto';
6
+ export * from './dto/find-by-mail-ticket.dto';
7
+ export * from './dto/find-ticket.dto';
8
+ export * from './dto/generate-pdf.dto';
9
+ export * from './dto/ticket.dto';
10
+ export * from './dto/update-ticket.dto';
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto/create-ticket.dto"), exports);
18
+ __exportStar(require("./dto/delete-ticket.dto"), exports);
19
+ __exportStar(require("./dto/find-all-tickets.dto"), exports);
20
+ __exportStar(require("./dto/find-by-event-ticket.dto"), exports);
21
+ __exportStar(require("./dto/find-by-id-ticket.dto"), exports);
22
+ __exportStar(require("./dto/find-by-mail-ticket.dto"), exports);
23
+ __exportStar(require("./dto/find-ticket.dto"), exports);
24
+ __exportStar(require("./dto/generate-pdf.dto"), exports);
25
+ __exportStar(require("./dto/ticket.dto"), exports);
26
+ __exportStar(require("./dto/update-ticket.dto"), exports);
27
+ //# sourceMappingURL=exports.js.map