expo-backend-types 0.31.0-EXPO-311-EB-Modificar-DB-schema.1 → 0.31.0-EXPO-317-EB-CRUD-Tickets.5
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/event/dto/create-event.dto.d.ts +2 -186
- package/dist/src/event/dto/create-event.dto.js +0 -12
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -12
- package/dist/src/event/dto/event.dto.d.ts +0 -6
- package/dist/src/event/dto/event.dto.js +0 -8
- package/dist/src/event/dto/get-all-event.dto.d.ts +0 -176
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -64
- package/dist/src/event/dto/update-event.dto.d.ts +2 -46
- package/dist/src/event/dto/update-event.dto.js +0 -4
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -28
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -20
- package/dist/src/exports.d.ts +2 -0
- package/dist/src/exports.js +2 -0
- package/dist/src/i18n/es.d.ts +45 -9
- package/dist/src/i18n/es.js +45 -9
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +130 -0
- package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +73 -0
- package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +196 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +74 -0
- package/dist/src/ticket/dto/ticket.dto.js +25 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
- package/dist/src/ticket/dto/update-ticket.dto.js +19 -0
- package/dist/src/ticket/exports.d.ts +8 -0
- package/dist/src/ticket/exports.js +25 -0
- package/dist/types/prisma-schema/edge.js +26 -22
- package/dist/types/prisma-schema/index-browser.js +23 -19
- package/dist/types/prisma-schema/index.d.ts +1294 -1815
- package/dist/types/prisma-schema/index.js +26 -22
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +32 -27
- package/dist/types/prisma-schema/wasm.js +23 -19
- package/dist/types/schema.d.ts +300 -53
- package/package.json +1 -1
package/dist/src/exports.js
CHANGED
@@ -18,6 +18,7 @@ __exportStar(require("./account/exports"), exports);
|
|
18
18
|
__exportStar(require("./auth/exports"), exports);
|
19
19
|
__exportStar(require("./canned-response/exports"), exports);
|
20
20
|
__exportStar(require("./comment/exports"), exports);
|
21
|
+
__exportStar(require("./csv/exports"), exports);
|
21
22
|
__exportStar(require("./event-folder/exports"), exports);
|
22
23
|
__exportStar(require("./event/exports"), exports);
|
23
24
|
__exportStar(require("./location/exports"), exports);
|
@@ -26,4 +27,5 @@ __exportStar(require("./profile/exports"), exports);
|
|
26
27
|
__exportStar(require("./shared/dto-modification/zod-without-dates"), exports);
|
27
28
|
__exportStar(require("./tag-group/exports"), exports);
|
28
29
|
__exportStar(require("./tag/exports"), exports);
|
30
|
+
__exportStar(require("./ticket/exports"), exports);
|
29
31
|
//# sourceMappingURL=exports.js.map
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -11,7 +11,7 @@ declare const _default: {
|
|
11
11
|
readonly location: "Ubicación";
|
12
12
|
readonly cannedResponse: "Respuesta enlatada";
|
13
13
|
readonly message: "Mensaje";
|
14
|
-
readonly
|
14
|
+
readonly ticket: "Ticket";
|
15
15
|
};
|
16
16
|
readonly tag: {
|
17
17
|
readonly assisted: "Asistió";
|
@@ -76,14 +76,6 @@ declare const _default: {
|
|
76
76
|
readonly required: "La fecha es requerida";
|
77
77
|
readonly invalid: "La fecha debe ser una fecha válida";
|
78
78
|
};
|
79
|
-
readonly starting_date: {
|
80
|
-
readonly required: "La fecha de inicio es requerida";
|
81
|
-
readonly invalid: "La fecha de inicio debe ser una fecha válida";
|
82
|
-
};
|
83
|
-
readonly ending_date: {
|
84
|
-
readonly required: "La fecha de finalización es requerida";
|
85
|
-
readonly invalid: "La fecha de finalización debe ser una fecha válida";
|
86
|
-
};
|
87
79
|
readonly location: {
|
88
80
|
readonly required: "La ubicación es requerida";
|
89
81
|
};
|
@@ -189,6 +181,20 @@ declare const _default: {
|
|
189
181
|
readonly 'max-length': "Los botones no pueden tener más de 20 caracteres";
|
190
182
|
};
|
191
183
|
};
|
184
|
+
readonly ticket: {
|
185
|
+
readonly id: {
|
186
|
+
readonly uuid: "El ID debe ser un UUID";
|
187
|
+
};
|
188
|
+
readonly eventId: {
|
189
|
+
readonly uuid: "El ID del evento debe ser un UUID";
|
190
|
+
};
|
191
|
+
readonly fullName: {
|
192
|
+
readonly required: "El nombre es requerido";
|
193
|
+
};
|
194
|
+
readonly mail: {
|
195
|
+
readonly email: "El email debe ser un email válido";
|
196
|
+
};
|
197
|
+
};
|
192
198
|
};
|
193
199
|
readonly route: {
|
194
200
|
readonly auth: {
|
@@ -497,6 +503,36 @@ declare const _default: {
|
|
497
503
|
readonly error: "Error al obtener el último mensaje";
|
498
504
|
};
|
499
505
|
};
|
506
|
+
readonly ticket: {
|
507
|
+
readonly create: {
|
508
|
+
readonly success: "Ticket creado con éxito";
|
509
|
+
readonly conflict: "Error en la creación del ticket";
|
510
|
+
};
|
511
|
+
readonly 'find-all': {
|
512
|
+
readonly success: "Tickets obtenidos";
|
513
|
+
};
|
514
|
+
readonly 'find-by-id': {
|
515
|
+
readonly success: "Ticket obtenido";
|
516
|
+
readonly 'not-found': "Ticket no encontrado";
|
517
|
+
};
|
518
|
+
readonly 'find-by-mail': {
|
519
|
+
readonly success: "Tickets por mail obtenidos";
|
520
|
+
readonly 'not-found': "Tickets por mail no encontrados";
|
521
|
+
};
|
522
|
+
readonly 'find-by-event': {
|
523
|
+
readonly success: "Tickets por evento obtenidos";
|
524
|
+
readonly 'not-found': "Tickets por evento no encontrados";
|
525
|
+
};
|
526
|
+
readonly update: {
|
527
|
+
readonly success: "Ticket actualizado";
|
528
|
+
readonly 'not-found': "Ticket no encontrado";
|
529
|
+
readonly conflict: "Error en la actualización del ticket";
|
530
|
+
};
|
531
|
+
readonly delete: {
|
532
|
+
readonly success: "Ticket eliminado";
|
533
|
+
readonly 'not-found': "Ticket no encontrado";
|
534
|
+
};
|
535
|
+
};
|
500
536
|
readonly webhook: {
|
501
537
|
readonly get: {
|
502
538
|
readonly success: "Webhook verificado";
|
package/dist/src/i18n/es.js
CHANGED
@@ -13,7 +13,7 @@ exports.default = {
|
|
13
13
|
location: 'Ubicación',
|
14
14
|
cannedResponse: 'Respuesta enlatada',
|
15
15
|
message: 'Mensaje',
|
16
|
-
|
16
|
+
ticket: 'Ticket',
|
17
17
|
},
|
18
18
|
tag: {
|
19
19
|
assisted: 'Asistió',
|
@@ -78,14 +78,6 @@ exports.default = {
|
|
78
78
|
required: 'La fecha es requerida',
|
79
79
|
invalid: 'La fecha debe ser una fecha válida',
|
80
80
|
},
|
81
|
-
starting_date: {
|
82
|
-
required: 'La fecha de inicio es requerida',
|
83
|
-
invalid: 'La fecha de inicio debe ser una fecha válida',
|
84
|
-
},
|
85
|
-
ending_date: {
|
86
|
-
required: 'La fecha de finalización es requerida',
|
87
|
-
invalid: 'La fecha de finalización debe ser una fecha válida',
|
88
|
-
},
|
89
81
|
location: {
|
90
82
|
required: 'La ubicación es requerida',
|
91
83
|
},
|
@@ -191,6 +183,20 @@ exports.default = {
|
|
191
183
|
'max-length': 'Los botones no pueden tener más de 20 caracteres',
|
192
184
|
},
|
193
185
|
},
|
186
|
+
ticket: {
|
187
|
+
id: {
|
188
|
+
uuid: 'El ID debe ser un UUID',
|
189
|
+
},
|
190
|
+
eventId: {
|
191
|
+
uuid: 'El ID del evento debe ser un UUID',
|
192
|
+
},
|
193
|
+
fullName: {
|
194
|
+
required: 'El nombre es requerido',
|
195
|
+
},
|
196
|
+
mail: {
|
197
|
+
email: 'El email debe ser un email válido',
|
198
|
+
},
|
199
|
+
},
|
194
200
|
},
|
195
201
|
route: {
|
196
202
|
auth: {
|
@@ -499,6 +505,36 @@ exports.default = {
|
|
499
505
|
error: 'Error al obtener el último mensaje',
|
500
506
|
},
|
501
507
|
},
|
508
|
+
ticket: {
|
509
|
+
create: {
|
510
|
+
success: 'Ticket creado con éxito',
|
511
|
+
conflict: 'Error en la creación del ticket',
|
512
|
+
},
|
513
|
+
'find-all': {
|
514
|
+
success: 'Tickets obtenidos',
|
515
|
+
},
|
516
|
+
'find-by-id': {
|
517
|
+
success: 'Ticket obtenido',
|
518
|
+
'not-found': 'Ticket no encontrado',
|
519
|
+
},
|
520
|
+
'find-by-mail': {
|
521
|
+
success: 'Tickets por mail obtenidos',
|
522
|
+
'not-found': 'Tickets por mail no encontrados',
|
523
|
+
},
|
524
|
+
'find-by-event': {
|
525
|
+
success: 'Tickets por evento obtenidos',
|
526
|
+
'not-found': 'Tickets por evento no encontrados',
|
527
|
+
},
|
528
|
+
update: {
|
529
|
+
success: 'Ticket actualizado',
|
530
|
+
'not-found': 'Ticket no encontrado',
|
531
|
+
conflict: 'Error en la actualización del ticket',
|
532
|
+
},
|
533
|
+
delete: {
|
534
|
+
success: 'Ticket eliminado',
|
535
|
+
'not-found': 'Ticket no encontrado',
|
536
|
+
},
|
537
|
+
},
|
502
538
|
webhook: {
|
503
539
|
get: {
|
504
540
|
success: 'Webhook verificado',
|
package/dist/src/i18n/es.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KA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iC;aAC5C;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,mBAAmB;aAC7B;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,iCAAiC;aAC/C;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,mCAAmC;aACjD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,oBAAoB;gBAC7B,WAAW,EAAE,sBAAsB;gBACnC,QAAQ,EAAE,sCAAsC;aACjD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,kBAAkB;gBAC3B,WAAW,EAAE,sBAAsB;aACpC;SACF;QACD,OAAO,EAAE;YACP,GAAG,EAAE;gBACH,OAAO,EAAE,oBAAoB;gBAC7B,SAAS,EAAE,WAAW;gBACtB,aAAa,EAAE,sBAAsB;aACtC;YACD,IAAI,EAAE;gBACJ,YAAY,EAAE,eAAe;gBAC7B,aAAa,EAAE,sBAAsB;gBACrC,WAAW,EAAE,uCAAuC;gBACpD,KAAK,EAAE,8BAA8B;gBACrC,eAAe,EAAE,wBAAwB;gBACzC,mBAAmB,EAAE,sBAAsB;gBAC3C,SAAS,EAAE,sCAAsC;aAClD;YACD,yBAAyB,EAAE,+QAA+Q;SAC3S;KACF;CACO,CAAC"}
|
@@ -0,0 +1,130 @@
|
|
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 {};
|
@@ -0,0 +1,20 @@
|
|
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
|
@@ -0,0 +1,73 @@
|
|
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 {};
|
@@ -0,0 +1,10 @@
|
|
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
|
@@ -0,0 +1,196 @@
|
|
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 {};
|
@@ -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.FindAllTicketsResponseDto = exports.findAllTicketsResponseSchema = void 0;
|
7
|
+
const exports_1 = require("../../exports");
|
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: exports_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
|