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

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 (41) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +186 -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 -1
  13. package/dist/src/exports.js +0 -1
  14. package/dist/src/i18n/es.d.ts +9 -15
  15. package/dist/src/i18n/es.js +9 -15
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/types/prisma-schema/edge.js +22 -26
  18. package/dist/types/prisma-schema/index-browser.js +19 -23
  19. package/dist/types/prisma-schema/index.d.ts +1816 -1295
  20. package/dist/types/prisma-schema/index.js +22 -26
  21. package/dist/types/prisma-schema/package.json +1 -1
  22. package/dist/types/prisma-schema/schema.prisma +27 -32
  23. package/dist/types/prisma-schema/wasm.js +19 -23
  24. package/dist/types/schema.d.ts +53 -4
  25. package/package.json +1 -1
  26. package/dist/src/ticket/dto/create-ticket.dto.d.ts +0 -130
  27. package/dist/src/ticket/dto/create-ticket.dto.js +0 -20
  28. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +0 -73
  29. package/dist/src/ticket/dto/delete-ticket.dto.js +0 -10
  30. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -196
  31. package/dist/src/ticket/dto/find-all-tickets.dto.js +0 -23
  32. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -196
  33. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -23
  34. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -196
  35. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -23
  36. package/dist/src/ticket/dto/ticket.dto.d.ts +0 -74
  37. package/dist/src/ticket/dto/ticket.dto.js +0 -25
  38. package/dist/src/ticket/dto/update-ticket.dto.d.ts +0 -125
  39. package/dist/src/ticket/dto/update-ticket.dto.js +0 -19
  40. package/dist/src/ticket/exports.d.ts +0 -7
  41. package/dist/src/ticket/exports.js +0 -24
@@ -742,9 +742,9 @@ export interface paths {
742
742
  path?: never;
743
743
  cookie?: never;
744
744
  };
745
- get?: never;
745
+ get: operations["CsvController_downloadProfiles"];
746
746
  put?: never;
747
- post: operations["CsvController_downloadProfiles"];
747
+ post?: never;
748
748
  delete?: never;
749
749
  options?: never;
750
750
  head?: never;
@@ -758,9 +758,9 @@ export interface paths {
758
758
  path?: never;
759
759
  cookie?: never;
760
760
  };
761
- get?: never;
761
+ get: operations["CsvController_downloadAllTables"];
762
762
  put?: never;
763
- post: operations["CsvController_downloadAllTables"];
763
+ post?: never;
764
764
  delete?: never;
765
765
  options?: never;
766
766
  head?: never;
@@ -1432,6 +1432,8 @@ export interface components {
1432
1432
  id: string;
1433
1433
  name: string;
1434
1434
  date: string;
1435
+ starting_date: string;
1436
+ ending_date: string;
1435
1437
  location: string;
1436
1438
  folderId: string | null;
1437
1439
  tagAssistedId: string;
@@ -1452,6 +1454,8 @@ export interface components {
1452
1454
  id: string;
1453
1455
  name: string;
1454
1456
  date: string;
1457
+ starting_date: string;
1458
+ ending_date: string;
1455
1459
  location: string;
1456
1460
  folderId: string | null;
1457
1461
  tagAssistedId: string;
@@ -1482,18 +1486,37 @@ export interface components {
1482
1486
  CreateEventDto: {
1483
1487
  name: string;
1484
1488
  date: string;
1489
+ starting_date: string;
1490
+ ending_date: string;
1485
1491
  location: string;
1486
1492
  folderId: string | null;
1487
1493
  subEvents?: {
1488
1494
  name: string;
1489
1495
  date: string;
1496
+ starting_date: string;
1497
+ ending_date: string;
1490
1498
  location: string;
1491
1499
  }[];
1500
+ tags: {
1501
+ id: string;
1502
+ name: string;
1503
+ groupId: string;
1504
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1505
+ created_at: string;
1506
+ updated_at: string;
1507
+ }[];
1508
+ eventTickets: {
1509
+ amount: number;
1510
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
1511
+ price: number | null;
1512
+ }[];
1492
1513
  };
1493
1514
  CreateEventResponseDto: {
1494
1515
  id: string;
1495
1516
  name: string;
1496
1517
  date: string;
1518
+ starting_date: string;
1519
+ ending_date: string;
1497
1520
  location: string;
1498
1521
  folderId: string | null;
1499
1522
  tagAssistedId: string;
@@ -1513,6 +1536,8 @@ export interface components {
1513
1536
  id: string;
1514
1537
  name: string;
1515
1538
  date: string;
1539
+ starting_date: string;
1540
+ ending_date: string;
1516
1541
  location: string;
1517
1542
  folderId: string | null;
1518
1543
  tagAssistedId: string;
@@ -1524,6 +1549,8 @@ export interface components {
1524
1549
  id: string;
1525
1550
  name: string;
1526
1551
  date: string;
1552
+ starting_date: string;
1553
+ ending_date: string;
1527
1554
  location: string;
1528
1555
  folderId: string | null;
1529
1556
  tagAssistedId: string;
@@ -1536,6 +1563,8 @@ export interface components {
1536
1563
  id: string;
1537
1564
  name: string;
1538
1565
  date: string;
1566
+ starting_date: string;
1567
+ ending_date: string;
1539
1568
  location: string;
1540
1569
  folderId: string | null;
1541
1570
  tagAssistedId: string;
@@ -1550,6 +1579,8 @@ export interface components {
1550
1579
  id: string;
1551
1580
  name: string;
1552
1581
  date: string;
1582
+ starting_date: string;
1583
+ ending_date: string;
1553
1584
  location: string;
1554
1585
  folderId: string | null;
1555
1586
  tagAssistedId: string;
@@ -1561,6 +1592,8 @@ export interface components {
1561
1592
  id: string;
1562
1593
  name: string;
1563
1594
  date: string;
1595
+ starting_date: string;
1596
+ ending_date: string;
1564
1597
  location: string;
1565
1598
  folderId: string | null;
1566
1599
  tagAssistedId: string;
@@ -1573,6 +1606,8 @@ export interface components {
1573
1606
  id: string;
1574
1607
  name: string;
1575
1608
  date: string;
1609
+ starting_date: string;
1610
+ ending_date: string;
1576
1611
  location: string;
1577
1612
  folderId: string | null;
1578
1613
  tagAssistedId: string;
@@ -1587,6 +1622,8 @@ export interface components {
1587
1622
  id: string;
1588
1623
  name: string;
1589
1624
  date: string;
1625
+ starting_date: string;
1626
+ ending_date: string;
1590
1627
  location: string;
1591
1628
  folderId: string | null;
1592
1629
  tagAssistedId: string;
@@ -1598,6 +1635,8 @@ export interface components {
1598
1635
  id: string;
1599
1636
  name: string;
1600
1637
  date: string;
1638
+ starting_date: string;
1639
+ ending_date: string;
1601
1640
  location: string;
1602
1641
  folderId: string | null;
1603
1642
  tagAssistedId: string;
@@ -1610,6 +1649,8 @@ export interface components {
1610
1649
  id: string;
1611
1650
  name: string;
1612
1651
  date: string;
1652
+ starting_date: string;
1653
+ ending_date: string;
1613
1654
  location: string;
1614
1655
  folderId: string | null;
1615
1656
  tagAssistedId: string;
@@ -1624,10 +1665,14 @@ export interface components {
1624
1665
  folderId: string | null;
1625
1666
  date: string;
1626
1667
  location: string;
1668
+ starting_date: string;
1669
+ ending_date: string;
1627
1670
  subEvents: {
1628
1671
  name: string;
1629
1672
  location: string;
1630
1673
  date: string;
1674
+ starting_date: string;
1675
+ ending_date: string;
1631
1676
  id: string | "";
1632
1677
  }[];
1633
1678
  };
@@ -1635,6 +1680,8 @@ export interface components {
1635
1680
  id: string;
1636
1681
  name: string;
1637
1682
  date: string;
1683
+ starting_date: string;
1684
+ ending_date: string;
1638
1685
  location: string;
1639
1686
  folderId: string | null;
1640
1687
  tagAssistedId: string;
@@ -1663,6 +1710,8 @@ export interface components {
1663
1710
  id: string;
1664
1711
  name: string;
1665
1712
  date: string;
1713
+ starting_date: string;
1714
+ ending_date: string;
1666
1715
  location: string;
1667
1716
  folderId: string | null;
1668
1717
  tagAssistedId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.31.0-EXPO-317-EB-CRUD-Tickets.3",
3
+ "version": "0.31.0-EXPO-311-EB-Modificar-DB-schema.1",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -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 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