expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.4 → 0.34.0-EXPO-319-ver-eventos-disponibles.6

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.
@@ -41,12 +41,110 @@ export declare const findByIdTicketResponseSchema: 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
+ firstTimeMiExpo: z.ZodBoolean;
48
+ username: z.ZodNullable<z.ZodString>;
49
+ password: z.ZodNullable<z.ZodString>;
50
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
51
+ isPhoneVerified: z.ZodBoolean;
52
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
53
+ fullName: z.ZodString;
54
+ firstName: z.ZodNullable<z.ZodString>;
55
+ gender: z.ZodNullable<z.ZodString>;
56
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
57
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
58
+ instagram: z.ZodNullable<z.ZodString>;
59
+ mail: z.ZodNullable<z.ZodString>;
60
+ dni: z.ZodNullable<z.ZodString>;
61
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
62
+ birthLocationId: z.ZodNullable<z.ZodString>;
63
+ residenceLocationId: z.ZodNullable<z.ZodString>;
64
+ isInTrash: z.ZodBoolean;
65
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
66
+ created_at: z.ZodDate;
67
+ updated_at: z.ZodDate;
68
+ }, "strip", z.ZodTypeAny, {
69
+ id: string;
70
+ username: string | null;
71
+ password: string | null;
72
+ phoneNumber: string;
73
+ secondaryPhoneNumber: string | null;
74
+ fullName: string;
75
+ profilePictureUrl: string | null;
76
+ mail: string | null;
77
+ created_at: Date;
78
+ updated_at: Date;
79
+ shortId: number;
80
+ firstTimeMiExpo: boolean;
81
+ isPhoneVerified: boolean;
82
+ firstName: string | null;
83
+ gender: string | null;
84
+ birthDate: Date | null;
85
+ instagram: string | null;
86
+ dni: string | null;
87
+ alternativeNames: string[];
88
+ birthLocationId: string | null;
89
+ residenceLocationId: string | null;
90
+ isInTrash: boolean;
91
+ movedToTrashDate: Date | null;
92
+ }, {
93
+ id: string;
94
+ username: string | null;
95
+ password: string | null;
96
+ phoneNumber: string;
97
+ secondaryPhoneNumber: string | null;
98
+ fullName: string;
99
+ profilePictureUrl: string | null;
100
+ mail: string | null;
101
+ created_at: Date;
102
+ updated_at: Date;
103
+ shortId: number;
104
+ firstTimeMiExpo: boolean;
105
+ isPhoneVerified: boolean;
106
+ firstName: string | null;
107
+ gender: string | null;
108
+ birthDate: string | null;
109
+ instagram: string | null;
110
+ dni: string | null;
111
+ alternativeNames: string[];
112
+ birthLocationId: string | null;
113
+ residenceLocationId: string | null;
114
+ isInTrash: boolean;
115
+ movedToTrashDate: Date | null;
116
+ }>>;
44
117
  }>, "strip", z.ZodTypeAny, {
45
118
  event: {
46
119
  location: string;
47
120
  name: string;
48
121
  date: Date;
49
122
  };
123
+ profile: {
124
+ id: string;
125
+ username: string | null;
126
+ password: string | null;
127
+ phoneNumber: string;
128
+ secondaryPhoneNumber: string | null;
129
+ fullName: string;
130
+ profilePictureUrl: string | null;
131
+ mail: string | null;
132
+ created_at: Date;
133
+ updated_at: Date;
134
+ shortId: number;
135
+ firstTimeMiExpo: boolean;
136
+ isPhoneVerified: boolean;
137
+ firstName: string | null;
138
+ gender: string | null;
139
+ birthDate: Date | null;
140
+ instagram: string | null;
141
+ dni: string | null;
142
+ alternativeNames: string[];
143
+ birthLocationId: string | null;
144
+ residenceLocationId: string | null;
145
+ isInTrash: boolean;
146
+ movedToTrashDate: Date | null;
147
+ } | null;
50
148
  id: string;
51
149
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
52
150
  fullName: string;
@@ -61,6 +159,31 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
61
159
  name: string;
62
160
  date: Date;
63
161
  };
162
+ profile: {
163
+ id: string;
164
+ username: string | null;
165
+ password: string | null;
166
+ phoneNumber: string;
167
+ secondaryPhoneNumber: string | null;
168
+ fullName: string;
169
+ profilePictureUrl: string | null;
170
+ mail: string | null;
171
+ created_at: Date;
172
+ updated_at: Date;
173
+ shortId: number;
174
+ firstTimeMiExpo: boolean;
175
+ isPhoneVerified: boolean;
176
+ firstName: string | null;
177
+ gender: string | null;
178
+ birthDate: string | null;
179
+ instagram: string | null;
180
+ dni: string | null;
181
+ alternativeNames: string[];
182
+ birthLocationId: string | null;
183
+ residenceLocationId: string | null;
184
+ isInTrash: boolean;
185
+ movedToTrashDate: Date | null;
186
+ } | null;
64
187
  id: string;
65
188
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
66
189
  fullName: string;
@@ -77,6 +200,31 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
77
200
  name: string;
78
201
  date: Date;
79
202
  };
203
+ profile: {
204
+ id: string;
205
+ username: string | null;
206
+ password: string | null;
207
+ phoneNumber: string;
208
+ secondaryPhoneNumber: string | null;
209
+ fullName: string;
210
+ profilePictureUrl: string | null;
211
+ mail: string | null;
212
+ created_at: Date;
213
+ updated_at: Date;
214
+ shortId: number;
215
+ firstTimeMiExpo: boolean;
216
+ isPhoneVerified: boolean;
217
+ firstName: string | null;
218
+ gender: string | null;
219
+ birthDate: Date | null;
220
+ instagram: string | null;
221
+ dni: string | null;
222
+ alternativeNames: string[];
223
+ birthLocationId: string | null;
224
+ residenceLocationId: string | null;
225
+ isInTrash: boolean;
226
+ movedToTrashDate: Date | null;
227
+ } | null;
80
228
  id: string;
81
229
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
82
230
  fullName: string;
@@ -93,6 +241,31 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
93
241
  name: string;
94
242
  date: Date;
95
243
  };
244
+ profile: {
245
+ id: string;
246
+ username: string | null;
247
+ password: string | null;
248
+ phoneNumber: string;
249
+ secondaryPhoneNumber: string | null;
250
+ fullName: string;
251
+ profilePictureUrl: string | null;
252
+ mail: string | null;
253
+ created_at: Date;
254
+ updated_at: Date;
255
+ shortId: number;
256
+ firstTimeMiExpo: boolean;
257
+ isPhoneVerified: boolean;
258
+ firstName: string | null;
259
+ gender: string | null;
260
+ birthDate: string | null;
261
+ instagram: string | null;
262
+ dni: string | null;
263
+ alternativeNames: string[];
264
+ birthLocationId: string | null;
265
+ residenceLocationId: string | null;
266
+ isInTrash: boolean;
267
+ movedToTrashDate: Date | null;
268
+ } | null;
96
269
  id: string;
97
270
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
98
271
  fullName: string;
@@ -134,12 +307,110 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
134
307
  name: string;
135
308
  date: string;
136
309
  }>;
310
+ profile: z.ZodNullable<z.ZodObject<{
311
+ id: z.ZodString;
312
+ shortId: z.ZodNumber;
313
+ firstTimeMiExpo: z.ZodBoolean;
314
+ username: z.ZodNullable<z.ZodString>;
315
+ password: z.ZodNullable<z.ZodString>;
316
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
317
+ isPhoneVerified: z.ZodBoolean;
318
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
319
+ fullName: z.ZodString;
320
+ firstName: z.ZodNullable<z.ZodString>;
321
+ gender: z.ZodNullable<z.ZodString>;
322
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
323
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
324
+ instagram: z.ZodNullable<z.ZodString>;
325
+ mail: z.ZodNullable<z.ZodString>;
326
+ dni: z.ZodNullable<z.ZodString>;
327
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
328
+ birthLocationId: z.ZodNullable<z.ZodString>;
329
+ residenceLocationId: z.ZodNullable<z.ZodString>;
330
+ isInTrash: z.ZodBoolean;
331
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
332
+ created_at: z.ZodString;
333
+ updated_at: z.ZodString;
334
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
335
+ id: string;
336
+ username: string | null;
337
+ password: string | null;
338
+ phoneNumber: string;
339
+ secondaryPhoneNumber: string | null;
340
+ fullName: string;
341
+ profilePictureUrl: string | null;
342
+ mail: string | null;
343
+ created_at: string;
344
+ updated_at: string;
345
+ shortId: number;
346
+ firstTimeMiExpo: boolean;
347
+ isPhoneVerified: boolean;
348
+ firstName: string | null;
349
+ gender: string | null;
350
+ birthDate: string | null;
351
+ instagram: string | null;
352
+ dni: string | null;
353
+ alternativeNames: string[];
354
+ birthLocationId: string | null;
355
+ residenceLocationId: string | null;
356
+ isInTrash: boolean;
357
+ movedToTrashDate: string | null;
358
+ }, {
359
+ id: string;
360
+ username: string | null;
361
+ password: string | null;
362
+ phoneNumber: string;
363
+ secondaryPhoneNumber: string | null;
364
+ fullName: string;
365
+ profilePictureUrl: string | null;
366
+ mail: string | null;
367
+ created_at: string;
368
+ updated_at: string;
369
+ shortId: number;
370
+ firstTimeMiExpo: boolean;
371
+ isPhoneVerified: boolean;
372
+ firstName: string | null;
373
+ gender: string | null;
374
+ birthDate: string | null;
375
+ instagram: string | null;
376
+ dni: string | null;
377
+ alternativeNames: string[];
378
+ birthLocationId: string | null;
379
+ residenceLocationId: string | null;
380
+ isInTrash: boolean;
381
+ movedToTrashDate: string | null;
382
+ }>>;
137
383
  }, z.UnknownKeysParam, z.ZodTypeAny, {
138
384
  event: {
139
385
  location: string;
140
386
  name: string;
141
387
  date: string;
142
388
  };
389
+ profile: {
390
+ id: string;
391
+ username: string | null;
392
+ password: string | null;
393
+ phoneNumber: string;
394
+ secondaryPhoneNumber: string | null;
395
+ fullName: string;
396
+ profilePictureUrl: string | null;
397
+ mail: string | null;
398
+ created_at: string;
399
+ updated_at: string;
400
+ shortId: number;
401
+ firstTimeMiExpo: boolean;
402
+ isPhoneVerified: boolean;
403
+ firstName: string | null;
404
+ gender: string | null;
405
+ birthDate: string | null;
406
+ instagram: string | null;
407
+ dni: string | null;
408
+ alternativeNames: string[];
409
+ birthLocationId: string | null;
410
+ residenceLocationId: string | null;
411
+ isInTrash: boolean;
412
+ movedToTrashDate: string | null;
413
+ } | null;
143
414
  id: string;
144
415
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
145
416
  fullName: string;
@@ -154,6 +425,31 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
154
425
  name: string;
155
426
  date: string;
156
427
  };
428
+ profile: {
429
+ id: string;
430
+ username: string | null;
431
+ password: string | null;
432
+ phoneNumber: string;
433
+ secondaryPhoneNumber: string | null;
434
+ fullName: string;
435
+ profilePictureUrl: string | null;
436
+ mail: string | null;
437
+ created_at: string;
438
+ updated_at: string;
439
+ shortId: number;
440
+ firstTimeMiExpo: boolean;
441
+ isPhoneVerified: boolean;
442
+ firstName: string | null;
443
+ gender: string | null;
444
+ birthDate: string | null;
445
+ instagram: string | null;
446
+ dni: string | null;
447
+ alternativeNames: string[];
448
+ birthLocationId: string | null;
449
+ residenceLocationId: string | null;
450
+ isInTrash: boolean;
451
+ movedToTrashDate: string | null;
452
+ } | null;
157
453
  id: string;
158
454
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
159
455
  fullName: string;
@@ -170,6 +466,31 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
170
466
  name: string;
171
467
  date: string;
172
468
  };
469
+ profile: {
470
+ id: string;
471
+ username: string | null;
472
+ password: string | null;
473
+ phoneNumber: string;
474
+ secondaryPhoneNumber: string | null;
475
+ fullName: string;
476
+ profilePictureUrl: string | null;
477
+ mail: string | null;
478
+ created_at: string;
479
+ updated_at: string;
480
+ shortId: number;
481
+ firstTimeMiExpo: boolean;
482
+ isPhoneVerified: boolean;
483
+ firstName: string | null;
484
+ gender: string | null;
485
+ birthDate: string | null;
486
+ instagram: string | null;
487
+ dni: string | null;
488
+ alternativeNames: string[];
489
+ birthLocationId: string | null;
490
+ residenceLocationId: string | null;
491
+ isInTrash: boolean;
492
+ movedToTrashDate: string | null;
493
+ } | null;
173
494
  id: string;
174
495
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
175
496
  fullName: string;
@@ -186,6 +507,31 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
186
507
  name: string;
187
508
  date: string;
188
509
  };
510
+ profile: {
511
+ id: string;
512
+ username: string | null;
513
+ password: string | null;
514
+ phoneNumber: string;
515
+ secondaryPhoneNumber: string | null;
516
+ fullName: string;
517
+ profilePictureUrl: string | null;
518
+ mail: string | null;
519
+ created_at: string;
520
+ updated_at: string;
521
+ shortId: number;
522
+ firstTimeMiExpo: boolean;
523
+ isPhoneVerified: boolean;
524
+ firstName: string | null;
525
+ gender: string | null;
526
+ birthDate: string | null;
527
+ instagram: string | null;
528
+ dni: string | null;
529
+ alternativeNames: string[];
530
+ birthLocationId: string | null;
531
+ residenceLocationId: string | null;
532
+ isInTrash: boolean;
533
+ movedToTrashDate: string | null;
534
+ } | null;
189
535
  id: string;
190
536
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
191
537
  fullName: string;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FindByIdTicketResponseDto = exports.findByIdTicketResponseSchema = void 0;
4
4
  const event_dto_1 = require("../../event/dto/event.dto");
5
+ const profile_schema_1 = require("../../schema/profile.schema");
5
6
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
7
  const zod_1 = require("zod");
7
8
  const ticket_dto_1 = require("./ticket.dto");
@@ -12,6 +13,7 @@ exports.findByIdTicketResponseSchema = zod_1.z.object({
12
13
  date: true,
13
14
  location: true,
14
15
  }),
16
+ profile: profile_schema_1.profileSchema.nullable(),
15
17
  })),
16
18
  });
17
19
  class FindByIdTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByIdTicketResponseSchema) {