expo-backend-types 0.32.0-EXPO-308-auth.1 → 0.32.0-EXPO-315-Marcelo-Tinelli.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 (113) hide show
  1. package/dist/src/exports.d.ts +2 -3
  2. package/dist/src/exports.js +2 -3
  3. package/dist/src/i18n/es.d.ts +63 -20
  4. package/dist/src/i18n/es.js +63 -20
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  7. package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
  8. package/dist/src/location/exports.d.ts +1 -0
  9. package/dist/src/location/exports.js +1 -0
  10. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  11. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  12. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  14. package/dist/src/message/dto/template.dto.d.ts +2 -2
  15. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
  16. package/dist/src/profile/dto/create-profile.dto.js +7 -9
  17. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
  18. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
  20. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +11 -75
  22. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  23. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +13 -32
  24. package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -7
  25. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
  26. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  27. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +7 -47
  28. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  29. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +7 -47
  30. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  31. package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
  32. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
  34. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  35. package/dist/src/profile/dto/profile.dto.d.ts +30 -44
  36. package/dist/src/profile/dto/profile.dto.js +63 -6
  37. package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
  38. package/dist/src/profile/dto/update-profile.dto.js +6 -9
  39. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
  40. package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
  41. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  42. package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
  43. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  44. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
  45. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  46. package/dist/src/ticket/dto/create-ticket.dto.d.ts +130 -0
  47. package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
  48. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +73 -0
  49. package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
  50. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +196 -0
  51. package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
  52. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +196 -0
  53. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
  54. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +196 -0
  55. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
  56. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +196 -0
  57. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
  58. package/dist/src/ticket/dto/find-ticket.dto.d.ts +73 -0
  59. package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
  60. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
  61. package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
  62. package/dist/src/ticket/dto/ticket.dto.d.ts +74 -0
  63. package/dist/src/ticket/dto/ticket.dto.js +29 -0
  64. package/dist/src/ticket/dto/update-ticket.dto.d.ts +121 -0
  65. package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
  66. package/dist/src/ticket/exports.d.ts +10 -0
  67. package/dist/src/{otp → ticket}/exports.js +10 -2
  68. package/dist/types/prisma-schema/edge.js +47 -38
  69. package/dist/types/prisma-schema/index-browser.js +32 -18
  70. package/dist/types/prisma-schema/index.d.ts +4311 -5988
  71. package/dist/types/prisma-schema/index.js +47 -38
  72. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  73. package/dist/types/prisma-schema/package.json +2 -8
  74. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  75. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  76. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -3
  77. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  78. package/dist/types/prisma-schema/runtime/library.d.ts +153 -205
  79. package/dist/types/prisma-schema/runtime/library.js +55 -55
  80. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  81. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  82. package/dist/types/prisma-schema/schema.prisma +32 -23
  83. package/dist/types/prisma-schema/wasm.js +32 -18
  84. package/dist/types/schema.d.ts +334 -316
  85. package/package.json +41 -32
  86. package/dist/src/image/constants.d.ts +0 -5
  87. package/dist/src/image/constants.js +0 -9
  88. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
  89. package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
  90. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
  91. package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
  92. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
  93. package/dist/src/mi-expo/dto/login.dto.js +0 -31
  94. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
  95. package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
  96. package/dist/src/mi-expo/exports.d.ts +0 -4
  97. package/dist/src/mi-expo/exports.js +0 -21
  98. package/dist/src/otp/constants.d.ts +0 -2
  99. package/dist/src/otp/constants.js +0 -6
  100. package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
  101. package/dist/src/otp/dto/send-otp.dto.js +0 -35
  102. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
  103. package/dist/src/otp/dto/verify-otp.dto.js +0 -46
  104. package/dist/src/otp/exports.d.ts +0 -2
  105. package/dist/src/prisma/constants.d.ts +0 -1
  106. package/dist/src/prisma/constants.js +0 -5
  107. package/dist/src/schema/exports.d.ts +0 -2
  108. package/dist/src/schema/exports.js +0 -19
  109. package/dist/src/schema/profile.schema.d.ts +0 -74
  110. package/dist/src/schema/profile.schema.js +0 -133
  111. package/dist/src/webhook/constants.d.ts +0 -1
  112. package/dist/src/webhook/constants.js +0 -5
  113. /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
@@ -0,0 +1,73 @@
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
+ 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 FindTicketResponseDto_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 FindTicketResponseDto extends FindTicketResponseDto_base {
72
+ }
73
+ 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,74 @@
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
+ SPECTATOR: "SPECTATOR";
8
+ STAFF: "STAFF";
9
+ }>;
10
+ status: z.ZodNativeEnum<{
11
+ BOOKED: "BOOKED";
12
+ PAID: "PAID";
13
+ }>;
14
+ fullName: z.ZodString;
15
+ mail: z.ZodString;
16
+ created_at: z.ZodDate;
17
+ updated_at: z.ZodDate;
18
+ }, "strip", z.ZodTypeAny, {
19
+ id: string;
20
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
21
+ fullName: string;
22
+ mail: string;
23
+ eventId: string;
24
+ status: "BOOKED" | "PAID";
25
+ created_at: Date;
26
+ updated_at: Date;
27
+ }, {
28
+ id: string;
29
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
30
+ fullName: string;
31
+ mail: string;
32
+ eventId: string;
33
+ status: "BOOKED" | "PAID";
34
+ created_at: Date;
35
+ updated_at: Date;
36
+ }>;
37
+ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
38
+ id: z.ZodString;
39
+ eventId: z.ZodString;
40
+ type: z.ZodNativeEnum<{
41
+ PARTICIPANT: "PARTICIPANT";
42
+ SPECTATOR: "SPECTATOR";
43
+ STAFF: "STAFF";
44
+ }>;
45
+ status: z.ZodNativeEnum<{
46
+ BOOKED: "BOOKED";
47
+ PAID: "PAID";
48
+ }>;
49
+ fullName: z.ZodString;
50
+ mail: z.ZodString;
51
+ created_at: z.ZodString;
52
+ updated_at: z.ZodString;
53
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
54
+ id: string;
55
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
56
+ fullName: string;
57
+ mail: string;
58
+ eventId: string;
59
+ status: "BOOKED" | "PAID";
60
+ created_at: string;
61
+ updated_at: string;
62
+ }, {
63
+ id: string;
64
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
65
+ fullName: string;
66
+ mail: string;
67
+ eventId: string;
68
+ status: "BOOKED" | "PAID";
69
+ created_at: string;
70
+ updated_at: string;
71
+ }>>;
72
+ export declare class TicketDto extends TicketDto_base {
73
+ }
74
+ 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,121 @@
1
+ export declare const updateTicketSchema: import("zod").ZodObject<{
2
+ type: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
3
+ PARTICIPANT: "PARTICIPANT";
4
+ SPECTATOR: "SPECTATOR";
5
+ STAFF: "STAFF";
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
+ }>>;
13
+ }, "strip", import("zod").ZodTypeAny, {
14
+ type?: "PARTICIPANT" | "SPECTATOR" | "STAFF" | undefined;
15
+ fullName?: string | undefined;
16
+ mail?: string | undefined;
17
+ status?: "BOOKED" | "PAID" | undefined;
18
+ }, {
19
+ type?: "PARTICIPANT" | "SPECTATOR" | "STAFF" | undefined;
20
+ fullName?: string | undefined;
21
+ mail?: string | undefined;
22
+ status?: "BOOKED" | "PAID" | undefined;
23
+ }>;
24
+ declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
25
+ type: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
26
+ PARTICIPANT: "PARTICIPANT";
27
+ SPECTATOR: "SPECTATOR";
28
+ STAFF: "STAFF";
29
+ }>>;
30
+ fullName: import("zod").ZodOptional<import("zod").ZodString>;
31
+ mail: import("zod").ZodOptional<import("zod").ZodString>;
32
+ status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
33
+ BOOKED: "BOOKED";
34
+ PAID: "PAID";
35
+ }>>;
36
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
37
+ type?: "PARTICIPANT" | "SPECTATOR" | "STAFF" | undefined;
38
+ fullName?: string | undefined;
39
+ mail?: string | undefined;
40
+ status?: "BOOKED" | "PAID" | undefined;
41
+ }, {
42
+ type?: "PARTICIPANT" | "SPECTATOR" | "STAFF" | undefined;
43
+ fullName?: string | undefined;
44
+ mail?: string | undefined;
45
+ status?: "BOOKED" | "PAID" | undefined;
46
+ }>>;
47
+ export declare class UpdateTicketDto extends UpdateTicketDto_base {
48
+ }
49
+ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
50
+ id: import("zod").ZodString;
51
+ eventId: import("zod").ZodString;
52
+ type: import("zod").ZodNativeEnum<{
53
+ PARTICIPANT: "PARTICIPANT";
54
+ SPECTATOR: "SPECTATOR";
55
+ STAFF: "STAFF";
56
+ }>;
57
+ status: import("zod").ZodNativeEnum<{
58
+ BOOKED: "BOOKED";
59
+ PAID: "PAID";
60
+ }>;
61
+ fullName: import("zod").ZodString;
62
+ mail: import("zod").ZodString;
63
+ created_at: import("zod").ZodDate;
64
+ updated_at: import("zod").ZodDate;
65
+ }, "strip", import("zod").ZodTypeAny, {
66
+ id: string;
67
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
68
+ fullName: string;
69
+ mail: string;
70
+ eventId: string;
71
+ status: "BOOKED" | "PAID";
72
+ created_at: Date;
73
+ updated_at: Date;
74
+ }, {
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
+ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
85
+ id: import("zod").ZodString;
86
+ eventId: import("zod").ZodString;
87
+ type: import("zod").ZodNativeEnum<{
88
+ PARTICIPANT: "PARTICIPANT";
89
+ SPECTATOR: "SPECTATOR";
90
+ STAFF: "STAFF";
91
+ }>;
92
+ status: import("zod").ZodNativeEnum<{
93
+ BOOKED: "BOOKED";
94
+ PAID: "PAID";
95
+ }>;
96
+ fullName: import("zod").ZodString;
97
+ mail: import("zod").ZodString;
98
+ created_at: import("zod").ZodString;
99
+ updated_at: import("zod").ZodString;
100
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
101
+ id: string;
102
+ type: "PARTICIPANT" | "SPECTATOR" | "STAFF";
103
+ fullName: string;
104
+ mail: string;
105
+ eventId: string;
106
+ status: "BOOKED" | "PAID";
107
+ created_at: string;
108
+ updated_at: string;
109
+ }, {
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
+ export declare class UpdateTicketResponseDto extends UpdateTicketResponseDto_base {
120
+ }
121
+ 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';
@@ -14,6 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto/send-otp.dto"), exports);
18
- __exportStar(require("./dto/verify-otp.dto"), exports);
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);
19
27
  //# sourceMappingURL=exports.js.map