expo-backend-types 0.34.0 → 0.35.0
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/account/dto/account.dto.d.ts +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/event/dto/create-event.dto.d.ts +10 -10
- package/dist/src/event/dto/event-tickets.dto.d.ts +3 -3
- package/dist/src/event/dto/event-tickets.dto.js +5 -2
- package/dist/src/event/dto/get-active-events.dto.d.ts +14 -14
- package/dist/src/event/dto/get-all-event.dto.d.ts +616 -0
- package/dist/src/event/dto/get-all-event.dto.js +29 -8
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +317 -10
- package/dist/src/event/dto/get-by-id-event.dto.js +4 -0
- package/dist/src/event/dto/update-event.dto.d.ts +26 -20
- package/dist/src/event/dto/update-event.dto.js +1 -0
- package/dist/src/i18n/es.d.ts +14 -0
- package/dist/src/i18n/es.js +14 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +104 -0
- package/dist/src/mi-expo/dto/get-invitations.dto.js +24 -0
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +20 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +21 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +16 -0
- package/dist/src/mi-expo/exports.d.ts +1 -0
- package/dist/src/mi-expo/exports.js +1 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +20 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +24 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +16 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +36 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +16 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +16 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +55 -1
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +6 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -0
- package/dist/src/profile/dto/profile.dto.d.ts +8 -0
- package/dist/src/profile/dto/update-profile.dto.d.ts +16 -0
- package/dist/src/schema/profile.schema.d.ts +8 -0
- package/dist/src/schema/profile.schema.js +2 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -0
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +158 -4
- package/dist/src/ticket/dto/create-ticket.dto.js +10 -2
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +370 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +2 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +370 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +2 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +370 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +2 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +331 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +19 -0
- package/dist/src/ticket/exports.d.ts +1 -0
- package/dist/src/ticket/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +7 -4
- package/dist/types/prisma-schema/index-browser.js +4 -1
- package/dist/types/prisma-schema/index.d.ts +629 -90
- package/dist/types/prisma-schema/index.js +7 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +11 -3
- package/dist/types/prisma-schema/wasm.js +4 -1
- package/dist/types/schema.d.ts +342 -10
- package/package.json +1 -1
@@ -41,12 +41,119 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
41
41
|
name: string;
|
42
42
|
date: Date;
|
43
43
|
}>;
|
44
|
+
profile: z.ZodNullable<z.ZodObject<{
|
45
|
+
id: z.ZodString;
|
46
|
+
shortId: z.ZodNumber;
|
47
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
48
|
+
USER: "USER";
|
49
|
+
ADMIN: "ADMIN";
|
50
|
+
FORM: "FORM";
|
51
|
+
MI_EXPO: "MI_EXPO";
|
52
|
+
}>>;
|
53
|
+
firstTimeMiExpo: z.ZodBoolean;
|
54
|
+
username: z.ZodNullable<z.ZodString>;
|
55
|
+
password: z.ZodNullable<z.ZodString>;
|
56
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
57
|
+
isPhoneVerified: z.ZodBoolean;
|
58
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
59
|
+
fullName: z.ZodString;
|
60
|
+
firstName: z.ZodNullable<z.ZodString>;
|
61
|
+
gender: z.ZodNullable<z.ZodString>;
|
62
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
63
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
64
|
+
instagram: z.ZodNullable<z.ZodString>;
|
65
|
+
mail: z.ZodNullable<z.ZodString>;
|
66
|
+
dni: z.ZodNullable<z.ZodString>;
|
67
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
68
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
69
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
70
|
+
isInTrash: z.ZodBoolean;
|
71
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
72
|
+
created_at: z.ZodDate;
|
73
|
+
updated_at: z.ZodDate;
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
75
|
+
id: string;
|
76
|
+
username: string | null;
|
77
|
+
password: string | null;
|
78
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
79
|
+
phoneNumber: string;
|
80
|
+
secondaryPhoneNumber: string | null;
|
81
|
+
fullName: string;
|
82
|
+
profilePictureUrl: string | null;
|
83
|
+
mail: string | null;
|
84
|
+
created_at: Date;
|
85
|
+
updated_at: Date;
|
86
|
+
shortId: number;
|
87
|
+
firstTimeMiExpo: boolean;
|
88
|
+
isPhoneVerified: boolean;
|
89
|
+
firstName: string | null;
|
90
|
+
gender: string | null;
|
91
|
+
birthDate: Date | null;
|
92
|
+
instagram: string | null;
|
93
|
+
dni: string | null;
|
94
|
+
alternativeNames: string[];
|
95
|
+
birthLocationId: string | null;
|
96
|
+
residenceLocationId: string | null;
|
97
|
+
isInTrash: boolean;
|
98
|
+
movedToTrashDate: Date | null;
|
99
|
+
}, {
|
100
|
+
id: string;
|
101
|
+
username: string | null;
|
102
|
+
password: string | null;
|
103
|
+
phoneNumber: string;
|
104
|
+
secondaryPhoneNumber: string | null;
|
105
|
+
fullName: string;
|
106
|
+
profilePictureUrl: string | null;
|
107
|
+
mail: string | null;
|
108
|
+
created_at: Date;
|
109
|
+
updated_at: Date;
|
110
|
+
shortId: number;
|
111
|
+
firstTimeMiExpo: boolean;
|
112
|
+
isPhoneVerified: boolean;
|
113
|
+
firstName: string | null;
|
114
|
+
gender: string | null;
|
115
|
+
birthDate: string | null;
|
116
|
+
instagram: string | null;
|
117
|
+
dni: string | null;
|
118
|
+
alternativeNames: string[];
|
119
|
+
birthLocationId: string | null;
|
120
|
+
residenceLocationId: string | null;
|
121
|
+
isInTrash: boolean;
|
122
|
+
movedToTrashDate: Date | null;
|
123
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
124
|
+
}>>;
|
44
125
|
}>, "strip", z.ZodTypeAny, {
|
45
126
|
event: {
|
46
127
|
location: string;
|
47
128
|
name: string;
|
48
129
|
date: Date;
|
49
130
|
};
|
131
|
+
profile: {
|
132
|
+
id: string;
|
133
|
+
username: string | null;
|
134
|
+
password: string | null;
|
135
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
136
|
+
phoneNumber: string;
|
137
|
+
secondaryPhoneNumber: string | null;
|
138
|
+
fullName: string;
|
139
|
+
profilePictureUrl: string | null;
|
140
|
+
mail: string | null;
|
141
|
+
created_at: Date;
|
142
|
+
updated_at: Date;
|
143
|
+
shortId: number;
|
144
|
+
firstTimeMiExpo: boolean;
|
145
|
+
isPhoneVerified: boolean;
|
146
|
+
firstName: string | null;
|
147
|
+
gender: string | null;
|
148
|
+
birthDate: Date | null;
|
149
|
+
instagram: string | null;
|
150
|
+
dni: string | null;
|
151
|
+
alternativeNames: string[];
|
152
|
+
birthLocationId: string | null;
|
153
|
+
residenceLocationId: string | null;
|
154
|
+
isInTrash: boolean;
|
155
|
+
movedToTrashDate: Date | null;
|
156
|
+
} | null;
|
50
157
|
id: string;
|
51
158
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
52
159
|
fullName: string;
|
@@ -61,6 +168,32 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
61
168
|
name: string;
|
62
169
|
date: Date;
|
63
170
|
};
|
171
|
+
profile: {
|
172
|
+
id: string;
|
173
|
+
username: string | null;
|
174
|
+
password: string | null;
|
175
|
+
phoneNumber: string;
|
176
|
+
secondaryPhoneNumber: string | null;
|
177
|
+
fullName: string;
|
178
|
+
profilePictureUrl: string | null;
|
179
|
+
mail: string | null;
|
180
|
+
created_at: Date;
|
181
|
+
updated_at: Date;
|
182
|
+
shortId: number;
|
183
|
+
firstTimeMiExpo: boolean;
|
184
|
+
isPhoneVerified: boolean;
|
185
|
+
firstName: string | null;
|
186
|
+
gender: string | null;
|
187
|
+
birthDate: string | null;
|
188
|
+
instagram: string | null;
|
189
|
+
dni: string | null;
|
190
|
+
alternativeNames: string[];
|
191
|
+
birthLocationId: string | null;
|
192
|
+
residenceLocationId: string | null;
|
193
|
+
isInTrash: boolean;
|
194
|
+
movedToTrashDate: Date | null;
|
195
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
196
|
+
} | null;
|
64
197
|
id: string;
|
65
198
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
66
199
|
fullName: string;
|
@@ -77,6 +210,32 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
77
210
|
name: string;
|
78
211
|
date: Date;
|
79
212
|
};
|
213
|
+
profile: {
|
214
|
+
id: string;
|
215
|
+
username: string | null;
|
216
|
+
password: string | null;
|
217
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
218
|
+
phoneNumber: string;
|
219
|
+
secondaryPhoneNumber: string | null;
|
220
|
+
fullName: string;
|
221
|
+
profilePictureUrl: string | null;
|
222
|
+
mail: string | null;
|
223
|
+
created_at: Date;
|
224
|
+
updated_at: Date;
|
225
|
+
shortId: number;
|
226
|
+
firstTimeMiExpo: boolean;
|
227
|
+
isPhoneVerified: boolean;
|
228
|
+
firstName: string | null;
|
229
|
+
gender: string | null;
|
230
|
+
birthDate: Date | null;
|
231
|
+
instagram: string | null;
|
232
|
+
dni: string | null;
|
233
|
+
alternativeNames: string[];
|
234
|
+
birthLocationId: string | null;
|
235
|
+
residenceLocationId: string | null;
|
236
|
+
isInTrash: boolean;
|
237
|
+
movedToTrashDate: Date | null;
|
238
|
+
} | null;
|
80
239
|
id: string;
|
81
240
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
82
241
|
fullName: string;
|
@@ -93,6 +252,32 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
93
252
|
name: string;
|
94
253
|
date: Date;
|
95
254
|
};
|
255
|
+
profile: {
|
256
|
+
id: string;
|
257
|
+
username: string | null;
|
258
|
+
password: string | null;
|
259
|
+
phoneNumber: string;
|
260
|
+
secondaryPhoneNumber: string | null;
|
261
|
+
fullName: string;
|
262
|
+
profilePictureUrl: string | null;
|
263
|
+
mail: string | null;
|
264
|
+
created_at: Date;
|
265
|
+
updated_at: Date;
|
266
|
+
shortId: number;
|
267
|
+
firstTimeMiExpo: boolean;
|
268
|
+
isPhoneVerified: boolean;
|
269
|
+
firstName: string | null;
|
270
|
+
gender: string | null;
|
271
|
+
birthDate: string | null;
|
272
|
+
instagram: string | null;
|
273
|
+
dni: string | null;
|
274
|
+
alternativeNames: string[];
|
275
|
+
birthLocationId: string | null;
|
276
|
+
residenceLocationId: string | null;
|
277
|
+
isInTrash: boolean;
|
278
|
+
movedToTrashDate: Date | null;
|
279
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
280
|
+
} | null;
|
96
281
|
id: string;
|
97
282
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
98
283
|
fullName: string;
|
@@ -134,12 +319,119 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
134
319
|
name: string;
|
135
320
|
date: string;
|
136
321
|
}>;
|
322
|
+
profile: z.ZodNullable<z.ZodObject<{
|
323
|
+
id: z.ZodString;
|
324
|
+
shortId: z.ZodNumber;
|
325
|
+
role: z.ZodDefault<z.ZodNativeEnum<{
|
326
|
+
USER: "USER";
|
327
|
+
ADMIN: "ADMIN";
|
328
|
+
FORM: "FORM";
|
329
|
+
MI_EXPO: "MI_EXPO";
|
330
|
+
}>>;
|
331
|
+
firstTimeMiExpo: z.ZodBoolean;
|
332
|
+
username: z.ZodNullable<z.ZodString>;
|
333
|
+
password: z.ZodNullable<z.ZodString>;
|
334
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
335
|
+
isPhoneVerified: z.ZodBoolean;
|
336
|
+
secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
337
|
+
fullName: z.ZodString;
|
338
|
+
firstName: z.ZodNullable<z.ZodString>;
|
339
|
+
gender: z.ZodNullable<z.ZodString>;
|
340
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
|
341
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
342
|
+
instagram: z.ZodNullable<z.ZodString>;
|
343
|
+
mail: z.ZodNullable<z.ZodString>;
|
344
|
+
dni: z.ZodNullable<z.ZodString>;
|
345
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
346
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
347
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
348
|
+
isInTrash: z.ZodBoolean;
|
349
|
+
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
350
|
+
created_at: z.ZodString;
|
351
|
+
updated_at: z.ZodString;
|
352
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
353
|
+
id: string;
|
354
|
+
username: string | null;
|
355
|
+
password: string | null;
|
356
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
357
|
+
phoneNumber: string;
|
358
|
+
secondaryPhoneNumber: string | null;
|
359
|
+
fullName: string;
|
360
|
+
profilePictureUrl: string | null;
|
361
|
+
mail: string | null;
|
362
|
+
created_at: string;
|
363
|
+
updated_at: string;
|
364
|
+
shortId: number;
|
365
|
+
firstTimeMiExpo: boolean;
|
366
|
+
isPhoneVerified: boolean;
|
367
|
+
firstName: string | null;
|
368
|
+
gender: string | null;
|
369
|
+
birthDate: string | null;
|
370
|
+
instagram: string | null;
|
371
|
+
dni: string | null;
|
372
|
+
alternativeNames: string[];
|
373
|
+
birthLocationId: string | null;
|
374
|
+
residenceLocationId: string | null;
|
375
|
+
isInTrash: boolean;
|
376
|
+
movedToTrashDate: string | null;
|
377
|
+
}, {
|
378
|
+
id: string;
|
379
|
+
username: string | null;
|
380
|
+
password: string | null;
|
381
|
+
phoneNumber: string;
|
382
|
+
secondaryPhoneNumber: string | null;
|
383
|
+
fullName: string;
|
384
|
+
profilePictureUrl: string | null;
|
385
|
+
mail: string | null;
|
386
|
+
created_at: string;
|
387
|
+
updated_at: string;
|
388
|
+
shortId: number;
|
389
|
+
firstTimeMiExpo: boolean;
|
390
|
+
isPhoneVerified: boolean;
|
391
|
+
firstName: string | null;
|
392
|
+
gender: string | null;
|
393
|
+
birthDate: string | null;
|
394
|
+
instagram: string | null;
|
395
|
+
dni: string | null;
|
396
|
+
alternativeNames: string[];
|
397
|
+
birthLocationId: string | null;
|
398
|
+
residenceLocationId: string | null;
|
399
|
+
isInTrash: boolean;
|
400
|
+
movedToTrashDate: string | null;
|
401
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
402
|
+
}>>;
|
137
403
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
138
404
|
event: {
|
139
405
|
location: string;
|
140
406
|
name: string;
|
141
407
|
date: string;
|
142
408
|
};
|
409
|
+
profile: {
|
410
|
+
id: string;
|
411
|
+
username: string | null;
|
412
|
+
password: string | null;
|
413
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
414
|
+
phoneNumber: string;
|
415
|
+
secondaryPhoneNumber: string | null;
|
416
|
+
fullName: string;
|
417
|
+
profilePictureUrl: string | null;
|
418
|
+
mail: string | null;
|
419
|
+
created_at: string;
|
420
|
+
updated_at: string;
|
421
|
+
shortId: number;
|
422
|
+
firstTimeMiExpo: boolean;
|
423
|
+
isPhoneVerified: boolean;
|
424
|
+
firstName: string | null;
|
425
|
+
gender: string | null;
|
426
|
+
birthDate: string | null;
|
427
|
+
instagram: string | null;
|
428
|
+
dni: string | null;
|
429
|
+
alternativeNames: string[];
|
430
|
+
birthLocationId: string | null;
|
431
|
+
residenceLocationId: string | null;
|
432
|
+
isInTrash: boolean;
|
433
|
+
movedToTrashDate: string | null;
|
434
|
+
} | null;
|
143
435
|
id: string;
|
144
436
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
145
437
|
fullName: string;
|
@@ -154,6 +446,32 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
154
446
|
name: string;
|
155
447
|
date: string;
|
156
448
|
};
|
449
|
+
profile: {
|
450
|
+
id: string;
|
451
|
+
username: string | null;
|
452
|
+
password: string | null;
|
453
|
+
phoneNumber: string;
|
454
|
+
secondaryPhoneNumber: string | null;
|
455
|
+
fullName: string;
|
456
|
+
profilePictureUrl: string | null;
|
457
|
+
mail: string | null;
|
458
|
+
created_at: string;
|
459
|
+
updated_at: string;
|
460
|
+
shortId: number;
|
461
|
+
firstTimeMiExpo: boolean;
|
462
|
+
isPhoneVerified: boolean;
|
463
|
+
firstName: string | null;
|
464
|
+
gender: string | null;
|
465
|
+
birthDate: string | null;
|
466
|
+
instagram: string | null;
|
467
|
+
dni: string | null;
|
468
|
+
alternativeNames: string[];
|
469
|
+
birthLocationId: string | null;
|
470
|
+
residenceLocationId: string | null;
|
471
|
+
isInTrash: boolean;
|
472
|
+
movedToTrashDate: string | null;
|
473
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
474
|
+
} | null;
|
157
475
|
id: string;
|
158
476
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
159
477
|
fullName: string;
|
@@ -170,6 +488,32 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
170
488
|
name: string;
|
171
489
|
date: string;
|
172
490
|
};
|
491
|
+
profile: {
|
492
|
+
id: string;
|
493
|
+
username: string | null;
|
494
|
+
password: string | null;
|
495
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
496
|
+
phoneNumber: string;
|
497
|
+
secondaryPhoneNumber: string | null;
|
498
|
+
fullName: string;
|
499
|
+
profilePictureUrl: string | null;
|
500
|
+
mail: string | null;
|
501
|
+
created_at: string;
|
502
|
+
updated_at: string;
|
503
|
+
shortId: number;
|
504
|
+
firstTimeMiExpo: boolean;
|
505
|
+
isPhoneVerified: boolean;
|
506
|
+
firstName: string | null;
|
507
|
+
gender: string | null;
|
508
|
+
birthDate: string | null;
|
509
|
+
instagram: string | null;
|
510
|
+
dni: string | null;
|
511
|
+
alternativeNames: string[];
|
512
|
+
birthLocationId: string | null;
|
513
|
+
residenceLocationId: string | null;
|
514
|
+
isInTrash: boolean;
|
515
|
+
movedToTrashDate: string | null;
|
516
|
+
} | null;
|
173
517
|
id: string;
|
174
518
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
175
519
|
fullName: string;
|
@@ -186,6 +530,32 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
186
530
|
name: string;
|
187
531
|
date: string;
|
188
532
|
};
|
533
|
+
profile: {
|
534
|
+
id: string;
|
535
|
+
username: string | null;
|
536
|
+
password: string | null;
|
537
|
+
phoneNumber: string;
|
538
|
+
secondaryPhoneNumber: string | null;
|
539
|
+
fullName: string;
|
540
|
+
profilePictureUrl: string | null;
|
541
|
+
mail: string | null;
|
542
|
+
created_at: string;
|
543
|
+
updated_at: string;
|
544
|
+
shortId: number;
|
545
|
+
firstTimeMiExpo: boolean;
|
546
|
+
isPhoneVerified: boolean;
|
547
|
+
firstName: string | null;
|
548
|
+
gender: string | null;
|
549
|
+
birthDate: string | null;
|
550
|
+
instagram: string | null;
|
551
|
+
dni: string | null;
|
552
|
+
alternativeNames: string[];
|
553
|
+
birthLocationId: string | null;
|
554
|
+
residenceLocationId: string | null;
|
555
|
+
isInTrash: boolean;
|
556
|
+
movedToTrashDate: string | null;
|
557
|
+
role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
|
558
|
+
} | null;
|
189
559
|
id: string;
|
190
560
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
191
561
|
fullName: string;
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindByMailTicketResponseDto = exports.findByMailTicketResponseSchema = void 0;
|
7
7
|
const event_dto_1 = require("../../event/dto/event.dto");
|
8
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
8
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
10
|
const zod_1 = __importDefault(require("zod"));
|
10
11
|
const ticket_dto_1 = require("./ticket.dto");
|
@@ -15,6 +16,7 @@ exports.findByMailTicketResponseSchema = zod_1.default.object({
|
|
15
16
|
date: true,
|
16
17
|
location: true,
|
17
18
|
}),
|
19
|
+
profile: profile_schema_1.profileSchema.nullable(),
|
18
20
|
}))),
|
19
21
|
});
|
20
22
|
class FindByMailTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByMailTicketResponseSchema) {
|