expo-backend-types 0.35.0-EXPO-323-Enviar-mail-ticket.2 → 0.35.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.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 (69) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +4 -6
  2. package/dist/src/account/dto/create-account.dto.d.ts +8 -12
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
  4. package/dist/src/account/dto/get-me.dto.d.ts +4 -6
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
  6. package/dist/src/auth/dto/login.dto.d.ts +8 -11
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -1
  8. package/dist/src/event/dto/create-event.dto.d.ts +10 -10
  9. package/dist/src/event/dto/event-tickets.dto.d.ts +3 -3
  10. package/dist/src/event/dto/event-tickets.dto.js +2 -5
  11. package/dist/src/event/dto/get-active-events.dto.d.ts +14 -14
  12. package/dist/src/event/dto/get-all-event.dto.d.ts +0 -616
  13. package/dist/src/event/dto/get-all-event.dto.js +8 -29
  14. package/dist/src/event/dto/get-by-id-event.dto.d.ts +10 -317
  15. package/dist/src/event/dto/get-by-id-event.dto.js +0 -4
  16. package/dist/src/event/dto/update-event.dto.d.ts +20 -26
  17. package/dist/src/event/dto/update-event.dto.js +0 -1
  18. package/dist/src/i18n/es.d.ts +0 -24
  19. package/dist/src/i18n/es.js +0 -24
  20. package/dist/src/i18n/es.js.map +1 -1
  21. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -18
  22. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -22
  23. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -23
  24. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -18
  25. package/dist/src/mi-expo/exports.d.ts +0 -1
  26. package/dist/src/mi-expo/exports.js +0 -1
  27. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -22
  28. package/dist/src/profile/dto/create-profile.dto.d.ts +0 -28
  29. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -18
  30. package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -22
  31. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -40
  32. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -18
  33. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -18
  34. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -22
  35. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +1 -57
  36. package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -2
  37. package/dist/src/profile/dto/find-trash.dto.d.ts +0 -7
  38. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -22
  39. package/dist/src/profile/dto/profile.dto.d.ts +0 -9
  40. package/dist/src/profile/dto/update-profile.dto.d.ts +0 -18
  41. package/dist/src/schema/profile.schema.d.ts +0 -9
  42. package/dist/src/schema/profile.schema.js +0 -2
  43. package/dist/src/tag/dto/massive-allocation.dto.d.ts +0 -22
  44. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +0 -22
  45. package/dist/src/ticket/dto/create-ticket.dto.d.ts +4 -158
  46. package/dist/src/ticket/dto/create-ticket.dto.js +2 -10
  47. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -372
  48. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -2
  49. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -372
  50. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -2
  51. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -372
  52. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -2
  53. package/dist/src/ticket/exports.d.ts +0 -1
  54. package/dist/src/ticket/exports.js +0 -1
  55. package/dist/types/prisma-schema/edge.js +3 -6
  56. package/dist/types/prisma-schema/index-browser.js +0 -3
  57. package/dist/types/prisma-schema/index.d.ts +47 -586
  58. package/dist/types/prisma-schema/index.js +3 -6
  59. package/dist/types/prisma-schema/package.json +1 -1
  60. package/dist/types/prisma-schema/schema.prisma +1 -9
  61. package/dist/types/prisma-schema/wasm.js +0 -3
  62. package/dist/types/schema.d.ts +10 -398
  63. package/package.json +2 -3
  64. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +0 -104
  65. package/dist/src/mi-expo/dto/get-invitations.dto.js +0 -24
  66. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -331
  67. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +0 -19
  68. package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
  69. package/dist/src/ticket/dto/send-email.dto.js +0 -15
@@ -3,13 +3,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- role: z.ZodDefault<z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- MI_EXPO: "MI_EXPO";
11
- TICKETS: "TICKETS";
12
- }>>;
13
6
  firstTimeMiExpo: z.ZodBoolean;
14
7
  username: z.ZodNullable<z.ZodString>;
15
8
  password: z.ZodNullable<z.ZodString>;
@@ -52,13 +45,9 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
52
45
  isExclusive: z.ZodBoolean;
53
46
  created_at: z.ZodDate;
54
47
  updated_at: z.ZodDate;
55
- }, "name" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
56
- name: string;
57
- color: string;
48
+ }, "isExclusive">, "strip", z.ZodTypeAny, {
58
49
  isExclusive: boolean;
59
50
  }, {
60
- name: string;
61
- color: string;
62
51
  isExclusive: boolean;
63
52
  }>;
64
53
  }>, "strip", z.ZodTypeAny, {
@@ -69,8 +58,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
69
58
  updated_at: Date;
70
59
  groupId: string;
71
60
  group: {
72
- name: string;
73
- color: string;
74
61
  isExclusive: boolean;
75
62
  };
76
63
  }, {
@@ -81,8 +68,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
81
68
  updated_at: Date;
82
69
  groupId: string;
83
70
  group: {
84
- name: string;
85
- color: string;
86
71
  isExclusive: boolean;
87
72
  };
88
73
  }>, "many">;
@@ -90,7 +75,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
90
75
  id: string;
91
76
  username: string | null;
92
77
  password: string | null;
93
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
94
78
  phoneNumber: string;
95
79
  secondaryPhoneNumber: string | null;
96
80
  fullName: string;
@@ -119,8 +103,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
119
103
  updated_at: Date;
120
104
  groupId: string;
121
105
  group: {
122
- name: string;
123
- color: string;
124
106
  isExclusive: boolean;
125
107
  };
126
108
  }[];
@@ -156,19 +138,15 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
156
138
  updated_at: Date;
157
139
  groupId: string;
158
140
  group: {
159
- name: string;
160
- color: string;
161
141
  isExclusive: boolean;
162
142
  };
163
143
  }[];
164
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
165
144
  }>, "many">;
166
145
  }, "strip", z.ZodTypeAny, {
167
146
  profiles: {
168
147
  id: string;
169
148
  username: string | null;
170
149
  password: string | null;
171
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
172
150
  phoneNumber: string;
173
151
  secondaryPhoneNumber: string | null;
174
152
  fullName: string;
@@ -197,8 +175,6 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
197
175
  updated_at: Date;
198
176
  groupId: string;
199
177
  group: {
200
- name: string;
201
- color: string;
202
178
  isExclusive: boolean;
203
179
  };
204
180
  }[];
@@ -236,25 +212,15 @@ export declare const findByTagsProfileResponseSchema: z.ZodObject<{
236
212
  updated_at: Date;
237
213
  groupId: string;
238
214
  group: {
239
- name: string;
240
- color: string;
241
215
  isExclusive: boolean;
242
216
  };
243
217
  }[];
244
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
245
218
  }[];
246
219
  }>;
247
220
  declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
248
221
  profiles: z.ZodArray<z.ZodObject<{
249
222
  id: z.ZodString;
250
223
  shortId: z.ZodNumber;
251
- role: z.ZodDefault<z.ZodNativeEnum<{
252
- USER: "USER";
253
- ADMIN: "ADMIN";
254
- FORM: "FORM";
255
- MI_EXPO: "MI_EXPO";
256
- TICKETS: "TICKETS";
257
- }>>;
258
224
  firstTimeMiExpo: z.ZodBoolean;
259
225
  username: z.ZodNullable<z.ZodString>;
260
226
  password: z.ZodNullable<z.ZodString>;
@@ -289,16 +255,10 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
289
255
  created_at: z.ZodString;
290
256
  updated_at: z.ZodString;
291
257
  group: z.ZodObject<{
292
- name: z.ZodString;
293
- color: z.ZodString;
294
258
  isExclusive: z.ZodBoolean;
295
259
  }, z.UnknownKeysParam, z.ZodTypeAny, {
296
- name: string;
297
- color: string;
298
260
  isExclusive: boolean;
299
261
  }, {
300
- name: string;
301
- color: string;
302
262
  isExclusive: boolean;
303
263
  }>;
304
264
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -309,8 +269,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
309
269
  updated_at: string;
310
270
  groupId: string;
311
271
  group: {
312
- name: string;
313
- color: string;
314
272
  isExclusive: boolean;
315
273
  };
316
274
  }, {
@@ -321,8 +279,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
321
279
  updated_at: string;
322
280
  groupId: string;
323
281
  group: {
324
- name: string;
325
- color: string;
326
282
  isExclusive: boolean;
327
283
  };
328
284
  }>, "many">;
@@ -330,7 +286,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
330
286
  id: string;
331
287
  username: string | null;
332
288
  password: string | null;
333
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
334
289
  phoneNumber: string;
335
290
  secondaryPhoneNumber: string | null;
336
291
  fullName: string;
@@ -359,8 +314,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
359
314
  updated_at: string;
360
315
  groupId: string;
361
316
  group: {
362
- name: string;
363
- color: string;
364
317
  isExclusive: boolean;
365
318
  };
366
319
  }[];
@@ -396,19 +349,15 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
396
349
  updated_at: string;
397
350
  groupId: string;
398
351
  group: {
399
- name: string;
400
- color: string;
401
352
  isExclusive: boolean;
402
353
  };
403
354
  }[];
404
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
405
355
  }>, "many">;
406
356
  }, z.UnknownKeysParam, z.ZodTypeAny, {
407
357
  profiles: {
408
358
  id: string;
409
359
  username: string | null;
410
360
  password: string | null;
411
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
412
361
  phoneNumber: string;
413
362
  secondaryPhoneNumber: string | null;
414
363
  fullName: string;
@@ -437,8 +386,6 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
437
386
  updated_at: string;
438
387
  groupId: string;
439
388
  group: {
440
- name: string;
441
- color: string;
442
389
  isExclusive: boolean;
443
390
  };
444
391
  }[];
@@ -476,12 +423,9 @@ declare const FindByTagsProfileResponseDto_base: import("@anatine/zod-nestjs").Z
476
423
  updated_at: string;
477
424
  groupId: string;
478
425
  group: {
479
- name: string;
480
- color: string;
481
426
  isExclusive: boolean;
482
427
  };
483
428
  }[];
484
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
485
429
  }[];
486
430
  }>>;
487
431
  export declare class FindByTagsProfileResponseDto extends FindByTagsProfileResponseDto_base {
@@ -14,8 +14,6 @@ exports.findByTagsProfileResponseSchema = zod_1.default.object({
14
14
  tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
15
15
  group: tag_group_dto_1.tagGroupSchema.pick({
16
16
  isExclusive: true,
17
- name: true,
18
- color: true,
19
17
  }),
20
18
  }))),
21
19
  }))),
@@ -3,13 +3,6 @@ export declare const findTrashResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<Pick<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- role: z.ZodDefault<z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- MI_EXPO: "MI_EXPO";
11
- TICKETS: "TICKETS";
12
- }>>;
13
6
  firstTimeMiExpo: z.ZodBoolean;
14
7
  username: z.ZodNullable<z.ZodString>;
15
8
  password: z.ZodNullable<z.ZodString>;
@@ -3,13 +3,6 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
3
3
  profiles: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  shortId: z.ZodNumber;
6
- role: z.ZodDefault<z.ZodNativeEnum<{
7
- USER: "USER";
8
- ADMIN: "ADMIN";
9
- FORM: "FORM";
10
- MI_EXPO: "MI_EXPO";
11
- TICKETS: "TICKETS";
12
- }>>;
13
6
  firstTimeMiExpo: z.ZodBoolean;
14
7
  username: z.ZodNullable<z.ZodString>;
15
8
  password: z.ZodNullable<z.ZodString>;
@@ -172,7 +165,6 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
172
165
  id: string;
173
166
  username: string | null;
174
167
  password: string | null;
175
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
176
168
  phoneNumber: string;
177
169
  secondaryPhoneNumber: string | null;
178
170
  fullName: string;
@@ -277,14 +269,12 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
277
269
  groupId: string;
278
270
  }[];
279
271
  inChat: boolean;
280
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
281
272
  }>, "many">;
282
273
  }, "strip", z.ZodTypeAny, {
283
274
  profiles: {
284
275
  id: string;
285
276
  username: string | null;
286
277
  password: string | null;
287
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
288
278
  phoneNumber: string;
289
279
  secondaryPhoneNumber: string | null;
290
280
  fullName: string;
@@ -391,20 +381,12 @@ export declare const findWithActiveChatResponseSchema: z.ZodObject<{
391
381
  groupId: string;
392
382
  }[];
393
383
  inChat: boolean;
394
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
395
384
  }[];
396
385
  }>;
397
386
  declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
398
387
  profiles: z.ZodArray<z.ZodObject<{
399
388
  id: z.ZodString;
400
389
  shortId: z.ZodNumber;
401
- role: z.ZodDefault<z.ZodNativeEnum<{
402
- USER: "USER";
403
- ADMIN: "ADMIN";
404
- FORM: "FORM";
405
- MI_EXPO: "MI_EXPO";
406
- TICKETS: "TICKETS";
407
- }>>;
408
390
  firstTimeMiExpo: z.ZodBoolean;
409
391
  username: z.ZodNullable<z.ZodString>;
410
392
  password: z.ZodNullable<z.ZodString>;
@@ -563,7 +545,6 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
563
545
  id: string;
564
546
  username: string | null;
565
547
  password: string | null;
566
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
567
548
  phoneNumber: string;
568
549
  secondaryPhoneNumber: string | null;
569
550
  fullName: string;
@@ -668,14 +649,12 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
668
649
  groupId: string;
669
650
  }[];
670
651
  inChat: boolean;
671
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
672
652
  }>, "many">;
673
653
  }, z.UnknownKeysParam, z.ZodTypeAny, {
674
654
  profiles: {
675
655
  id: string;
676
656
  username: string | null;
677
657
  password: string | null;
678
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
679
658
  phoneNumber: string;
680
659
  secondaryPhoneNumber: string | null;
681
660
  fullName: string;
@@ -782,7 +761,6 @@ declare const FindWithActiveChatResponseDto_base: import("@anatine/zod-nestjs").
782
761
  groupId: string;
783
762
  }[];
784
763
  inChat: boolean;
785
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
786
764
  }[];
787
765
  }>>;
788
766
  export declare class FindWithActiveChatResponseDto extends FindWithActiveChatResponseDto_base {
@@ -1,13 +1,6 @@
1
1
  declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
2
2
  id: import("zod").ZodString;
3
3
  shortId: import("zod").ZodNumber;
4
- role: import("zod").ZodDefault<import("zod").ZodNativeEnum<{
5
- USER: "USER";
6
- ADMIN: "ADMIN";
7
- FORM: "FORM";
8
- MI_EXPO: "MI_EXPO";
9
- TICKETS: "TICKETS";
10
- }>>;
11
4
  firstTimeMiExpo: import("zod").ZodBoolean;
12
5
  username: import("zod").ZodNullable<import("zod").ZodString>;
13
6
  password: import("zod").ZodNullable<import("zod").ZodString>;
@@ -33,7 +26,6 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
33
26
  id: string;
34
27
  username: string | null;
35
28
  password: string | null;
36
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
37
29
  phoneNumber: string;
38
30
  secondaryPhoneNumber: string | null;
39
31
  fullName: string;
@@ -78,7 +70,6 @@ declare const ProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import
78
70
  residenceLocationId: string | null;
79
71
  isInTrash: boolean;
80
72
  movedToTrashDate: string | null;
81
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
82
73
  }>>;
83
74
  export declare class ProfileDto extends ProfileDto_base {
84
75
  }
@@ -247,13 +247,6 @@ export declare class UpdateProfileDto extends UpdateProfileDto_base {
247
247
  export declare const updateProfileResponseSchema: z.ZodObject<{
248
248
  id: z.ZodString;
249
249
  shortId: z.ZodNumber;
250
- role: z.ZodDefault<z.ZodNativeEnum<{
251
- USER: "USER";
252
- ADMIN: "ADMIN";
253
- FORM: "FORM";
254
- MI_EXPO: "MI_EXPO";
255
- TICKETS: "TICKETS";
256
- }>>;
257
250
  firstTimeMiExpo: z.ZodBoolean;
258
251
  username: z.ZodNullable<z.ZodString>;
259
252
  password: z.ZodNullable<z.ZodString>;
@@ -279,7 +272,6 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
279
272
  id: string;
280
273
  username: string | null;
281
274
  password: string | null;
282
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
283
275
  phoneNumber: string;
284
276
  secondaryPhoneNumber: string | null;
285
277
  fullName: string;
@@ -324,18 +316,10 @@ export declare const updateProfileResponseSchema: z.ZodObject<{
324
316
  residenceLocationId: string | null;
325
317
  isInTrash: boolean;
326
318
  movedToTrashDate: Date | null;
327
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
328
319
  }>;
329
320
  declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
330
321
  id: z.ZodString;
331
322
  shortId: z.ZodNumber;
332
- role: z.ZodDefault<z.ZodNativeEnum<{
333
- USER: "USER";
334
- ADMIN: "ADMIN";
335
- FORM: "FORM";
336
- MI_EXPO: "MI_EXPO";
337
- TICKETS: "TICKETS";
338
- }>>;
339
323
  firstTimeMiExpo: z.ZodBoolean;
340
324
  username: z.ZodNullable<z.ZodString>;
341
325
  password: z.ZodNullable<z.ZodString>;
@@ -361,7 +345,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
361
345
  id: string;
362
346
  username: string | null;
363
347
  password: string | null;
364
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
365
348
  phoneNumber: string;
366
349
  secondaryPhoneNumber: string | null;
367
350
  fullName: string;
@@ -406,7 +389,6 @@ declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDt
406
389
  residenceLocationId: string | null;
407
390
  isInTrash: boolean;
408
391
  movedToTrashDate: string | null;
409
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
410
392
  }>>;
411
393
  export declare class UpdateProfileResponseDto extends UpdateProfileResponseDto_base {
412
394
  }
@@ -2,13 +2,6 @@ import z from 'zod';
2
2
  export declare const profileSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  shortId: z.ZodNumber;
5
- role: z.ZodDefault<z.ZodNativeEnum<{
6
- USER: "USER";
7
- ADMIN: "ADMIN";
8
- FORM: "FORM";
9
- MI_EXPO: "MI_EXPO";
10
- TICKETS: "TICKETS";
11
- }>>;
12
5
  firstTimeMiExpo: z.ZodBoolean;
13
6
  username: z.ZodNullable<z.ZodString>;
14
7
  password: z.ZodNullable<z.ZodString>;
@@ -34,7 +27,6 @@ export declare const profileSchema: z.ZodObject<{
34
27
  id: string;
35
28
  username: string | null;
36
29
  password: string | null;
37
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
38
30
  phoneNumber: string;
39
31
  secondaryPhoneNumber: string | null;
40
32
  fullName: string;
@@ -79,5 +71,4 @@ export declare const profileSchema: z.ZodObject<{
79
71
  residenceLocationId: string | null;
80
72
  isInTrash: boolean;
81
73
  movedToTrashDate: Date | null;
82
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
83
74
  }>;
@@ -30,7 +30,6 @@ exports.profileSchema = void 0;
30
30
  const translate_1 = require("../i18n/translate");
31
31
  const libphonenumber_js_1 = __importStar(require("libphonenumber-js"));
32
32
  const zod_1 = __importDefault(require("zod"));
33
- const prisma_schema_1 = require("../../types/prisma-schema/index.js");
34
33
  function formatArgNumber(phoneNumber, value) {
35
34
  const prefixes9 = ['11', '15'];
36
35
  const prefix = prefixes9.includes(phoneNumber?.nationalNumber?.slice(0, 2) ?? '')
@@ -46,7 +45,6 @@ exports.profileSchema = zod_1.default.object({
46
45
  message: (0, translate_1.translate)('model.profile.id.uuid'),
47
46
  }),
48
47
  shortId: zod_1.default.number(),
49
- role: zod_1.default.nativeEnum(prisma_schema_1.Role).default(prisma_schema_1.Role.MI_EXPO),
50
48
  firstTimeMiExpo: zod_1.default.boolean(),
51
49
  username: zod_1.default.string().nullable(),
52
50
  password: zod_1.default.string().nullable(),
@@ -25,13 +25,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
25
25
  profiles: z.ZodArray<z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  shortId: z.ZodNumber;
28
- role: z.ZodDefault<z.ZodNativeEnum<{
29
- USER: "USER";
30
- ADMIN: "ADMIN";
31
- FORM: "FORM";
32
- MI_EXPO: "MI_EXPO";
33
- TICKETS: "TICKETS";
34
- }>>;
35
28
  firstTimeMiExpo: z.ZodBoolean;
36
29
  username: z.ZodNullable<z.ZodString>;
37
30
  password: z.ZodNullable<z.ZodString>;
@@ -57,7 +50,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
57
50
  id: string;
58
51
  username: string | null;
59
52
  password: string | null;
60
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
61
53
  phoneNumber: string;
62
54
  secondaryPhoneNumber: string | null;
63
55
  fullName: string;
@@ -102,14 +94,12 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
102
94
  residenceLocationId: string | null;
103
95
  isInTrash: boolean;
104
96
  movedToTrashDate: Date | null;
105
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
106
97
  }>, "many">;
107
98
  }, "strip", z.ZodTypeAny, {
108
99
  profiles: {
109
100
  id: string;
110
101
  username: string | null;
111
102
  password: string | null;
112
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
113
103
  phoneNumber: string;
114
104
  secondaryPhoneNumber: string | null;
115
105
  fullName: string;
@@ -156,20 +146,12 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
156
146
  residenceLocationId: string | null;
157
147
  isInTrash: boolean;
158
148
  movedToTrashDate: Date | null;
159
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
160
149
  }[];
161
150
  }>;
162
151
  declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
163
152
  profiles: z.ZodArray<z.ZodObject<{
164
153
  id: z.ZodString;
165
154
  shortId: z.ZodNumber;
166
- role: z.ZodDefault<z.ZodNativeEnum<{
167
- USER: "USER";
168
- ADMIN: "ADMIN";
169
- FORM: "FORM";
170
- MI_EXPO: "MI_EXPO";
171
- TICKETS: "TICKETS";
172
- }>>;
173
155
  firstTimeMiExpo: z.ZodBoolean;
174
156
  username: z.ZodNullable<z.ZodString>;
175
157
  password: z.ZodNullable<z.ZodString>;
@@ -195,7 +177,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
195
177
  id: string;
196
178
  username: string | null;
197
179
  password: string | null;
198
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
199
180
  phoneNumber: string;
200
181
  secondaryPhoneNumber: string | null;
201
182
  fullName: string;
@@ -240,14 +221,12 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
240
221
  residenceLocationId: string | null;
241
222
  isInTrash: boolean;
242
223
  movedToTrashDate: string | null;
243
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
244
224
  }>, "many">;
245
225
  }, z.UnknownKeysParam, z.ZodTypeAny, {
246
226
  profiles: {
247
227
  id: string;
248
228
  username: string | null;
249
229
  password: string | null;
250
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
251
230
  phoneNumber: string;
252
231
  secondaryPhoneNumber: string | null;
253
232
  fullName: string;
@@ -294,7 +273,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
294
273
  residenceLocationId: string | null;
295
274
  isInTrash: boolean;
296
275
  movedToTrashDate: string | null;
297
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
298
276
  }[];
299
277
  }>>;
300
278
  export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
@@ -25,13 +25,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
25
25
  profiles: z.ZodArray<z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  shortId: z.ZodNumber;
28
- role: z.ZodDefault<z.ZodNativeEnum<{
29
- USER: "USER";
30
- ADMIN: "ADMIN";
31
- FORM: "FORM";
32
- MI_EXPO: "MI_EXPO";
33
- TICKETS: "TICKETS";
34
- }>>;
35
28
  firstTimeMiExpo: z.ZodBoolean;
36
29
  username: z.ZodNullable<z.ZodString>;
37
30
  password: z.ZodNullable<z.ZodString>;
@@ -57,7 +50,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
57
50
  id: string;
58
51
  username: string | null;
59
52
  password: string | null;
60
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
61
53
  phoneNumber: string;
62
54
  secondaryPhoneNumber: string | null;
63
55
  fullName: string;
@@ -102,14 +94,12 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
102
94
  residenceLocationId: string | null;
103
95
  isInTrash: boolean;
104
96
  movedToTrashDate: Date | null;
105
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
106
97
  }>, "many">;
107
98
  }, "strip", z.ZodTypeAny, {
108
99
  profiles: {
109
100
  id: string;
110
101
  username: string | null;
111
102
  password: string | null;
112
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
113
103
  phoneNumber: string;
114
104
  secondaryPhoneNumber: string | null;
115
105
  fullName: string;
@@ -156,20 +146,12 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
156
146
  residenceLocationId: string | null;
157
147
  isInTrash: boolean;
158
148
  movedToTrashDate: Date | null;
159
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
160
149
  }[];
161
150
  }>;
162
151
  declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
163
152
  profiles: z.ZodArray<z.ZodObject<{
164
153
  id: z.ZodString;
165
154
  shortId: z.ZodNumber;
166
- role: z.ZodDefault<z.ZodNativeEnum<{
167
- USER: "USER";
168
- ADMIN: "ADMIN";
169
- FORM: "FORM";
170
- MI_EXPO: "MI_EXPO";
171
- TICKETS: "TICKETS";
172
- }>>;
173
155
  firstTimeMiExpo: z.ZodBoolean;
174
156
  username: z.ZodNullable<z.ZodString>;
175
157
  password: z.ZodNullable<z.ZodString>;
@@ -195,7 +177,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
195
177
  id: string;
196
178
  username: string | null;
197
179
  password: string | null;
198
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
199
180
  phoneNumber: string;
200
181
  secondaryPhoneNumber: string | null;
201
182
  fullName: string;
@@ -240,14 +221,12 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
240
221
  residenceLocationId: string | null;
241
222
  isInTrash: boolean;
242
223
  movedToTrashDate: string | null;
243
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
244
224
  }>, "many">;
245
225
  }, z.UnknownKeysParam, z.ZodTypeAny, {
246
226
  profiles: {
247
227
  id: string;
248
228
  username: string | null;
249
229
  password: string | null;
250
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
251
230
  phoneNumber: string;
252
231
  secondaryPhoneNumber: string | null;
253
232
  fullName: string;
@@ -294,7 +273,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
294
273
  residenceLocationId: string | null;
295
274
  isInTrash: boolean;
296
275
  movedToTrashDate: string | null;
297
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS" | undefined;
298
276
  }[];
299
277
  }>>;
300
278
  export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {