expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.11 → 0.34.0-EXPO-319-ver-eventos-disponibles.12

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 (45) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -8
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -4
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -8
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
  8. package/dist/src/i18n/es.d.ts +2 -0
  9. package/dist/src/i18n/es.js +2 -0
  10. package/dist/src/i18n/es.js.map +1 -1
  11. package/dist/src/mi-expo/dto/get-me.dto.d.ts +16 -0
  12. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +20 -0
  13. package/dist/src/mi-expo/dto/login.dto.d.ts +21 -0
  14. package/dist/src/mi-expo/dto/update-me.dto.d.ts +16 -0
  15. package/dist/src/mi-expo/exports.d.ts +1 -0
  16. package/dist/src/mi-expo/exports.js +1 -0
  17. package/dist/src/otp/dto/verify-otp.dto.d.ts +20 -0
  18. package/dist/src/profile/dto/create-profile.dto.d.ts +24 -0
  19. package/dist/src/profile/dto/delete-profile.dto.d.ts +16 -0
  20. package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -0
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +36 -0
  22. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +16 -0
  23. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +16 -0
  24. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -0
  25. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +20 -0
  26. package/dist/src/profile/dto/find-trash.dto.d.ts +6 -0
  27. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -0
  28. package/dist/src/profile/dto/profile.dto.d.ts +8 -0
  29. package/dist/src/profile/dto/update-profile.dto.d.ts +16 -0
  30. package/dist/src/schema/profile.schema.d.ts +8 -0
  31. package/dist/src/schema/profile.schema.js +2 -0
  32. package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -0
  33. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -0
  34. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +24 -0
  35. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +24 -0
  36. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +24 -0
  37. package/dist/types/prisma-schema/edge.js +6 -4
  38. package/dist/types/prisma-schema/index-browser.js +3 -1
  39. package/dist/types/prisma-schema/index.d.ts +66 -2
  40. package/dist/types/prisma-schema/index.js +6 -4
  41. package/dist/types/prisma-schema/package.json +1 -1
  42. package/dist/types/prisma-schema/schema.prisma +3 -0
  43. package/dist/types/prisma-schema/wasm.js +3 -1
  44. package/dist/types/schema.d.ts +22 -5
  45. package/package.json +1 -1
@@ -44,6 +44,12 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
44
44
  profile: z.ZodNullable<z.ZodObject<{
45
45
  id: z.ZodString;
46
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
+ }>>;
47
53
  firstTimeMiExpo: z.ZodBoolean;
48
54
  username: z.ZodNullable<z.ZodString>;
49
55
  password: z.ZodNullable<z.ZodString>;
@@ -69,6 +75,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
69
75
  id: string;
70
76
  username: string | null;
71
77
  password: string | null;
78
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
72
79
  phoneNumber: string;
73
80
  secondaryPhoneNumber: string | null;
74
81
  fullName: string;
@@ -113,6 +120,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
113
120
  residenceLocationId: string | null;
114
121
  isInTrash: boolean;
115
122
  movedToTrashDate: Date | null;
123
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
116
124
  }>>;
117
125
  }>, "strip", z.ZodTypeAny, {
118
126
  event: {
@@ -124,6 +132,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
124
132
  id: string;
125
133
  username: string | null;
126
134
  password: string | null;
135
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
127
136
  phoneNumber: string;
128
137
  secondaryPhoneNumber: string | null;
129
138
  fullName: string;
@@ -183,6 +192,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
183
192
  residenceLocationId: string | null;
184
193
  isInTrash: boolean;
185
194
  movedToTrashDate: Date | null;
195
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
186
196
  } | null;
187
197
  id: string;
188
198
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -204,6 +214,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
204
214
  id: string;
205
215
  username: string | null;
206
216
  password: string | null;
217
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
207
218
  phoneNumber: string;
208
219
  secondaryPhoneNumber: string | null;
209
220
  fullName: string;
@@ -265,6 +276,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
265
276
  residenceLocationId: string | null;
266
277
  isInTrash: boolean;
267
278
  movedToTrashDate: Date | null;
279
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
268
280
  } | null;
269
281
  id: string;
270
282
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -310,6 +322,12 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
310
322
  profile: z.ZodNullable<z.ZodObject<{
311
323
  id: z.ZodString;
312
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
+ }>>;
313
331
  firstTimeMiExpo: z.ZodBoolean;
314
332
  username: z.ZodNullable<z.ZodString>;
315
333
  password: z.ZodNullable<z.ZodString>;
@@ -335,6 +353,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
335
353
  id: string;
336
354
  username: string | null;
337
355
  password: string | null;
356
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
338
357
  phoneNumber: string;
339
358
  secondaryPhoneNumber: string | null;
340
359
  fullName: string;
@@ -379,6 +398,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
379
398
  residenceLocationId: string | null;
380
399
  isInTrash: boolean;
381
400
  movedToTrashDate: string | null;
401
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
382
402
  }>>;
383
403
  }, z.UnknownKeysParam, z.ZodTypeAny, {
384
404
  event: {
@@ -390,6 +410,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
390
410
  id: string;
391
411
  username: string | null;
392
412
  password: string | null;
413
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
393
414
  phoneNumber: string;
394
415
  secondaryPhoneNumber: string | null;
395
416
  fullName: string;
@@ -449,6 +470,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
449
470
  residenceLocationId: string | null;
450
471
  isInTrash: boolean;
451
472
  movedToTrashDate: string | null;
473
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
452
474
  } | null;
453
475
  id: string;
454
476
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -470,6 +492,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
470
492
  id: string;
471
493
  username: string | null;
472
494
  password: string | null;
495
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
473
496
  phoneNumber: string;
474
497
  secondaryPhoneNumber: string | null;
475
498
  fullName: string;
@@ -531,6 +554,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
531
554
  residenceLocationId: string | null;
532
555
  isInTrash: boolean;
533
556
  movedToTrashDate: string | null;
557
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
534
558
  } | null;
535
559
  id: string;
536
560
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -44,6 +44,12 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
44
44
  profile: z.ZodNullable<z.ZodObject<{
45
45
  id: z.ZodString;
46
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
+ }>>;
47
53
  firstTimeMiExpo: z.ZodBoolean;
48
54
  username: z.ZodNullable<z.ZodString>;
49
55
  password: z.ZodNullable<z.ZodString>;
@@ -69,6 +75,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
69
75
  id: string;
70
76
  username: string | null;
71
77
  password: string | null;
78
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
72
79
  phoneNumber: string;
73
80
  secondaryPhoneNumber: string | null;
74
81
  fullName: string;
@@ -113,6 +120,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
113
120
  residenceLocationId: string | null;
114
121
  isInTrash: boolean;
115
122
  movedToTrashDate: Date | null;
123
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
116
124
  }>>;
117
125
  }>, "strip", z.ZodTypeAny, {
118
126
  event: {
@@ -124,6 +132,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
124
132
  id: string;
125
133
  username: string | null;
126
134
  password: string | null;
135
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
127
136
  phoneNumber: string;
128
137
  secondaryPhoneNumber: string | null;
129
138
  fullName: string;
@@ -183,6 +192,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
183
192
  residenceLocationId: string | null;
184
193
  isInTrash: boolean;
185
194
  movedToTrashDate: Date | null;
195
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
186
196
  } | null;
187
197
  id: string;
188
198
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -204,6 +214,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
204
214
  id: string;
205
215
  username: string | null;
206
216
  password: string | null;
217
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
207
218
  phoneNumber: string;
208
219
  secondaryPhoneNumber: string | null;
209
220
  fullName: string;
@@ -265,6 +276,7 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
265
276
  residenceLocationId: string | null;
266
277
  isInTrash: boolean;
267
278
  movedToTrashDate: Date | null;
279
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
268
280
  } | null;
269
281
  id: string;
270
282
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -310,6 +322,12 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
310
322
  profile: z.ZodNullable<z.ZodObject<{
311
323
  id: z.ZodString;
312
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
+ }>>;
313
331
  firstTimeMiExpo: z.ZodBoolean;
314
332
  username: z.ZodNullable<z.ZodString>;
315
333
  password: z.ZodNullable<z.ZodString>;
@@ -335,6 +353,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
335
353
  id: string;
336
354
  username: string | null;
337
355
  password: string | null;
356
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
338
357
  phoneNumber: string;
339
358
  secondaryPhoneNumber: string | null;
340
359
  fullName: string;
@@ -379,6 +398,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
379
398
  residenceLocationId: string | null;
380
399
  isInTrash: boolean;
381
400
  movedToTrashDate: string | null;
401
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
382
402
  }>>;
383
403
  }, z.UnknownKeysParam, z.ZodTypeAny, {
384
404
  event: {
@@ -390,6 +410,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
390
410
  id: string;
391
411
  username: string | null;
392
412
  password: string | null;
413
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
393
414
  phoneNumber: string;
394
415
  secondaryPhoneNumber: string | null;
395
416
  fullName: string;
@@ -449,6 +470,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
449
470
  residenceLocationId: string | null;
450
471
  isInTrash: boolean;
451
472
  movedToTrashDate: string | null;
473
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
452
474
  } | null;
453
475
  id: string;
454
476
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -470,6 +492,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
470
492
  id: string;
471
493
  username: string | null;
472
494
  password: string | null;
495
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
473
496
  phoneNumber: string;
474
497
  secondaryPhoneNumber: string | null;
475
498
  fullName: string;
@@ -531,6 +554,7 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
531
554
  residenceLocationId: string | null;
532
555
  isInTrash: boolean;
533
556
  movedToTrashDate: string | null;
557
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
534
558
  } | null;
535
559
  id: string;
536
560
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -44,6 +44,12 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
44
44
  profile: z.ZodNullable<z.ZodObject<{
45
45
  id: z.ZodString;
46
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
+ }>>;
47
53
  firstTimeMiExpo: z.ZodBoolean;
48
54
  username: z.ZodNullable<z.ZodString>;
49
55
  password: z.ZodNullable<z.ZodString>;
@@ -69,6 +75,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
69
75
  id: string;
70
76
  username: string | null;
71
77
  password: string | null;
78
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
72
79
  phoneNumber: string;
73
80
  secondaryPhoneNumber: string | null;
74
81
  fullName: string;
@@ -113,6 +120,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
113
120
  residenceLocationId: string | null;
114
121
  isInTrash: boolean;
115
122
  movedToTrashDate: Date | null;
123
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
116
124
  }>>;
117
125
  }>, "strip", z.ZodTypeAny, {
118
126
  event: {
@@ -124,6 +132,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
124
132
  id: string;
125
133
  username: string | null;
126
134
  password: string | null;
135
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
127
136
  phoneNumber: string;
128
137
  secondaryPhoneNumber: string | null;
129
138
  fullName: string;
@@ -183,6 +192,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
183
192
  residenceLocationId: string | null;
184
193
  isInTrash: boolean;
185
194
  movedToTrashDate: Date | null;
195
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
186
196
  } | null;
187
197
  id: string;
188
198
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -204,6 +214,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
204
214
  id: string;
205
215
  username: string | null;
206
216
  password: string | null;
217
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
207
218
  phoneNumber: string;
208
219
  secondaryPhoneNumber: string | null;
209
220
  fullName: string;
@@ -265,6 +276,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
265
276
  residenceLocationId: string | null;
266
277
  isInTrash: boolean;
267
278
  movedToTrashDate: Date | null;
279
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
268
280
  } | null;
269
281
  id: string;
270
282
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -310,6 +322,12 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
310
322
  profile: z.ZodNullable<z.ZodObject<{
311
323
  id: z.ZodString;
312
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
+ }>>;
313
331
  firstTimeMiExpo: z.ZodBoolean;
314
332
  username: z.ZodNullable<z.ZodString>;
315
333
  password: z.ZodNullable<z.ZodString>;
@@ -335,6 +353,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
335
353
  id: string;
336
354
  username: string | null;
337
355
  password: string | null;
356
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
338
357
  phoneNumber: string;
339
358
  secondaryPhoneNumber: string | null;
340
359
  fullName: string;
@@ -379,6 +398,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
379
398
  residenceLocationId: string | null;
380
399
  isInTrash: boolean;
381
400
  movedToTrashDate: string | null;
401
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
382
402
  }>>;
383
403
  }, z.UnknownKeysParam, z.ZodTypeAny, {
384
404
  event: {
@@ -390,6 +410,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
390
410
  id: string;
391
411
  username: string | null;
392
412
  password: string | null;
413
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
393
414
  phoneNumber: string;
394
415
  secondaryPhoneNumber: string | null;
395
416
  fullName: string;
@@ -449,6 +470,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
449
470
  residenceLocationId: string | null;
450
471
  isInTrash: boolean;
451
472
  movedToTrashDate: string | null;
473
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
452
474
  } | null;
453
475
  id: string;
454
476
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -470,6 +492,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
470
492
  id: string;
471
493
  username: string | null;
472
494
  password: string | null;
495
+ role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
473
496
  phoneNumber: string;
474
497
  secondaryPhoneNumber: string | null;
475
498
  fullName: string;
@@ -531,6 +554,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
531
554
  residenceLocationId: string | null;
532
555
  isInTrash: boolean;
533
556
  movedToTrashDate: string | null;
557
+ role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
534
558
  } | null;
535
559
  id: string;
536
560
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";