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
@@ -25,12 +25,8 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
25
25
  profiles: z.ZodArray<z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  shortId: z.ZodNumber;
28
- firstTimeMiExpo: z.ZodBoolean;
29
- username: z.ZodNullable<z.ZodString>;
30
- password: z.ZodNullable<z.ZodString>;
31
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
32
- isPhoneVerified: z.ZodBoolean;
33
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
28
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
29
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
34
30
  fullName: z.ZodString;
35
31
  firstName: z.ZodNullable<z.ZodString>;
36
32
  gender: z.ZodNullable<z.ZodString>;
@@ -48,8 +44,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
48
44
  updated_at: z.ZodDate;
49
45
  }, "strip", z.ZodTypeAny, {
50
46
  id: string;
51
- username: string | null;
52
- password: string | null;
53
47
  phoneNumber: string;
54
48
  secondaryPhoneNumber: string | null;
55
49
  fullName: string;
@@ -58,8 +52,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
58
52
  created_at: Date;
59
53
  updated_at: Date;
60
54
  shortId: number;
61
- firstTimeMiExpo: boolean;
62
- isPhoneVerified: boolean;
63
55
  firstName: string | null;
64
56
  gender: string | null;
65
57
  birthDate: Date | null;
@@ -72,8 +64,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
72
64
  movedToTrashDate: Date | null;
73
65
  }, {
74
66
  id: string;
75
- username: string | null;
76
- password: string | null;
77
67
  phoneNumber: string;
78
68
  secondaryPhoneNumber: string | null;
79
69
  fullName: string;
@@ -82,8 +72,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
82
72
  created_at: Date;
83
73
  updated_at: Date;
84
74
  shortId: number;
85
- firstTimeMiExpo: boolean;
86
- isPhoneVerified: boolean;
87
75
  firstName: string | null;
88
76
  gender: string | null;
89
77
  birthDate: string | null;
@@ -98,8 +86,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
98
86
  }, "strip", z.ZodTypeAny, {
99
87
  profiles: {
100
88
  id: string;
101
- username: string | null;
102
- password: string | null;
103
89
  phoneNumber: string;
104
90
  secondaryPhoneNumber: string | null;
105
91
  fullName: string;
@@ -108,8 +94,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
108
94
  created_at: Date;
109
95
  updated_at: Date;
110
96
  shortId: number;
111
- firstTimeMiExpo: boolean;
112
- isPhoneVerified: boolean;
113
97
  firstName: string | null;
114
98
  gender: string | null;
115
99
  birthDate: Date | null;
@@ -124,8 +108,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
124
108
  }, {
125
109
  profiles: {
126
110
  id: string;
127
- username: string | null;
128
- password: string | null;
129
111
  phoneNumber: string;
130
112
  secondaryPhoneNumber: string | null;
131
113
  fullName: string;
@@ -134,8 +116,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
134
116
  created_at: Date;
135
117
  updated_at: Date;
136
118
  shortId: number;
137
- firstTimeMiExpo: boolean;
138
- isPhoneVerified: boolean;
139
119
  firstName: string | null;
140
120
  gender: string | null;
141
121
  birthDate: string | null;
@@ -152,16 +132,12 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
152
132
  profiles: z.ZodArray<z.ZodObject<{
153
133
  id: z.ZodString;
154
134
  shortId: z.ZodNumber;
155
- firstTimeMiExpo: z.ZodBoolean;
156
- username: z.ZodNullable<z.ZodString>;
157
- password: z.ZodNullable<z.ZodString>;
158
- phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
159
- isPhoneVerified: z.ZodBoolean;
160
- secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
135
+ phoneNumber: z.ZodEffects<z.ZodString, string, string>;
136
+ secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
161
137
  fullName: z.ZodString;
162
138
  firstName: z.ZodNullable<z.ZodString>;
163
139
  gender: z.ZodNullable<z.ZodString>;
164
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
140
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
165
141
  profilePictureUrl: z.ZodNullable<z.ZodString>;
166
142
  instagram: z.ZodNullable<z.ZodString>;
167
143
  mail: z.ZodNullable<z.ZodString>;
@@ -175,8 +151,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
175
151
  updated_at: z.ZodString;
176
152
  }, z.UnknownKeysParam, z.ZodTypeAny, {
177
153
  id: string;
178
- username: string | null;
179
- password: string | null;
180
154
  phoneNumber: string;
181
155
  secondaryPhoneNumber: string | null;
182
156
  fullName: string;
@@ -185,11 +159,9 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
185
159
  created_at: string;
186
160
  updated_at: string;
187
161
  shortId: number;
188
- firstTimeMiExpo: boolean;
189
- isPhoneVerified: boolean;
190
162
  firstName: string | null;
191
163
  gender: string | null;
192
- birthDate: string | null;
164
+ birthDate: Date | null;
193
165
  instagram: string | null;
194
166
  dni: string | null;
195
167
  alternativeNames: string[];
@@ -199,8 +171,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
199
171
  movedToTrashDate: string | null;
200
172
  }, {
201
173
  id: string;
202
- username: string | null;
203
- password: string | null;
204
174
  phoneNumber: string;
205
175
  secondaryPhoneNumber: string | null;
206
176
  fullName: string;
@@ -209,8 +179,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
209
179
  created_at: string;
210
180
  updated_at: string;
211
181
  shortId: number;
212
- firstTimeMiExpo: boolean;
213
- isPhoneVerified: boolean;
214
182
  firstName: string | null;
215
183
  gender: string | null;
216
184
  birthDate: string | null;
@@ -225,8 +193,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
225
193
  }, z.UnknownKeysParam, z.ZodTypeAny, {
226
194
  profiles: {
227
195
  id: string;
228
- username: string | null;
229
- password: string | null;
230
196
  phoneNumber: string;
231
197
  secondaryPhoneNumber: string | null;
232
198
  fullName: string;
@@ -235,11 +201,9 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
235
201
  created_at: string;
236
202
  updated_at: string;
237
203
  shortId: number;
238
- firstTimeMiExpo: boolean;
239
- isPhoneVerified: boolean;
240
204
  firstName: string | null;
241
205
  gender: string | null;
242
- birthDate: string | null;
206
+ birthDate: Date | null;
243
207
  instagram: string | null;
244
208
  dni: string | null;
245
209
  alternativeNames: string[];
@@ -251,8 +215,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
251
215
  }, {
252
216
  profiles: {
253
217
  id: string;
254
- username: string | null;
255
- password: string | null;
256
218
  phoneNumber: string;
257
219
  secondaryPhoneNumber: string | null;
258
220
  fullName: string;
@@ -261,8 +223,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
261
223
  created_at: string;
262
224
  updated_at: string;
263
225
  shortId: number;
264
- firstTimeMiExpo: boolean;
265
- isPhoneVerified: boolean;
266
226
  firstName: string | null;
267
227
  gender: string | null;
268
228
  birthDate: string | null;
@@ -4,19 +4,19 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.MassiveDeallocationResponseDto = exports.massiveDeallocationResponseSchema = exports.MassiveDeallocationDto = exports.massiveDeallocationSchema = void 0;
7
- const profile_schema_1 = require("../../schema/profile.schema");
7
+ const profile_dto_1 = require("../../profile/dto/profile.dto");
8
8
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
9
  const tag_dto_1 = require("./tag.dto");
10
10
  const zod_1 = __importDefault(require("zod"));
11
11
  exports.massiveDeallocationSchema = zod_1.default.object({
12
12
  tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
13
- profileIds: zod_1.default.array(profile_schema_1.profileSchema.shape.id),
13
+ profileIds: zod_1.default.array(profile_dto_1.profileSchema.shape.id),
14
14
  });
15
15
  class MassiveDeallocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationSchema) {
16
16
  }
17
17
  exports.MassiveDeallocationDto = MassiveDeallocationDto;
18
18
  exports.massiveDeallocationResponseSchema = zod_1.default.object({
19
- profiles: zod_1.default.array(profile_schema_1.profileSchema),
19
+ profiles: zod_1.default.array(profile_dto_1.profileSchema),
20
20
  });
21
21
  class MassiveDeallocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationResponseSchema) {
22
22
  }
@@ -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 event_dto_1 = require("../../event/dto/event.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ const ticket_dto_1 = require("./ticket.dto");
11
+ exports.findAllTicketsResponseSchema = zod_1.default.object({
12
+ tickets: zod_1.default.array(ticket_dto_1.ticketSchema.merge(zod_1.default.object({
13
+ event: event_dto_1.eventSchema.pick({
14
+ name: true,
15
+ date: true,
16
+ location: true,
17
+ }),
18
+ }))),
19
+ });
20
+ class FindAllTicketsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllTicketsResponseSchema) {
21
+ }
22
+ exports.FindAllTicketsResponseDto = FindAllTicketsResponseDto;
23
+ //# sourceMappingURL=find-all-tickets.dto.js.map